1. Field of the Invention
The present invention relates to a rechargeable battery parameter estimation apparatus and a rechargeable battery parameter estimation method for estimating an offset error of measurements of a current flowing through a rechargeable battery, and estimating a capacity error, which is a difference of a typical full charge capacity (FCC) of the battery measured in advance from an actual FCC of the battery at a time when the battery is in use.
2. Description of the Related Art
In order to efficiently use a rechargeable battery such as a lithium-ion battery, a nickel metal-hydride battery, and a lead-acid battery, it is indispensable to highly precisely estimate a state of charge (SoC) of the battery. However, the SoC of the battery is not a physical quantity that is directly measurable, and hence the SoC has to be estimated from a current flowing through the battery, a voltage between terminals of the battery, measurements of the battery temperature, and histories of these physical quantities. As the most basic methods for estimating the SoC of the battery, the open circuit voltage method and the Coulomb-counting method are known.
The open circuit voltage method is a method in which a rechargeable battery is leaved out offline, and the voltage between terminals of the battery which sufficiently reaches the thermodynamic equilibrium, namely, an open circuit voltage (OCV), is measured, then the SoC of the battery is calculated on the basis of a dependence of the OCV on the SoC, which is determined in advance. Therefore, the battery has to be suspended for a long period during the SoC estimation by means of the open circuit voltage method.
On the other hand, the Coulomb-counting method is a method in which the current flowing through the battery is integrated, and the integrated current is devided by an FCC of the battery, to thereby calculate a change in the SoC from the integration start time. The Coulomb-counting method is capable of estimating the SoC even while the battery is online, by considering a state in which the SoC is apparent, that is, a state in which the battery is fully charged or fully discharged as a reference. However, the Coulomb-counting method has such a problem that an estimation accuracy of the SoC is greatly degraded by a small off set error of the current measurements, which is inevitable in widely used Hall effect sensors.
As a related-art apparatus using the Coulomb-counting method, there is disclosed a battery charging rate estimation apparatus, in which a rechargeable battery is assumed as a linear system based on an equivalent circuit model of the battery, the current flowing through the battery is assumed as an input of the linear system, and the voltage between the terminals of the battery is assumed as an output of the linear system; a Kalman filter is then constructed on the basis of an extended system in which the offset error of the current measurements is appended to the state of the linear system, to thereby precisely estimate the SoC of the battery and the offset error of the current measurements (for example, refer to Japanese Patent Application Laid-open No. 2012-57964).
As a related-art apparatus combining the open circuit voltage method and the Coulomb-counting method, there is disclosed a battery capacity calculation apparatus in which a current flowing through a rechargeable battery is integrated only in a period in which an absolute value of the current flowing through the battery is equal to or more than a certain value and the influence of the offset error of current measurements is thus relatively small, and comparing changes in the SoC with that in the integrated current in this period, to thereby estimate the FCC of the battery (for example, refer to Japanese Patent Application Laid-open No. 2012-58028).
According to Japanese Patent Application Laid-open No. 2012-58028, the SoC is estimated from the OCV, and the OCV is acquired by means of recursive calculation based on an equivalent circuit of the battery. Characteristic parameters of the equivalent circuit are adjusted by an adaptive mechanism from transitions of the current flowing through the battery and the voltage between terminals of the battery. As a result, the influence of the offset error of the current measurements is affirmed to be decreased by limiting the current integration period to the period in which the absolute value of the current is equal to or more than the certain value.
However, the related arts have the following problems.
According to Japanese Patent Application Laid-open No. 2012-57964, the typical FCC of the battery and the characteristic parameters of the equivalent circuit are considered to be known, and hence there is such a problem that when the typical FCC of the battery and the characteristic parameters of the equivalent circuit have errors, those errors propagate to the estimated value of the SoC and that of the offset error of the current measurements.
On the other hand, according to Japanese Patent Application Laid-open No. 2012-58028, the current flowing through the battery, which includes an offset error, is referred to by the adaptive mechanism for adjusting the characteristic parameters of the equivalent circuit. The characteristic parameters of the equivalent circuit thus has an error caused by the offset error. This error propagates to the estimated value of the OCV, which is calculated in a manner that depends on the characteristic parameters of the equivalent circuit, further to the estimated value of the SoC, and finally to the estimated value of the FCC of the battery.
Further, for example, even if the FCC of the battery is estimated by using the technology disclosed in Japanese Patent Application Laid-open No. 2012-58028, and the offset error of the current measurements is estimated by using the estimated value of the FCC by means of the method disclosed in Japanese Patent Application Laid-open No. 2012-57964, the estimated value of the offset error is superimposed with an error caused by the actual offset error of the current measurements, and hence the correct value of the offset error cannot be obtained.
As described above, in the related-art apparatuses, there is such a problem that the FCC of a rechargeable battery cannot be correctly estimated as long as the measurements of the current flowing through the battery have an offset error, because the error caused by the offset error propagates the estimated value of the FCC of the battery.
The present invention has been made in view of the above-mentioned problem, and therefore has an object to provide a rechargeable battery parameter estimation apparatus and a rechargeable battery parameter estimation method that are capable of highly precisely estimating an offset error of measurements of a current flowing through a rechargeable battery and a capacity error, which is a difference of a typical full charge capacity (FCC) of the battery measured in advance from an actual FCC of the battery at a time when the battery is in use even if the current measurements have an offset error.
According to one embodiment of the present invention, there is provided a rechargeable battery parameter estimation apparatus, including: a voltage measurement part for measuring a voltage between terminals of the battery; an SoC estimation part for estimating an estimated value of the SoC of the battery in a manner that depends on a typical FCC of the battery measured in advance and the voltage between the terminals of the battery, the typical FCC has a capacity error; a current measurement part for measuring a current flowing through the battery, the measurements of the current has an offset error; a first coefficient calculation part for calculating a first coefficient, which is a partial derivative of the estimated value of the SoC with respect to the offset error of the current measurements; a second coefficient calculation part for calculating a second coefficient, which is a partial derivative of the estimated value of the SoC with respect to the capacity error, which is a difference of the typical FCC measured in advance from an actual FCC of the battery at the battery in use; and an error estimation part for estimating the offset error of the current measurements and the capacity error of the FCC from derivative information including the first coefficient and the second coefficient, the current flowing through the battery, and the estimated value of the SoC.
According to one embodiment of the present invention, there is provided a rechargeable battery parameter estimation method, including: measuring a voltage between terminals of the battery; estimating an estimated value of the SoC of the battery in a manner that depends on a typical FCC of the battery measured in advance and the voltage between the terminals of the battery, the typical FCC has a capacity error; measuring a current flowing through the battery, the measurements of the current has an offset error; calculating a first coefficient, which is a partial derivative of the estimated value of the SoC with respect to the offset error of the current measurements; calculating a second coefficient, which is a partial derivative of the estimated value of the SoC with respect to the capacity error, which is a difference of the typical FCC measured in advance from an actual FCC of the battery at the battery in use; and estimating the offset error of the current measurements and the capacity error of the FCC from derivative information including the first coefficient and the second coefficient, the current flowing through the battery, and the estimated value of the SoC.
According to the one embodiment of the present invention, assuming either one or both of the current measurements and the typical FCC have errors, the errors are estimated from the estimated value of the SoC, which is estimated from the measurements of the voltage between the terminals of the battery. As a result, it is possible to provide the rechargeable battery parameter estimation apparatus and the rechargeable battery parameter estimation method that are capable of highly precisely estimating the offset error of the current measurements and the capacity error of the FCC, even if the measurements of the current have an offset error.
A description is now given of a rechargeable battery parameter estimation apparatus and a rechargeable battery parameter estimation method according to preferred embodiments of the present invention referring to the accompanying drawings. It should be noted that throughout the drawings, like or corresponding components are denoted by like reference numerals to describe those components.
A SoC estimation part 107 estimates an estimated value of the SoC 108 of the battery 103 in a manner that depends on a typical full charge capacity (FCC) of the battery 103 measured in advance and the voltage 106 measured by the voltage measurement part 105 on the basis of an equivalent circuit of the battery 103. It should be noted that, as illustrated in
A first coefficient calculation part 109 calculates, while referring to the internal calculations of the SoC estimation part 107, a first coefficient 110, which is a partial derivative of the estimated value of the SoC 108 with respect to the offset error 116 of the current 104 measured by the current measurement part 102, on the basis of the equivalent circuit of the battery 103.
A second coefficient calculation part 111 calculates, while referring to the internal calculations of the SoC estimation part 107, a second coefficient 112, which is a partial derivative of the estimated value of the SoC 108 with respect to the capacity error 117 of the FCC of the battery 103 measured in advance, on the basis of the equivalent circuit of the battery 103.
A current integration part 113 integrates the current 104 measured by the current measurement part 102, thereby calculating a current integration value 114.
An error estimation part 115 estimates the offset error 116 and the capacity error 117, from the first coefficient 110 calculated by the first coefficient calculation part 109, the second coefficient 112 calculated by the second coefficient calculation part 111, the current integration value 114 calculated by the current integration part 113, and the estimated value of the SoC 108 estimated by the SoC estimation part 107, then outputs the offset error 116 and the capacity error 117.
On this occasion, let qb [C] denote an electrical quantity, which is an amount of electricity accumulated in the battery 103, Fcc [C] denote the typical FCC of the battery 103, and s [%] denote the SoC of the battery 103, the electrical quantity qb [C] is expressed by:
qb=FccS (1)
Because of the Kirchhoff's current law relating to the equivalent circuit and the Ohm's law relating to the electrical resistances, the voltage 106 of the battery 103 denoted by V [V] is determined by the following differential equation system:
Moreover, h(x) and x are defined by:
Moreover, I denotes the current 104 flowing through the battery 103, and Cd, Rd, and R0 are assumed as characteristic parameters of the equivalent circuit of the battery 103 illustrated in
Let ts [second] be a sampling period of the current measurement part 102 and the voltage measurement part 105, the differential equation system (2) is discretized to the following difference equation system:
The SoC estimation part 107 periodically operates for each of the measurements carried out by the current measurement part 102 and the voltage measurement part 105. In the operation for a certain cycle, a state prediction part 301 calculates a predicted state estimate x̂k from a current denoted by Ik−l, which is the current 104 of the battery 103 measured by the current measurement part 102 and stored in the current storage part 302 one cycle before, and an updated state estimate xk−1, which is calculated by a state estimation part 310 and stored in a state storage part 303 one cycle before, by following:
{circumflex over (x)}
k
=Fx
k−1
+GI
k−1. (8)
A measurement residual calculation part 304 calculates a measurement residual ek from the predicted state estimate x̂k calculated by the state prediction part 301, a current denoted by Ik, which is the current 104 of the battery 103 measured by the current measurement part 102 in a cycle, and a voltage denoted by Vk, which is the voltage 106 of the battery 103 measured by the voltage measurement part 105 by following:
e
k
:=V
k
−h({circumflex over (x)}k)−R0Ik. (9)
A covariance prediction part 305 calculates a predicted estimate covariance P̂k from an updated estimate covariance Pk−1 calculated by a covariance estimation part 311 and stored in a covariance storage part 306 one cycle before by following:
{circumflex over (P)}
k
=FP
k−1
F
T
+Q. (10)
It should be noted that Q is calculated in advance by:
Q:=Φ
12Φ22−1, (11)
where Φ12 and Φ22 are matrices defined by:
Moreover, σI2 is a predetermined positive real constant representing a variance of an observation error of the current 104.
An observation matrix calculation part 307 calculates an observation matrix Hk from the predicted state estimate x̂k calculated by the state prediction part 301 by following:
An residual covariance calculation part 308 calculates an residual covariance Sk from the observation matrix Hk calculated by the observation matrix calculation part 307 and the predicted estimate covariance P̂k calculated by the covariance prediction part 305 by following:
S
k=σV2+Hk{circumflex over (P)}kHkT. (14)
where σV2 is a predetermined positive real constant representing a variance of an observation error of the voltage 106.
A Kalman gain calculation part 309 calculates an optimal Kalman gain Kk from the predicted estimate covariance P̂k calculated by the covariance prediction part 305, the observation matrix Hk calculated by the observation matrix calculation part 307, and the residual covariance Sk calculated by the residual covariance calculation part 308 by following:
K
k
={circumflex over (P)}
k
H
k
T
S
k
−1. (15)
The state estimation part 310 calculates an updated state estimate xk from the predicted state estimate x̂k calculated by the state prediction part 301, the optimal Kalman gain Kk calculated by the Kalman gain calculation part 309, and the measurement residual ek calculated by the measurement residual calculation part 304 by following:
x
k
={circumflex over (x)}
k
+K
k
e
k, (16)
and stores a result in the state storage part 303.
The covariance estimation part 311 calculates an updated estimate covariance Pk from the optimal Kalman gain Kk calculated by the Kalman gain calculation part 309, the observation matrix Hk calculated by the observation matrix calculation part 307, and the predicted estimate covariance P̂k calculated by the covariance prediction part 305 by following:
P
k
={circumflex over (P)}
k
−K
k
H
k
{circumflex over (P)}
k, (17)
and stores the updated estimate covariance Pk in the covariance storage part 306.
An SoC calculation part 312 calculates an estimated value of the SoC 108 by dividing an amount of charge qb,k, which is the second element of the updated state estimate xk calculated by the state estimation part 310 by the typical FCC Fcc of the battery 103 measured in advance.
The SoC estimation part 107 refers to the measured value of the current 104 in order to estimate the SoC 108. If the measured value of the current 104 is strictly equal to the current actually flowing through the battery 103, and the characteristics of the battery 103 strictly matches the equivalent circuit illustrated in
However, if the measured value of the current 104 has an offset error of a value ΔI [A], the estimated value of the SoC 108 has a bias error caused by the offset error of the current measurements. The first coefficient calculation part 109 of the first embodiment approximately quantifies the bias error of the estimated value of the SoC 108 caused by the offset error of the current measurements.
On this occasion, the offset error ΔI is expressed by ΔI=Ityp×p1, where Ityp is a constant introduced to ensure the absolute value of the parameter p1 sufficiently smaller than 1.
An measurement residual derivative calculation part 403 calculates a partial derivative of the measurement residual with respect to the parameter p1 denoted by dek/dp1 from the partial derivative of the predicted state estimate with respect to the parameter p1 calculated by the predicted state derivative calculation part 401 by following:
It should be noted that the observation matrix Hk is calculated from the predicted state estimate x̂k, which is calculated by the state prediction part 301 by Equation (13).
The estimated state derivative calculation part 404 calculates a partial derivative of the updated state estimate with respect to the parameter p1 denoted by dxk/dp1 from the partial derivative of the predicted state estimate with respect to the parameter p1, which is denoted by dx̂k/dp1 and calculated by the predicted state derivative calculation part 401, the optimal Kalman gain Kk calculated by the Kalman gain calculation part 309, and the partial derivative of the measurement residual with respect to the parameter p1, which is denoted by dek/dp1 and calculated by the measurement residual derivative calculation part 403 by following:
An SoC derivative calculation part 405 calculates the first coefficient 110 by dividing a second element of the partial derivative of the updated state estimate with respect to the parameter p1, which is denoted by dqb,k/dp1 and calculated by the estimated state derivative calculation part 404 by the typical FCC Fcc of the battery 103 measured in advance.
The SoC estimation part 107 uses the typical FCC Fcc of the battery 103 in order to calculate the estimated value of the SoC 108. If the typical FCC Fcc used by the SoC estimation part 107 matches the actual FCC of the battery 103, and the measurements of the current do not have an offset error, and other characteristics of the battery 103 match the equivalent circuit illustrated in
However, if the typical FCC Fcc used by the SoC estimation part 107 has a capacity error, the estimated value of the SoC 108 has a bias error. The second coefficient calculation part 111 approximately quantifies the bias error in the estimated value of the SoC 108 caused by the capacity error of the typical FCC Fcc.
{tilde over (F)}
cc
=F
cc(1+p2). (21)
On this occasion, it is assumed that the difference is sufficiently smaller than Fcc, in other words, the absolute value of the parameter p2 is sufficiently smaller than 1.
A predicted state derivative calculation part 501 calculates a partial derivative of the predicted state estimate with respect to a parameter p2, which is denoted by dx̂k/dp2, from a partial derivative of the updated state estimate with respect to the parameter p2, which is denoted by dxk−1/dp2, calculated by an estimated state derivative calculation part 509 and stored in an estimated state derivative storage part 502 one cycle before by following:
An observation matrix derivative calculation part 503 calculates a partial derivative of the observation matrix with respect to the parameter p2, which is denoted by dHk/dp2, from the predicted state estimate x̂k calculated by the state prediction part 301.
An measurement residual derivative calculation part 504 calculates a partial derivative of the measurement residual with respect to the parameter p2, which is denoted by dek/dp2, from the partial derivative of the observation matrix with respect to the parameter p2, which is denoted by dHk/dp2 and calculated by the observation matrix derivative calculation part 503, the predicted state estimate x̂k calculated by the state prediction part 301, the observation matrix Hk calculated by the observation matrix calculation part 307, and the partial derivative of the predicted state estimate with respect to the parameter p2, which is denoted by dx̂k/dp2 and calculated by the predicted state derivative calculation part 501 by following:
A predicted covariance derivative calculation part 505 calculates a partial derivative of the predicted estimate covariance with respect to the parameter p2, which is denoted by dP̂k/dp2, from a partial derivative of the updated estimate covariance with respect to the parameter p2, which is denoted by dPk−1/dp2, calculated by a estimated covariance derivative calculation part 510 and stored in an estimated covariance derivative storage part 506 one cycle before by following:
An residual covariance derivative calculation part 507 calculates a partial derivative of the residual covariance with respect to the parameter p2, which is denoted by dSk/dp2, from the partial derivative of the observation matrix with respect to the parameter p2, which is denoted by dHk/dp2 and calculated by the observation matrix derivative calculation part 503, the predicted estimate covariance P̂k calculated by the covariance prediction part 305, the observation matrix Hk calculated by the observation matrix calculation part 307, and the partial derivative of the predicted estimate covariance with respect to the parameter p2, which is denoted by dP̂k/dp2 and calculated by the predicted covariance derivative calculation part 505 by following:
A Kalman gain derivative calculation part 508 calculates a partial derivative of the Kalman gain with respect to the parameter p2, which is denoted by dKk/dp2, from the partial derivative of the predicted estimate covariance with respect to the parameter p2, which is denoted by dP̂k/dp2 and calculated by the predicted covariance derivative calculation part 505, the partial derivative of the observation matrix with respect to the parameter p2, which is denoted by dHk/dp2 and calculated by the observation matrix derivative calculation part 503, the residual covariance Sk calculated by the residual covariance calculation part 308, the predicted estimate covariance P̂k calculated by the covariance prediction part 305, the partial derivative of the observation matrix with respect to the parameter p2, which is denoted by dHk/dp2 and calculated by the observation matrix derivative calculation part 503, and the partial derivative of the residual covariance with respect to the parameter p2, which is denoted by dSk/dp2 and calculated by the residual covariance derivative calculation part 507 by following:
The estimated state derivative calculation part 509 calculates a partial derivative of the updated state estimate with respect to the parameter p2, which is denoted by dxk/dp2, from the partial derivative of the updated state estimate with respect to the parameter p2, which is denoted by dx̂k/dp2 and calculated by the predicted state derivative calculation part 501, the partial derivative of the optimal Kalman gain with respect to the parameter p2, which is denoted by dKk/dp2 and calculated by the Kalman gain derivative calculation part 508, the measurement residual ek calculated by the measurement residual calculation part 304, the optimal Kalman gain Kk calculated by the Kalman gain calculation part 309, and the partial derivative of the measurement residual with respect to the parameter p2, which is denoted by dek/dp2 and calculated by the measurement residual derivative calculation part 504 by following:
and stores the resulting partial derivative of the updated state estimate with respect to the parameter p2, which is denoted by dxk/dp2, in the estimated state derivative storage part 502.
The estimated covariance derivative calculation part 510 calculates a partial derivative of the updated estimate covariance with respect to the parameter p2, which is denoted by dPk/dp2, from the partial derivative of the predicted estimate covariance with respect to the parameter p2, which is denoted by dP̂k/dp2 and calculated by the predicted covariance derivative calculation part 505, the partial derivative of the optimal Kalman gain with respect to the parameter p2, which is denoted by dKk/dp2 and calculated by the Kalman gain derivative calculation part 508, the observation matrix Hk calculated by the observation matrix calculation part 307, the predicted estimate covariance P̂k calculated by the covariance prediction part 305, the optimal Kalman gain Kk calculated by the Kalman gain calculation part 309, and the partial derivative of the observation matrix with respect to the parameter p2, which is denoted by dHk/dp2 and calculated by the observation matrix derivative calculation part 503 by following:
and stores the resulting updated estimate covariance with respect to the parameter p2, which is denoted by dPk/dp2, in the estimated covariance derivative storage part 506.
The SoC derivative calculation part 511 calculates a second coefficient, which is denoted by dsk/dp2, from the typical FCC of the battery 103 measured in advance, a partial derivative of the amount of charge, which is denoted by dqb,k/dp2, obtained as the second element of the partial derivative of the updated state estimate with respect to the parameter p2 and calculated by the estimated state derivative calculation part 509, and the amount charge qb,k, which is obtained as the second element of the estimated state xk estimated by the state estimation part 310 by following:
The current integration part 113 calculates an integration value of the current 104 from the initial time by following:
q
cc,k
=q
cc,k−1
+t
s
I
k−1. (30)
Incidentally, if the SoC of the battery 103 is correctly estimated, the measurements of the current do not have an offset error, and the typical FCC is equal to the actual FCC of the battery 103, the following equation holds:
q
cc,k
=F
cc
s
k
−q
0, (31)
where q0 denotes an initial charged capacity.
However, actually, the measurements of the current have an offset error, the typical FCC differs from the actual FCC, and further, the estimated value of the SoC 108 has a bias error caused by the offset error of the current measurements and the capacity error of the FCC. Thus, Equation (31) is corrected as:
By omitting the higher order terms with respect to the parameters p1 and p2, Equation (32) is transformed into:
On this occasion, the left hand side of Equation (33) is a constant at each cycle, and the right hand side of Equation (33) is a linear expression in terms of the parameters p1, p2, and the initial charged capacity q0 at each cycle. Thus, the optimal estimation of the parameters in terms of the mean square error, which is denoted by p̂k, is obtained with a recursive least squares filter which minimizes the following objective function:
where λ is a forgetting factor which is a predetermined real constant more than 0 and equal to or less than 1.
In the first embodiment, the vector uk referred to as an explanatory variable is defined by the estimated value of the SoC sk, the first coefficient dsk/dp1, and the second coefficient dsk/dp2 as follows:
Moreover, in the first embodiment, the scalar yk referred to as an observed variable is defined by:
y
k
:=q
cc,k
{tilde over (F)}
cc
s
k. (36)
Moreover, in the first embodiment, the vector p̂k referred to as an estimated parameter vector is composed of an estimated value of the parameter p1 as the first element, an estimated value of the parameter p2 as the second element, and an estimated value of the initial charge capacity q0 as the third element. The gist of the present invention is to use this fact, to thereby estimate the parameters p1 and p2, by which the offset error and the capacity error of the battery are able to be corrected.
An observed variable calculation part 602 calculates the observed variable yk by Equation (36) from the estimated value of the SoC 108, and the current integration value 114 calculated by the current integration part 113.
An RLS gain calculation part 603 calculates an RLS gain gk from the explanatory variable uk calculated by the explanatory variable calculation part 601, and an inverse variance Yk−1, which is calculated by an inverse variance calculation part 605 and stored in an inverse variance storage part 604 one cycle before by following:
g
k
=Y
k−1
u
k(λ+ukTYk−1uk)−1. (37)
The inverse variance calculation part 605 calculates the inverse variance Yk from the inverse variance Yk−1, which is calculated by the inverse variance calculation part 605 and stored in the inverse variance storage part 604 one cycle before, the RLS gain gk calculated by the RLS gain calculation part 603, and the explanatory variable uk calculated by the explanatory variable calculation part 601 by following:
Y
k=λ−1(Id−gkukT)Yk−1, (38)
where Id denotes a unit matrix.
A parameter estimation part 606 calculates the estimated parameter vector p̂k from the explanatory variable uk calculated by the explanatory variable calculation part 601, the observed variable yk calculated by the observed variable calculation part 602, the RLS gain gk calculated by the RLS gain calculation part 603, and a estimated parameter vector p̂k−1 stored in a parameter storage part 607 one cycle before by following:
{circumflex over (p)}
k
={circumflex over (p)}
k−1
+g
k(yk−ukT{circumflex over (p)}k−1), (39)
then stores the estimated parameter vector p̂k in the parameter storage part 607.
The offset error ΔI of the current measurements is obtained by ΔI=Ityp×p1, where the parameter p1 is the first element of the estimated parameter vector p̂k, and the actual FCC of the battery is obtained by Fcc=F˜cc(1−p2), where p2 is the second element of the estimated parameter vector p̂k.
An offset calculation part 608 and a capacity calculation part 609 carry out this calculation, and respectively estimate the offset error 116 of the current measurements and the capacity error 117 of the battery.
The first element of the explanatory variable uk is calculating by acquiring a difference between a product of the time point tk and the constant Ityp and a product of the first coefficient 110 calculated by the first coefficient calculation part 109 and the typical FCC Fcc. The second element of the explanatory variable uk is calculated by acquiring a sum by adding the second coefficient 112 calculated by the second coefficient calculation part 111 to the estimated value of the SoC 108 estimated by the SoC estimation part 107, acquiring a product by multiplying the sum by the typical FCC Fcc, and negating the product. The third element of the explanatory variable uk is set a constant of −1.
Moreover, a detailed calculation method according to the first embodiment is not limited that described in the first embodiment. For example, Equation (38) is an equation for recursively calculating the inverse variance Yk, which is an inverse of the weighted covariance matrix Rk of the explanatory variable uk, but the inverse variance Yk may be calculated by means of usual matrix inversion, which increases a calculation complexity, by following:
Similarly, the estimated parameter vector p̂k can be calculated from a vector rk defined by:
as follows:
{circumflex over (p)}k=Ykτk. (42)
Alternatively, in the first embodiment, the forgetting factor λ is assumed as a constant, but may be changed in a manner that depends on k.
Further, in the first embodiment, the SoC estimation part 107 uses a Kalman filter to obtain the estimated value of the SoC 108 from the current 104 flowing through the battery 103 and the voltage 106 between the terminals of the battery 103, but the SoC estimation part 107 according to the first embodiment is not limited to the implementation using the Kalman filter. As long as the partial derivatives of the estimated value of the SoC 108 with respect to the offset error of the current measurements and the capacity error of the FCC can be calculated, the present invention is applicable.
The rechargeable battery parameter estimation apparatus 101 according to the first embodiment may be realized, for example, as a microcontroller with a memory and an input/output function. In this case, each part other than the current measurement part 102 and the voltage measurement part 105 is realized as software embedded in the microcontroller.
As described above, according to the first embodiment, assuming either one or both of current measurements of a rechargeable battery and the typical FCC of the battery measured in advance have errors, the errors are estimated from an estimated value of the SoC, which is estimated from measurements of a voltage between terminals of the battery on the basis of an equivalent circuit of the battery. As a result, it is possible to provide a rechargeable battery parameter estimation apparatus capable of highly precisely estimating the offset error of the current measurements and the capacity error of the FCC, even if the measurements of the current have an offset error.
As a result, more efficient energy management can be provided, which contributes to energy saving. Moreover, the highly precise estimation of rechargeable battery parameters enables a continuous degradation assessment of rechargeable batteries, which contributes lifetime management of rechargeable batteries, a reduction in a maintenance cost of a electrical power storage system, and the like.
Specifically, typical parameters Rd, Cd, and R0 measured in advance for the use in the SoC estimation part 107 are considered to have errors compared with those of the actual battery at the battery in use, and are parameterized as:
Then, a third coefficient, a fourth coefficient, and a fifth coefficient, which are change rates of the estimated value of the SoC sk for the parameters p3, p4, and ps, are respectively calculated as in the first embodiment by a third coefficient calculation part 1401, a fourth coefficient calculation part 1402, and a fifth coefficient calculation part 1403 respectively corresponding to the parameters p3, p4, and ps.
The error estimation part 1404 uses, in addition to Equation (31), the following relationships:
In addition to derivative information including the first coefficient and the second coefficient according to the first embodiment, Equation (32) is extended by adding the third coefficient, the fourth coefficient, and the fifth coefficient as follows:
Moreover, Equations (44) and (45) can be similarly transformed into:
respectively.
By omitting the high order terms with respect to the parameters, Equations (46), (47), and (48) are transformed into linear relationships in terms of a parameter pj.
The error estimation part 1404 according to the second embodiment minimizes the following objective function J in place of Equation (34):
where Σ is a predetermined positive definite symmetric weighting matrix. Moreover, an observed variable y1 is defined as follows:
Moreover, the explanatory variable uk is a matrix [u1,k u2,k u3,k] where
In place of Equation (37), let RLS gain gk be defined as:
g
k
=Y
k−1
u
k(λΣ+ukTYk−1uk)−1, (56)
in combination with Equations (38) and (39), the estimated parameter vector p̂k can be estimated completely in the same way as in the first embodiment.
As described above, according to the second embodiment, the offset error 116 of the current measurements and the capacity error 117 of the FCC can be estimated while the errors in the characteristic parameters Rd, Cd, and R0 of the equivalent circuit of the battery 103 illustrated in
It should be noted that the rechargeable battery parameter estimation apparatus 101 according to the second embodiment is not limited to the configuration for correcting the characteristic parameters of the equivalent circuit illustrated in
Moreover, a temperature dependency of parameters such as the resistances and the diffusion coefficient may be expressed by the Arrhenius equation or the like, and a frequency factor, an activation energy, and the like included therein may be corrected as parameters. A configuration for estimating only a part of the characteristic parameters Rd, Cd, and R0 of the equivalent circuit may be employed.
In the first embodiment, the estimated parameter vector p̂k is estimated from the explanatory variable uk and the observed variable yk defined by Equations (35) and (36). On this occasion, the first element of the explanatory variable uk includes a term proportional to tk, and the term unboundedly increases as the time elapses. A calculation process including an amount unboundedly increasing in this way is not appropriate for a software implementation in embedded systems.
A third embodiment of the present invention serves to solve this problem, and effects similar to those of the first and second embodiments are provided without directly treating the unboundedly increasing amount by considering the observed variable yk and the explanatory variable uk in an affine space. A description is now given mainly of the difference of a rechargeable battery parameter estimation apparatus 101 according to the third embodiment from the rechargeable battery parameter estimation apparatus 101 according to the first embodiment.
First, weighted time averages of the observed variable yk and the explanatory variable uk are defined by:
where Sk is a sum of the first k terms of a geometric sequence having the scale factor of 1 and having a common ratio of λ. On this occasion, a vector space to which a pair (yk,uk) belongs is considered as an affine space, and a local coordinate (z1,v1) at a time point tk is defined as z1:=y1−yk and v1:=u1−uk. Then, weighted time averages of the observed variable yk and the explanatory variable uk represented in the local coordinate are calculated by:
Both differences yk−yk−1 and uk−uk−1 are bounded, and λSk−1/Sk is less than 1, and hence zk and vk are always bounded.
On this occasion, the estimated parameter vector p̂k can be calculated as in the error estimation part 115 according to the first embodiment by replacing the observed variable yk with <zk>, and replacing the explanatory variable uk with <vk>. It should be noted that, in the third embodiment, the parameters are considered in the affine space, and q0 cannot thus be estimated. Thus, the explanatory variable uk forms a two-dimensional vector by stripping the last element of −1, and the estimated parameter vector p̂k also forms a two-dimensional vector.
A second element of the explanatory variable uk−uk−1 is calculated by acquiring a sum of the estimated value of the SoC 108 calculated by the SoC estimation part 107 and the second coefficient 112 calculated by the second coefficient calculation part 111, acquiring a difference of the calculated sum from the value at the previous sampling, further acquiring a product by multiplying the difference by the typical FCC Fcc, and negating the product.
On the other hand, λk is calculated by multiplying λk−1 calculated at the previous sampling by the predetermined forgetting factor λ. The geometric series Sk, which is a sum of the first k terms of the geometric sequence having a scale factor of 1 and the common ratio λ, is calculated by adding λk to the geometric series Sk−1 calculated at the previous sampling. λSk−1/Sk is calculated by acquiring a ratio of Sk−1 to Sk, and multiplying the ratio by the factor λ. The explanatory variable <vk> is calculated by acquiring a difference between <vk−1> at the previous sampling and the explanatory variable uk−uk−1, and further multiplying the difference by λSk−1/Sk.
For combining the third embodiment with the second embodiment of the present invention, it is only required that the symbol yk is reinterpreted as a vector, and the symbol uk is reinterpreted as a matrix. Moreover, in the calculation of the explanatory variable and the observed variable, the terms uk−uk−1, and the like have to be calculated as defined except the terms relating to the time point tk and a current integration amount qcc,k.
As described above, according to the third embodiment, without directly treating the amount unboundedly increasing as the time elapses, the same effects as those of the first embodiment can be achieved.
In the first embodiment, the recursive least squares filter (RLS filter) is used to estimate the offset error 116 of the current measurement and the capacity 117 error of the FCC. This method provides the optimal estimation in terms of the mean square error only if a random error is superimposed only on the observed variable yk, and a random error on the explanatory variable uk is negligibly small.
However, it is known that if the explanatory variable uk has a large random error, the estimated value is biased. A fourth embodiment of the present invention solves this problem by using the recursive total least squares filter (RTLS filter) to estimate the offset error 116 of the current measurements and the capacity error 117 of the FCC.
In the fourth embodiment, the rechargeable battery parameter estimation apparatus 101 is designed to find the estimated parameter vector p̂k which minimizes the following objective function J defined by:
in place of Equation (51), where δk and εk satisfy the following equation for an arbitrary k:
y
k−δk={circumflex over (p)}kT(uk−εk), (61)
where uk is the explanatory variable and yk is the observed variable. Let yk:=y1−δ1 and û1:=u1−ε1, a relationship
ŷ1={circumflex over (p)}kTû1 (62)
holds from Equation (61). Using this equation, Equation (60) is able to be transformed into:
The vector û1 which minimizes Equation (63) is obtained as a solution of the following equation:
Now, let
the solution of Equation (64) is written as:
û
l:=(AkTΛAk)−1AkTΛξl. (66)
Substituting the solution to Equation (63), Equation (63) is transformed into:
Further, let Λ1/2 denote the Cholesky decomposition of the matrix Λ, Bk:=Λ1/2Ak and ζ1:=Λ1/2ξ1, the following equation holds:
On this occasion, a non-zero vector bk exists such that BkTbk=0, because the null space of the matrix AkT is 1-dimensional. This bk is unique except for scalar multiplies. Because of the proparties of a projection, the vector bk satisfies the following relationship:
Consequently, Equation (68) is transformed into follows:
Remark BkTbk=0, namely, AkTΛ1/2bk=0, and thus, let ak:=Λ1/2bk, Equation (70) is further transformed into:
Therefore, ak is obtained as an eigenvector corresponding to the minimum eigenvalue which is a solution of a generalized eigenvalue problem relating to the pair (Rk, Λ). Remark AkTak=0 again, and let a0,k denote the first element of the vector ak and âk denote the other elements, p̂ka0,k=âk. Thus, the estimated parameter vector p̂k is expressed by âk/a0,k.
As a method of finding the eigenvector, a publicly known method may be used. For example, the Householder transformation, the Givens rotation method, and the Arnoldi's method are known. On this occasion, the covariance matrix Rk is a positive definite symmetric matrix, thus the Lanczos algorithm can be used. Further, it is required to find only the eigenvector corresponding to the minimum eigenvalue, and hence the inverse iteration and the Rayleigh quotient iteration are also applicable.
A description is now mainly given of the difference of a rechargeable battery parameter estimation apparatus 101 according to the fourth embodiment from the rechargeable battery parameter estimation apparatus 101 according to the first embodiment.
A covariance calculation part 2301 calculates a covariance matrix Rk from a covariance matrix Rk−1 at the previous sampling stored in a covariance storage part 2304, the explanatory variable uk calculated by the explanatory variable calculation part 601, and the observed variable yk calculated by the observed variable calculation part 602 by following a recursive equation:
R
k
=λR
k−1+ξkξkT, (72)
and stores a result in the covariance storage part 2304.
An eigenvector calculation part 2302 solves the generalized eigenvalue problem of Equation (71) based on the covariance matrix Rk calculated by the covariance calculation part 2301 and a predetermined weighting matrix Λ, and acquires the eigenvector ak corresponding to the minimum eigenvalue.
An parameter calculation part 2303 calculates the estimated parameter vector p̂k by dividing the second or subsequent elements of ak by the first element thereof. The offset calculation part 608 and the capacity calculation part 609 are the same as those of the first embodiment.
The fourth embodiment can be combined with the second embodiment. In order to achieve this, let Σ denote a positive definite symmetric weighting matrix, it is only required that the covariance Rk is calculated as:
The fourth embodiment can be combined with the third embodiment. This is apparent by considering that a difference between the first embodiment and the third embodiment is limited to the explanatory variable calculation part 601 and the observed variable calculation part 602. It should be understood that, as described in the third embodiment, the third embodiment combined with the second embodiment can further be combined with the fourth embodiment.
As described above, according to the fourth embodiment, even if measurements of the current 104 and the voltage 106 have large random errors, the same effects as those of the first embodiment can be provided.
The rechargeable battery parameter estimation apparatus 101 according to the fourth embodiment solves the generalized eigenvalue problem in the eigenvector calculation part 2302, and this is generally a processing having a large calculation complexity. Thus, in a fifth embodiment of the present invention, a configuration is disclosed where a method disclosed in D.-Z. Feng, X.-D. Zhang, D.-X. Chang and W. X. Zheng, “A fast recursive total least squares algorithm for adaptive FIR filtering,” IEEE Transaction on Signal Processing, vol. 52, No. 10, 2004 is applied to reduce the calculation complexity by using the fact that the covariance matrix Rk changes only in a gradual manner.
First, the estimated parameter vector p̂k is expressed as âk/a0,k, and the estimated parameter vector p̂k has a freedom of scaling, and thus p̂k can be parameterized as [−1 akT]T.
Then the following update scheme:
{circumflex over (p)}
k
={circumflex over (p)}
k−1+θkwk (74)
is employed where θk is a scalar, wk is a time series such that a series (wk, wk−1, . . . ) efficiently spans an image of Ak.
Although the explanatory variable uk is used as wk according to D.-Z. Feng, X.-D. Zhang, D.-X. Chang and W. X. Zheng, “A fast recursive total least squares algorithm for adaptive FIR filtering,” IEEE Transaction on Signal Processing, vol. 52, No. 10, 2004, a random non-zero vector is employed in the fourth embodiment in the present invention. As another option, for example, generation and use of a directional vector orthogonal to previous n−1 wks is conceivable.
As the scalar θk included in Equation (74), the scalar θk that minimizes the objective function J represented as Equation (71) is calculated. By substituting Equation (74) to Equation (71) is rewritten as follows:
A scalar θk, which minimizes Equation (75), is given as a solution of the following equation:
Because of the denominator Dk2 is always strictly positive, and thus it is sufficient that a θk which make a numerator equal to zero. On this occasion, the numerator Nk and the denominator Dk are expanded into:
For simplicity, the numerator Nk is rewritten as N2,kθk2+2N1,kθk+N0,k, and the denominator Dk is written as D2,kθk2+2D1,kθk+D0,k, derivatives of those terms with respect to the scalar θk are expressed dNk/dθk=2N2,kθk+2N1,k, dDk/dθk=2D2,kθk+2D1,k, respectively. Thus, the numerator of Equation (77) is written as:
For simplicity, Equation (80) is rewritten as 2αkθk2+2βkθk+2γkθk. This is a quadratic expression, which possibly has two distinct real roots:
According to first derivative tests with respect to the objective function J shown in Tables 1 and 2, the root θ+k is apparently the solution that minimizes J. It should be noted that C is a constant N2,k/D2,k in the tables.
According to the first derivative tests, the quadratic expression αkθk2+βkθk+γkθk always has two distinct real roots unless αk is 0. However, if αk is accidentally equal to 0 or close to 0, the root finding is numerically unstable. In this case, a zero is employed as the root θk.
A description is now given mainly of the difference of a rechargeable battery parameter estimation apparatus 101 according to the fifth embodiment from the rechargeable battery parameter estimation apparatus 101 according to the fourth embodiment.
A coefficient calculation part 2701 calculates the coefficients αk, βk, and γk of the quadratic expression by Equations (78), (79), and (80) from the explanatory variable uk calculated by the explanatory variable calculation part 601, the covariance matrix Rk calculated by the covariance calculation part 2301, and the parameter estimated value p̂k−1 at the previous sampling stored in the parameter storage part 2704.
A quadratic expression solving part 2702 acquires the real root θ+k of the quadratic expression having the coefficients calculated by the coefficient calculation part 2701 by the second equation of Equation (81).
A parameter calculation part 2703 calculates the estimated parameter vector p̂k by Equation (74) from the coefficients of the quadratic expression calculated by the coefficient calculation part 2701 and the real root θ+k of the quadratic expression found by the quadratic expression solving part 2702, and stores the estimated parameter vector p̂k in a parameter storage part 2704. It should be noted that if the coefficient of the second order term of the quadratic expression is almost 0, p̂k is set to p̂k−1. The offset calculation part 608 and the capacity calculation part 609 are the same as those of the first embodiment.
The fifth embodiment can be combined with the second embodiment.
As described above, according to the fifth embodiment, the estimated parameter vector p̂k is calculated without solving the generalized eigenvalue problem, and the same effects as those of the fourth embodiment can be provided. As a result, the calculation complexity can be reduced, and the fifth embodiment is appropriate for an software implementation in embedded systems.