CN114740385A - Self-adaptive lithium ion battery state of charge estimation method - Google Patents
Self-adaptive lithium ion battery state of charge estimation method Download PDFInfo
- Publication number
- CN114740385A CN114740385A CN202210212196.5A CN202210212196A CN114740385A CN 114740385 A CN114740385 A CN 114740385A CN 202210212196 A CN202210212196 A CN 202210212196A CN 114740385 A CN114740385 A CN 114740385A
- Authority
- CN
- China
- Prior art keywords
- battery
- charge
- state
- voltage
- lithium ion
- 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
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/385—Arrangements for measuring battery or accumulator variables
- G01R31/387—Determining ampere-hour charge capacity or SoC
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/367—Software therefor, e.g. for battery testing using modelling or look-up tables
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electric Status Of Batteries (AREA)
- Secondary Cells (AREA)
Abstract
Description
技术领域technical field
本发明属于锂离子电池技术领域,具体涉及一种自适应的锂离子电池荷电状态估计方法。The invention belongs to the technical field of lithium ion batteries, and in particular relates to an adaptive method for estimating the state of charge of lithium ion batteries.
背景技术Background technique
锂电池具有能量密度高、工作电压高、自放电率低以及使用寿命长等优点而被广泛应用于新能源汽车、移动机器人、新能源等领域。然而,锂电池也有很多缺点,如内阻高导致在高充放电率的情况下其温度较高。同时,过充、过放电会损坏电池,缩短电池寿命,甚至引起爆炸等事故。因此检测锂电池的工作状态,可以显著提高锂电池的性能和寿命。Lithium batteries have the advantages of high energy density, high operating voltage, low self-discharge rate and long service life, and are widely used in new energy vehicles, mobile robots, new energy and other fields. However, lithium batteries also have many disadvantages, such as high internal resistance resulting in high temperature under high charge-discharge rates. At the same time, overcharge and overdischarge will damage the battery, shorten the battery life, and even cause accidents such as explosion. Therefore, detecting the working state of the lithium battery can significantly improve the performance and life of the lithium battery.
锂电池荷电状态(SOC)是衡量锂电池状态的重要指标,它直接代表了电池的剩余电量。SOC定义为锂电池充满电后剩余电量的百分比。准确的SOC估计可以防止电池过充放电,提高电池性能,延长电池寿命。由于锂离子电池的非线性特性,SOC不能通过传感器直接测得。目前在SOC估计领域常用的方法有基于数据驱动的方法、直接估计的方法以及基于模型的估计方法。The state of charge (SOC) of a lithium battery is an important indicator to measure the state of a lithium battery, and it directly represents the remaining power of the battery. SOC is defined as the percentage of charge remaining after a lithium battery is fully charged. Accurate SOC estimation can prevent battery overcharge and discharge, improve battery performance and prolong battery life. Due to the nonlinear characteristics of Li-ion batteries, SOC cannot be directly measured by sensors. At present, the commonly used methods in the field of SOC estimation include data-driven methods, direct estimation methods and model-based estimation methods.
基于等效电路模型的SOC估计方法通过建立等效电路模型来模拟电池动力学,具有很强的鲁棒性,因此非常适合用于锂离子电池的SOC估计。此外,基于等效电路模型的方法还需要与滤波算法相结合才能对电池SOC进行估计。在专利申请号为CN201910567240.2的发明专利《基于自适应卡尔曼滤波法的动力锂电池SOC估算方法》中,自适应扩展卡尔曼滤波算法被用于对电池SOC进行估计。尽管自适应扩展卡尔曼滤波算法计算复杂度不高,但该算法不能对非高斯的噪声进行处理,并且在系统为强非线性的情况下有模型线性化误差。在专利申请号为CN201910567240.2的发明专利《基于自适应粒子滤波的荷电状态估计方法和电池管理系统》中,粒子滤波算法被用于对电池SOC进行估计。尽管粒子滤波算法可以处理系统非线性以及噪声非高斯的情况,但存在粒子退化导致算法计算复杂度变高的问题。The SOC estimation method based on the equivalent circuit model simulates battery dynamics by establishing an equivalent circuit model, which has strong robustness and is therefore very suitable for SOC estimation of lithium-ion batteries. In addition, the method based on the equivalent circuit model also needs to be combined with a filtering algorithm to estimate the battery SOC. In the invention patent with the patent application number of CN201910567240.2, "Power Lithium Battery SOC Estimation Method Based on Adaptive Kalman Filtering Method", the adaptive extended Kalman filtering algorithm is used to estimate the battery SOC. Although the computational complexity of the adaptive extended Kalman filter algorithm is not high, the algorithm cannot deal with non-Gaussian noise, and there is a model linearization error when the system is strongly nonlinear. In the invention patent with the patent application number CN201910567240.2, "State of Charge Estimation Method and Battery Management System Based on Adaptive Particle Filtering", the particle filter algorithm is used to estimate the battery SOC. Although the particle filter algorithm can deal with the nonlinearity of the system and the non-Gaussian noise, there is a problem that the particle degradation leads to a high computational complexity of the algorithm.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于是提供一种自适应的锂离子电池荷电状态估计方法,以解决粒子滤波和自适应扩展卡尔曼滤波中存在的问题:既能处理系统非线性,噪声非高斯的情况,还能保证算法的运算效率。The purpose of the present invention is to provide an adaptive lithium-ion battery state-of-charge estimation method to solve the problems existing in particle filtering and adaptive extended Kalman filtering: it can not only deal with the situation of system nonlinearity and non-Gaussian noise, It can also ensure the operation efficiency of the algorithm.
为实现上述技术目的,本发明采用如下技术方案:For realizing the above-mentioned technical purpose, the present invention adopts following technical scheme:
一种自适应的锂离子电池荷电状态估计方法,包括以下步骤:An adaptive lithium-ion battery state of charge estimation method, comprising the following steps:
步骤S1,建立锂离子电池的二阶RC等效电路模型,进行HPPC循环工况实验,利用指数拟合法对所述等效电路模型的参数进行离线辨识;Step S1, establishing a second-order RC equivalent circuit model of the lithium-ion battery, performing an HPPC cycle working condition experiment, and using an exponential fitting method to perform offline identification of the parameters of the equivalent circuit model;
步骤S2,根据HPPC循环工况实验的结果得到电池开路电压和荷电状态的相关性曲线;Step S2, obtaining the correlation curve between the battery open circuit voltage and the state of charge according to the result of the HPPC cycle working condition experiment;
步骤S3,将电池动态应力测试的电流、开路电压和荷电状态的相关性曲线以及离线辨识的等效电路模型参数输入到电池等效电路模型中,得到相应的等效电路模型输出电压;比较等效电路模型输出电压与实际动态应力测试电压的误差,验证等效电路模型的准确性;Step S3, input the correlation curve of the current, open circuit voltage and state of charge of the battery dynamic stress test and the equivalent circuit model parameters identified offline into the battery equivalent circuit model to obtain the corresponding output voltage of the equivalent circuit model; compare The error between the output voltage of the equivalent circuit model and the actual dynamic stress test voltage verifies the accuracy of the equivalent circuit model;
步骤S4,用含遗忘因子的递归最小二乘法对等效电路模型参数进行在线更新;Step S4, using the recursive least squares method with forgetting factor to update the parameters of the equivalent circuit model online;
步骤S5,根据等效电路模型的数学表达式推导电池的状态空间方程以及观测方程,利用自适应扩展卡尔曼粒子滤波对锂离子电池的荷电状态进行估计。Step S5, derive the state space equation and the observation equation of the battery according to the mathematical expression of the equivalent circuit model, and use the adaptive extended Kalman particle filter to estimate the state of charge of the lithium-ion battery.
在更优的技术方案中,步骤S1所述等效电路模型的数学表达式为:In a better technical solution, the mathematical expression of the equivalent circuit model in step S1 is:
其中,Uoc为电池的开路电压;R0为电池欧姆内阻;R1和C1是表示电池电化学极化反应的电阻和电容;R2和C2是表示电池浓差极化反应的电阻和电容;Ut为电池的终端电压。Among them, U oc is the open circuit voltage of the battery; R 0 is the ohmic internal resistance of the battery; R 1 and C 1 are the resistance and capacitance of the electrochemical polarization reaction of the battery; R 2 and C 2 are the concentration polarization reaction of the battery. Resistance and capacitance; U t is the terminal voltage of the battery.
在更优的技术方案中,步骤S1中HPPC实验的具体过程为:将电池静置5分钟后,以恒流0.5C的电流将电池电压充至4.2V时,变换为恒压充电模式;恒压充电模式将电池电流充至低于0.05C后,停止充电,将电池静置2小时;再以3C放电,每下降10%的荷电状态就将电池静置1小时,并测出相应的开路电压,重复上述步骤直至电池荷电状态为0%。In a better technical solution, the specific process of the HPPC experiment in step S1 is as follows: after the battery is allowed to stand for 5 minutes, when the battery voltage is charged to 4.2V with a constant current of 0.5C, it is converted into a constant voltage charging mode; After charging the battery current to less than 0.05C in pressure charging mode, stop charging and let the battery stand for 2 hours; then discharge it at 3C, let the battery stand for 1 hour every time the state of charge drops by 10%, and measure the corresponding Open circuit voltage, repeat the above steps until the battery state of charge is 0%.
在更优的技术方案中,步骤S1中所述参数的离线辨识过程为:In a more optimal technical solution, the offline identification process of the parameters described in step S1 is:
(1)根据锂离子电池加载HPPC脉冲前1秒的端电压V1、加载HPPC脉冲瞬间的端电压V2、加载HPPC脉冲结束瞬间的端电压V3以及加载HPPC脉冲结束后1秒的端电压V4,计算出锂离子等效电路中的欧姆电阻R0,计算公式如下:(1) According to the terminal voltage V 1 1 second before the loading of the HPPC pulse, the terminal voltage V 2 at the moment of loading the HPPC pulse, the terminal voltage V 3 at the end of the loading HPPC pulse and the terminal voltage 1 second after the end of the loading HPPC pulse V 4 , the ohmic resistance R 0 in the lithium-ion equivalent circuit is calculated, and the calculation formula is as follows:
(2)电池在HPPC脉冲充放电实验静置过程中的零输入电压响应为:(2) The zero input voltage response of the battery during the stationary process of the HPPC pulse charge-discharge experiment is:
其中,U1(0)和U2(0)分别为两个RC网络的端电压,τ1=R1C1,τ2=R2C2;使用matlab的拟合工具箱,对上式进行拟合,计算出两个时间常数τ1和τ2的具体取值;Among them, U 1 (0) and U 2 (0) are the terminal voltages of the two RC networks respectively, τ 1 =R 1 C 1 , τ 2 =R 2 C 2 ; using the matlab fitting toolbox, the above formula Perform fitting, and calculate the specific values of the two time constants τ 1 and τ 2 ;
(3)电池在HPPC脉冲充放电实验过程中RC网络的零状态响应为:(3) The zero-state response of the RC network during the HPPC pulse charge-discharge experiment of the battery is:
同样地,在matlab拟合工具箱中对上式进行拟合,得到具体的R1和R2的取值;Similarly, fit the above formula in the matlab fitting toolbox to obtain the specific values of R 1 and R 2 ;
(4)根据关系式τ1=R1C1,τ2=R2C2,以及已求得的R1和R2,求解出C1和C2的具体取值。(4) According to the relational expressions τ 1 =R 1 C 1 , τ 2 =R 2 C 2 , and the obtained R 1 and R 2 , the specific values of C 1 and C 2 are obtained.
在更优的技术方案中,步骤S2所述开路电压和荷电状态相关性曲线具体模型为:In a better technical solution, the specific model of the correlation curve between the open circuit voltage and the state of charge in step S2 is:
Uoc=k1SOC6-k2SOC3+k3SOC4-k4SOC3+k5SOC2+k6SOC+k7 U oc =k 1 SOC 6 -k 2 SOC 3 +k 3 SOC 4 -k 4 SOC 3 +k 5 SOC 2 +k 6 SOC+k 7
其中,k1,k2…k7为待拟合系数,通过对10个荷电状态下的开路电压点进行拟合得到。Among them, k 1 , k 2 . . . k 7 are coefficients to be fitted, which are obtained by fitting the open-circuit voltage points under 10 states of charge.
在更优的技术方案中,步骤S3中所述动态应力测试指的是:对电池使用动态应力工况进行循环测试,直至电压小于3V;其中,一个动态应力工况中含有多个充放电脉冲,每进行一次动态应力工况测试会耗时360秒,在实施下一次动态应力工况测试前电池还需静置120秒;动态应力工况中的单个放电脉冲最短持续时间为8秒,最长时间能够到达40秒,最大放电电流为2C,最大充电电流为0.5C。In a better technical solution, the dynamic stress test in step S3 refers to: cyclically testing the battery under a dynamic stress condition until the voltage is less than 3V; wherein one dynamic stress condition contains multiple charge-discharge pulses , it will take 360 seconds for each dynamic stress condition test, and the battery needs to stand for 120 seconds before the next dynamic stress condition test is performed; the shortest duration of a single discharge pulse in the dynamic stress condition is 8 seconds, and the longest It can reach 40 seconds for a long time, the maximum discharge current is 2C, and the maximum charging current is 0.5C.
在更优的技术方案中,步骤S4具体步骤包括:In a better technical solution, the specific steps of step S4 include:
(1)计算上一时刻参数辨识结果与通过传感器测得实际电池电压的误差:(1) Calculate the error between the parameter identification result at the last moment and the actual battery voltage measured by the sensor:
其中,y(k)为当前时刻电池真实电压,为当前时刻测量向量,为上一时刻估计出的模型参数向量,e(k)上一时刻通过参数辨识结果得到的模型输出电压与实际电池输出电压的误差;Among them, y(k) is the real voltage of the battery at the current moment, measure the vector for the current moment, is the model parameter vector estimated at the last moment, e(k) the error between the model output voltage obtained through the parameter identification result at the last moment and the actual battery output voltage;
(2)更新增益矩阵(2) Update the gain matrix
其中,P(k-1)为上一时刻协方差矩阵,λ为遗忘因子,K(k)为当前时刻增益矩阵;Among them, P(k-1) is the covariance matrix at the previous moment, λ is the forgetting factor, and K(k) is the gain matrix at the current moment;
(3)更新协方差矩阵,用于计算下一时刻的增益矩阵(3) Update the covariance matrix to calculate the gain matrix at the next moment
(4)利用增益矩阵以及误差,更新当前时刻参数辨识结果(4) Use the gain matrix and the error to update the parameter identification result at the current moment
在更优的技术方案中,步骤S5所述的电池的状态空间方程和观测方程分别为:In a better technical solution, the state space equation and the observation equation of the battery described in step S5 are respectively:
Ut,k=Uoc,k-U1,k-U2,k-IkR0 U t,k =U oc,k -U 1,k -U 2,k -I k R 0
其中,T为采样时间,k为离散时间变量,Q为电池额定容量。Among them, T is the sampling time, k is the discrete time variable, and Q is the rated capacity of the battery.
在更优的技术方案中,步骤S5所述的自适应扩展卡尔曼粒子滤波的粒子为一系列具有权重的随机样本,具体步骤为:In a more optimal technical solution, the particles of the adaptive extended Kalman particle filter described in step S5 are a series of random samples with weights, and the specific steps are:
(1)初始化粒子集以及粒子权重设为 (1) Initialize the particle set and particle weights set to
(2)将自适应扩展卡尔曼滤波作为重要性采样函数 (2) The adaptive extended Kalman filter is used as the importance sampling function
(3)根据下式对粒子权重进行更新:(3) Update the particle weight according to the following formula:
(4)对权重进行归一化:(4) Normalize the weights:
(5)根据下式计算粒子的有效个数:(5) Calculate the effective number of particles according to the following formula:
其中,Neff是粒子的有效个数,如果Neff小于0.7N,就需要进行重采样;Among them, N eff is the effective number of particles. If N eff is less than 0.7N, resampling is required;
(6)获得当前时刻估计结果:(6) Obtain the estimation result of the current moment:
(7)回到步骤(2),设置k=k+1,直到循环结束。(7) Go back to step (2) and set k=k+1 until the loop ends.
本发明的有益效果在于:本发明建立锂离子电池二阶RC等效电路模型,采用指数拟合法对模型参数进行了离线辨识;然后利用HPPC循环工况实验拟合了OCV和SOC相关性曲线。采用含遗忘因子的递归最小二乘法对模型参数进行了在线辨识,并基于在线辨识的模型参数,结合自适应扩展卡尔曼粒子滤波算法,实现锂离子电池的荷电状态估计。本发明将自适应扩展卡尔曼滤波算法和粒子滤波算法相结合,通过输出多个粒子的加权平均值提高了SOC估计结果的稳定性和准确性;将自适应扩展卡尔滤波作为重要性采样函数,提高了算法的运算效率。The beneficial effects of the invention are as follows: the invention establishes a second-order RC equivalent circuit model of the lithium ion battery, and uses the exponential fitting method to identify the model parameters offline; The model parameters were identified online by recursive least squares method with forgetting factor. Based on the model parameters identified online, combined with the adaptive extended Kalman particle filter algorithm, the state of charge estimation of the lithium-ion battery was realized. The invention combines the adaptive extended Kalman filter algorithm with the particle filter algorithm, and improves the stability and accuracy of the SOC estimation result by outputting the weighted average value of multiple particles; the adaptive extended Kalman filter is used as the importance sampling function, The operation efficiency of the algorithm is improved.
附图说明Description of drawings
图1是本发明的流程图。Figure 1 is a flow chart of the present invention.
图2是本发明中的二阶RC等效电路模型示意图。FIG. 2 is a schematic diagram of a second-order RC equivalent circuit model in the present invention.
具体实施方式Detailed ways
下面结合实施例对本发明做详细的说明,本实施例以本发明的技术方案为依据开展,给出了详细的实施方式和具体的操作过程,对本发明的技术方案作进一步解释说明。The present invention is described in detail below in conjunction with the examples. The present example is carried out based on the technical solutions of the present invention, and provides detailed implementation modes and specific operation processes, and further explains the technical solutions of the present invention.
如图1所示,本发明的一种基于自适应扩展卡尔曼粒子滤波的荷电状态估计方法,包括如下步骤:As shown in FIG. 1 , a method for estimating state of charge based on adaptive extended Kalman particle filter of the present invention includes the following steps:
步骤S1,首先建立锂离子电池二阶RC等效电路模型,该等效电路模型如图2所示。其中R0表示欧姆内阻;第一个RC网络,R1和C1,用于描述电池电化学极化反应;第二个RC网络,R2和C2,用于描述电池浓差极化反应;Ut为电池终端电压;Uoc为电池开路电压;I为电池负载电流。根据基尔霍夫电流电压定律,可以获得二阶RC等效电路模型的数学表达式:In step S1, firstly, a second-order RC equivalent circuit model of the lithium-ion battery is established, and the equivalent circuit model is shown in FIG. 2 . where R 0 represents the ohmic internal resistance; the first RC network, R 1 and C 1 , is used to describe the electrochemical polarization reaction of the battery; the second RC network, R 2 and C 2 , is used to describe the concentration polarization of the battery reaction; U t is the battery terminal voltage; U oc is the battery open circuit voltage; I is the battery load current. According to Kirchhoff's current-voltage law, the mathematical expression of the second-order RC equivalent circuit model can be obtained:
为了辨识模型中未知的参数R0、R1、R2、C1、C2的初值,本发明采用离线参数辨识法。利用HPPC循环工况的端电压数据,结合matlab的拟合工具箱,可以对上述参数进行辨识。In order to identify the initial values of the unknown parameters R 0 , R 1 , R 2 , C 1 , and C 2 in the model, the present invention adopts an offline parameter identification method. Using the terminal voltage data of HPPC cycle conditions, combined with the fitting toolbox of matlab, the above parameters can be identified.
在进行参数辨识前,需要进行HPPC脉冲充放电实验,过程为:首先将电池静置5分钟,然后以恒流0.5C的电流将电池电压充至4.2V时,变换为恒压充电模式。以恒压充电模式将电池电流充至低于0.05C后,停止充电,对电池静置2小时。此后就以3C放电,每下降10%的荷电状态就将电池静置1小时,并测出相应的开路电压。重复该步骤直至电池荷电状态为0%。Before the parameter identification, the HPPC pulse charge and discharge experiment needs to be carried out. The process is: first, let the battery stand for 5 minutes, then charge the battery voltage to 4.2V with a constant current of 0.5C, and then change to the constant voltage charging mode. After charging the battery current to less than 0.05C in constant voltage charging mode, stop charging and let the battery stand for 2 hours. After that, it was discharged at 3C, and the battery was allowed to stand for 1 hour for every 10% drop in the state of charge, and the corresponding open circuit voltage was measured. Repeat this step until the battery state of charge is 0%.
此后,对模型参数初值进行离线辨识。根据加载HPPC脉冲前1秒的端电压V1,加载HPPC脉冲瞬间的端电压V2,加载HPPC脉冲结束瞬间的端电压V3,加载HPPC脉冲结束后1秒的端电压V4,即可计算出锂离子等效电路中的欧姆电阻R0,计算公式如下:After that, the initial values of the model parameters are identified offline. According to the terminal voltage V 1 1 second before the loading of the HPPC pulse, the terminal voltage V 2 at the moment of loading the HPPC pulse, the terminal voltage V 3 at the end of the loading HPPC pulse, and the terminal voltage V 4 1 second after the loading of the HPPC pulse, it can be calculated The ohmic resistance R 0 in the lithium-ion equivalent circuit is obtained, and the calculation formula is as follows:
然后通过拟合电池在HPPC脉冲充放电实验静置过程中的零输入电压响应,可以计算出两个时间常数τ1和τ2的具体取值:Then, by fitting the zero-input voltage response of the battery during the stationary process of the HPPC pulse charge-discharge experiment, the specific values of the two time constants τ 1 and τ 2 can be calculated:
拟合RC网络的零状态响应,可以得到R1和R2的取值:By fitting the zero-state response of the RC network, the values of R 1 and R 2 can be obtained:
由于τ1=R1C1,τ2=R2C2,且R1和R2此时是已知的,因此可以求解出C1和C2,从而完成二阶RC等效电路模型的参数初值辨识。Since τ 1 =R 1 C 1 , τ 2 =R 2 C 2 , and R 1 and R 2 are known at this time, C 1 and C 2 can be solved to complete the second-order RC equivalent circuit model Parameter initial value identification.
步骤S2,拟合开路电压和荷电状态的相关性曲线。首先利用HPPC循环工况实验标定出10个数据点,即100%荷电状态对应的开路电压,90%荷电状态对应的开路电压…0%荷电状态对应的开路电压。然后利用六阶多项式模型拟合上述10个数据点,该六阶多项式模型的表达式为:Step S2, fitting the correlation curve between the open circuit voltage and the state of charge. First, 10 data points were calibrated using the HPPC cycle experiment, namely the open circuit voltage corresponding to 100% state of charge, the open circuit voltage corresponding to 90% state of charge...the open circuit voltage corresponding to 0% state of charge. Then use a sixth-order polynomial model to fit the above 10 data points. The expression of the sixth-order polynomial model is:
Uoc=k1SOC6-k2SOC3+k3SOC4-k4SOC3+k5SOC2+k6SOC+k7 U oc =k 1 SOC 6 -k 2 SOC 3 +k 3 SOC 4 -k 4 SOC 3 +k 5 SOC 2 +k 6 SOC+k 7
完成开路电压和荷电状态标定点的拟合后,即可获得k1,k2…k7的取值。该多项式也就是开路电压和荷电状态的相关性曲线。After completing the fitting of the open-circuit voltage and the state of charge calibration points, the values of k 1 , k 2 . . . k 7 can be obtained. This polynomial is also the correlation curve between the open circuit voltage and the state of charge.
步骤S3,对电池使用动态应力测试工况循环测试,验证所建立模型的准确性。首先要进行动态应力工况测试,即在360秒的时间内,所施加的脉冲电流是不同时长,不同大小的。其中单个放电脉冲最短持续时间为8秒,最长时间能够到达40秒,最大放电电流为2C,最大充电电流为0.5C。然后再间隔120秒后进行下一次的动态应力工况测试,直到电池的端电压低于3V。In step S3, the battery is tested cyclically using the dynamic stress test condition to verify the accuracy of the established model. First of all, the dynamic stress test should be carried out, that is, in the time of 360 seconds, the applied pulse currents are of different durations and sizes. The shortest duration of a single discharge pulse is 8 seconds, the longest time can reach 40 seconds, the maximum discharge current is 2C, and the maximum charging current is 0.5C. Then the next dynamic stress condition test is performed after an interval of 120 seconds, until the terminal voltage of the battery is lower than 3V.
由电池模型输出端电压的表达式为:The expression for the voltage at the output of the battery model is:
Ut=Uoc-U1-U2-IR0 U t =U oc -U 1 -U 2 -IR 0
其中,Uoc可以通过荷电状态和开路电压的相关性曲线获得,而U1和U2可以通过已经辨识出的R1、R2、C1、C2计算得到。因此通过将电池动态应力测试的电流输入到电池模型中,即可得到相应的模型输出电压。然后通过比较模型输出电压与实际动态应力测试电压的误差,验证模型的准确性。Among them, U oc can be obtained by the correlation curve between the state of charge and open circuit voltage, and U 1 and U 2 can be obtained by calculating the identified R 1 , R 2 , C 1 , and C 2 . Therefore, by inputting the current of the battery dynamic stress test into the battery model, the corresponding model output voltage can be obtained. Then, the accuracy of the model is verified by comparing the error between the output voltage of the model and the actual dynamic stress test voltage.
步骤S4中,利用含遗忘因子的递归最小二乘对模型参数进行在线辨识,主要步骤包括:In step S4, using recursive least squares with forgetting factor to identify the model parameters online, the main steps include:
(1)计算上一时刻参数辨识结果与通过传感器测得实际电池电压的误差(1) Calculate the error between the parameter identification result at the last moment and the actual battery voltage measured by the sensor
其中,y(k)为当前时刻电池真实电压,为当前时刻测量向量,为上一时刻估计出的模型参数向量,e(k)上一时刻通过参数辨识结果得到的模型输出电压与实际电池输出电压的误差。Among them, y(k) is the real voltage of the battery at the current moment, measure the vector for the current moment, is the model parameter vector estimated at the last moment, e(k) the error between the model output voltage obtained through the parameter identification result at the last moment and the actual battery output voltage.
(2)更新增益矩阵(2) Update the gain matrix
其中,P(k-1)为上一时刻协方差矩阵,λ为遗忘因子,K(k)为当前时刻增益矩阵。Among them, P(k-1) is the covariance matrix at the previous moment, λ is the forgetting factor, and K(k) is the gain matrix at the current moment.
(3)更新协方差矩阵,用于计算下一时刻的增益矩阵(3) Update the covariance matrix to calculate the gain matrix at the next moment
(4)利用增益矩阵以及误差,更新当前时刻参数辨识结果(4) Use the gain matrix and the error to update the parameter identification result at the current moment
步骤S5中,基于自适应扩展卡尔曼粒子滤波对锂离子电池的荷电状态进行估计。在进行具体的滤波算法前,需要先建立相关的状态方程和测量方程。对于离散控制系统,其状态方程和观测方程可以表示为:In step S5, the state of charge of the lithium-ion battery is estimated based on the adaptive extended Kalman particle filter. Before carrying out the specific filtering algorithm, it is necessary to establish the relevant state equation and measurement equation. For a discrete control system, its state equation and observation equation can be expressed as:
xk=Ak-1xk-1+Bk-1uk-1+wk-1 x k =A k-1 x k-1 +B k-1 u k-1 +w k-1
yk=Ckxk+Dkuk+vk y k =C k x k +D k u k +v k
其中,xk为第k时刻的系统状态向量;yk为第k时刻的测量向量;uk为第k时刻的输入向量;w和v分别是系统的过程噪声和测量噪声;A、B、C、D矩阵为系统的参数矩阵。本发明将SOC(k+1) U1(k+1) U2(k+1)T作为系统的状态向量,Ut作为系统的输出,I作为系统的输入。根据二阶RC等效电路模型的数学表达式以及SOC的定义式,写出状态方程和观察方程:Among them, x k is the system state vector at the k-th time; y k is the measurement vector at the k -th time; uk is the input vector at the k-th time; w and v are the process noise and measurement noise of the system, respectively; A, B, The C and D matrices are the parameter matrices of the system. The present invention uses SOC(k+1) U 1 (k+1) U 2 (k+1) T as the state vector of the system, U t as the output of the system, and I as the input of the system. According to the mathematical expression of the second-order RC equivalent circuit model and the definition of SOC, write the state equation and the observation equation:
Ut,k=Uoc,k-U1,k-U2,k-IkR0 U t,k =U oc,k -U 1,k -U 2,k -I k R 0
其中,T为采样时间,k为离散时间变量,Q为电池额定容量,Dk=-R0。Among them, T is the sampling time, k is the discrete time variable, Q is the rated capacity of the battery, D k = -R 0 .
然后利用自适应扩展卡尔曼粒子滤波对锂离子电池荷电状态进行估计,其中粒子即一组具有权重的随机样本,具体步骤为:Then, the state of charge of the lithium-ion battery is estimated by using the adaptive extended Kalman particle filter, where the particles are a group of random samples with weights. The specific steps are as follows:
(1)初始化粒子集以及粒子权重设为 (1) Initialize the particle set and particle weights set to
(2)使用自适应扩展卡尔曼滤波产生重要性采样函数需要用到上述推导出的ABCD矩阵。因为自适应扩展卡尔曼滤波为现有技术,因此在本发明中不进行重复的阐述;(2) Use adaptive extended Kalman filter to generate importance sampling function The ABCD matrix derived above needs to be used. Because the adaptive extended Kalman filter is the prior art, it will not be repeated in the present invention;
(3)根据下式对粒子权重进行更新:(3) Update the particle weight according to the following formula:
(4)对权重进行归一化:(4) Normalize the weights:
(5)根据下式计算粒子的有效个数:(5) Calculate the effective number of particles according to the following formula:
其中,Neff是粒子的有效个数,如果Neff小于0.7N,就需要进行重采样;Among them, N eff is the effective number of particles. If N eff is less than 0.7N, resampling is required;
(6)获得当前时刻估计结果:(6) Obtain the estimation result of the current moment:
(7)回到步骤(2),设置k=k+1,直到循环结束。(7) Go back to step (2) and set k=k+1 until the loop ends.
以上实施例为本申请的优选实施例,本领域的普通技术人员还可以在此基础上进行各种变换或改进,在不脱离本申请总的构思的前提下,这些变换或改进都应当属于本申请要求保护的范围之内。The above embodiments are the preferred embodiments of the application, and those of ordinary skill in the art can also carry out various transformations or improvements on this basis. Without departing from the general concept of the application, these transformations or improvements should belong to the present application. within the scope of the application for protection.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210212196.5A CN114740385B (en) | 2022-03-04 | 2022-03-04 | An adaptive method for estimating state of charge of lithium-ion batteries |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210212196.5A CN114740385B (en) | 2022-03-04 | 2022-03-04 | An adaptive method for estimating state of charge of lithium-ion batteries |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114740385A true CN114740385A (en) | 2022-07-12 |
CN114740385B CN114740385B (en) | 2024-12-06 |
Family
ID=82274545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210212196.5A Active CN114740385B (en) | 2022-03-04 | 2022-03-04 | An adaptive method for estimating state of charge of lithium-ion batteries |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114740385B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115015792A (en) * | 2022-07-21 | 2022-09-06 | 国网福建省电力有限公司电力科学研究院 | On-line parameter identification method of battery sub-module of energy storage battery |
CN115469236A (en) * | 2022-10-28 | 2022-12-13 | 北京航空航天大学 | Battery SOC estimation method and device and electronic equipment |
CN116579157A (en) * | 2023-05-11 | 2023-08-11 | 江苏天合储能有限公司 | Modeling parameter acquisition method and device for lithium ion battery energy storage system and electronic equipment |
CN117849625A (en) * | 2024-01-09 | 2024-04-09 | 华东交通大学 | Battery SOC estimation method based on multiple suboptimal fading factor extended Kalman filtering algorithm |
CN118759399A (en) * | 2024-06-12 | 2024-10-11 | 安徽长久新能源科技有限公司 | Electricity calculation method, system, medium and electronic equipment based on LMS self-adaptation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106526488A (en) * | 2016-09-27 | 2017-03-22 | 北京理工大学 | Fault diagnosis method of sensors in tandem type power battery pack |
AU2020103886A4 (en) * | 2020-12-04 | 2021-02-11 | Nanjing Forestry University | A Method for Estimating SOC of a Fractional-Order Kinetic Battery Considering Temperature and Hysteresis Effect |
CN113176505A (en) * | 2021-04-30 | 2021-07-27 | 重庆长安新能源汽车科技有限公司 | On-line estimation method and device for state of charge and state of health of vehicle-mounted power battery and storage medium |
-
2022
- 2022-03-04 CN CN202210212196.5A patent/CN114740385B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106526488A (en) * | 2016-09-27 | 2017-03-22 | 北京理工大学 | Fault diagnosis method of sensors in tandem type power battery pack |
AU2020103886A4 (en) * | 2020-12-04 | 2021-02-11 | Nanjing Forestry University | A Method for Estimating SOC of a Fractional-Order Kinetic Battery Considering Temperature and Hysteresis Effect |
CN113176505A (en) * | 2021-04-30 | 2021-07-27 | 重庆长安新能源汽车科技有限公司 | On-line estimation method and device for state of charge and state of health of vehicle-mounted power battery and storage medium |
Non-Patent Citations (2)
Title |
---|
宋伟;王洁;彭锦旗;张涌;张福明;: "一种基于多时间尺度FFRLS-AEKF算法的动力电池SOC估计方法", 时代汽车, no. 18, 5 September 2020 (2020-09-05) * |
李博文;王顺利;于春梅;李建超;谢伟;: "在线参数辨识和扩展卡尔曼算法的锂离子电池SOC估算研究", 自动化仪表, no. 03, 20 March 2020 (2020-03-20) * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115015792A (en) * | 2022-07-21 | 2022-09-06 | 国网福建省电力有限公司电力科学研究院 | On-line parameter identification method of battery sub-module of energy storage battery |
CN115469236A (en) * | 2022-10-28 | 2022-12-13 | 北京航空航天大学 | Battery SOC estimation method and device and electronic equipment |
CN116579157A (en) * | 2023-05-11 | 2023-08-11 | 江苏天合储能有限公司 | Modeling parameter acquisition method and device for lithium ion battery energy storage system and electronic equipment |
CN117849625A (en) * | 2024-01-09 | 2024-04-09 | 华东交通大学 | Battery SOC estimation method based on multiple suboptimal fading factor extended Kalman filtering algorithm |
CN118759399A (en) * | 2024-06-12 | 2024-10-11 | 安徽长久新能源科技有限公司 | Electricity calculation method, system, medium and electronic equipment based on LMS self-adaptation |
Also Published As
Publication number | Publication date |
---|---|
CN114740385B (en) | 2024-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111537894B (en) | A method for estimating lithium battery SOC and SOP | |
CN110261779B (en) | An online collaborative estimation method for state of charge and state of health of ternary lithium batteries | |
CN106918789B (en) | A kind of SOC-SOH combines online real-time estimation and on-line amending method | |
CN112034349B (en) | Lithium battery health state online estimation method | |
CN114740385B (en) | An adaptive method for estimating state of charge of lithium-ion batteries | |
Chen et al. | Battery state of charge estimation based on a combined model of Extended Kalman Filter and neural networks | |
CN106054085B (en) | A method of based on temperature for estimating battery SOC | |
US6534954B1 (en) | Method and apparatus for a battery state of charge estimator | |
CN103901351B (en) | A kind of monomer lithium ion battery SOC method of estimation based on sliding window filtering | |
CN112444749B (en) | Lithium battery state of charge joint estimation method based on temperature correction model | |
CN110058160B (en) | Lithium battery state of health prediction method based on square root extended Kalman filter | |
CN110515011A (en) | An accurate estimation method of SOC of lithium-ion power battery | |
CN109358293B (en) | SOC estimation method of lithium-ion battery based on IPF | |
CN111308379A (en) | Battery health state estimation method based on local constant voltage charging data | |
US20230358810A1 (en) | Method for estimating state of charge of battery | |
CN110488194A (en) | A kind of lithium battery SOC estimation method and its system based on Electrochemical Impedance Models | |
CN109633479B (en) | On-line estimation method of lithium battery SOC based on embedded volumetric Kalman filter | |
WO2006057468A1 (en) | Method and system for battery state and parameter estimation | |
CN111190109B (en) | A method for estimating state of charge of lithium battery without current sensor | |
CN111856282B (en) | Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering | |
CN112989690B (en) | Multi-time-scale state-of-charge estimation method for lithium battery of hybrid electric vehicle | |
CN111220920B (en) | State of charge calculation method for decommissioned lithium-ion batteries based on H∞ unscented Kalman filter algorithm | |
CN111142025A (en) | Battery SOC estimation method and device, storage medium and electric vehicle | |
CN113777510A (en) | Method and device for estimating state of charge of lithium battery | |
CN109085505A (en) | A kind of power battery charging and discharging state evaluation method |
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 | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Jiang Fu Inventor after: Yang Yingze Inventor after: Guan Kaifu Inventor after: Zhang Xiaoyong Inventor after: Song Shiyu Inventor after: Huang Zhiwu Inventor after: Li Shuo Inventor after: Gao Kai Inventor after: Li Heng Inventor after: Liu Weirong Inventor after: Peng Jun Inventor before: Zhang Xiaoyong Inventor before: Yang Yingze Inventor before: Guan Kaifu Inventor before: Song Shiyu Inventor before: Jiang Fu Inventor before: Huang Zhiwu Inventor before: Li Shuo Inventor before: Gao Kai Inventor before: Li Heng Inventor before: Liu Weirong Inventor before: Peng Jun |
|
GR01 | Patent grant | ||
GR01 | Patent grant |