CN109839599B - Lithium-ion battery SOC estimation method based on second-order EKF algorithm - Google Patents
Lithium-ion battery SOC estimation method based on second-order EKF algorithm Download PDFInfo
- Publication number
- CN109839599B CN109839599B CN201811444425.6A CN201811444425A CN109839599B CN 109839599 B CN109839599 B CN 109839599B CN 201811444425 A CN201811444425 A CN 201811444425A CN 109839599 B CN109839599 B CN 109839599B
- Authority
- CN
- China
- Prior art keywords
- battery
- voltage
- soc
- model
- equivalent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 61
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 title claims abstract description 26
- 229910001416 lithium ion Inorganic materials 0.000 title claims abstract description 26
- 238000007599 discharging Methods 0.000 claims abstract description 12
- 239000003990 capacitor Substances 0.000 claims description 31
- 230000008569 process Effects 0.000 claims description 28
- 239000011159 matrix material Substances 0.000 claims description 19
- 238000002474 experimental method Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 11
- 238000012937 correction Methods 0.000 claims description 6
- 238000005259 measurement Methods 0.000 claims description 6
- 238000009826 distribution Methods 0.000 claims description 3
- 230000007704 transition Effects 0.000 claims description 3
- HOWHQWFXSLOJEF-MGZLOUMQSA-N systemin Chemical compound NCCCC[C@H](N)C(=O)N[C@@H](CCSC)C(=O)N[C@@H](CCC(N)=O)C(=O)N[C@@H]([C@@H](C)O)C(=O)N[C@@H](CC(O)=O)C(=O)OC(=O)[C@@H]1CCCN1C(=O)[C@H]1N(C(=O)[C@H](CC(O)=O)NC(=O)[C@H](CCCN=C(N)N)NC(=O)[C@H](CCCCN)NC(=O)[C@H](CO)NC(=O)[C@H]2N(CCC2)C(=O)[C@H]2N(CCC2)C(=O)[C@H](CCCCN)NC(=O)[C@H](CO)NC(=O)[C@H](CCC(N)=O)NC(=O)[C@@H](NC(=O)[C@H](C)N)C(C)C)CCC1 HOWHQWFXSLOJEF-MGZLOUMQSA-N 0.000 claims 1
- 108010050014 systemin Proteins 0.000 claims 1
- 230000003068 static effect Effects 0.000 abstract description 17
- 238000013461 design Methods 0.000 abstract description 3
- 208000028659 discharge Diseases 0.000 description 25
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 4
- 238000011160 research Methods 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- GELKBWJHTRAYNV-UHFFFAOYSA-K lithium iron phosphate Chemical compound [Li+].[Fe+2].[O-]P([O-])([O-])=O GELKBWJHTRAYNV-UHFFFAOYSA-K 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000035772 mutation Effects 0.000 description 2
- 230000010287 polarization Effects 0.000 description 2
- 230000000284 resting effect Effects 0.000 description 2
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Landscapes
- Secondary Cells (AREA)
- Tests Of Electric Status Of Batteries (AREA)
Abstract
本发明公开了一种基于二阶EKF算法的锂离子电池SOC估计方法,包括步骤:一、电池外特性分析,具体过程为:对电池进行间歇充放电实验,得到表征电池的滞回特性的开路电压曲线以及表征电池的回弹特性的充放电静置电压曲线;二、建立电池的等效电路模型;三、对电池的等效电路模型的参数进行参数辨识;四、采用二阶EKF算法对电池的SOC进行估计,得到电池的SOC的预测结果。本发明方法设计新颖合理,实现方便,对电池的动静态特性适应性较好,具有较高的估算精度,实用性强,推广应用价值高。
The invention discloses a method for estimating the SOC of a lithium ion battery based on a second-order EKF algorithm. The voltage curve and the charging and discharging static voltage curve characterizing the rebound characteristics of the battery; 2. Establish the equivalent circuit model of the battery; 3. Identify the parameters of the equivalent circuit model of the battery; 4. Use the second-order EKF algorithm to The SOC of the battery is estimated to obtain a prediction result of the SOC of the battery. The method of the invention has novel and reasonable design, convenient implementation, good adaptability to the dynamic and static characteristics of the battery, high estimation accuracy, strong practicability, and high popularization and application value.
Description
技术领域technical field
本发明属于电池SOC估计技术领域,具体涉及一种基于二阶EKF算法的锂离子电池SOC估计方法。The invention belongs to the technical field of battery SOC estimation, and in particular relates to a lithium-ion battery SOC estimation method based on a second-order EKF algorithm.
背景技术Background technique
在推崇绿色经济,提倡可持续发展的当今时代,纯电动汽车以其噪声低、无污染、能源效率高等优势成为目前研究的主要方向。动力蓄电池作为电动汽车最主要的供电系统和动力载体,其运行情况的好坏对于整个电动汽车而言至关重要。In the current era of advocating green economy and advocating sustainable development, pure electric vehicles have become the main direction of current research due to their low noise, no pollution, and high energy efficiency. As the main power supply system and power carrier of electric vehicles, power battery is very important to the whole electric vehicle.
由于锂离子动力电池在性能上有着单体电压高、能量密度高、循环寿命长等优点成为国内外许多汽车厂家的首选。然而,由于锂离子动力电池技术还不成熟,存在一次性充电行驶里程较短、安全性能差及电池使用寿命短等缺点。因此,通过电池管理系统(BatteryManagement System,BMS)对其进行有效的管理和控制显得尤为重要。而在BMS中,准确估算电池组的SOC工作状态,无论对BMS系统本身还是电动汽车而言都具有重要的意义。但由于电动汽车运行情况会受到周围因素的影响,SOC不能直接测量得到,因此,选择适用于动力电池实际运行的SOC估计方法是当下业内学者研究的主攻方向。本发明涉及动力电池剩余电量(SOC)估计问题,具体涉及一种基于二阶EKF的锂离子电池SOC估计方法。Due to the advantages of high cell voltage, high energy density and long cycle life, lithium-ion power batteries have become the first choice of many domestic and foreign automobile manufacturers. However, due to the immature lithium-ion power battery technology, there are disadvantages such as short mileage on one-time charging, poor safety performance and short battery life. Therefore, it is particularly important to effectively manage and control it through a battery management system (Battery Management System, BMS). In BMS, it is of great significance to accurately estimate the SOC working state of the battery pack, both for the BMS system itself and for electric vehicles. However, due to the influence of surrounding factors on the operation of electric vehicles, the SOC cannot be directly measured. Therefore, selecting the SOC estimation method suitable for the actual operation of the power battery is the main research direction of current scholars in the industry. The invention relates to the estimation of the remaining power (SOC) of a power battery, in particular to a method for estimating the SOC of a lithium ion battery based on a second-order EKF.
近年来,国内外学者对电池SOC的研究方法主要分为三大类。In recent years, domestic and foreign scholars' research methods on battery SOC are mainly divided into three categories.
第一类是基于电池电化学性质的SOC估计方法,具有代表性的方法有:安时积分(AH)法和开路电压(OCV)法。其中利用电池动态模型结合AH法对电池的SOC进行估计,在温度和电流变化的条件下仍然可以有效的估算电池的SOC,其实验结果显示SOC的误差范围在2.5%以内;基于一阶等效电路模型,将OCV方法进行改进并结合EKF算法分别对电池的容量和SOC进行估算,最终结果表明,SOC估算精度控制在±5%以内。此类方法的优势在于原理简单易实现,但其不具有实时修正能力,在汽车强烈的变工况状态时SOC估算误差会明显增大。The first category is the SOC estimation method based on the electrochemical properties of the battery, and the representative methods are: the ampere-hour integration (AH) method and the open circuit voltage (OCV) method. The battery dynamic model combined with the AH method is used to estimate the battery SOC, which can still be effectively estimated under the conditions of temperature and current changes. The experimental results show that the error range of the SOC is within 2.5%; based on the first-order equivalent Circuit model, the OCV method is improved and combined with the EKF algorithm to estimate the battery capacity and SOC respectively. The final result shows that the SOC estimation accuracy is controlled within ±5%. The advantage of this method is that the principle is simple and easy to implement, but it does not have the ability to correct in real time, and the SOC estimation error will increase significantly when the vehicle is in a strongly changing working condition.
第二类主要是基于人工神经网络的新兴智能预测算法。这种算法使用输入时间延迟的神经网络估算方法,采用反向传播学习规则的多层感知器结构来调整神经元之间的权值从而实现准确估计,仿真结果表明:SOC估计的均方根误差小于0.35%。但这种方法是以大量样本数据为基础,受样本数据规模和训练算法规则的影响大,计算量较大,增加在线成本。The second category is mainly the emerging intelligent prediction algorithm based on artificial neural network. This algorithm uses the neural network estimation method of input time delay, and adopts the multilayer perceptron structure of back-propagation learning rules to adjust the weights between neurons to achieve accurate estimation. The simulation results show that the root mean square error of SOC estimation is: less than 0.35%. However, this method is based on a large amount of sample data, which is greatly affected by the scale of the sample data and the rules of the training algorithm, and the calculation amount is large, which increases the online cost.
第三类方法主要是基于电池模型的卡尔曼滤波(Kalman Filter)算法。由于KF算法是针对线性系统,而针对动力电池非线性系统的算法主要是一阶EKF算法,其中在电池的电化学模型基础上结合扩展卡尔曼滤波对电池的SOC进行估算,实验结果表明误差不超过5%;在考虑放电倍率变化对电池容量的影响之下,建立了双电源模型,利用扩展卡尔曼滤波算法实现对电池的SOC估计,通过恒流放电实验验证,最终实验结果显示其最大估计误差在8%以内,平均误差保持在5%以内。一阶EKF算法相较其他SOC估算方法,不仅具有在线估计能力而且适用于各种类型的电池,成为当前普遍使用的估算方法,但此方法对电池模型的依赖性强,而且存在精度不高的问题。The third type of method is mainly the Kalman Filter algorithm based on the battery model. Since the KF algorithm is for linear systems, and the algorithm for the nonlinear system of power batteries is mainly the first-order EKF algorithm, the SOC of the battery is estimated based on the electrochemical model of the battery combined with the extended Kalman filter. The experimental results show that the error is not large. More than 5%; considering the influence of the discharge rate change on the battery capacity, a dual power supply model was established, and the extended Kalman filter algorithm was used to estimate the SOC of the battery. The error is within 8% and the average error remains within 5%. Compared with other SOC estimation methods, the first-order EKF algorithm not only has the ability of online estimation, but also is suitable for various types of batteries, and has become a commonly used estimation method. question.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题在于针对上述现有技术中的不足,提供一种基于二阶EKF算法的锂离子电池SOC估计方法,其方法设计新颖合理,实现方便,对电池的动静态特性适应性较好,具有较高的估算精度,实用性强,推广应用价值高。The technical problem to be solved by the present invention is to provide a lithium-ion battery SOC estimation method based on the second-order EKF algorithm, which is novel and reasonable in design, convenient in implementation, and adaptable to the dynamic and static characteristics of the battery, aiming at the deficiencies in the above-mentioned prior art. It has high estimation accuracy, strong practicability, and high promotion and application value.
为解决上述技术问题,本发明采用的技术方案是:一种基于二阶EKF算法的锂离子电池SOC估计方法,该方法包括以下步骤:In order to solve the above-mentioned technical problems, the technical solution adopted in the present invention is: a lithium-ion battery SOC estimation method based on a second-order EKF algorithm, the method comprises the following steps:
步骤一、电池外特性分析,具体过程为:对电池进行间歇充放电实验,得到表征电池的滞回特性的开路电压曲线以及表征电池的回弹特性的充放电静置电压曲线;Step 1, analysis of the external characteristics of the battery, the specific process is: performing an intermittent charge-discharge experiment on the battery to obtain an open-circuit voltage curve representing the hysteresis characteristic of the battery and a charge-discharge static voltage curve representing the rebound characteristic of the battery;
步骤二、建立电池的等效电路模型,具体过程为:Step 2, establish the equivalent circuit model of the battery, the specific process is as follows:
步骤201、建立电池的SOC计算模型,并根据电池的开路电压曲线建立等效电压源模型,根据电池的充放电静置电压曲线建立等效阻抗模型;Step 201 , establishing an SOC calculation model of the battery, establishing an equivalent voltage source model according to an open circuit voltage curve of the battery, and establishing an equivalent impedance model according to a charging and discharging static voltage curve of the battery;
步骤202、将SOC计算模型、等效电压源模型和等效阻抗模型三部分组合,建立电池的等效电路模型;Step 202 , combining the three parts of the SOC calculation model, the equivalent voltage source model and the equivalent impedance model to establish an equivalent circuit model of the battery;
步骤三、对电池的等效电路模型的参数进行参数辨识;Step 3: Perform parameter identification on the parameters of the equivalent circuit model of the battery;
步骤四、采用二阶EKF算法对电池的SOC进行估计,得到电池的SOC的预测结果。Step 4: Use the second-order EKF algorithm to estimate the SOC of the battery, and obtain the prediction result of the SOC of the battery.
上述的基于二阶EKF算法的锂离子电池SOC估计方法,步骤一中所述对电池进行间歇充放电实验的具体过程为:In the above-mentioned method for estimating the SOC of a lithium-ion battery based on the second-order EKF algorithm, the specific process of performing an intermittent charge-discharge experiment on the battery described in step 1 is as follows:
步骤101、将电池放空;Step 101, emptying the battery;
步骤102、以1/3C放电倍率充电20min,当20min内电池电压达到3.65V时,执行步骤104,否则执行步骤103;Step 102, charge at 1/3C discharge rate for 20min, when the battery voltage reaches 3.65V within 20min, go to Step 104, otherwise go to Step 103;
步骤103、将电池静置30min,之后返回步骤102;Step 103, let the battery stand for 30 minutes, and then return to step 102;
步骤104、将电池充满;Step 104, fully charge the battery;
步骤105、以1/3C放电倍率放电20min,若20min内电池电压低于2.0V,进入步骤107,否则进入步骤106;Step 105, discharge at 1/3C discharge rate for 20min, if the battery voltage is lower than 2.0V within 20min, go to step 107, otherwise go to step 106;
步骤106、将电池静置30min,之后回到步骤105;Step 106, let the battery stand for 30 minutes, and then return to step 105;
步骤107、以0.02C小电流将电池放空。Step 107: Empty the battery with a small current of 0.02C.
上述的基于二阶EKF算法的锂离子电池SOC估计方法,步骤202中所述SOC计算模型包括电容CN和等效电池B,所述电容CN的一端与等效电池B的正极连接,所述电容CN的另一端与等效电池B的负极连接;步骤202中所述等效电压源模型包括电流源M、电感Lh、电压源U1和电压源U2,所述电流源M的正极与电感Lh的一端连接,所述电流源M的负极与电感Lh的另一端连接,所述电压源U1和电压源U2串联后的负极与电流源M的负极连接;步骤202中所述等效阻抗模型包括电阻R0、电阻R1、电阻R2、电容C1和电容C2,所述电阻R0、电阻R1和电阻R2串联,所述电容C1与电阻R1并联,所述电容C2与电阻R2并联;所述等效电池B的负极与电压源U2的负极连接,所述电阻R0、电阻R1和电阻R2串联后电阻R0的一端与电压源U1和电压源U2串联后的正极连接。In the above-mentioned method for estimating the SOC of a lithium-ion battery based on the second-order EKF algorithm, the SOC calculation model in step 202 includes a capacitor CN and an equivalent battery B, and one end of the capacitor CN is connected to the positive electrode of the equivalent battery B, so The other end of the capacitor CN is connected to the negative electrode of the equivalent battery B; the equivalent voltage source model in step 202 includes a current source M, an inductance L h , a voltage source U 1 and a voltage source U 2 , the current source M The positive electrode of U is connected to one end of the inductor L h , the negative electrode of the current source M is connected to the other end of the inductor L h , and the negative electrode of the voltage source U 1 and the voltage source U 2 connected in series is connected to the negative electrode of the current source M; step The equivalent impedance model in 202 includes a resistor R 0 , a resistor R 1 , a resistor R 2 , a capacitor C 1 and a capacitor C 2 , the resistor R 0 , the resistor R 1 and the resistor R 2 are connected in series, and the capacitor C 1 is connected to the The resistor R 1 is connected in parallel, the capacitor C 2 is connected in parallel with the resistor R 2 ; the negative electrode of the equivalent battery B is connected to the negative electrode of the voltage source U 2 , the resistor R 0 , the resistor R 1 and the resistor R 2 are connected in series after the resistor R One end of 0 is connected to the positive pole after the voltage source U1 and the voltage source U2 are connected in series.
上述的基于二阶EKF算法的锂离子电池SOC估计方法,步骤三中所述对电池的等效电路模型的参数进行参数辨识的具体过程为:In the above-mentioned lithium-ion battery SOC estimation method based on the second-order EKF algorithm, the specific process of performing parameter identification on the parameters of the equivalent circuit model of the battery described in step 3 is as follows:
步骤301、等效电压源模型的参数辨识:将电池的平衡电势EMF表示为Step 301, parameter identification of the equivalent voltage source model: the equilibrium potential EMF of the battery is expressed as
EMF=0.5(EMFc+EMFd) (F1)EMF=0.5(EMF c +EMF d ) (F1)
将电池的滞回电压Vh表示为The hysteresis voltage V h of the battery is expressed as
Vh=0.5(EMFc-EMFd) (F2)V h =0.5(EMF c -EMF d ) (F2)
其中,EMFc为充电平衡电势,EMFd为放电平衡电势;Among them, EMF c is the charge balance potential, and EMF d is the discharge balance potential;
步骤302、等效阻抗模型的参数辨识:将任意时刻电压U表示为Step 302, parameter identification of the equivalent impedance model: the voltage U at any time is expressed as
其中,OCVD为充放电静置电压曲线D时刻的电压,D时刻为电池放电后经历回弹阶段电压不再改变的时刻;I为流过电池的电流值,R1为电阻R1的阻值,τ1为与电阻R1对应的时间常数且R2为电阻R2的阻值,τ2为与电阻R2对应的时间常数且t为时间;Among them, OCV D is the voltage at time D of the charging and discharging static voltage curve, and time D is the time when the voltage does not change after the battery is discharged after the rebound stage; I is the current value flowing through the battery, and R 1 is the resistance of the resistor R 1 value, τ1 is the time constant corresponding to resistor R1 and R2 is the resistance value of the resistor R2 , τ2 is the time constant corresponding to the resistor R2 and t is time;
将拟合函数表示为Denote the fitting function as
f(x)=A-B·exp(-ax)-C·exp(-bx) (F4)f(x)=A-B·exp(-ax)-C·exp(-bx) (F4)
对充放电静置电压曲线的C-D阶段进行拟合,得到拟合函数中的参数A、B、C、a和b的取值;其中,充放电静置电压曲线的C-D阶段是指电池放电瞬间电压突变开始到电池放电后经历回弹阶段电压不再改变的阶段;根据公式(F3)和公式(F4)对应相等,得到等效阻抗模型的参数为:Fit the C-D stage of the charge-discharge static voltage curve to obtain the values of the parameters A, B, C, a and b in the fitting function; among them, the C-D stage of the charge-discharge static voltage curve refers to the moment when the battery is discharged The voltage mutation starts to the stage where the voltage does not change after the battery is discharged through the rebound stage; according to formula (F3) and formula (F4) correspondingly equal, the parameters of the equivalent impedance model are obtained as follows:
其中,C1为电容C1的容值,C2为电容C2的容值。Among them, C 1 is the capacitance value of the capacitor C 1 , and C 2 is the capacitance value of the capacitor C 2 .
上述的基于二阶EKF算法的锂离子电池SOC估计方法,步骤四中所述采用二阶EKF算法对电池的SOC进行估计,得到电池的SOC的预测结果的具体过程为:In the above-mentioned method for estimating the SOC of a lithium-ion battery based on the second-order EKF algorithm, the second-order EKF algorithm is used to estimate the SOC of the battery as described in step 4, and the specific process of obtaining the prediction result of the SOC of the battery is as follows:
步骤401、建立电池系统的状态空间模型:根据步骤二中建立的电池的等效电路模型,以电池的SOC、电容C1两端的电压V1和电容C2两端的电压V2作为系统的状态变量,流过电池的电流值I为输入量,端电压V为输出量,根据电路方程推导出电池系统的状态空间模型方程为:Step 401 , establish a state space model of the battery system: according to the equivalent circuit model of the battery established in step 2, the SOC of the battery, the voltage V 1 across the capacitor C 1 and the voltage V 2 across the capacitor C 2 are used as the state of the system variable, the current value I flowing through the battery is the input quantity, and the terminal voltage V is the output quantity. According to the circuit equation, the state space model equation of the battery system is derived as:
输出方程为:The output equation is:
V(t)=VOCV(SOC(t))-V1(t)-V2(t)-R0I(t) (F7)V(t)=V OCV (SOC(t))-V 1 (t)-V 2 (t)-R 0 I(t) (F7)
其中,Cn为电池的额定容量,VOCV为电压源U1和电压源U2的总电压;Among them, C n is the rated capacity of the battery, V OCV is the total voltage of the voltage source U 1 and the voltage source U 2 ;
步骤402、将电池系统的非线性状态空间模型方程通过二阶泰勒展开进行线性化,具体过程为:Step 402: Linearize the nonlinear state space model equation of the battery system through a second-order Taylor expansion, and the specific process is as follows:
步骤4021、将电池系统的状态空间模型方程(F6)在状态估计点处进行二阶泰勒展开,得到:Step 4021: Perform the second-order Taylor expansion of the state space model equation (F6) of the battery system at the state estimation point to obtain:
其中,f(xk,uk)为状态转移函数,g(xk,uk)为测量函数,xk为k时刻的状态变量,uk为k时刻系统的控制输入量,为xk的估计值;Among them, f(x k , u k ) is the state transition function, g(x k , u k ) is the measurement function, x k is the state variable at time k , uk is the control input of the system at time k, is the estimated value of x k ;
步骤4022、定义 将公式(F8)代入非线性离散系统的状态空间模型方程中,得到电池系统的线性化方程为:Step 4022, define Substitute Equation (F8) into the state-space model equation of the nonlinear discrete system , the linearized equation of the battery system is obtained as:
其中,Dk=R0;R0为电阻R0的阻值,Δt为时间的变化量,ωk为均值为零的过程噪声,vk为均值为零的测量噪声,且ωk与vk互不相关,ωk~N(0,Qk),vk~N(0,Rk);即ωk和vk均服从均值为0的高斯分布;in, D k =R 0 ; R 0 is the resistance value of the resistor R 0 , Δt is the change in time, ω k is the process noise with zero mean, v k is the measurement noise with zero mean, and ω k and v k mutually Irrelevant, ω k ~N(0, Q k ), v k ~N(0, R k ); that is, both ω k and v k obey the Gaussian distribution with mean 0;
步骤403、采用二阶EKF算法对锂离子电池SOC进行估计,具体过程为:Step 403, using the second-order EKF algorithm to estimate the SOC of the lithium-ion battery, the specific process is:
步骤4031、初始化阶段:Step 4031, initialization phase:
其中,x0为状态变量的初始化值,为x0的估计值,P0为状态变量预测估计的误差协方差矩阵的初始化值;Among them, x 0 is the initialization value of the state variable, is the estimated value of x 0 , and P 0 is the initialization value of the error covariance matrix of the state variable prediction estimation;
步骤4032、预测阶段:Step 4032, the prediction stage:
状态变量的预测估计:Predictive estimates of state variables:
其中,为xk-1的估计值,xk-1为k-1时刻的状态变量,uk-1为k-1时刻系统的控制输入量;in, is the estimated value of x k- 1 , x k-1 is the state variable at time k-1, and u k-1 is the control input of the system at time k-1;
状态变量预测估计的误差协方差矩阵:Error covariance matrix for state variable prediction estimates:
其中,Qk-1为k-1时刻过程噪声的协方差矩阵且Qk-1=Qk,Qk为k时刻过程噪声的协方差矩阵;Wherein, Q k-1 is the covariance matrix of process noise at time k-1 and Q k-1 =Q k , Q k is the covariance matrix of process noise at time k;
步骤4033、修正阶段:Step 4033, the correction stage:
卡尔曼滤波增益:Kalman filter gain:
其中,R为观测噪声的协方差矩阵;where R is the covariance matrix of the observation noise;
状态变量的修正估计:Corrected estimates of state variables:
状态变量修正估计的误差协方差矩阵:The error covariance matrix of the state variable correction estimate:
Pk=(I-KkCk)Pk|k-1 (F15)P k =(IK k C k )P k|k-1 (F15)
步骤4034、重复步骤4032和步骤4033,直至迭代次数达到了预设的迭代终止值。Step 4034: Repeat steps 4032 and 4033 until the number of iterations reaches a preset iteration termination value.
上述的基于二阶EKF算法的锂离子电池SOC估计方法,步骤4032中所述Qk-1的取值为 In the above-mentioned lithium-ion battery SOC estimation method based on the second-order EKF algorithm, the value of Q k-1 described in step 4032 is
上述的基于二阶EKF算法的锂离子电池SOC估计方法,步骤4033中所述R的取值为0.1。In the above-mentioned method for estimating the SOC of a lithium-ion battery based on the second-order EKF algorithm, the value of R in step 4033 is 0.1.
上述的基于二阶EKF算法的锂离子电池SOC估计方法,步骤4034中所述预设的迭代终止值为150。In the above-mentioned method for estimating the SOC of a lithium-ion battery based on the second-order EKF algorithm, the preset iteration termination value in step 4034 is 150.
本发明与现有技术相比具有以下优点:Compared with the prior art, the present invention has the following advantages:
1、本发明针对动力电池管理系统中存在SOC估计不精确的问题,以锂电池为主要研究对象,针对目前一阶扩展卡尔曼滤波算法(Extend Kalman Filter,EKF)存在精度不高、稳定性差的缺点,在一阶的基础上提出基于电池模型的二阶EKF算法,实现对电池的SOC估计,实验表明,二阶EKF算法在对电池的SOC进行估计时,相比一阶EKF算法具有较高的估算精度,对电池的动静态特性适应性较好。1. Aiming at the problem of inaccurate SOC estimation in the power battery management system, the present invention takes lithium batteries as the main research object, and the current first-order Extended Kalman Filter (EKF) algorithm has low precision and poor stability. On the basis of the first order, a second-order EKF algorithm based on the battery model is proposed to estimate the SOC of the battery. Experiments show that the second-order EKF algorithm has higher performance than the first-order EKF algorithm when estimating the SOC of the battery. The estimation accuracy is good, and it has good adaptability to the dynamic and static characteristics of the battery.
2、本发明一方面考虑电池的滞回电压现象,另一方面通过不同阶次的RC电路拟合电池的回弹电压特性,综合考虑模型的简易程度和对电池特性的近似程度后建立了带有滞回电压特性的二阶RC电路模型,能够较准确的模拟电池的动静态工作特性,便于得到更为精确的SOC估计结果。2. The present invention considers the hysteresis voltage phenomenon of the battery on the one hand, and fits the rebound voltage characteristics of the battery through RC circuits of different orders on the other hand. The second-order RC circuit model with hysteresis voltage characteristics can more accurately simulate the dynamic and static working characteristics of the battery, which is convenient to obtain more accurate SOC estimation results.
3、由于动力电池在实际使用过程中非线性程度较高,而一阶EKF算法因其忽略二阶以上的高阶项导致其非线性程度较弱、估算精度不高,本发明将非线性离散系统的状态空间方程在状态估计点处进行二阶泰勒展开,能够保持电池非线性程度,提高估算精度;随着放电过程的进行,二阶相对一阶的估算结果更接近真实值,能够更好的跟踪真实值。3. Since the power battery has a high degree of nonlinearity in the actual use process, and the first-order EKF algorithm ignores the high-order terms above the second order, its nonlinearity is weak and the estimation accuracy is not high. The second-order Taylor expansion of the state space equation of the system at the state estimation point can maintain the non-linearity of the battery and improve the estimation accuracy. The tracked true value of .
4、实验表明,在整个放电阶段一阶EKF算法的误差在5.5%以内而二阶EKF算法的误差不超过3%,由此表明二阶EKF算法相比一阶EKF算法具有较好的估算精度。4. Experiments show that the error of the first-order EKF algorithm is within 5.5% and the error of the second-order EKF algorithm is not more than 3% in the whole discharge stage, which shows that the second-order EKF algorithm has better estimation accuracy than the first-order EKF algorithm. .
综上所述,本发明的方法设计新颖合理,实现方便,对电池的动静态特性适应性较好,具有较高的估算精度,实用性强,推广应用价值高。To sum up, the method of the present invention has novel and reasonable design, convenient implementation, good adaptability to the dynamic and static characteristics of the battery, high estimation accuracy, strong practicability, and high popularization and application value.
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be further described in detail below through the accompanying drawings and embodiments.
附图说明Description of drawings
图1为本发明的方法流程框图。FIG. 1 is a flow chart of the method of the present invention.
图2为本发明建立的电池的等效电路模型图。FIG. 2 is an equivalent circuit model diagram of the battery established by the present invention.
图3为本发明采用二阶EKF算法对电池的SOC进行估计的流程框图。FIG. 3 is a flow chart of the present invention using the second-order EKF algorithm to estimate the SOC of the battery.
具体实施方式Detailed ways
如图1所示,本发明的基于二阶EKF算法的锂离子电池SOC估计方法,包括以下步骤:As shown in FIG. 1 , the method for estimating the SOC of a lithium-ion battery based on the second-order EKF algorithm of the present invention includes the following steps:
步骤一、电池外特性分析,具体过程为:对电池进行间歇充放电实验,得到表征电池的滞回特性的开路电压曲线以及表征电池的回弹特性的充放电静置电压曲线;Step 1, analysis of the external characteristics of the battery, the specific process is: performing an intermittent charge-discharge experiment on the battery to obtain an open-circuit voltage curve representing the hysteresis characteristic of the battery and a charge-discharge static voltage curve representing the rebound characteristic of the battery;
本实施例中,步骤一种所述对电池进行间歇充放电实验的具体过程为:In this embodiment, the specific process of performing the intermittent charge-discharge experiment on the battery described in step one is as follows:
步骤101、将电池放空;Step 101, emptying the battery;
步骤102、以1/3C放电倍率充电20min,当20min内电池电压达到3.65V时,执行步骤104,否则执行步骤103;Step 102, charge at 1/3C discharge rate for 20min, when the battery voltage reaches 3.65V within 20min, go to Step 104, otherwise go to Step 103;
步骤103、将电池静置30min,之后返回步骤102;Step 103, let the battery stand for 30 minutes, and then return to step 102;
步骤104、将电池充满;Step 104, fully charge the battery;
步骤105、以1/3C放电倍率放电20min,若20min内电池电压低于2.0V,进入步骤107,否则进入步骤106;Step 105, discharge at 1/3C discharge rate for 20min, if the battery voltage is lower than 2.0V within 20min, go to step 107, otherwise go to step 106;
步骤106、将电池静置30min,之后回到步骤105;Step 106, let the battery stand for 30 minutes, and then return to step 105;
步骤107、以0.02C小电流将电池放空。Step 107: Empty the battery with a small current of 0.02C.
步骤103和步骤106中,通过将电池的静置时间设置为30min,能够保证实验的连续性。In step 103 and step 106, the continuity of the experiment can be ensured by setting the resting time of the battery to 30 minutes.
要利用EKF算法实现对电池的SOC估计,必须对电池建立准确的电池模型,而电池模型的建立是基于对电池的外特性分析,因此,首要工作是对电池进行外特性分析。不同SOC点处电池充放电平衡电势不同,这种现象称为电池的滞回特性,滞回特性不只存在于磷酸铁锂动力电池,在其他类型的锂离子电池中仍然存在。电池在放电静置时,电压逐渐上升,而在充电静置期间,电压逐渐下降,这种现象称为电池的回弹特性,这主要是受到电池内部的极化电阻和极化电容的影响。To use the EKF algorithm to estimate the SOC of the battery, an accurate battery model must be established for the battery, and the establishment of the battery model is based on the analysis of the external characteristics of the battery. Therefore, the primary work is to analyze the external characteristics of the battery. The charge-discharge balance potential of the battery at different SOC points is different. This phenomenon is called the hysteresis characteristic of the battery. The hysteresis characteristic exists not only in lithium iron phosphate power batteries, but also in other types of lithium-ion batteries. When the battery is discharging and standing, the voltage gradually rises, and during the charging and standing period, the voltage gradually decreases. This phenomenon is called the rebound characteristic of the battery, which is mainly affected by the polarization resistance and polarization capacitance inside the battery.
步骤二、建立电池的等效电路模型,具体过程为:Step 2, establish the equivalent circuit model of the battery, the specific process is as follows:
步骤201、建立电池的SOC计算模型,并根据电池的开路电压曲线建立等效电压源模型,根据电池的充放电静置电压曲线建立等效阻抗模型;Step 201 , establishing an SOC calculation model of the battery, establishing an equivalent voltage source model according to an open circuit voltage curve of the battery, and establishing an equivalent impedance model according to a charging and discharging static voltage curve of the battery;
步骤202、将SOC计算模型、等效电压源模型和等效阻抗模型三部分组合,建立电池的等效电路模型;Step 202 , combining the three parts of the SOC calculation model, the equivalent voltage source model and the equivalent impedance model to establish an equivalent circuit model of the battery;
本实施例中,如图2所示,步骤202中所述SOC计算模型包括电容CN和等效电池B,所述电容CN的一端与等效电池B的正极连接,所述电容CN的另一端与等效电池B的负极连接;步骤202中所述等效电压源模型包括电流源M、电感Lh、电压源U1和电压源U2,所述电流源M的正极与电感Lh的一端连接,所述电流源M的负极与电感Lh的另一端连接,所述电压源U1和电压源U2串联后的负极与电流源M的负极连接;步骤202中所述等效阻抗模型包括电阻R0、电阻R1、电阻R2、电容C1和电容C2,所述电阻R0、电阻R1和电阻R2串联,所述电容C1与电阻R1并联,所述电容C2与电阻R2并联;所述等效电池B的负极与电压源U2的负极连接,所述电阻R0、电阻R1和电阻R2串联后电阻R0的一端与电压源U1和电压源U2串联后的正极连接。In this embodiment, as shown in FIG. 2 , the SOC calculation model in step 202 includes a capacitor CN and an equivalent battery B, one end of the capacitor CN is connected to the positive electrode of the equivalent battery B, and the capacitor CN The other end of the battery is connected to the negative pole of the equivalent battery B; the equivalent voltage source model in step 202 includes a current source M, an inductance L h , a voltage source U 1 and a voltage source U 2 , the positive pole of the current source M is connected to the inductance One end of L h is connected, the negative electrode of the current source M is connected to the other end of the inductor L h , and the negative electrode of the voltage source U 1 and the voltage source U 2 connected in series is connected to the negative electrode of the current source M; as described in step 202 The equivalent impedance model includes a resistor R 0 , a resistor R 1 , a resistor R 2 , a capacitor C 1 and a capacitor C 2 , the resistor R 0 , the resistor R 1 and the resistor R 2 are connected in series, and the capacitor C 1 is connected in parallel with the resistor R 1 , the capacitor C 2 is connected in parallel with the resistor R 2 ; the negative electrode of the equivalent battery B is connected to the negative electrode of the voltage source U 2 , and one end of the resistor R 0 is connected to the resistor R 0 , the resistor R 1 and the resistor R 2 in series. The positive poles of the voltage source U1 and the voltage source U2 are connected in series.
本发明建立的电池的等效电路模型,不仅能够描述电池的滞回电压和开路电压与电池SOC的关系,而且能够通过安时积分的方法直接对电池的SOC进行估计。The equivalent circuit model of the battery established by the invention can not only describe the relationship between the hysteresis voltage and the open circuit voltage of the battery and the battery SOC, but also directly estimate the battery SOC through the ampere-hour integration method.
步骤三、对电池的等效电路模型的参数进行参数辨识;Step 3: Perform parameter identification on the parameters of the equivalent circuit model of the battery;
本实施例中,步骤三中所述对电池的等效电路模型的参数进行参数辨识的具体过程为:In this embodiment, the specific process of performing parameter identification on the parameters of the equivalent circuit model of the battery described in step 3 is as follows:
步骤301、等效电压源模型的参数辨识:将电池的平衡电势EMF表示为Step 301, parameter identification of the equivalent voltage source model: the equilibrium potential EMF of the battery is expressed as
EMF=0.5(EMFc+EMFd) (F1)EMF=0.5(EMF c +EMF d ) (F1)
将电池的滞回电压Vh表示为The hysteresis voltage V h of the battery is expressed as
Vh=0.5(EMFc-EMFd) (F2)V h =0.5(EMF c -EMF d ) (F2)
其中,EMFc为充电平衡电势,EMFd为放电平衡电势;Among them, EMF c is the charge balance potential, and EMF d is the discharge balance potential;
步骤302、等效阻抗模型的参数辨识:将任意时刻电压U表示为Step 302, parameter identification of the equivalent impedance model: the voltage U at any time is expressed as
其中,OCVD为充放电静置电压曲线D时刻的电压,D时刻为电池放电后经历回弹阶段电压不再改变的时刻;I为流过电池的电流值,R1为电阻R1的阻值,τ1为与电阻R1对应的时间常数且R2为电阻R2的阻值,τ2为与电阻R2对应的时间常数且t为时间;Among them, OCV D is the voltage at time D of the charging and discharging static voltage curve, and time D is the time when the voltage does not change after the battery is discharged after the rebound stage; I is the current value flowing through the battery, and R 1 is the resistance of the resistor R 1 value, τ1 is the time constant corresponding to resistor R1 and R2 is the resistance value of the resistor R2 , τ2 is the time constant corresponding to the resistor R2 and t is time;
将拟合函数表示为Denote the fitting function as
f(x)=A-B·exp(-ax)-C·exp(-bx) (F4)f(x)=A-B·exp(-ax)-C·exp(-bx) (F4)
对充放电静置电压曲线的C-D阶段进行拟合,得到拟合函数中的参数A、B、C、a和b的取值;其中,充放电静置电压曲线的C-D阶段是指电池放电瞬间电压突变开始到电池放电后经历回弹阶段电压不再改变的阶段;根据公式(F3)和公式(F4)对应相等,得到等效阻抗模型的参数为:Fit the C-D stage of the charge-discharge static voltage curve to obtain the values of the parameters A, B, C, a and b in the fitting function; among them, the C-D stage of the charge-discharge static voltage curve refers to the moment when the battery is discharged The voltage mutation starts to the stage where the voltage does not change after the battery is discharged through the rebound stage; according to formula (F3) and formula (F4) correspondingly equal, the parameters of the equivalent impedance model are obtained as follows:
其中,C1为电容C1的容值,C2为电容C2的容值。Among them, C 1 is the capacitance value of the capacitor C 1 , and C 2 is the capacitance value of the capacitor C 2 .
步骤四、采用二阶EKF算法对电池的SOC进行估计,得到电池的SOC的预测结果。Step 4: Use the second-order EKF algorithm to estimate the SOC of the battery, and obtain the prediction result of the SOC of the battery.
本实施例中,如图3所示,步骤四中所述采用二阶EKF算法对电池的SOC进行估计,得到电池的SOC的预测结果的具体过程为:In this embodiment, as shown in FIG. 3 , the second-order EKF algorithm is used in step 4 to estimate the SOC of the battery, and the specific process of obtaining the prediction result of the SOC of the battery is as follows:
步骤401、建立电池系统(非线性离散系统)的状态空间模型:根据步骤二中建立的电池的等效电路模型,以电池的SOC、电容C1两端的电压V1和电容C2两端的电压V2作为系统的状态变量,流过电池的电流值I(放电为负,充电为正)为输入量,端电压V为输出量,根据电路方程推导出电池系统的状态空间模型方程为:Step 401 , establish a state space model of the battery system (non-linear discrete system): according to the equivalent circuit model of the battery established in step 2, the SOC of the battery, the voltage V 1 across the capacitor C 1 and the voltage across the capacitor C 2 are V 2 is used as the state variable of the system, the current value I flowing through the battery (discharge is negative, charging is positive) is the input quantity, and the terminal voltage V is the output quantity. According to the circuit equation, the state space model equation of the battery system is deduced as:
输出方程为:The output equation is:
V(t)=VOCV(SOC(t))-V1(t)-V2(t)-R0I(t) (F7)V(t)=V OCV (SOC(t))-V 1 (t)-V 2 (t)-R 0 I(t) (F7)
其中,Cn为电池的额定容量,VOCV为电压源U1和电压源U2的总电压;Among them, C n is the rated capacity of the battery, V OCV is the total voltage of the voltage source U 1 and the voltage source U 2 ;
步骤402、将电池系统的非线性状态空间模型方程通过二阶泰勒展开进行线性化,具体过程为:Step 402: Linearize the nonlinear state space model equation of the battery system through a second-order Taylor expansion, and the specific process is as follows:
步骤4021、将电池系统的状态空间模型方程(F6)在状态估计点处进行二阶泰勒展开,得到:Step 4021: Perform the second-order Taylor expansion of the state space model equation (F6) of the battery system at the state estimation point to obtain:
其中,f(xk,uk)为状态转移函数,g(xk,uk)为测量函数,xk为k时刻的状态变量,uk为k时刻系统的控制输入量,为xk的估计值;Among them, f(x k , u k ) is the state transition function, g(x k , u k ) is the measurement function, x k is the state variable at time k , uk is the control input of the system at time k, is the estimated value of x k ;
步骤4022、定义 将公式(F8)代入非线性离散系统的状态空间模型方程中,得到电池系统的线性化方程为:Step 4022, define Substitute Equation (F8) into the state-space model equation of the nonlinear discrete system , the linearized equation of the battery system is obtained as:
其中,Dk=R0;R0为电阻R0的阻值,Δt为时间的变化量,ωk为均值为零的过程噪声,vk为均值为零的测量噪声,且ωk与vk互不相关,ωk~N(0,Qk),vk~N(0,Rk);即ωk和vk均服从均值为0的高斯分布;in, D k =R 0 ; R 0 is the resistance value of the resistor R 0 , Δt is the change in time, ω k is the process noise with zero mean, v k is the measurement noise with zero mean, and ω k and v k mutually Irrelevant, ω k ~N(0, Q k ), v k ~N(0, R k ); that is, both ω k and v k obey the Gaussian distribution with mean 0;
步骤403、采用二阶EKF算法对锂离子电池SOC进行估计,具体过程为:Step 403, using the second-order EKF algorithm to estimate the SOC of the lithium-ion battery, the specific process is:
步骤4031、初始化阶段:Step 4031, initialization phase:
其中,x0为状态变量的初始化值,为x0的估计值,P0为状态变量预测估计的误差协方差矩阵的初始化值;Among them, x 0 is the initialization value of the state variable, is the estimated value of x 0 , and P 0 is the initialization value of the error covariance matrix of the state variable prediction estimation;
步骤4032、预测阶段:Step 4032, the prediction stage:
状态变量的预测估计:Predictive estimates of state variables:
其中,为xk-1的估计值,xk-1为k-1时刻的状态变量,uk-1为k-1时刻系统的控制输入量;in, is the estimated value of x k- 1 , x k-1 is the state variable at time k-1, and u k-1 is the control input of the system at time k-1;
状态变量预测估计的误差协方差矩阵:Error covariance matrix for state variable prediction estimates:
其中,Qk-1为k-1时刻过程噪声的协方差矩阵且Qk-1=Qk,Qk为k时刻过程噪声的协方差矩阵;Wherein, Q k-1 is the covariance matrix of process noise at time k-1 and Q k-1 =Q k , Q k is the covariance matrix of process noise at time k;
本实施例中,步骤4032中所述Qk-1的取值为 In this embodiment, the value of Q k-1 in step 4032 is
步骤4033、修正阶段:Step 4033, the correction stage:
卡尔曼滤波增益:Kalman filter gain:
其中,R为观测噪声的协方差矩阵;where R is the covariance matrix of the observation noise;
状态变量的修正估计:Corrected estimates of state variables:
状态变量修正估计的误差协方差矩阵:The error covariance matrix of the state variable correction estimate:
Pk=(I-KkCk)Pk|k-1 (F15)P k =(IK k C k )P k|k-1 (F15)
本实施例中,步骤4033中所述R的取值为0.1。In this embodiment, the value of R in step 4033 is 0.1.
步骤4034、重复步骤4032和步骤4033,直至迭代次数达到了预设的迭代终止值。Step 4034: Repeat steps 4032 and 4033 until the number of iterations reaches a preset iteration termination value.
本实施例中,步骤4034中所述预设的迭代终止值为150。In this embodiment, the preset iteration termination value in step 4034 is 150.
为了验证本发明能够产生的技术效果,采用天津力神电池股份有限生产的18650磷酸铁锂电池为实验对象,该电池的主要性能参数如表1所示。In order to verify the technical effect that the present invention can produce, the 18650 lithium iron phosphate battery produced by Tianjin Lishen Battery Co., Ltd. is used as the experimental object. The main performance parameters of the battery are shown in Table 1.
表1电池的主要性能参数表Table 1 The main performance parameters of the battery
为了研究电池的外特性,对电池进行间歇充放电实验,出于实验的连续性考虑,将电池的静置时间设置为30min。实验步骤如表2所示。In order to study the external characteristics of the battery, intermittent charging and discharging experiments were carried out on the battery. For the continuity of the experiment, the resting time of the battery was set to 30min. The experimental steps are shown in Table 2.
表2间歇充放电实验步骤Table 2 Experimental steps of intermittent charge and discharge
由电池充放电实验得到表征电池的滞回特性的开路电压曲线以及表征电池的回弹特性的充放电静置电压曲线。建立电池的SOC计算模型,并根据电池的滞回特性建立等效电压源模型,根据电池的回弹特性建立等效阻抗模型;进行等效阻抗模型的参数辨识时,不同阶数RC网络拟合结果对比表如表3所示。The open-circuit voltage curve, which characterizes the hysteresis characteristics of the battery, and the charge-discharge static voltage curve, which characterizes the rebound characteristics of the battery, are obtained from the battery charge-discharge experiment. The SOC calculation model of the battery is established, and the equivalent voltage source model is established according to the hysteresis characteristics of the battery, and the equivalent impedance model is established according to the rebound characteristics of the battery; when the parameters of the equivalent impedance model are identified, different orders of RC network fitting A comparison table of the results is shown in Table 3.
表3不同阶数RC网络拟合结果对比Table 3 Comparison of fitting results of RC networks of different orders
结合表3的拟合结果对比可知,二阶RC网络与三阶RC网络的拟合误差相差不大,一阶拟合结果相比二阶和三阶的拟合效果较差。由于二阶RC网络相比三阶RC网络简单,方便后期的参数辨识和算法估算,相比一阶RC网络能够更好的描述电池的外特性,因此,本发明选择二阶RC网络。According to the comparison of the fitting results in Table 3, the fitting errors of the second-order RC network and the third-order RC network are not much different, and the first-order fitting results are worse than the second-order and third-order fitting results. Since the second-order RC network is simpler than the third-order RC network, it is convenient for later parameter identification and algorithm estimation, and can better describe the external characteristics of the battery than the first-order RC network. Therefore, the present invention selects the second-order RC network.
本实施例中,建立的电池的等效电路模型图如图2所示。In this embodiment, the established equivalent circuit model diagram of the battery is shown in FIG. 2 .
利用二阶EKF算法对电池的SOC估计系统的状态变量为:xk=[SOC(k),V1(k),V2(k)]T,系统的输入量为:uk=I(k)。将系统的状态空间模型方程通过二阶泰勒公式将非线性方程进行线性化,得到二阶EKF算法线性化后的矩阵参数。基于二阶EKF算法对SOC进行估计。不同仿真工况下一阶EKF算法与二阶EKF算法的SOC估计结果对比如表4所示。Using the second-order EKF algorithm to estimate the SOC of the battery, the state variables of the system are: x k =[SOC(k), V 1 (k), V 2 (k)] T , and the input of the system is: u k =I( k). The state space model equation of the system is linearized by the second-order Taylor formula to obtain the linearized matrix parameters of the second-order EKF algorithm. The SOC is estimated based on the second-order EKF algorithm. Table 4 shows the comparison of the SOC estimation results of the first-order EKF algorithm and the second-order EKF algorithm under different simulation conditions.
表4不同仿真工况算法误差比较Table 4 Comparison of algorithm errors in different simulation conditions
通过对磷酸铁锂电池进行特性实验分析,建立带有滞回电压的二阶等效电路模型并进行参数辨识;在等效模型的基础上利用一阶、二阶EKF算法实现对电池SOC的估算,通过模拟电池不同工况对算法的估算精度进行验证,最终实验结果表明:二阶EKF算法在不同仿真工况下对电池SOC的估计误差精度均优于一阶EKF算法,对电池的动态适应性好,精度较高。By analyzing the characteristics of the lithium iron phosphate battery, a second-order equivalent circuit model with hysteresis voltage is established and parameters are identified; on the basis of the equivalent model, the first-order and second-order EKF algorithms are used to estimate the battery SOC , the estimation accuracy of the algorithm is verified by simulating different working conditions of the battery, and the final experimental results show that the estimation error accuracy of the second-order EKF algorithm for battery SOC under different simulation conditions is better than that of the first-order EKF algorithm, and the dynamic adaptation of the battery is better than that of the first-order EKF algorithm. Good performance and high precision.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
前述对本发明的具体示例性实施方案的描述是为了说明和例证的目的。这些描述并非想将本发明限定为所公开的精确形式,并且很显然,根据上述教导,可以进行很多改变和变化。对示例性实施例进行选择和描述的目的在于解释本发明的特定原理及其实际应用,从而使得本领域的技术人员能够实现并利用本发明的各种不同的示例性实施方案以及各种不同的选择和改变。本发明的范围意在由权利要求书及其等同形式所限定。The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. These descriptions are not intended to limit the invention to the precise form disclosed, and obviously many changes and modifications are possible in light of the above teachings. The exemplary embodiments were chosen and described for the purpose of explaining certain principles of the invention and their practical applications, to thereby enable one skilled in the art to make and utilize various exemplary embodiments and various different aspects of the invention. Choose and change. The scope of the invention is intended to be defined by the claims and their equivalents.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811444425.6A CN109839599B (en) | 2018-11-29 | 2018-11-29 | Lithium-ion battery SOC estimation method based on second-order EKF algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811444425.6A CN109839599B (en) | 2018-11-29 | 2018-11-29 | Lithium-ion battery SOC estimation method based on second-order EKF algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109839599A CN109839599A (en) | 2019-06-04 |
CN109839599B true CN109839599B (en) | 2021-06-25 |
Family
ID=66883156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811444425.6A Active CN109839599B (en) | 2018-11-29 | 2018-11-29 | Lithium-ion battery SOC estimation method based on second-order EKF algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109839599B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110967638B (en) * | 2019-06-24 | 2021-03-23 | 宁德时代新能源科技股份有限公司 | Method, device, system and storage medium for estimating remaining usable energy of battery |
CN111337839A (en) * | 2020-03-12 | 2020-06-26 | 桂林电子科技大学 | SOC estimation and balance control system and method for battery management system of electric vehicle |
CN112816873B (en) * | 2020-08-24 | 2023-08-22 | 江苏大学 | IEKF lithium battery SOC estimation method based on improved battery model |
CN113626983B (en) * | 2021-07-06 | 2022-09-13 | 南京理工大学 | Method for recursively predicting miss distance of antiaircraft projectile based on state equation |
CN115267577A (en) * | 2022-06-24 | 2022-11-01 | 宁波市芯能微电子科技有限公司 | Lithium battery SOC estimation method of battery management system |
CN117031283A (en) * | 2023-09-05 | 2023-11-10 | 国网江苏省电力有限公司镇江供电分公司 | Method for evaluating SOC of reconfigurable lithium battery energy storage system |
CN117485199B (en) * | 2023-12-25 | 2024-03-19 | 力高(山东)新能源技术股份有限公司 | Rapid SOC correction method based on voltage rebound characteristic |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197251A (en) * | 2013-02-27 | 2013-07-10 | 山东省科学院自动化研究所 | Identification method of second order resistance and capacitance (RC) equivalent model of power lithium battery |
CN103529398A (en) * | 2013-10-28 | 2014-01-22 | 哈尔滨工业大学 | Online lithium ion battery SOC (state of charge) estimation method based on extended Kalman filter |
CN104007390A (en) * | 2013-02-24 | 2014-08-27 | 快捷半导体(苏州)有限公司 | Battery state of charge tracking, equivalent circuit selection and benchmarking |
CN106909716A (en) * | 2017-01-19 | 2017-06-30 | 东北电力大学 | The ferric phosphate lithium cell modeling of meter and capacity loss and SOC methods of estimation |
WO2018190508A1 (en) * | 2017-04-12 | 2018-10-18 | 주식회사 엘지화학 | Apparatus and method for calculating state of charge of battery by reflecting noise |
CN108872865A (en) * | 2018-05-29 | 2018-11-23 | 太原理工大学 | A kind of lithium battery SOC estimation method of anti-filtering divergence |
-
2018
- 2018-11-29 CN CN201811444425.6A patent/CN109839599B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104007390A (en) * | 2013-02-24 | 2014-08-27 | 快捷半导体(苏州)有限公司 | Battery state of charge tracking, equivalent circuit selection and benchmarking |
CN103197251A (en) * | 2013-02-27 | 2013-07-10 | 山东省科学院自动化研究所 | Identification method of second order resistance and capacitance (RC) equivalent model of power lithium battery |
CN103529398A (en) * | 2013-10-28 | 2014-01-22 | 哈尔滨工业大学 | Online lithium ion battery SOC (state of charge) estimation method based on extended Kalman filter |
CN106909716A (en) * | 2017-01-19 | 2017-06-30 | 东北电力大学 | The ferric phosphate lithium cell modeling of meter and capacity loss and SOC methods of estimation |
WO2018190508A1 (en) * | 2017-04-12 | 2018-10-18 | 주식회사 엘지화학 | Apparatus and method for calculating state of charge of battery by reflecting noise |
CN108872865A (en) * | 2018-05-29 | 2018-11-23 | 太原理工大学 | A kind of lithium battery SOC estimation method of anti-filtering divergence |
Non-Patent Citations (1)
Title |
---|
锂离子电池模型参数辨识及SOC预测仿真分析;李晓黔;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20170415(第4期);第24-57页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109839599A (en) | 2019-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109839599B (en) | Lithium-ion battery SOC estimation method based on second-order EKF algorithm | |
Lin et al. | State of charge estimation with the adaptive unscented Kalman filter based on an accurate equivalent circuit model | |
CN106443473B (en) | SOC estimation method for power lithium ion battery pack | |
CN103926538B (en) | Change exponent number RC equivalent-circuit model based on AIC criterion and implementation method | |
CN111581904A (en) | Lithium battery SOC and SOH collaborative estimation method considering influence of cycle number | |
CN108594135A (en) | A kind of SOC estimation method for the control of lithium battery balance charge/discharge | |
CN104965179B (en) | A kind of the temperature combinational circuit model and its parameter identification method of lithium-ions battery | |
CN110502778A (en) | An adaptive optimization method for estimating battery SOC based on Kalman filter framework | |
CN107390127A (en) | A kind of SOC estimation method | |
CN103901351B (en) | A kind of monomer lithium ion battery SOC method of estimation based on sliding window filtering | |
CN111060834A (en) | A method for estimating the state of health of a power battery | |
CN107576919A (en) | Power battery charged state estimating system and method based on ARMAX models | |
CN110208703A (en) | The method that compound equivalent-circuit model based on temperature adjustmemt estimates state-of-charge | |
CN106405282B (en) | A nonlinear three-branch equivalent circuit model and parameter identification method for supercapacitors | |
CN113608126B (en) | An online SOC prediction method for lithium batteries at different temperatures | |
CN113777510A (en) | Method and device for estimating state of charge of lithium battery | |
Wang et al. | Adaptive state-of-charge estimation method for an aeronautical lithium-ion battery pack based on a reduced particle-unscented kalman filter | |
CN112710955B (en) | An Algorithm for Improving the Accuracy of Battery Capacity Estimation | |
CN110824363A (en) | A joint estimation method of lithium battery SOC and SOE based on improved CKF | |
CN106443467A (en) | Lithium ion battery charging electric quantity modeling method based on charging process and application thereof | |
CN105974320B (en) | A kind of liquid or semi-liquid metal battery charge state method of estimation | |
CN107167741A (en) | A kind of lithium battery SOC observation procedures based on neutral net | |
CN113761726A (en) | A lithium battery parameter identification method and system | |
Xie et al. | A novel battery state of charge estimation based on the joint unscented kalman filter and support vector machine algorithms | |
CN109752660B (en) | Battery state of charge estimation method without current sensor |
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 |