CN109031142A - A kind of secondary cell model and method for estimating state based on piecewise linear interpolation - Google Patents
A kind of secondary cell model and method for estimating state based on piecewise linear interpolation Download PDFInfo
- Publication number
- CN109031142A CN109031142A CN201810794989.6A CN201810794989A CN109031142A CN 109031142 A CN109031142 A CN 109031142A CN 201810794989 A CN201810794989 A CN 201810794989A CN 109031142 A CN109031142 A CN 109031142A
- Authority
- CN
- China
- Prior art keywords
- battery
- linear interpolation
- piecewise linear
- interval
- secondary battery
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 239000011159 matrix material Substances 0.000 claims description 35
- 238000005070 sampling Methods 0.000 claims description 26
- 238000005259 measurement Methods 0.000 claims description 7
- 230000007704 transition Effects 0.000 claims description 7
- 238000011478 gradient descent method Methods 0.000 claims description 5
- 241001664510 Saussurea costus Species 0.000 claims description 2
- 235000006784 Saussurea lappa Nutrition 0.000 claims description 2
- 238000005562 fading Methods 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 abstract description 12
- 238000004458 analytical method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012067 mathematical method Methods 0.000 description 1
Landscapes
- Tests Of Electric Status Of Batteries (AREA)
- Secondary Cells (AREA)
Abstract
本发明属于电池状态估计领域,具体涉及一种基于分段线性插值的二次电池模型及状态估计方法。本发明通过将分段线性插值运用到二次电池模型,获得基于分段线性插值的二次电池模型,并在状态滤波器中使用基于分段线性插值的二次电池模型,提高二次电池状态估计的精确度,降低二次电池状态估计的计算量及过拟合。
The invention belongs to the field of battery state estimation, and in particular relates to a secondary battery model and state estimation method based on piecewise linear interpolation. The present invention obtains a secondary battery model based on piecewise linear interpolation by applying piecewise linear interpolation to the secondary battery model, and uses the secondary battery model based on piecewise linear interpolation in the state filter to improve the state of the secondary battery The accuracy of the estimation can reduce the calculation amount and overfitting of the state estimation of the secondary battery.
Description
技术领域technical field
本发明属于电池状态估计领域,具体涉及一种基于分段线性插值的二次电池模型及状态估计方法。The invention belongs to the field of battery state estimation, and in particular relates to a secondary battery model and state estimation method based on piecewise linear interpolation.
背景技术Background technique
在二次电池的应用中,有必要对电池的状态如SOC(荷电状态)、容量衰减进行估计。现有的技术在估计电池的状态时常用到EKF(扩展卡尔曼滤波)等状态滤波器。在应用状态滤波器的过程中,需要提供电池的系统模型,以通过电池的外部物理量如电流、电压对电池的状态进行估计。In the application of the secondary battery, it is necessary to estimate the state of the battery such as SOC (state of charge) and capacity fading. Existing technologies often use state filters such as EKF (Extended Kalman Filter) when estimating the state of the battery. In the process of applying the state filter, it is necessary to provide a system model of the battery to estimate the state of the battery through the external physical quantities of the battery such as current and voltage.
目前的技术中,状态滤波器所使用的电池模型可以分为经验模型、数据驱动模型、等效电路模型、电化学模型四种。In the current technology, the battery models used by the state filter can be divided into four types: empirical model, data-driven model, equivalent circuit model, and electrochemical model.
经验模型是基于对二次电池的使用数据进行经验分析,统计数据之间关系,实现对电池参量的计算;优点是实现简单,计算量小,但精度不足。The empirical model is based on the empirical analysis of the use data of the secondary battery, the relationship between statistical data, and the calculation of the battery parameters; the advantage is that it is simple to implement, the amount of calculation is small, but the accuracy is insufficient.
等效电路模型是基于电池等效电路,通过电路分析的手段实现对电池参量的计算;优点是实现简单,计算量小,但精度不足。The equivalent circuit model is based on the equivalent circuit of the battery, and the calculation of the battery parameters is realized by means of circuit analysis; the advantage is that it is simple to implement, the amount of calculation is small, but the accuracy is insufficient.
电化学模型是根据二次电池的具体结构,通过电化学关系对二次电池内部的反应建立模型,以对电池的参量进行计算;优点是拥有较高的精度,但模型复杂,计算量大。The electrochemical model is based on the specific structure of the secondary battery, and establishes a model for the internal reaction of the secondary battery through the electrochemical relationship to calculate the parameters of the battery. The advantage is that it has high precision, but the model is complex and the amount of calculation is large.
数据驱动模型是基于二次电池的使用数据,通过数学方法统计数据之间关系,以对电池的参量进行计算,可以满足计算量和模型精度间的权衡,但还是存在计算量高、模型精确度低的问题,以及过拟合的问题,而过拟合会使模型精度下降。The data-driven model is based on the usage data of the secondary battery. The relationship between the data is calculated by mathematical methods to calculate the parameters of the battery. Low problem, and the problem of overfitting, and overfitting will reduce the accuracy of the model.
发明内容Contents of the invention
针对上述存在的问题或不足,为了解决状态滤波器使用数据驱动模型时,二次电池模型的计算量高、模型精确度低以及模型过拟合的问题,本发明提供了一种基于分段线性插值的二次电池模型及状态估计方法。In view of the above existing problems or deficiencies, in order to solve the problems of high calculation amount, low model accuracy and model overfitting of the secondary battery model when the state filter uses a data-driven model, the present invention provides a piecewise linear based Interpolated secondary battery model and state estimation method.
一种基于分段线性插值的二次电池模型,包括状态转移模型和输出模型。A secondary battery model based on piecewise linear interpolation, including a state transition model and an output model.
状态转移模型的具体形式为:The specific form of the state transition model is:
其中,k为采样点序数,p、q为模型阶数,ik代表采样点k的电池电流,代表采样点k的电池理论动态电压。au、bu的公式如下:Among them, k is the ordinal number of the sampling point, p and q are the order of the model, i k represents the battery current of the sampling point k, Represents the theoretical dynamic voltage of the battery at sampling point k. The formulas of a u and b u are as follows:
其中代表采样点k的电池SOC,Y1、…、Yr和为au的分段线性插值结点坐标。r、m为au的分段线性插值阶数。v'=vy,k-u,w′=wy,k-u。vy,k-u代表在区间(-∞,Y2)、[Y2,Y3]、…、[Yr-1,∞)中所在区间的序号,满足位于上述区间中第vy,k-u个区间。wy,k-u代表在区间中所在区间的序号,满足位于上述区间中第wy,k-u+1个区间。in Represents the battery SOC at sampling point k, Y 1 ,..., Y r and Piecewise linear interpolation of node coordinates for a u . r and m are the order of piecewise linear interpolation of a u . v'=v y,ku , w'=w y,ku . v y, ku stands for The serial number of the interval in the interval (-∞, Y 2 ), [Y 2 , Y 3 ], ..., [Y r-1 , ∞) satisfies It is located in the v y, kuth interval among the above intervals. w y, ku stands for in interval The sequence number of the interval in which satisfies It is located in the w y, k-u+1th interval in the above interval.
其中,I1、…、Is和为bu的分段线性插值结点坐标。s、n为bu的分段线性插值阶数。v′=vi,k-u,w′=wi,k-u。vi,k-u代表ik-u在区间(-∞,I2)、[I2,I3)、…、[Is-1,∞)中所在区间的序号,满足ik-u位于上述区间中第vi,k-u个区间。wi,k-u代表在区间 中所在区间的序号,满足位于上述区间中的第wi,k-u+1个区间。Among them, I 1 ,..., I s and Piecewise linear interpolation of node coordinates for b u . s and n are the order of piecewise linear interpolation of b u . v'=v i,ku , w'=w i,ku . v i, ku represents the serial number of the interval where i ku is located in the interval (-∞, I 2 ), [I 2 , I 3 ), ..., [I s-1 , ∞), satisfying that i ku is located in the vth interval in the above interval i, ku intervals. w i, ku stands for in interval The sequence number of the interval in which satisfies It is located in the w i,k-u+ 1th interval among the above intervals.
上述公式中,au,v,w、bu,v,w为分段线性插值结点值,其中对于au,v,w,其下标范围为1≤u≤p、1≤v≤r、0≤w≤m;对于bu,v,w,其下标范围为0≤u≤q、1≤v≤s、0≤w≤n。In the above formula, a u, v, w , b u, v, w are piecewise linear interpolation node values, where for a u, v, w , the subscript range is 1≤u≤p, 1≤v≤ r, 0≤w≤m; for b u, v, w , the subscript ranges are 0≤u≤q, 1≤v≤s, 0≤w≤n.
输出模型的具体形式为:The specific form of the output model is:
其中,yterm,k代表采样点k的电池电压,yoc,k代表采样点k的电池开路电压,∈k代表采样点k的测量噪声。Among them, y term, k represents the battery voltage at sampling point k, y oc, k represents the battery open circuit voltage at sampling point k, and ∈ k represents the measurement noise at sampling point k.
基于分段线性插值的二次电池模型的状态估计方法,具体步骤如下:The state estimation method of the secondary battery model based on piecewise linear interpolation, the specific steps are as follows:
步骤S1、初始化基于分段线性插值的二次电池模型,再初始化先验状态向量、先验状态误差协方差矩阵。Step S1, initialize the secondary battery model based on piecewise linear interpolation, and then initialize the prior state vector and the prior state error covariance matrix.
步骤S2、测量电池电压,得到电池电压测量值;根据电池电压测量值、初始化的先验状态向量和初始化的先验状态误差协方差矩阵,对基于分段线性插值的二次电池模型,通过EKF得到后验状态向量、后验状态误差协方差矩阵;Step S2, measure the battery voltage to obtain the measured value of the battery voltage; according to the measured value of the battery voltage, the initialized prior state vector and the initialized prior state error covariance matrix, for the secondary battery model based on piecewise linear interpolation, through the EKF Obtain the posterior state vector and the posterior state error covariance matrix;
然后通过后验状态向量和后验状态误差协方差矩阵得到电池SOC的期望估计、电池SOC的方差估计、容量衰减的期望估计和容量衰减的方差估计;Then, the expected estimate of battery SOC, the variance estimate of battery SOC, the expected estimate of capacity decay, and the variance estimate of capacity decay are obtained through the posterior state vector and the posterior state error covariance matrix;
步骤S3、根据步骤S2得到的后验状态向量、后验状态误差协方差矩阵,通过EKF得到下一采样点的先验状态向量、先验状态误差协方差矩阵;Step S3, according to the a priori state vector and the a priori state error covariance matrix obtained in step S2, obtain the a priori state vector and a priori state error covariance matrix of the next sampling point through EKF;
步骤S4、循环步骤S2-S3,将步骤S3得到的下一采样点的先验状态向量、先验状态误差协方差矩阵作为下一次循环中步骤S2的初始化的先验状态向量和初始化的先验状态误差协方差矩阵,开始循环执行直至对二次电池的状态估计完成。Step S4, loop steps S2-S3, use the prior state vector and prior state error covariance matrix of the next sampling point obtained in step S3 as the initialized prior state vector and initialized priori of step S2 in the next cycle The state error covariance matrix starts to be executed cyclically until the state estimation of the secondary battery is completed.
进一步地,步骤S1中,通过对电池进行工况测试,并测量工况测试中的电池电流、电池电压、时间,通过Levenberg-Marquardt梯度下降法初始化基于分段线性插值的二次电池模型。Further, in step S1, by performing a working condition test on the battery, and measuring the battery current, battery voltage, and time in the working condition test, the secondary battery model based on piecewise linear interpolation is initialized by the Levenberg-Marquardt gradient descent method.
进一步地,步骤S1中,先验状态向量的分量有电池SOC、容量衰减和分段线性插值结点值。Further, in step S1, the components of the prior state vector include battery SOC, capacity decay and piecewise linear interpolation node values.
本发明通过将分段线性插值运用到二次电池模型,获得基于分段线性插值的二次电池模型,并在状态滤波器中使用基于分段线性插值的二次电池模型,提高二次电池状态估计的精确度,降低二次电池状态估计的计算量及过拟合。The present invention obtains a secondary battery model based on piecewise linear interpolation by applying piecewise linear interpolation to the secondary battery model, and uses the secondary battery model based on piecewise linear interpolation in the state filter to improve the state of the secondary battery The accuracy of the estimation can reduce the calculation amount and overfitting of the state estimation of the secondary battery.
附图说明Description of drawings
图1为本发明的整体流程图;Fig. 1 is the overall flowchart of the present invention;
图2为实施例所得电池电压测量值、电池电压预估值,以及未使用本发明所述基于分段线性插值的二次电池模型时的电池电压预估值的比较;Fig. 2 is the battery voltage measurement value obtained in the embodiment, the battery voltage estimated value, and the comparison of the battery voltage estimated value when the secondary battery model based on piecewise linear interpolation according to the present invention is not used;
图3为实施例中通过安时积分所得电池SOC、通过EKF所得电池SOC的期望估计,以及未使用本发明所述基于分段线性插值的二次电池模型时通过EKF所得电池SOC的期望估计的比较;Fig. 3 is the expected estimate of battery SOC obtained by the integration of ampere hours, the expected estimate of battery SOC obtained by EKF, and the expected estimate of battery SOC obtained by EKF when the secondary battery model based on piecewise linear interpolation according to the present invention is not used in the embodiment. Compare;
图4为实施例中所得模型运算所用时间与未使用本发明所述基于分段线性插值的二次电池模型时的模型运算所用时间的比较;Fig. 4 is the comparison of the time used for the model operation obtained in the embodiment and the time used for the model operation when the secondary battery model based on piecewise linear interpolation according to the present invention is not used;
图5为实施例中所得模型中b0与未使用本发明所述基于分段线性插值的二次电池模型时的等效值在电池状态估计过程中的变化的比较。(a)为未使用本发明所述基于分段线性插值的二次电池模型时变化前的结果,(b)为未使用本发明所述基于分段线性插值的二次电池模型时变化后的结果,(c)为使用本发明所述基于分段线性插值的二次电池模型时变化前的结果,(d)为使用本发明所述基于分段线性插值的二次电池模型时变化后的结果。图中,圆圈代表电池工作点,其颜色由黑至白代表由变化前至变化后不同的时间点。Fig. 5 is a comparison of changes in the battery state estimation process between b 0 in the model obtained in the embodiment and the equivalent value when the secondary battery model based on piecewise linear interpolation according to the present invention is not used. (a) is the result before the change when the secondary battery model based on piecewise linear interpolation according to the present invention is not used, and (b) is the result after the change when the secondary battery model based on piecewise linear interpolation according to the present invention is not used Result, (c) is the result before changing when using the secondary battery model based on piecewise linear interpolation of the present invention, and (d) is the result after changing when using the secondary battery model based on piecewise linear interpolation of the present invention result. In the figure, the circle represents the working point of the battery, and its color from black to white represents different time points from before the change to after the change.
具体实施方式Detailed ways
为了使本发明的目的,技术方案及优点更加清楚明白,以下结合附图及实施实例,对本发明进行进一步详细说明。In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and implementation examples.
如图1,基于分段线性插值的二次电池模型的状态估计方法可分为以下步骤:As shown in Figure 1, the state estimation method of the secondary battery model based on piecewise linear interpolation can be divided into the following steps:
步骤S1、初始化基于分段线性插值的二次电池模型,再初始化先验状态向量、先验状态误差协方差矩阵。Step S1, initialize the secondary battery model based on piecewise linear interpolation, and then initialize the prior state vector and the prior state error covariance matrix.
步骤S11、初始化基于分段线性插值的二次电池模型。Step S11 , initializing a secondary battery model based on piecewise linear interpolation.
本实施例中,通过对电池进行工况测试,并测量工况测试中的电池电流、电池电压、时间,通过Levenberg-Marquardt梯度下降法初始化基于分段线性插值的二次电池模型。In this embodiment, the battery is subjected to a working condition test, and the battery current, battery voltage, and time in the working condition test are measured, and the secondary battery model based on piecewise linear interpolation is initialized by the Levenberg-Marquardt gradient descent method.
首先,对电池进行开路电压测试,得到电池开路电压函数,其具体方法如下:First, test the open circuit voltage of the battery to obtain the open circuit voltage function of the battery. The specific method is as follows:
先将电池充满,然后开始对时间、电池电流、电池电压进行测量。以小电流(如0.1C)对电池进行放电,直到电压下降至低电压阈值(如3V)。接着以小电流对电池进行充电,直到电压上升至高电压阈值(如4.2V)。通过安时积分对此期间的电池SOC进行粗略估计,其公式如下:Fully charge the battery first, and then start measuring time, battery current, and battery voltage. Discharge the battery with a small current (such as 0.1C) until the voltage drops to a low voltage threshold (such as 3V). The battery is then charged with a small current until the voltage rises to a high voltage threshold (eg 4.2V). Roughly estimate the battery SOC during this period by integrating the ampere hour, and the formula is as follows:
其中,k为采样点序数,Ndis为放电结束时的采样点序数。tk代表采样点k的时间,ik代表采样点k的电池电流,充电为正,放电为负,Cn为额定容量,代表采样点k的电池SOC。Among them, k is the ordinal number of the sampling point, and N dis is the ordinal number of the sampling point at the end of the discharge. t k represents the time of sampling point k, i k represents the battery current of sampling point k, charge is positive, discharge is negative, C n is the rated capacity, Represents the battery SOC at sampling point k.
将所得放电时和充电时的电池SOC和电池电压进行分段线性插值得到放电时和充电时的电池电压相对于SOC的曲线。将所测得放电时和充电时的电池电压相对于电池SOC的曲线取平均曲线,即得到电池开路电压函数yoc(z)。The resulting battery SOC and battery voltage during discharge and charge are subjected to piecewise linear interpolation to obtain curves of battery voltage during discharge and charge relative to SOC. The average curve of the measured battery voltage during discharge and charge relative to the battery SOC is obtained to obtain the open circuit voltage function y oc (z) of the battery.
接下来测量电池电压的初始值yterm,0,并根据电池开路电压函数反推得到电池SOC的初始值,即然后,对电池进行工况测试,并测量工况测试中的电池电流、电池电压、时间,并通过安时积分得到工况测试中电池SOC的粗略估计,其公式如下:Next, measure the initial value of the battery voltage y term, 0 , and inversely calculate the initial value of the battery SOC according to the battery open circuit voltage function, that is Then, conduct a working condition test on the battery, measure the battery current, battery voltage, and time in the working condition test, and obtain a rough estimate of the battery SOC in the working condition test by integrating the ampere-hour. The formula is as follows:
其中Cn为此前所得额定容量。Among them, C n is the rated capacity obtained before.
然后,将分段线性插值结点值作为利用Levenberg-Marquardt梯度下降法进行拟合的参数,拟合方法及公式如下:Then, the piecewise linear interpolation node value is used as the parameter for fitting using the Levenberg-Marquardt gradient descent method. The fitting method and formula are as follows:
以C=[a1,1,0 … ap,r,m b0,1,0 … bq,s,n]T作为拟合向量,N为采样点总数,得到拟合向量的初始估计C0:Take C=[a 1, 1, 0 ... a p, r, m b 0, 1, 0 ... b q, s, n ] T as the fitting vector, N is the total number of sampling points, and get the initial estimate of the fitting vector C 0 :
yk=yterm,k-yoc,k y k = y term, k - y oc, k
t=max(p,q)+1t=max(p,q)+1
然后,使用Levenberg-marquardt梯度下降法对拟合向量进行估计:Then, the fitted vector is estimated using the Levenberg-marquardt gradient descent method:
其中k>t时,通过状态转移模型获得;k≤t时,v′=vy,k-u,w′=wy,k-u。Where k>t, Obtained by the state transition model; when k≤t, v'=v y,ku , w'=w y,ku .
令∈=[∈1 … ∈N]T。从l=0开始,迭代下列公式:make ∈=[∈ 1 ... ∈ N ] T . Starting with l=0, iterate the following formula:
若则将μ乘以0.1,l加1,进行下一步迭代,否则将μ乘以10,重新进行本步迭代。当l达到上限(如1000),或达到下限(如1×10-6)后停止。设停止时l+1=lend,得到最终由C各分量得到分段线性插值结点值。like Then multiply μ by 0.1, add 1 to l, and proceed to the next iteration, otherwise multiply μ by 10, and perform this iteration again. when l reaches an upper limit (such as 1000), or Stop when the lower limit (such as 1×10 -6 ) is reached. Let l+1=l end when stopping, get Finally, the piecewise linear interpolation node value is obtained from each component of C.
步骤S12、初始化先验状态向量、先验状态误差协方差矩阵。Step S12, initializing the prior state vector and the prior state error covariance matrix.
本实施例中,先验状态向量的分量有电池SOC、容量衰减和分段线性插值结点值。In this embodiment, the components of the prior state vector include battery SOC, capacity decay and piecewise linear interpolation node values.
首先,测量电池电压,并通过电池开路电压函数反推得到电池SOC的初始值容量衰减的初始值取1。分段线性插值结点值的初始值取步骤S11中所得分段线性插值结点值。将SOC的初始值、容量衰减的初始值和分段线性插值结点值的初始值合并为向量,得到先验状态向量的初始值 First, the battery voltage is measured, and the initial value of the battery SOC is obtained by inverting the battery open circuit voltage function Initial value of capacity fade Take 1. The initial value of the piecewise linear interpolation node value is the piecewise linear interpolation node value obtained in step S11. Combine the initial value of the SOC, the initial value of the capacity decay and the initial value of the piecewise linear interpolation node value into a vector to obtain the initial value of the prior state vector
先验状态误差协方差矩阵的初始值根据经验获得。其具体根据状态初始估计精度以及对状态估计初始收敛速度的要求,通过经验及微调获得。本实施例中,先验状态误差协方差矩阵的初始值取如下值:The initial value of the prior state error covariance matrix is obtained empirically. It is specifically obtained through experience and fine-tuning according to the accuracy of the initial state estimation and the requirements for the initial convergence speed of the state estimation. In this embodiment, the initial value of the prior state error covariance matrix is as follows:
其中,diag表示对角矩阵。where diag represents a diagonal matrix.
步骤S2、测量电池电压,得到电池电压测量值;根据电池电压测量值、初始化的先验状态向量和初始化的先验状态误差协方差矩阵,对基于分段线性插值的二次电池模型,通过EKF得到后验状态向量、后验状态误差协方差矩阵;然后通过后验状态向量和后验状态误差协方差矩阵得到电池SOC的期望估计、电池SOC的方差估计、容量衰减的期望估计和容量衰减的方差估计。Step S2, measure the battery voltage to obtain the measured value of the battery voltage; according to the measured value of the battery voltage, the initialized prior state vector and the initialized prior state error covariance matrix, for the secondary battery model based on piecewise linear interpolation, through the EKF Obtain the posterior state vector and the posterior state error covariance matrix; then obtain the expected estimation of battery SOC, the variance estimation of battery SOC, the expected estimation of capacity decay and the capacity decay through the posterior state vector and posterior state error covariance matrix Variance estimation.
步骤S21、测量电池电压,得到电池电压测量值;根据电池电压测量值、初始化的先验状态向量和初始化的先验状态误差协方差矩阵,对基于分段线性插值的二次电池模型,通过EKF得到后验状态向量、后验状态误差协方差矩阵。Step S21, measure the battery voltage to obtain the measured value of the battery voltage; according to the measured value of the battery voltage, the initialized prior state vector and the initialized prior state error covariance matrix, for the secondary battery model based on piecewise linear interpolation, through the EKF The posterior state vector and the posterior state error covariance matrix are obtained.
首先测量电池电压,得到电池电压测量值。然后,根据初始化的先验状态向量和基于分段线性插值的二次电池模型得到电池电压预估值。已知初始化的先验状态向量将的值作为zk、au,v,w、bu,v,w带入基于分段线性插值的二次电池模型中,并令测量噪声∈k=0,计算电池电压yterm,k,得到电池电压预估值 First measure the battery voltage to get the battery voltage measurement. Then, the estimated value of battery voltage is obtained according to the initialized prior state vector and the secondary battery model based on piecewise linear interpolation. A priori state vector with known initialization Will The values of z k , a u, v, w , b u, v, w are brought into the secondary battery model based on piecewise linear interpolation, and the measurement noise ∈ k = 0 is used to calculate the battery voltage y term, k , Get battery voltage estimate
状态转移模型在计算时,通过二分法搜索计算vy,k-u、wy,k-u、vi,k-u、wi,k-u,可以降低公式计算所需的计算量,从而达到降低二次电池模型的计算量的目的。When the state transition model is calculated, v y, ku , w y, ku , v i, ku , w i, ku are searched and calculated by dichotomy, which can reduce the amount of calculation required for the formula calculation, thereby reducing the cost of the secondary battery model. purpose of calculation.
然后,根据电池电压测量值、电池电压预估值、初始化的先验状态向量、初始化的先验状态误差协方差矩阵,对基于分段线性插值的二次电池模型,通过EKF得到后验状态向量后验状态误差协方差矩阵 Then, according to the measured value of battery voltage, the estimated value of battery voltage, the initialized prior state vector, and the initialized prior state error covariance matrix, for the secondary battery model based on piecewise linear interpolation, the posterior state vector is obtained by EKF Posterior state error covariance matrix
其中∑∈为测量噪声∈k的方差,根据模型精度及测量精度确定,本实施例中取1×10-3。Where ∑ ∈ is the variance of the measurement noise ∈ k , which is determined according to the model accuracy and measurement accuracy. In this embodiment, 1×10 -3 is used.
步骤S22、通过后验状态向量和后验状态误差协方差矩阵得到电池SOC的期望估计、电池SOC的方差估计、容量衰减的期望估计和容量衰减的方差估计。Step S22, obtaining the expected battery SOC estimate, the variance estimate of the battery SOC, the expected capacity decay estimate, and the capacity decay variance estimate through the posterior state vector and the posterior state error covariance matrix.
后验状态向量中,为电池SOC的期望估计,为容量衰减的期望估计。后验状态误差协方差矩阵posterior state vector middle, For the desired estimate of battery SOC, is the expected estimate of capacity fade. Posterior state error covariance matrix
中,为电池SOC的方差估计,为容量衰减的方差估计。将额定容量Cn除以可得到电池衰减后容量。middle, is the variance estimate of battery SOC, is the variance estimate for capacity decay. Divide the rated capacity C n by The capacity of the battery after decay can be obtained.
步骤S3、根据步骤S2得到的后验状态向量、后验状态误差协方差矩阵,通过EKF得到下一采样点的先验状态向量、先验状态误差协方差矩阵。Step S3 , according to the a priori state vector and a priori state error covariance matrix obtained in step S2 , obtain a priori state vector and a priori state error covariance matrix of the next sampling point through EKF.
其中,是状态噪声协方差矩阵,根据模型精度确定,本实施例中取in, is the state noise covariance matrix, which is determined according to the model accuracy, and is taken in this embodiment as
步骤S4、循环步骤S2-S3,将步骤S3得到的下一采样点的先验状态向量、先验状态误差协方差矩阵作为下一次循环中步骤S2的初始化的先验状态向量和初始化的先验状态误差协方差矩阵,开始循环执行直至对二次电池的状态估计完成。Step S4, loop steps S2-S3, use the prior state vector and prior state error covariance matrix of the next sampling point obtained in step S3 as the initialized prior state vector and initialized priori of step S2 in the next cycle The state error covariance matrix starts to be executed cyclically until the state estimation of the secondary battery is completed.
图2示出,本发明所述模型提高了电池电压预估值的精确度,从而能够最终提高电池状态估计的精确度。FIG. 2 shows that the model of the present invention improves the accuracy of the estimated value of the battery voltage, thereby finally improving the accuracy of the battery state estimation.
图3示出,本发明所述模型及方法提高了电池SOC的期望估计的精确度。FIG. 3 shows that the model and method of the present invention improve the accuracy of the expected estimation of battery SOC.
图4示出,本发明所示模型及方法降低了电池状态估计的计算量。FIG. 4 shows that the model and method of the present invention reduce the calculation amount of battery state estimation.
图5示出,本发明所述模型在电池状态估计过程中,工作点以外的模型的变化较小,说明本发明所述模型能够减轻电池状态估计过程中模型的过拟合现象,从而能够最终提高电池状态估计的精确度。Fig. 5 shows that in the process of battery state estimation, the model of the present invention has little change in the models other than the working point, indicating that the model of the present invention can alleviate the over-fitting phenomenon of the model in the process of battery state estimation, so that the final Improve the accuracy of battery state estimation.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810794989.6A CN109031142B (en) | 2018-07-19 | 2018-07-19 | Secondary battery model based on piecewise linear interpolation and state estimation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810794989.6A CN109031142B (en) | 2018-07-19 | 2018-07-19 | Secondary battery model based on piecewise linear interpolation and state estimation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109031142A true CN109031142A (en) | 2018-12-18 |
CN109031142B CN109031142B (en) | 2020-09-25 |
Family
ID=64643354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810794989.6A Active CN109031142B (en) | 2018-07-19 | 2018-07-19 | Secondary battery model based on piecewise linear interpolation and state estimation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109031142B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112649745A (en) * | 2020-12-16 | 2021-04-13 | 北京理工大学 | Battery SOC estimation method of linearized state observer cooperatively recombining OCV |
CN112858916A (en) * | 2021-01-14 | 2021-05-28 | 重庆大学 | Battery pack state of charge estimation method based on model and data drive fusion |
CN113075568A (en) * | 2021-03-30 | 2021-07-06 | 上海交通大学 | Sodium ion battery state of charge estimation method and equipment based on current integral constraint |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022178A (en) * | 2007-03-09 | 2007-08-22 | 清华大学 | Method for estimating nickel-hydrogen power battery charged state based on standard battery model |
CN101312260A (en) * | 2007-05-23 | 2008-11-26 | 佳能株式会社 | Battery pack, charging device, control method thereof, electronic device and control method thereof |
CN101312261A (en) * | 2007-05-23 | 2008-11-26 | 佳能株式会社 | Battery pack, charging device, control method thereof, electronic device and control method thereof |
CN102121973A (en) * | 2011-01-04 | 2011-07-13 | 武汉理工大学 | Method for testing net energy of electrical vehicle power battery |
US20140242451A1 (en) * | 2013-02-26 | 2014-08-28 | Seiko Instruments Inc. | Nonaqueous electrolytic secondary battery |
KR20150045630A (en) * | 2013-10-21 | 2015-04-29 | 가락전자 주식회사 | Circuit for calibrating automatically output value of battery charge voltage |
CN104977545A (en) * | 2015-08-03 | 2015-10-14 | 电子科技大学 | Power battery charge state estimation method and system |
GB2527811A (en) * | 2014-07-03 | 2016-01-06 | Delphi Internat Operations Luxembourg S Ã R L | Vehicle data acquisition device and method |
CN105548905A (en) * | 2016-01-12 | 2016-05-04 | 浙江德景电子科技有限公司 | Method and system for testing battery electricity quantity |
CN106405434A (en) * | 2016-10-28 | 2017-02-15 | 四川普力科技有限公司 | Estimation method of state of charge of battery |
US20170182906A1 (en) * | 2015-12-24 | 2017-06-29 | Samsung Electronics Co., Ltd. | Apparatus and method for managing battery in consideration of rest period of battery |
CN107121641A (en) * | 2017-05-16 | 2017-09-01 | 电子科技大学 | A kind of battery status method of estimation based on particle group optimizing |
-
2018
- 2018-07-19 CN CN201810794989.6A patent/CN109031142B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022178A (en) * | 2007-03-09 | 2007-08-22 | 清华大学 | Method for estimating nickel-hydrogen power battery charged state based on standard battery model |
CN101312260A (en) * | 2007-05-23 | 2008-11-26 | 佳能株式会社 | Battery pack, charging device, control method thereof, electronic device and control method thereof |
CN101312261A (en) * | 2007-05-23 | 2008-11-26 | 佳能株式会社 | Battery pack, charging device, control method thereof, electronic device and control method thereof |
CN102121973A (en) * | 2011-01-04 | 2011-07-13 | 武汉理工大学 | Method for testing net energy of electrical vehicle power battery |
US20140242451A1 (en) * | 2013-02-26 | 2014-08-28 | Seiko Instruments Inc. | Nonaqueous electrolytic secondary battery |
KR20150045630A (en) * | 2013-10-21 | 2015-04-29 | 가락전자 주식회사 | Circuit for calibrating automatically output value of battery charge voltage |
GB2527811A (en) * | 2014-07-03 | 2016-01-06 | Delphi Internat Operations Luxembourg S Ã R L | Vehicle data acquisition device and method |
CN104977545A (en) * | 2015-08-03 | 2015-10-14 | 电子科技大学 | Power battery charge state estimation method and system |
US20170182906A1 (en) * | 2015-12-24 | 2017-06-29 | Samsung Electronics Co., Ltd. | Apparatus and method for managing battery in consideration of rest period of battery |
CN105548905A (en) * | 2016-01-12 | 2016-05-04 | 浙江德景电子科技有限公司 | Method and system for testing battery electricity quantity |
CN106405434A (en) * | 2016-10-28 | 2017-02-15 | 四川普力科技有限公司 | Estimation method of state of charge of battery |
CN107121641A (en) * | 2017-05-16 | 2017-09-01 | 电子科技大学 | A kind of battery status method of estimation based on particle group optimizing |
Non-Patent Citations (2)
Title |
---|
JAEUNG KIM等: "Voltage-based estimation of residual battery energy in wireless sensor systems", 《SENSORS, 2013 IEEE》 * |
聂文亮等: "动力锂电池模型在线参数估计的研究", 《科技资讯》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112649745A (en) * | 2020-12-16 | 2021-04-13 | 北京理工大学 | Battery SOC estimation method of linearized state observer cooperatively recombining OCV |
CN112858916A (en) * | 2021-01-14 | 2021-05-28 | 重庆大学 | Battery pack state of charge estimation method based on model and data drive fusion |
CN112858916B (en) * | 2021-01-14 | 2023-10-13 | 重庆大学 | A battery pack state-of-charge estimation method based on model and data-driven fusion |
CN113075568A (en) * | 2021-03-30 | 2021-07-06 | 上海交通大学 | Sodium ion battery state of charge estimation method and equipment based on current integral constraint |
CN113075568B (en) * | 2021-03-30 | 2022-06-24 | 上海交通大学 | State-of-charge estimation method and device for sodium-ion batteries based on current integral constraints |
Also Published As
Publication number | Publication date |
---|---|
CN109031142B (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113030764B (en) | A method and system for estimating the state of health of a battery pack | |
CN110398697B (en) | A Lithium Ion State-of-Health Estimation Method Based on Charging Process | |
CN104849672B (en) | Lithium battery motional impedance parameter identification method based on equivalent-circuit model | |
CN114035072B (en) | A multi-state joint estimation method for battery packs based on cloud-edge collaboration | |
CN104535932B (en) | Lithium ion battery charge state estimating method | |
CN106291381B (en) | A kind of method of Combined estimator electrokinetic cell system state-of-charge and health status | |
CN108519556A (en) | A Lithium-ion Battery SOC Prediction Method Based on Recurrent Neural Network | |
CN109669132B (en) | A battery state-of-charge estimation method based on variational Bayesian filtering | |
CN108732508B (en) | A real-time estimation method of lithium-ion battery capacity | |
CN110596593A (en) | Lithium-ion battery SOC estimation method based on intelligent adaptive extended Kalman filter | |
CN111142036A (en) | Lithium ion battery online rapid capacity estimation method based on capacity increment analysis | |
CN111308379A (en) | Battery health state estimation method based on local constant voltage charging data | |
WO2019051956A1 (en) | New iterative identification method for power battery equivalent circuit model parameter | |
CN111190109B (en) | A method for estimating state of charge of lithium battery without current sensor | |
US11796597B2 (en) | Method for estimating state of charge (SOC) of lithium-ion battery system based on artificial intelligence (AI) | |
CN109884550B (en) | An online parameter identification and backtracking method for power battery system | |
CN109031142B (en) | Secondary battery model based on piecewise linear interpolation and state estimation method | |
CN112327182B (en) | An Adaptive H-infinity Filter SOC Estimation Method Based on Measured Value Residual Sequence | |
CN107505578A (en) | A kind of method of lithium battery electric charge state estimation | |
CN110412472B (en) | Battery state of charge estimation method based on normal gamma filtering | |
CN105974320B (en) | A kind of liquid or semi-liquid metal battery charge state method of estimation | |
CN110348062A (en) | The construction method of lithium ion battery equivalent-circuit model | |
CN106443496A (en) | Battery charge state estimation method with improved noise estimator | |
CN116819340A (en) | Online parameter identification and state estimation method and system for energy storage lithium battery | |
CN110133510A (en) | A Hybrid Estimation Method for State of Charge SOC of Lithium-ion Batteries |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240204 Address after: 610000 Chengdu Future Science and Technology City, Chengdu, Sichuan Province (No. 1-2, Group 8, Dingshui Village, Futian Street, Eastern New Area) Patentee after: Sichuan Angao Special Electric Technology Co.,Ltd. Country or region after: China Address before: 611731, No. 2006, West Avenue, Chengdu hi tech Zone (West District, Sichuan) Patentee before: University of Electronic Science and Technology of China Country or region before: China |
|
TR01 | Transfer of patent right |