CN117074980A - SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation - Google Patents
SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation Download PDFInfo
- Publication number
- CN117074980A CN117074980A CN202311042439.6A CN202311042439A CN117074980A CN 117074980 A CN117074980 A CN 117074980A CN 202311042439 A CN202311042439 A CN 202311042439A CN 117074980 A CN117074980 A CN 117074980A
- Authority
- CN
- China
- Prior art keywords
- soc
- time
- value
- ekf
- battery
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 96
- GELKBWJHTRAYNV-UHFFFAOYSA-K lithium iron phosphate Chemical compound [Li+].[Fe+2].[O-]P([O-])([O-])=O GELKBWJHTRAYNV-UHFFFAOYSA-K 0.000 title claims abstract description 68
- 230000010354 integration Effects 0.000 claims abstract description 39
- 238000005070 sampling Methods 0.000 claims abstract description 34
- 238000004364 calculation method Methods 0.000 claims abstract description 9
- 230000010287 polarization Effects 0.000 claims description 34
- 238000005259 measurement Methods 0.000 claims description 27
- 239000011159 matrix material Substances 0.000 claims description 12
- 238000012935 Averaging Methods 0.000 claims description 2
- 230000009466 transformation Effects 0.000 claims description 2
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 12
- 230000003044 adaptive effect Effects 0.000 description 12
- 229910052744 lithium Inorganic materials 0.000 description 12
- 238000001914 filtration Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 239000002245 particle Substances 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 229910000398 iron phosphate Inorganic materials 0.000 description 1
- WBJZTOZJJYAKHQ-UHFFFAOYSA-K iron(3+) phosphate Chemical compound [Fe+3].[O-]P([O-])([O-])=O WBJZTOZJJYAKHQ-UHFFFAOYSA-K 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
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
- G01R31/388—Determining ampere-hour charge capacity or SoC involving voltage measurements
-
- 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
-
- 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/389—Measuring internal impedance, internal conductance or related variables
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Secondary Cells (AREA)
Abstract
基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,属于电池荷电状态估计技术领域。本发明针对较大电压采样误差下,采用卡尔曼滤波算法估计磷酸铁锂电池SOC的结果不可靠的问题。包括分别采用安时积分法和EKF‑AUKF算法计算磷酸铁锂电池在各采样时刻的SOC值;将安时积分法SOC值计算结果作为参考值,选择100s时刻两种算法SOC值作差,得到恒定偏差;将100s后两种算法SOC值的差值作为初步差值,再结合恒定偏差得到近似偏差值;在近似偏差值大于设定偏差阈值时,根据EKF‑AUKF算法SOC值与预设分界值的比较结果,采用不同的权重系数,对当前EKF‑AUKF算法SOC值进行补偿,得到补偿结果。本发明用于电池SOC估计。
The SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation belongs to the technical field of battery state-of-charge estimation. The present invention aims at the problem of unreliable results of estimating SOC of lithium iron phosphate batteries using the Kalman filter algorithm under large voltage sampling errors. This includes using the ampere-hour integration method and the EKF-AUKF algorithm to calculate the SOC value of the lithium iron phosphate battery at each sampling time; using the SOC value calculation result of the ampere-hour integration method as a reference value, selecting the SOC value of the two algorithms at 100s to make a difference, and we get Constant deviation; the difference between the SOC values of the two algorithms after 100s is used as the preliminary difference, and then combined with the constant deviation to obtain the approximate deviation value; when the approximate deviation value is greater than the set deviation threshold, the SOC value is demarcated from the preset according to the EKF‑AUKF algorithm Based on the comparison results of values, different weight coefficients are used to compensate the current EKF‑AUKF algorithm SOC value and the compensation result is obtained. The present invention is used for battery SOC estimation.
Description
技术领域Technical field
本发明涉及基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,属于电池荷电状态估计技术领域。The invention relates to a lithium iron phosphate battery SOC estimation method based on ampere-hour integral reference compensation, and belongs to the technical field of battery state-of-charge estimation.
背景技术Background technique
锂电池由于安全性高、循环寿命长、能量密度高而在电动汽车、储能电站、电磁弹射等领域得到了大量运用。Lithium batteries have been widely used in electric vehicles, energy storage power stations, electromagnetic catapults and other fields due to their high safety, long cycle life and high energy density.
荷电状态(State of Charge,SOC)是电池管理系统的指标之一,能够反映电池剩余使用容量。应用于电动汽车时,锂电池SOC与汽车行驶里程直接相关,因此准确估计锂电池SOC具有重要意义。但锂电池SOC不能直接测量,需要通过相应的算法实现其在线估计。State of Charge (SOC) is one of the indicators of the battery management system, which can reflect the remaining usage capacity of the battery. When applied to electric vehicles, lithium battery SOC is directly related to the vehicle's mileage, so it is of great significance to accurately estimate lithium battery SOC. However, lithium battery SOC cannot be measured directly, and its online estimation needs to be achieved through corresponding algorithms.
目前,锂电池荷电状态估计方法主要有开环方法、数据驱动方法和基于模型的状态估计方法。开环方法实现简单,应用广泛,但开环方法不具有反馈环节,无法消除SOC初始误差和电流累积误差带来的影响,估计精度不高;数据驱动方法具有自学习和自适应的特性,以电池额定容量、电压、电流和温度等参数作为输入,以SOC作为输出,能够描述复杂非线性系统的特征;然而,该方法的准确性依赖于输入参数、训练数据的数量和质量;基于模型的状态估计方法主要是卡尔曼滤波器及其衍生滤波器,考虑到锂电池的非线性特性,许多适用于非线性系统的状态估计算法,如扩展卡尔曼滤波(extended Kalman filter,EKF)、无迹卡尔曼滤波(unscented Kalman filter,UKF)、粒子滤波(particle filter,PF)被提出以提高锂电池SOC的估计准确性。这些算法假设其过程噪声和测量噪声为相互独立的高斯白噪声,但实际情况下噪声往往为不规则噪声。于是许多噪声自适应算法,如自适应EKF、自适应UKF、自适应PF等被相应提出以减弱不规则噪声的影响。锂电池参数会随着电池温度、放电倍率、老化等因素的变化受到影响,因此采用定参数或离线方式得到的参数可能并不符合实际。于是,双扩展卡尔曼滤波、双无迹卡尔曼滤波等被提出以提升SOC估计精度。Currently, lithium battery state of charge estimation methods mainly include open-loop methods, data-driven methods and model-based state estimation methods. The open-loop method is simple to implement and widely used. However, the open-loop method does not have a feedback link and cannot eliminate the impact of the SOC initial error and current accumulation error, and the estimation accuracy is not high. The data-driven method has the characteristics of self-learning and self-adaptation. Parameters such as battery rated capacity, voltage, current and temperature are used as input and SOC is used as output, which can describe the characteristics of complex nonlinear systems; however, the accuracy of this method depends on the input parameters, the quantity and quality of training data; model-based The state estimation method is mainly the Kalman filter and its derivative filters. Considering the nonlinear characteristics of lithium batteries, many state estimation algorithms are suitable for nonlinear systems, such as extended Kalman filter (EKF), unscented Kalman filter (unscented Kalman filter, UKF) and particle filter (particle filter, PF) are proposed to improve the estimation accuracy of lithium battery SOC. These algorithms assume that the process noise and measurement noise are independent Gaussian white noise, but in actual situations the noise is often irregular noise. Therefore, many noise adaptive algorithms, such as adaptive EKF, adaptive UKF, adaptive PF, etc., have been proposed accordingly to reduce the impact of irregular noise. Lithium battery parameters will be affected by changes in battery temperature, discharge rate, aging and other factors, so parameters obtained using fixed parameters or offline methods may not be realistic. Therefore, double extended Kalman filtering, double unscented Kalman filtering, etc. were proposed to improve the SOC estimation accuracy.
基于模型的状态估计算法主要关注模型准确性和算法准确性,忽略了电压测量噪声对估计精度的影响。磷酸铁锂电池的开路电压十分平坦,很小的电压误差即会产生较大的SOC估计误差。当存在较大电压采样误差时,采用卡尔曼滤波算法估计磷酸铁锂电池SOC会存在较大误差。Model-based state estimation algorithms mainly focus on model accuracy and algorithm accuracy, ignoring the impact of voltage measurement noise on estimation accuracy. The open circuit voltage of lithium iron phosphate batteries is very flat, and a small voltage error will produce a large SOC estimation error. When there is a large voltage sampling error, there will be a large error in estimating the SOC of the lithium iron phosphate battery using the Kalman filter algorithm.
发明内容Contents of the invention
针对较大电压采样误差下,采用卡尔曼滤波算法估计磷酸铁锂电池SOC的结果不可靠的问题,本发明提供一种基于安时积分参考补偿的磷酸铁锂电池SOC估计方法。Aiming at the problem of unreliable SOC estimation results of lithium iron phosphate batteries using the Kalman filter algorithm under large voltage sampling errors, the present invention provides a SOC estimation method for lithium iron phosphate batteries based on ampere-hour integral reference compensation.
本发明的一种基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,包括,A method for estimating SOC of lithium iron phosphate batteries based on ampere-hour integral reference compensation of the present invention includes:
步骤一:根据磷酸铁锂电池的等效电路模型,构建磷酸铁锂电池的离散状态空间方程组;Step 1: Based on the equivalent circuit model of the lithium iron phosphate battery, construct the discrete state space equations of the lithium iron phosphate battery;
步骤二:采用安时积分法计算磷酸铁锂电池在各采样时刻的SOC值;Step 2: Calculate the SOC value of the lithium iron phosphate battery at each sampling time using the ampere-hour integration method;
同时,采用EKF-AUKF算法计算磷酸铁锂电池在各采样时刻的SOC值,包括采用EKF算法辨识等效电路模型的实时等效电路参数,再采用AUKF算法基于实时等效电路参数更新后的离散状态空间方程组计算磷酸铁锂电池在各采样时刻的SOC值;再将得到的SOC值和卡尔曼增益反馈给EKF算法作为下一采样时刻辨识等效电路模型的实时等效电路参数的基础;At the same time, the EKF-AUKF algorithm is used to calculate the SOC value of the lithium iron phosphate battery at each sampling moment, including using the EKF algorithm to identify the real-time equivalent circuit parameters of the equivalent circuit model, and then using the AUKF algorithm based on the updated discrete equivalent circuit parameters of the real-time equivalent circuit. The state space equations calculate the SOC value of the lithium iron phosphate battery at each sampling moment; then the obtained SOC value and Kalman gain are fed back to the EKF algorithm as the basis for identifying the real-time equivalent circuit parameters of the equivalent circuit model at the next sampling moment;
步骤三:将安时积分法SOC值计算结果作为参考值,选择100s时刻的EKF-AUKF算法SOC值与安时积分法SOC值作差,得到的结果作为恒定偏差;Step 3: Use the SOC value calculation result of the ampere-hour integration method as the reference value, select the EKF-AUKF algorithm SOC value at 100s and make the difference between the SOC value of the ampere-hour integration method, and the result is used as a constant deviation;
步骤四:以100s时刻为起点,将其后每个采样时刻的EKF-AUKF算法SOC值与安时积分法SOC值作差得到初步差值;再将初步差值与恒定偏差作差得到结果的绝对值作为EKF-AUKF算法SOC值与SOC真值的近似偏差值;Step 4: Using the 100s time as the starting point, compare the SOC value of the EKF-AUKF algorithm and the SOC value of the ampere-hour integration method at each subsequent sampling time to obtain the preliminary difference; then compare the preliminary difference with the constant deviation to obtain the result. The absolute value is used as the approximate deviation value between the SOC value of the EKF-AUKF algorithm and the true SOC value;
步骤五:设定偏差阈值;Step 5: Set the deviation threshold;
若当前近似偏差值小于偏差阈值,则将当前EKF-AUKF算法SOC值作为当前磷酸铁锂电池的SOC估计结果;If the current approximate deviation value is less than the deviation threshold, the current EKF-AUKF algorithm SOC value is used as the SOC estimation result of the current lithium iron phosphate battery;
若当前近似偏差值大于或等于偏差阈值,再根据EKF-AUKF算法SOC值与预设分界值的比较结果,采用不同的权重系数,基于当前安时积分法SOC值对当前EKF-AUKF算法SOC值进行补偿,将补偿结果作为当前磷酸铁锂电池的SOC估计结果。If the current approximate deviation value is greater than or equal to the deviation threshold, then based on the comparison result of the EKF-AUKF algorithm SOC value and the preset boundary value, different weight coefficients are used to compare the current EKF-AUKF algorithm SOC value based on the current ampere-hour integration method SOC value. Compensate and use the compensation result as the SOC estimation result of the current lithium iron phosphate battery.
根据本发明的基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,步骤一中,磷酸铁锂电池的等效电路模型的输入输出关系为:According to the lithium iron phosphate battery SOC estimation method based on ampere-hour integral reference compensation of the present invention, in step one, the input-output relationship of the equivalent circuit model of the lithium iron phosphate battery is:
式中U1为电池反应极化内阻端电压,R1为电池反应极化内阻,C1为电池反应极化电容,I为电池电流,U2为电池浓差极化内阻端电压,R2为电池浓差极化内阻,C2为电池浓差极化电容,Ut为电池端电压,Uoc为电池开路电压,R0为电池欧姆内阻。In the formula, U 1 is the terminal voltage of the battery's reactive polarization internal resistance, R 1 is the battery's reactive polarization internal resistance, C 1 is the battery's reactive polarization capacitance, I is the battery current, and U 2 is the terminal voltage of the battery's concentration polarization internal resistance. , R 2 is the battery concentration polarization internal resistance, C 2 is the battery concentration polarization capacitance, U t is the battery terminal voltage, U oc is the battery open circuit voltage, and R 0 is the battery ohmic internal resistance.
根据本发明的基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,步骤一中,构建的磷酸铁锂电池的离散状态空间方程组为:According to the SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation of the present invention, in step one, the discrete state space equation set of the lithium iron phosphate battery is constructed as:
式中zk+1为采用EKF-AUKF算法得到的k+1时刻SOC值,zk为采用EKF-AUKF算法得到的k时刻SOC值,η为库伦效率,Δt为采样间隔时间,Cn为电池最大可用容量;U1,k+1为k+1时刻的U1,α1为电池反应极化时间指数,α1=exp(-Δt/R1C1),U1,k为k时刻的U1,U2,k+1为k+1时刻的U2,α2为电池浓差极化时间指数,α2=exp(-Δt/R2C2),U2,k为k时刻的U2,Ik为k时刻的I,wk为k时刻过程噪声,Ut,k为k时刻Ut,Uoc,k为k时刻Uoc,vk为k时刻测量噪声。In the formula, z k+1 is the SOC value at time k +1 obtained by using the EKF-AUKF algorithm, z k is the SOC value at time k obtained by using the EKF-AUKF algorithm, eta is the Coulomb efficiency, Δt is the sampling interval time, and C n is The maximum available capacity of the battery; U 1 ,k+1 is U 1 at k+1 moment, α 1 is the battery reaction polarization time index, α 1 =exp(-Δt/R 1 C 1 ), U 1,k is k U 1 , U 2 , k+1 at time are U 2 at time k + 1 , α 2 is the battery concentration polarization time index, α 2 =exp(-Δt/R 2 C 2 ), U 2,k is U 2 and I k at time k are I at time k, w k is the process noise at time k, U t,k is U t at time k, U oc ,k is U oc at time k, and v k is the measurement noise at time k.
根据本发明的基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,步骤二中,采用安时积分法计算磷酸铁锂电池在各采样时刻的SOC值的方法包括:According to the SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation of the present invention, in step 2, the method of calculating the SOC value of the lithium iron phosphate battery at each sampling time using the ampere-hour integral method includes:
zAh,k+1=zAh,k-ηIkΔt/Cn, (3)z Ah,k+1 =z Ah,k -ηI k Δt/C n , (3)
式中zAh,k+1为采用安时积分法得到的k+1时刻SOC值,zAh,k为采用安时积分法得到的k时刻SOC值。In the formula, z Ah,k+1 is the SOC value at k+1 obtained by the ampere-hour integration method, and z Ah,k is the SOC value at k obtained by the ampere-hour integration method.
根据本发明的基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,步骤二中,采用EKF-AUKF算法计算磷酸铁锂电池在各采样时刻的SOC值的方法包括:According to the SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation of the present invention, in step 2, the method of using the EKF-AUKF algorithm to calculate the SOC value of the lithium iron phosphate battery at each sampling moment includes:
首先,构建状态空间方程描述等效电路参数的变化特性:First, construct a state space equation to describe the changing characteristics of equivalent circuit parameters:
将k时刻等效电路模型中的等效电路参数表示为电路参数向量θk:Express the equivalent circuit parameters in the equivalent circuit model at time k as the circuit parameter vector θ k :
θk=[R0 R1 C1 R2 C2]T, (4)θ k =[R 0 R 1 C 1 R 2 C 2 ] T , (4)
将等效电路参数看作存在扰动的常数,得到状态空间方程:Treating the equivalent circuit parameters as constants with disturbances, the state space equation is obtained:
式中为k+1时刻的电路参数向量估计值,/>为k时刻的电路参数向量估计值,rk为k时刻的白噪声,白噪声rk符合高斯分布/> 是rk的误差协方差矩阵;in the formula is the estimated value of the circuit parameter vector at time k+1,/> is the estimated value of the circuit parameter vector at time k, r k is the white noise at time k, and the white noise r k conforms to Gaussian distribution/> is the error covariance matrix of r k ;
式中dk表示k时刻电池端电压Ut,k,g(xk,uk,θk)表示包含参数的测量方程Uoc,k-U1,k-U2,k-IkR0,xk作为状态向量,表示采用EKF-AUKF算法得到的k时刻SOC值zk+1、U1,k+1和U2,k;uk表示k时刻电池电流Ik,λk表示k时刻测量噪声,测量噪声λk符合高斯分布 是λk的误差协方差矩阵。In the formula, d k represents the battery terminal voltage U t,k at time k, and g(x k , uk ,θ k ) represents the measurement equation including parameters U oc,k -U 1,k -U 2,k -I k R 0 , x k is used as a state vector, indicating the SOC values z k+1 , U 1,k+1 and U 2,k at time k obtained by using the EKF-AUKF algorithm; u k represents the battery current I k at time k, and λ k represents Measure the noise at time k, and the measurement noise λ k conforms to Gaussian distribution. is the error covariance matrix of λ k .
根据本发明的基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,步骤三中,恒定偏差表示为d:According to the SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation of the present invention, in step three, the constant deviation is expressed as d:
d=SOCEKF-AUKF,100s-SOCAh,100s, (33)d=SOC EKF-AUKF,100s -SOC Ah,100s , (33)
式中SOCEKF-AUKF,100s为100s时刻EKF-AUKF算法SOC值,SOCAh,100s为100s时刻安时积分法SOC值。In the formula, SOC EKF-AUKF,100s is the SOC value of the EKF-AUKF algorithm at 100s, and SOC Ah,100s is the SOC value of the ampere-hour integration method at 100s.
根据本发明的基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,步骤四中,初步差值表示为Dk:According to the SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation of the present invention, in step 4, the preliminary difference is expressed as D k :
Dk=SOCEKF-AUKF,k-SOCAh,k, (34)D k =SOC EKF-AUKF,k -SOC Ah,k , (34)
式中SOCEKF-AUKF,k为100s以后,k时刻EKF-AUKF算法SOC值,SOCAh,k为100s以后,k时刻安时积分法SOC值;In the formula, SOC EKF-AUKF,k is the SOC value of the EKF-AUKF algorithm at time k after 100s, and SOC Ah,k is the SOC value of the ampere-hour integration method at time k after 100s;
则近似偏差值表示为Δd:Then the approximate deviation value is expressed as Δd:
Δd=|Dk-d|。 (35)Δd=|D k -d|. (35)
根据本发明的基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,步骤五中,设定偏差阈值为δ;According to the SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation of the present invention, in step five, the deviation threshold is set to δ;
若当前近似偏差值Δd大于或等于偏差阈值δ,对当前EKF-AUKF算法SOC值进行补偿,得到的k时刻补偿结果SOCk为:If the current approximate deviation value Δd is greater than or equal to the deviation threshold δ, the current EKF-AUKF algorithm SOC value is compensated, and the compensation result SOC k at time k is:
SOCk=SOCEKF-AUKF,k-pΔd, (36)SOC k =SOC EKF-AUKF,k -pΔd, (36)
式中p为权重系数,where p is the weight coefficient,
结合公式(34)和(35),得到k时刻补偿结果SOCk的最终表达式:Combining formulas (34) and (35), the final expression of the compensation result SOC k at time k is obtained:
SOCk=(1-p)SOCEKF-AUKF,k+p(SOCAh,k+d)。 (37)SOC k =(1-p)SOC EKF-AUKF,k +p(SOC Ah,k +d). (37)
根据本发明的基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,步骤五中,若当前近似偏差值大于或等于偏差阈值,对当前EKF-AUKF算法SOC值进行补偿:According to the lithium iron phosphate battery SOC estimation method based on ampere-hour integral reference compensation of the present invention, in step five, if the current approximate deviation value is greater than or equal to the deviation threshold, the current EKF-AUKF algorithm SOC value is compensated:
设定分界值为0.3;Set the cutoff value to 0.3;
若当前EKF-AUKF算法SOC值小于或等于0.3,则选择权重系数p为0.15;若当前EKF-AUKF算法SOC值大于0.3,则选择权重系数p为0.85;偏差阈值δ=0.03。If the SOC value of the current EKF-AUKF algorithm is less than or equal to 0.3, the weight coefficient p is selected to be 0.15; if the SOC value of the current EKF-AUKF algorithm is greater than 0.3, the weight coefficient p is selected to be 0.85; the deviation threshold δ=0.03.
本发明的有益效果:本发明方法充分考虑模型准确性与算法准确性的影响,采用EKF-AUKF算法实现磷酸铁锂电池SOC的准确估计。在EKF-AUKF算法SOC估计结果被较大电压采样误差影响的情况下,以安时积分法的SOC估计结果作为参考,利用其SOC变化平稳的特性求出EKF-AUKF算法SOC估计结果和真值的近似差值,进而利用补偿系数补偿EKF-AUKF算法SOC估计结果,在提升SOC估计精度与鲁棒性的同时,一定程度上消除了安时积分法SOC初始误差和累积误差的影响,且不显著增加计算量。Beneficial effects of the present invention: The method of the present invention fully considers the influence of model accuracy and algorithm accuracy, and uses the EKF-AUKF algorithm to achieve accurate estimation of SOC of lithium iron phosphate batteries. When the SOC estimation result of the EKF-AUKF algorithm is affected by a large voltage sampling error, the SOC estimation result of the ampere-hour integration method is used as a reference, and its SOC change characteristics are used to calculate the SOC estimation result and true value of the EKF-AUKF algorithm. The approximate difference is then used to compensate the EKF-AUKF algorithm SOC estimation result using the compensation coefficient. While improving the SOC estimation accuracy and robustness, it also eliminates the influence of the ampere-hour integration method SOC initial error and cumulative error to a certain extent, and does not Significantly increases the amount of computation.
附图说明Description of the drawings
图1是本发明所述基于安时积分参考补偿的磷酸铁锂电池SOC估计方法的流程图;图中t为时间;Figure 1 is a flow chart of the SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation according to the present invention; t in the figure is time;
图2是磷酸铁锂电池的等效电路模型。Figure 2 is the equivalent circuit model of a lithium iron phosphate battery.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that, as long as there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.
下面结合附图和具体实施例对本发明作进一步说明,但不作为本发明的限定。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but shall not be used as a limitation of the present invention.
具体实施方式一、结合图1和图2所示,本发明提供了一种基于安时积分参考补偿的磷酸铁锂电池SOC估计方法,包括,Specific Embodiment 1. As shown in Figure 1 and Figure 2, the present invention provides a lithium iron phosphate battery SOC estimation method based on ampere-hour integral reference compensation, including:
步骤一:根据磷酸铁锂电池的等效电路模型,构建磷酸铁锂电池的离散状态空间方程组;Step 1: Based on the equivalent circuit model of the lithium iron phosphate battery, construct the discrete state space equations of the lithium iron phosphate battery;
步骤二:采用安时积分法计算磷酸铁锂电池在各采样时刻的SOC值;Step 2: Calculate the SOC value of the lithium iron phosphate battery at each sampling time using the ampere-hour integration method;
同时,采用EKF-AUKF算法计算磷酸铁锂电池在各采样时刻的SOC值,包括采用EKF算法辨识等效电路模型的实时等效电路参数,再采用AUKF(自适应无迹卡尔曼滤波法)算法基于实时等效电路参数更新后的离散状态空间方程组计算磷酸铁锂电池在各采样时刻的SOC值;再将得到的SOC值和卡尔曼增益反馈给EKF算法作为下一采样时刻辨识等效电路模型的实时等效电路参数的基础;At the same time, the EKF-AUKF algorithm is used to calculate the SOC value of the lithium iron phosphate battery at each sampling moment, including using the EKF algorithm to identify the real-time equivalent circuit parameters of the equivalent circuit model, and then using the AUKF (Adaptive Unscented Kalman Filtering) algorithm Calculate the SOC value of the lithium iron phosphate battery at each sampling time based on the discrete state space equations after the real-time equivalent circuit parameters are updated; then the obtained SOC value and Kalman gain are fed back to the EKF algorithm to identify the equivalent circuit at the next sampling time The basis for the real-time equivalent circuit parameters of the model;
步骤三:将安时积分法SOC值计算结果作为参考值,选择100s时刻的EKF-AUKF算法SOC值与安时积分法SOC值作差,得到的结果作为恒定偏差;Step 3: Use the SOC value calculation result of the ampere-hour integration method as the reference value, select the EKF-AUKF algorithm SOC value at 100s and make the difference between the SOC value of the ampere-hour integration method, and the result is used as a constant deviation;
步骤四:以100s时刻为起点,将其后每个采样时刻的EKF-AUKF算法SOC值与安时积分法SOC值作差得到初步差值;再将初步差值与恒定偏差作差得到结果的绝对值作为EKF-AUKF算法SOC值与SOC真值的近似偏差值;Step 4: Using the 100s time as the starting point, compare the SOC value of the EKF-AUKF algorithm and the SOC value of the ampere-hour integration method at each subsequent sampling time to obtain the preliminary difference; then compare the preliminary difference with the constant deviation to obtain the result. The absolute value is used as the approximate deviation value between the SOC value of the EKF-AUKF algorithm and the true SOC value;
步骤五:设定偏差阈值;Step 5: Set the deviation threshold;
若当前近似偏差值小于偏差阈值,则将当前EKF-AUKF算法SOC值作为当前磷酸铁锂电池的SOC估计结果;此时不需要补偿;If the current approximate deviation value is less than the deviation threshold, the current EKF-AUKF algorithm SOC value is used as the current SOC estimation result of the lithium iron phosphate battery; no compensation is required at this time;
若当前近似偏差值大于或等于偏差阈值时,进行补偿;再根据EKF-AUKF算法SOC值与预设分界值的比较结果,采用不同的权重系数,基于当前安时积分法SOC值对当前EKF-AUKF算法SOC值进行补偿,将补偿结果作为当前磷酸铁锂电池的SOC估计结果。即在近似偏差值不小于偏差阈值的情况下,将近似偏差值补偿给EKF-AUKF算法的SOC估计结果作为待测锂电池当前SOC的最终估计值。If the current approximate deviation value is greater than or equal to the deviation threshold, compensation is performed; then based on the comparison result of the EKF-AUKF algorithm SOC value and the preset boundary value, different weight coefficients are used to calculate the current EKF-AUKF- The AUKF algorithm SOC value is compensated, and the compensation result is used as the SOC estimation result of the current lithium iron phosphate battery. That is, when the approximate deviation value is not less than the deviation threshold, the approximate deviation value is compensated to the SOC estimation result of the EKF-AUKF algorithm as the final estimated value of the current SOC of the lithium battery to be tested.
进一步,步骤一中,根据图2,由基尔霍夫定律可以得到磷酸铁锂电池的等效电路模型的输入输出关系为:Furthermore, in step one, according to Figure 2, the input-output relationship of the equivalent circuit model of the lithium iron phosphate battery can be obtained from Kirchhoff's law:
式中U1为电池反应极化内阻端电压,R1为电池反应极化内阻,C1为电池反应极化电容,I为电池电流,U2为电池浓差极化内阻端电压,R2为电池浓差极化内阻,C2为电池浓差极化电容,Ut为电池端电压,Uoc为电池开路电压,R0为电池欧姆内阻。In the formula, U 1 is the terminal voltage of the battery's reactive polarization internal resistance, R 1 is the battery's reactive polarization internal resistance, C 1 is the battery's reactive polarization capacitance, I is the battery current, and U 2 is the terminal voltage of the battery's concentration polarization internal resistance. , R 2 is the battery concentration polarization internal resistance, C 2 is the battery concentration polarization capacitance, U t is the battery terminal voltage, U oc is the battery open circuit voltage, and R 0 is the battery ohmic internal resistance.
结合图2所示,磷酸铁锂电池的等效电路模型包括由一个电压源、欧姆内阻、反应极化内阻、反应极化电容、浓差极化内阻和浓差极化电容组成的二阶电阻-电容等效电路。其中反应极化内阻和反应极化电容用以描述电池内部反应极化现象,浓差极化内阻和浓差极化电容用以描述电池内部浓差极化现象。As shown in Figure 2, the equivalent circuit model of the lithium iron phosphate battery includes a voltage source, ohmic internal resistance, reactive polarization internal resistance, reactive polarization capacitance, concentration polarization internal resistance and concentration polarization capacitance. Second-order resistor-capacitor equivalent circuit. The reactive polarization internal resistance and reactive polarization capacitance are used to describe the reactive polarization phenomenon inside the battery, and the concentration polarization internal resistance and concentration polarization capacitance are used to describe the concentration polarization phenomenon inside the battery.
本实施方式的步骤一中,构建的磷酸铁锂电池的离散状态空间方程组为:In step one of this implementation, the discrete state space equation set of the constructed lithium iron phosphate battery is:
式中zk+1为采用EKF-AUKF算法得到的k+1时刻SOC值,zk为采用EKF-AUKF算法得到的k时刻SOC值,η为库伦效率,Δt为采样间隔时间,Cn为电池最大可用容量;U1,k+1为k+1时刻的U1,α1为电池反应极化时间指数,α1=exp(-Δt/R1C1),U1,k为k时刻的U1,U2,k+1为k+1时刻的U2,α2为电池浓差极化时间指数,α2=exp(-Δt/R2C2),U2,k为k时刻的U2,Ik为k时刻的I,wk为k时刻过程噪声,用来表征电流测量误差和状态方程误差;Ut,k为k时刻Ut,Uoc,k为k时刻Uoc,vk为k时刻测量噪声,用来表征电压测量误差和输出方程误差。In the formula, z k+1 is the SOC value at time k +1 obtained by using the EKF-AUKF algorithm, z k is the SOC value at time k obtained by using the EKF-AUKF algorithm, eta is the Coulomb efficiency, Δt is the sampling interval time, and C n is The maximum available capacity of the battery; U 1 ,k+1 is U 1 at k+1 moment, α 1 is the battery reaction polarization time index, α 1 =exp(-Δt/R 1 C 1 ), U 1,k is k U 1 , U 2 , k+1 at time are U 2 at time k + 1 , α 2 is the battery concentration polarization time index, α 2 =exp(-Δt/R 2 C 2 ), U 2,k is U 2 and I k at time k are I at time k, w k is the process noise at time k, which is used to represent the current measurement error and state equation error; U t,k is U t at time k, and U oc,k is time k U oc and v k are the measurement noise at time k, which are used to characterize the voltage measurement error and output equation error.
再进一步,步骤二中,采用离散形式的安时积分法计算磷酸铁锂电池在各采样时刻的SOC值的方法包括:Furthermore, in step two, the method of calculating the SOC value of the lithium iron phosphate battery at each sampling time using the discrete ampere-hour integration method includes:
zAh,k+1=zAh,k-ηIkΔt/Cn, (3)z Ah,k+1 =z Ah,k -ηI k Δt/C n , (3)
式中zAh,k+1为采用安时积分法得到的k+1时刻SOC值,zAh,k为采用安时积分法得到的k时刻SOC值。In the formula, z Ah,k+1 is the SOC value at k+1 obtained by the ampere-hour integration method, and z Ah,k is the SOC value at k obtained by the ampere-hour integration method.
同时,步骤二中,采用EKF-AUKF算法计算磷酸铁锂电池在各采样时刻的SOC值的方法包括:At the same time, in step two, the method of using the EKF-AUKF algorithm to calculate the SOC value of the lithium iron phosphate battery at each sampling moment includes:
首先,采用EKF算法在线辨识磷酸铁锂电池等效电路参数,需要构建状态空间方程描述等效电路参数的变化特性:First, to use the EKF algorithm to identify the equivalent circuit parameters of lithium iron phosphate batteries online, it is necessary to construct a state space equation to describe the changing characteristics of the equivalent circuit parameters:
将k时刻等效电路模型中的等效电路参数表示为电路参数向量θk:Express the equivalent circuit parameters in the equivalent circuit model at time k as the circuit parameter vector θ k :
θk=[R0 R1 C1 R2 C2]T, (4)θ k =[R 0 R 1 C 1 R 2 C 2 ] T , (4)
锂电池参数变化缓慢,经过很多个放电周期才能有显著变化,因此可以将等效电路参数看作存在扰动的常数,因此,其状态空间方程可写为如下形式:Lithium battery parameters change slowly and can change significantly after many discharge cycles. Therefore, the equivalent circuit parameters can be regarded as constants with disturbances. Therefore, its state space equation can be written as follows:
式中为k+1时刻的电路参数向量估计值,/>为k时刻的电路参数向量估计值,rk为k时刻的白噪声,白噪声rk符合高斯分布/> 是rk的误差协方差矩阵;in the formula is the estimated value of the circuit parameter vector at time k+1,/> is the estimated value of the circuit parameter vector at time k, r k is the white noise at time k, and the white noise r k conforms to Gaussian distribution/> is the error covariance matrix of r k ;
式中dk表示k时刻电池端电压Ut,k,g(xk,uk,θk)表示包含参数的测量方程Uoc,k-U1,k-U2,k-IkR0,xk作为状态向量,表示采用EKF-AUKF算法得到的k时刻SOC值zk+1、U1,k+1和U2,k;uk表示k时刻电池电流Ik,λk表示k时刻测量噪声,测量噪声λk符合高斯分布 是λk的误差协方差矩阵。In the formula, d k represents the battery terminal voltage U t,k at time k, and g(x k , uk ,θ k ) represents the measurement equation including parameters U oc,k -U 1,k -U 2,k -I k R 0 , x k is used as a state vector, indicating the SOC values z k+1 , U 1,k+1 and U 2,k at time k obtained by using the EKF-AUKF algorithm; u k represents the battery current I k at time k, and λ k represents Measure the noise at time k, and the measurement noise λ k conforms to Gaussian distribution. is the error covariance matrix of λ k .
再进一步,步骤二中,构建状态空间方程(5)后,进行各采样时刻的SOC值的计算:Furthermore, in step 2, after constructing the state space equation (5), the SOC value at each sampling moment is calculated:
一:初始化:1: Initialization:
1、初始化参数向量和参数向量的误差协方差:1. Initialization parameter vector and error covariance of parameter vector:
式中为电路参数向量初始估计值,θ0为电路参数向量初始值,E表示求均值;in the formula is the initial estimated value of the circuit parameter vector, θ 0 is the initial value of the circuit parameter vector, and E represents averaging;
为参数向量的初始误差协方差; is the initial error covariance of the parameter vector;
2、初始化状态向量和状态向量的误差协方差:2. Initialize the state vector and the error covariance of the state vector:
式中为状态向量初始估计值,x0为状态向量初始值;/>为状态向量的初始误差协方差;in the formula is the initial estimated value of the state vector, x 0 is the initial value of the state vector;/> is the initial error covariance of the state vector;
二:参数估计的时间更新:2: Time update of parameter estimation:
式中为k时刻电路参数向量估计值,/>为k+1时刻的电路参数向量先验估计值,为k时刻参数向量误差协方差,/>为k+1时刻参数向量误差协方差的先验估计值;in the formula is the estimated value of the circuit parameter vector at time k,/> is the prior estimate of the circuit parameter vector at time k+1, is the parameter vector error covariance at time k,/> is the prior estimate of the error covariance of the parameter vector at time k+1;
三:状态估计的时间更新:Three: Time update of status estimate:
1)计算无迹变换采样点的权重:1) Calculate the weight of the unscented transformation sampling point:
式中为状态均值权重因子的初始值,λ为用于减小全局预测误差的尺度因子,n为电池系统状态维度;in the formula is the initial value of the state mean weight factor, λ is the scale factor used to reduce the global prediction error, and n is the battery system state dimension;
为误差协方差权重因子的初始值,β为高阶项误差调节系数,α为sigma点在状态均值点周围分布的控制系数,Wi m为第i个状态均值权重因子,Wi c为第i个误差协方差权重因子,κ为二阶尺度参数,用于确保/>正定;/>为k时刻状态向量的误差协方差; is the initial value of the error covariance weight factor, β is the error adjustment coefficient of the high-order term, α is the control coefficient of the distribution of sigma points around the state mean point, W i m is the i-th state mean weight factor, and W i c is the i-th state mean weight factor. i error covariance weight factors, κ is a second-order scale parameter, used to ensure/> Zhengding;/> is the error covariance of the state vector at time k;
作为示例:n=3,α=0.01,β=2,κ=0。As an example: n=3, α=0.01, β=2, κ=0.
2)计算k时刻的2n+1个sigma点:2) Calculate 2n+1 sigma points at time k:
式中为k时刻第0个状态向量值,/>为k时刻状态向量估计值,/>为k时刻第i个状态向量值;in the formula is the 0th state vector value at time k,/> is the estimated value of the state vector at time k,/> is the i-th state vector value at time k;
3)更新sigma点的先验状态:3) Update the prior state of the sigma point:
式中为k+1时刻第i个状态向量估计值,in the formula is the estimated value of the i-th state vector at time k+1,
表示/> Express/>
则:but:
yk=Ut,k,g(xk,uk,θk)=Uoc,k-U1,k-U2,k-IkR0;y k =U t,k , g(x k , uk ,θ k )=U oc,k -U 1,k -U 2,k -I k R 0 ;
式中yk作为测量方程的输出值;In the formula, y k is used as the output value of the measurement equation;
4)系统状态和系统状态误差协方差先验估计:4) Priori estimation of system state and system state error covariance:
式中为k+1时刻状态向量先验估计值;/>为k+1时刻状态向量的误差协方差先验估计值;in the formula is the prior estimate of the state vector at time k+1;/> is the prior estimate of the error covariance of the state vector at time k+1;
四:测量更新:Four: Measurement update:
1)输出sigma点计算:1) Output sigma point calculation:
式中为k+1时刻第i个sigma点对应的测量方程输出估计值;in the formula Output the estimated value for the measurement equation corresponding to the i-th sigma point at time k+1;
2)电池端电压平均值和端电压平均值误差协方差计算:2) Calculation of the error covariance of the average battery terminal voltage and the average terminal voltage:
式中为k+1时刻测量方程输出先验估计值;Pyy,k+1为k+1时刻测量方程输出端电压平均值误差协方差,Vk为输出误差协方差;in the formula Output a priori estimate value for the measurement equation at time k+1; P yy,k+1 is the error covariance of the average voltage at the output terminal of the measurement equation at time k+1, V k is the output error covariance;
3)更新与/>之间的交叉协方差:3)Update with/> Cross covariance between:
式中Pxy,k+1为k+1时刻与/>之间的交叉协方差;In the formula, P xy,k+1 is the k+1 time with/> cross covariance between;
4)计算卡尔曼增益:4) Calculate the Kalman gain:
式中为k+1时刻卡尔曼增益;in the formula is the Kalman gain at time k+1;
5)状态和误差协方差更新:5) Status and error covariance update:
6)噪声协方差更新:6) Noise covariance update:
式中ek+1为k+1时刻噪声协方差,mk+1为端电压新息的滑动平均值,ei为端电压新息;Lw为移动窗口尺寸;In the formula, e k+1 is the noise covariance at time k+1, m k+1 is the sliding average of the terminal voltage information, e i is the terminal voltage information; L w is the moving window size;
为k+1时刻状态向量的过程噪声协方差,/>为k+1时刻状态向量的测量噪声协方差; is the process noise covariance of the state vector at time k+1,/> is the measurement noise covariance of the state vector at time k+1;
五:参数测量更新:Five: Parameter measurement update:
1)计算参数增益矩阵:1) Calculate parameter gain matrix:
式中为k+1时刻参数估计增益矩阵,/>为k+1时刻参数估计输出矩阵;in the formula Estimating the gain matrix for the parameter at time k+1,/> The output matrix is the parameter estimate at time k+1;
2)参数及其误差协方差更新:2) Parameters and their error covariance update:
其中可以通过以下三个可迭代的偏微分方程得到,迭代初始值为0:in It can be obtained through the following three iterable partial differential equations, with the initial iteration value being 0:
本实施方式的步骤三中,将安时积分法的SOC计算值作为参考,将100s处的EKF-AUKF算法与安时积分法SOC估计结果的差值作为恒定偏差;In step three of this implementation, the SOC calculation value of the ampere-hour integration method is used as a reference, and the difference between the SOC estimation result of the EKF-AUKF algorithm and the ampere-hour integration method at 100s is used as a constant deviation;
在估计的初始阶段,依据算法收敛速度,修正逻辑延时100s作用,确保自适应算法的SOC估计值能趋近于真值。延时期间不对自适应算法进行修正,达到延时时间点时,计算自适应算法和安时积分法的差值,以此作为自适应算法和安时积分法的恒定偏差,恒定偏差表示为d:In the initial stage of estimation, based on the convergence speed of the algorithm, the logic delay effect of 100s is corrected to ensure that the SOC estimated value of the adaptive algorithm can approach the true value. The adaptive algorithm is not modified during the delay period. When the delay time point is reached, the difference between the adaptive algorithm and the ampere-hour integration method is calculated, which is used as the constant deviation between the adaptive algorithm and the ampere-hour integration method. The constant deviation is expressed as d :
d=SOCEKF-AUKF,100s-SOCAh,100s, (33)d=SOC EKF-AUKF,100s -SOC Ah,100s , (33)
式中SOCEKF-AUKF,100s为100s时刻EKF-AUKF算法SOC值,SOCAh,100s为100s时刻安时积分法SOC值。In the formula, SOC EKF-AUKF,100s is the SOC value of the EKF-AUKF algorithm at 100s, and SOC Ah,100s is the SOC value of the ampere-hour integration method at 100s.
在100s之前,补偿逻辑不起作用,安时积分法和EKF-AUKF算法独立估计锂电池SOC。Before 100s, the compensation logic does not work, and the ampere-hour integration method and the EKF-AUKF algorithm independently estimate the lithium battery SOC.
步骤四中,初步差值表示为Dk:In step four, the preliminary difference is expressed as D k :
Dk=SOCEKF-AUKF,k-SOCAh,k, (34)D k =SOC EKF-AUKF,k -SOC Ah,k , (34)
式中SOCEKF-AUKF,k为100s以后,k时刻EKF-AUKF算法SOC值,SOCAh,k为100s以后,k时刻安时积分法SOC值;In the formula, SOC EKF-AUKF,k is the SOC value of the EKF-AUKF algorithm at time k after 100s, and SOC Ah,k is the SOC value of the ampere-hour integration method at time k after 100s;
则近似偏差值表示为Δd:Then the approximate deviation value is expressed as Δd:
Δd=|Dk-d|。 (35)Δd=|D k -d|. (35)
最后,步骤五中,设定偏差阈值为δ;Finally, in step five, set the deviation threshold to δ;
当Δd小于δ时,自适应算法估计误差在限定范围内,无需补偿;若当前近似偏差值Δd大于或等于偏差阈值δ,对当前EKF-AUKF算法SOC值进行补偿,得到的k时刻补偿结果SOCk为:When Δd is less than δ, the adaptive algorithm estimation error is within a limited range and no compensation is needed; if the current approximate deviation value Δd is greater than or equal to the deviation threshold δ, the current EKF-AUKF algorithm SOC value is compensated, and the compensation result SOC at time k is obtained k is:
SOCk=SOCEKF-AUKF,k-pΔd, (36)SOC k =SOC EKF-AUKF,k -pΔd, (36)
式中p为权重系数,where p is the weight coefficient,
安时积分法的估计误差随着估计过程的进行而逐渐累积,而自适应算法在电池放电结束阶段估计很准,这时如果再用两种算法估计结果的差值来进行补偿的话,会由于安时积分法估计结果的不准而引入较大误差。因此采用调整权重系数的方式来改变补偿值,权重系数可以称为补偿系数。在安时积分SOC估计误差小的区域,补偿系数大;在安时积分SOC估计误差大的区域,补偿系数小。The estimation error of the ampere-hour integral method gradually accumulates as the estimation process proceeds, while the adaptive algorithm estimates very accurately at the end of battery discharge. At this time, if the difference between the estimation results of the two algorithms is used to compensate, there will be The inaccurate estimation result of the ampere-hour integration method introduces a large error. Therefore, the compensation value is changed by adjusting the weight coefficient, which can be called the compensation coefficient. In the area where the ampere-hour integrated SOC estimation error is small, the compensation coefficient is large; in the area where the ampere-hour integrated SOC estimation error is large, the compensation coefficient is small.
结合公式(34)和(35),得到k时刻补偿结果SOCk的最终表达式:Combining formulas (34) and (35), the final expression of the compensation result SOC k at time k is obtained:
SOCk=(1-p)SOCEKF-AUKF,k+p(SOCAh,k+d)。 (37)SOC k =(1-p)SOC EKF-AUKF,k +p(SOC Ah,k +d). (37)
其中0≤p≤1。where 0≤p≤1.
作为示例,步骤五中,若当前近似偏差值大于或等于偏差阈值,对当前EKF-AUKF算法SOC值进行补偿:As an example, in step five, if the current approximate deviation value is greater than or equal to the deviation threshold, compensate the current EKF-AUKF algorithm SOC value:
设定分界值为0.3;按照自适应算法和安时积分法的SOC估计特性,将P以SOC估计值为0.3为分界点,分别取值。The cut-off value is set to 0.3; according to the SOC estimation characteristics of the adaptive algorithm and the ampere-hour integration method, P takes the SOC estimated value of 0.3 as the cut-off point and takes values respectively.
若当前EKF-AUKF算法SOC值小于或等于0.3,则选择权重系数p为0.15;若当前EKF-AUKF算法SOC值大于0.3,则选择权重系数p为0.85;偏差阈值δ=0.03。If the SOC value of the current EKF-AUKF algorithm is less than or equal to 0.3, the weight coefficient p is selected to be 0.15; if the SOC value of the current EKF-AUKF algorithm is greater than 0.3, the weight coefficient p is selected to be 0.85; the deviation threshold δ=0.03.
考虑到安时积分法SOC估计误差会随着电流采样误差而逐渐增大,EKF-AUKF算法SOC估计结果会在放电结束时趋近于真值,以EKF-AUKF算法SOC估计值0.3为分界线,在两侧进行不同补偿权重系数的选择,以充分利用安时积分法估计的稳定性和消除安时积分累积误差带来的影响,补偿后的SOC即可认为是当前的准确SOC。Considering that the SOC estimation error of the ampere-hour integration method will gradually increase with the current sampling error, the SOC estimation result of the EKF-AUKF algorithm will approach the true value at the end of discharge, with the EKF-AUKF algorithm SOC estimation value of 0.3 as the dividing line. , select different compensation weight coefficients on both sides to make full use of the stability of the ampere-hour integral method estimation and eliminate the impact of the ampere-hour integral cumulative error. The compensated SOC can be considered the current accurate SOC.
本发明还提供一种电子设备,包括处理器与存储器,所述存储器中存储有计算机控制程序,处理器处理存储器中存储的程序时,能够实现本发明所述基于安时积分参考补偿的磷酸铁锂电池SOC估计方法。The present invention also provides an electronic device, including a processor and a memory. A computer control program is stored in the memory. When the processor processes the program stored in the memory, it can realize the iron phosphate based on ampere-hour integral reference compensation according to the present invention. Lithium battery SOC estimation method.
本发明还提供一种计算机可读存储介质,用于存储计算机控制程序,所述计算机控制程序能够实现本发明所述基于安时积分参考补偿的磷酸铁锂电池SOC估计方法。The present invention also provides a computer-readable storage medium for storing a computer control program. The computer control program can implement the SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation according to the present invention.
虽然在本文中参照了特定的实施方式来描述本发明,但是应该理解的是,这些实施例仅仅是本发明的原理和应用的示例。因此应该理解的是,可以对示例性的实施例进行许多修改,并且可以设计出其他的布置,只要不偏离所附权利要求所限定的本发明的精神和范围。应该理解的是,可以通过不同于原始权利要求所描述的方式来结合不同的从属权利要求和本文中所述的特征。还可以理解的是,结合单独实施例所描述的特征可以使用在其它所述实施例中。Although the present invention is described herein with reference to specific embodiments, it is to be understood that these embodiments are merely exemplary of the principles and applications of the invention. It is therefore to be understood that many modifications may be made to the exemplary embodiments and other arrangements may be devised without departing from the spirit and scope of the invention as defined by the appended claims. It is to be understood that the features described in the different dependent claims may be combined in a different manner than that described in the original claims. It will also be understood that features described in connection with individual embodiments can be used in other described embodiments.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311042439.6A CN117074980A (en) | 2023-08-17 | 2023-08-17 | SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311042439.6A CN117074980A (en) | 2023-08-17 | 2023-08-17 | SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117074980A true CN117074980A (en) | 2023-11-17 |
Family
ID=88705527
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311042439.6A Pending CN117074980A (en) | 2023-08-17 | 2023-08-17 | SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117074980A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117590263A (en) * | 2023-11-29 | 2024-02-23 | 湖南银杏电池智能管理技术有限公司 | SOC calculation method based on internal resistance |
-
2023
- 2023-08-17 CN CN202311042439.6A patent/CN117074980A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117590263A (en) * | 2023-11-29 | 2024-02-23 | 湖南银杏电池智能管理技术有限公司 | SOC calculation method based on internal resistance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110596593B (en) | Lithium ion battery SOC estimation method based on intelligent adaptive extended Kalman filtering | |
CN105607009B (en) | A kind of power battery SOC methods of estimation and system based on dynamic parameter model | |
CN101604005B (en) | Estimation method of battery dump energy based on combined sampling point Kalman filtering | |
CN110502778A (en) | An adaptive optimization method for estimating battery SOC based on Kalman filter framework | |
CN107741569A (en) | A method for estimating state of charge of lithium battery based on segmented extended Kalman filter | |
CN105717460B (en) | A kind of power battery SOC methods of estimation and system based on nonlinear observer | |
CN112858929B (en) | Battery SOC estimation method based on fuzzy logic and extended Kalman filtering | |
CN107422269A (en) | A kind of online SOC measuring methods of lithium battery | |
CN105699907A (en) | A battery SOC estimation method and system based on dynamic impedance correction | |
CN101625397A (en) | Mixed rapid estimation method for residual energy of battery | |
CN102169168B (en) | Battery dump energy estimation method based on particle filtering | |
CN111428433B (en) | Lithium ion battery state calculation method based on hybrid filtering | |
CN111856282B (en) | Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering | |
CN109839599B (en) | Lithium-ion battery SOC estimation method based on second-order EKF algorithm | |
CN112327182B (en) | An Adaptive H-infinity Filter SOC Estimation Method Based on Measured Value Residual Sequence | |
CN107153163A (en) | A kind of lithium battery SOC estimation method based on adaptive UKF | |
CN112379270B (en) | Rolling time domain estimation method for state of charge of power battery of electric automobile | |
CN105699910A (en) | Method for on-line estimating residual electric quantity of lithium battery | |
Gu et al. | The modified multi-innovation adaptive EKF algorithm for identifying battery SOC | |
CN115656848A (en) | Lithium battery SOC estimation method based on capacity correction | |
CN106443496A (en) | Battery charge state estimation method with improved noise estimator | |
CN112269133B (en) | SOC estimation method based on pre-charging circuit model parameter identification | |
CN117074980A (en) | SOC estimation method of lithium iron phosphate battery based on ampere-hour integral reference compensation | |
Xu et al. | A multi‐timescale adaptive dual particle filter for state of charge estimation of lithium‐ion batteries considering temperature effect | |
CN112946480A (en) | Lithium battery circuit model simplification method for improving SOC estimation real-time performance |
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 |