[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106324523B - Lithium battery SOC estimation method based on discrete variable structure observer - Google Patents

Lithium battery SOC estimation method based on discrete variable structure observer Download PDF

Info

Publication number
CN106324523B
CN106324523B CN201610850573.2A CN201610850573A CN106324523B CN 106324523 B CN106324523 B CN 106324523B CN 201610850573 A CN201610850573 A CN 201610850573A CN 106324523 B CN106324523 B CN 106324523B
Authority
CN
China
Prior art keywords
lithium battery
soc
ocv
variable structure
voltage
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
Application number
CN201610850573.2A
Other languages
Chinese (zh)
Other versions
CN106324523A (en
Inventor
孔慧芳
张憧
张晓雪
鲍伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei University of Technology
Original Assignee
Hefei University of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hefei University of Technology filed Critical Hefei University of Technology
Priority to CN201610850573.2A priority Critical patent/CN106324523B/en
Publication of CN106324523A publication Critical patent/CN106324523A/en
Application granted granted Critical
Publication of CN106324523B publication Critical patent/CN106324523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC
    • G01R31/388Determining ampere-hour charge capacity or SoC involving voltage measurements

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本发明公开了一种基于离散变结构观测器的锂电池SOC估计方法。它包括以下步骤:对锂电池进行快速标定实验,获取SOC与开路电压OCV关系曲线;建立用于SOC估计的锂电池离散状态空间模型;对锂电池进行脉冲放电实验,辨识锂电池模型参数;实时采集工况下锂电池的端电压和充放电电流;构建离散变结构观测器实现对锂电池SOC的准确估计。本发明方法不仅具有较好的SOC估计效果,同时能严格保证收敛性,且对锂电池建模误差,内部参数的摄动和外在扰动表现出较强的鲁棒性。

The invention discloses a method for estimating the SOC of a lithium battery based on a discrete variable structure observer. It includes the following steps: perform a rapid calibration experiment on lithium batteries to obtain the relationship between SOC and open circuit voltage OCV; establish a lithium battery discrete state space model for SOC estimation; perform pulse discharge experiments on lithium batteries to identify lithium battery model parameters; real-time Collect the terminal voltage and charge-discharge current of the lithium battery under working conditions; build a discrete variable structure observer to accurately estimate the SOC of the lithium battery. The method of the invention not only has a good SOC estimation effect, but also can strictly guarantee the convergence, and shows strong robustness to the modeling error of the lithium battery, the perturbation of internal parameters and the external perturbation.

Description

基于离散变结构观测器的锂电池SOC估计方法Lithium battery SOC estimation method based on discrete variable structure observer

技术领域technical field

本发明属于车用锂电池荷电状态估计领域,具体涉及一种基于离散变结构观测器的锂电池SOC估计方法。The invention belongs to the field of estimation of the state of charge of a lithium battery for vehicles, and in particular relates to a method for estimating the SOC of a lithium battery based on a discrete variable structure observer.

背景技术Background technique

电池管理系统BMS是电动汽车中的重要组成部分,具有电池状态检测、电池状态估计、电池安全保护和能量控制管理等基本功能。The battery management system (BMS) is an important part of electric vehicles, with basic functions such as battery state detection, battery state estimation, battery safety protection, and energy control management.

电池SOC估计是电池管理系统的核心。SOC是表征电池剩余容量的重要参数,准确的SOC值是电池充放电控制、均衡控制、制定能量管理策略的重要依据,其估计精度直接影响电池的使用寿命和成本,因此准确估计SOC是BMS的关键。Battery SOC estimation is the core of the battery management system. SOC is an important parameter to characterize the remaining capacity of the battery. The accurate SOC value is an important basis for battery charge and discharge control, balance control, and energy management strategy formulation. The essential.

SOC受电池温度、充放电倍率、自放电率、寿命等多种因素的影响,不能通过传感器直接测得,必须通过对电池进行建模,结合所测量的电池工作时的充放电电流、端电压、温度等数据,选择算法间接估计得到。电动汽车电池在使用过程中,由于内部复杂的电化学反应,导致电池特性体现出高度的非线性,使准确估计电池SOC具有很大的难度。SOC is affected by various factors such as battery temperature, charge-discharge rate, self-discharge rate, and lifespan. It cannot be directly measured by sensors. The battery must be modeled and combined with the measured charge-discharge current and terminal voltage when the battery is working. , temperature and other data, select the algorithm to estimate indirectly. During the use of electric vehicle batteries, due to the complex internal electrochemical reactions, the battery characteristics are highly nonlinear, which makes it difficult to accurately estimate the battery SOC.

锂电池相对于传统的电动汽车电池,在性能上具有能量密度高、无记忆效应、环境污染低、循环寿命长、适应温度范围广等诸多优点,所以锂电池已经发展成为最具竞争力的动力电池。Compared with traditional electric vehicle batteries, lithium batteries have many advantages in performance, such as high energy density, no memory effect, low environmental pollution, long cycle life, and wide temperature range, so lithium batteries have developed into the most competitive power. Battery.

目前,常用的锂电池SOC估计算法有开路电压法、安时积分法、卡尔曼滤波算法、神经网络算法等。At present, the commonly used lithium battery SOC estimation algorithms include open circuit voltage method, ampere-hour integration method, Kalman filter algorithm, neural network algorithm, etc.

中国发明专利CN 103529398 A于2014年01月22日公开的《基于扩展卡尔曼滤波的锂离子电池SOC在线估计方法》,它首先建立被测锂离子电池一阶RC等效电路的电压电流关系式和二阶RC等效电路的电压电流关系式;再对被测锂离子电池进行充放电实验,建立被测锂离子电池的卡尔曼滤波初值SOC0的多项式拟合函数;再获得被测锂离子电池的卡尔曼滤波初值SOC0和卡尔曼滤波的初始误差协方差P(0);然后进行基于扩展卡尔曼滤波的电池SOC估计,实现锂离子电池的SOC在线估计。但是该方法存在不足:Chinese invention patent CN 103529398 A published on January 22, 2014 "Online Estimation Method of Lithium-ion Battery SOC Based on Extended Kalman Filtering", which firstly establishes the voltage-current relationship of the first-order RC equivalent circuit of the tested lithium-ion battery and the voltage-current relationship of the second-order RC equivalent circuit; then conduct the charge-discharge experiment of the lithium-ion battery under test, and establish a polynomial fitting function of the initial value SOC 0 of the Kalman filter of the lithium-ion battery under test; and then obtain the lithium-ion battery under test. The Kalman filter initial value SOC 0 of the ion battery and the initial error covariance P(0) of the Kalman filter; then the battery SOC estimation based on the extended Kalman filter is performed to realize the online estimation of the SOC of the lithium ion battery. But this method has shortcomings:

1)该算法要求噪声是白噪声且噪声的均值、方差等统计特性已知,这在实际应用中是很难满足的,不仅因为噪声统计特性很难获得,而且白噪声也仅在理想条件下存在;1) The algorithm requires that the noise is white noise and the statistical characteristics such as the mean and variance of the noise are known, which is difficult to satisfy in practical applications, not only because the statistical characteristics of the noise are difficult to obtain, but also the white noise is only under ideal conditions. exist;

2)该算法对锂离子电池性能模型精度要求较高,当模型精度较低时,会造成较大的SOC估计误差;2) The algorithm has high requirements on the accuracy of the lithium-ion battery performance model. When the model accuracy is low, it will cause a large SOC estimation error;

3)非线性的锂离子电池模型经线性化后,如果偏差较大,就会出现滤波发散的现象,导致SOC估计误差很大。3) After the nonlinear lithium-ion battery model is linearized, if the deviation is large, the phenomenon of filter divergence will appear, resulting in a large SOC estimation error.

中国发明专利CN 105548898 A于2016年05月04日公开的《一种离线数据分段矫正的锂电池SOC估计方法》,首先建立电池等效电路模型;获取SOC—OCV曲线;利用电池放电结束时的端电压响应曲线对等效电路模型进行离线参数辨识;然后计算电池健康状态SOH;利用安时积分法实时计算SOC的当前值;并利用电池健康状态对SOC值进行矫正;最后利用离线数据对安时积分法中的累积误差进行分段消除。其存在的不足为:Chinese invention patent CN 105548898 A, published on May 4, 2016, "A Lithium Battery SOC Estimation Method for Offline Data Segmentation Correction" firstly establishes a battery equivalent circuit model; obtains the SOC-OCV curve; The terminal voltage response curve of the battery is used for offline parameter identification of the equivalent circuit model; then the battery state of health SOH is calculated; the current value of SOC is calculated in real time by the ampere-hour integration method; and the SOC value is corrected by the battery state of health; The accumulated error in the ampere-hour integration method is eliminated in stages. Its shortcomings are:

1)采用离线辨识方法对锂电池等效电路模型参数进行辨识,而在锂电池工作过程中,由于温度、老化、寿命等因素的影响,锂电池模型中参数会发生变化,会造成较大的SOC估计误差。1) The offline identification method is used to identify the parameters of the equivalent circuit model of the lithium battery. During the working process of the lithium battery, due to the influence of temperature, aging, life and other factors, the parameters in the lithium battery model will change, which will cause greater damage. SOC estimation error.

发明内容SUMMARY OF THE INVENTION

为了克服上述现有技术的不足,本发明提供了一种基于离散变结构观测器的锂电池SOC估计方法。该方法不仅具有较好的SOC估计效果,且对锂电池建模误差和由于温度、老化和寿命等因素引起的内部参数变化具有较强的鲁棒性,同时能严格保证算法的收敛性,不会出现估计发散现象。In order to overcome the above-mentioned shortcomings of the prior art, the present invention provides a method for estimating the SOC of a lithium battery based on a discrete variable structure observer. This method not only has a good SOC estimation effect, but also has strong robustness to lithium battery modeling errors and changes in internal parameters caused by factors such as temperature, aging and lifespan. Estimated divergence occurs.

为解决现有技术中存在的问题,本发明提供了一种基于离散变结构观测器的锂电池SOC估计方法,包括对工况下锂电池的端电压和充放电电流的采集,主要步骤如下:In order to solve the problems existing in the prior art, the present invention provides a method for estimating the SOC of a lithium battery based on a discrete variable structure observer, including the collection of the terminal voltage and charging and discharging current of the lithium battery under working conditions, and the main steps are as follows:

步骤1,对锂电池进行快速标定实验,获取SOC与开路电压OCV关系曲线;Step 1, perform a rapid calibration experiment on the lithium battery, and obtain the relationship curve between SOC and open circuit voltage OCV;

步骤1.1,在室温下,对充电截止电压为4.2V、放电截止电压为3V、额定容量为5Ah的锂电池以0.2库伦恒流放电直到锂电池电压到3V以下,静置2~3小时,等待实验使用;Step 1.1, at room temperature, discharge the lithium battery with a charge cut-off voltage of 4.2V, a discharge cut-off voltage of 3V, and a rated capacity of 5Ah at a constant current of 0.2 coulomb until the lithium battery voltage is below 3V, and let it stand for 2 to 3 hours. Wait experimental use;

步骤1.2,用0.2库伦电流对根据步骤1.1静置后的锂电池进行恒流脉冲充电,每次充电锂电池额定容量的10%后,使锂电池断路并静置5分钟,实时测量充电过程中每个静置时间段内的锂电池端电压Uc,OCV,并找出充电过程中每个静置时间段内锂电池端电压最小值Uc,OCV,min,直至锂电池充满;Step 1.2, use 0.2 coulomb current to charge the lithium battery after standing according to step 1.1 with constant current pulse, after each charge of 10% of the rated capacity of the lithium battery, disconnect the lithium battery and let it stand for 5 minutes, and measure the charging process in real time. The terminal voltage U c, OCV of the lithium battery in each resting time period, and find out the minimum value U c, OCV, min of the terminal voltage of the lithium battery in each resting time period during the charging process, until the lithium battery is fully charged;

步骤1.3,用0.2库伦电流对根据步骤1.2充满电的锂电池进行恒流脉冲放电,每次放电锂电池额定容量的10%后,使锂电池断路并静置5分钟,实时测量放电过程中每个静置时间段内的锂电池端电压Ud,OCV,并找出放电过程中每个静置时间段内锂电池端电压最大值Ud,OCV,max,直至锂电池放空;Step 1.3, use 0.2 coulomb current to discharge the lithium battery fully charged according to step 1.2 with constant current pulse. After each discharge of 10% of the rated capacity of the lithium battery, disconnect the lithium battery and let it stand for 5 minutes. The terminal voltage U d, OCV of the lithium battery in each resting time period, and find out the maximum value U d, OCV, max of the terminal voltage of the lithium battery in each resting time period during the discharge process, until the lithium battery is empty;

步骤1.4,将步骤1.2中得到的充电过程中每个静置时间段内锂电池端电压最小值Uc,OCV,min与步骤1.3中得到的放电过程中与充电过程中SOC对应相等的静置时间段内锂电池端电压最大值Ud,OCV,max相加并取平均值,作为快速标定的开路电压OCV,共得到10个开路电压OCV;Step 1.4, compare the minimum value U c, OCV, min of the terminal voltage of the lithium battery in each resting time period during the charging process obtained in step 1.2 with the resting time corresponding to the SOC during the discharging process and the charging process obtained in step 1.3. The maximum value U d, OCV and max of the terminal voltage of the lithium battery in the segment are added and averaged, as the open-circuit voltage OCV of the rapid calibration, and a total of 10 open-circuit voltage OCVs are obtained;

步骤1.5,根据步骤1.4中得到的10个开路电压OCV,在整个SOC变化范围内,即0%~100%范围内,对所得实验数据进行多段式直线拟合,并得到锂电池SOC与开路电压OCV关系曲线;Step 1.5, according to the 10 open circuit voltage OCVs obtained in step 1.4, within the entire SOC variation range, that is, within the range of 0% to 100%, perform multi-segment linear fitting on the obtained experimental data, and obtain the lithium battery SOC and open circuit voltage. OCV relationship curve;

所述的多段式直线拟合中,每段长度ΔSOC=10%,每段内所拟合的SOC与开路电压OCV表达式为:In the multi-segment straight line fitting, the length of each segment is ΔSOC=10%, and the expressions of the fitted SOC and open circuit voltage OCV in each segment are:

OCVi=ki*SOCi+di i=1,2,3....10 (1)OCV i = ki *SOC i +d i i = 1, 2, 3.... 10 (1)

其中,OCVi为第i段锂电池的开路电压OCV,SOCi为第i段锂电池的SOC,ki为第i段所拟合的SOC与开路电压OCV直线的斜率,di为第i段所拟合的SOC与开路电压OCV直线的截距;Among them, OCV i is the open circuit voltage OCV of the i-th lithium battery, SOC i is the SOC of the i-th lithium battery, ki is the slope of the straight line between the SOC and the open-circuit voltage OCV fitted by the i -th segment, and d i is the i-th The intercept of the SOC fitted by the segment and the open circuit voltage OCV straight line;

步骤2,根据步骤1中得到的锂电池SOC与开路电压OCV关系曲线,并结合锂电池戴维南等效电路与安时积分公式,建立用于SOC估计的锂电池离散状态空间模型;Step 2: According to the relationship between the lithium battery SOC and the open circuit voltage OCV obtained in step 1, and combined with the lithium battery Thevenin equivalent circuit and the ampere-hour integral formula, establish a lithium battery discrete state space model for SOC estimation;

离散状态方程:Discrete equation of state:

离散观测方程:Discrete observation equation:

其中,Vt(k)为锂电池k时刻的端电压,SOC(k)为锂电池k时刻的SOC,V1(k)为锂电池k时刻的极化电压,Vt(k+1)为锂电池(k+1)时刻的端电压,SOC(k+1)为锂电池(k+1)时刻的SOC,V1(k+1)为锂电池(k+1)时刻的极化电压,T为采样时间,Is(k)为k时刻流过锂电池的电流值,γ为扰动输入矩阵,ξ(k)为有界标量扰动输入,y(k)为锂电池k时刻的输出量,a1=1/R1C1,a11=kia1,a2=1/R0CN,a22=kia2,b1=ki/CN+1/C1+R0/R1C1,b2=1/C1,R1为锂电池的极化电阻,C1为锂电池的极化电容,R0为锂电池的欧姆内阻,CN为锂电池的标称容量;Among them, V t (k) is the terminal voltage of the lithium battery at time k, SOC(k) is the SOC of the lithium battery at time k, V 1 (k) is the polarization voltage of the lithium battery at time k, and V t (k+1) is the terminal voltage of the lithium battery (k+1), SOC(k+1) is the SOC of the lithium battery (k+1), and V 1 (k+1) is the polarization of the lithium battery (k+1) voltage, T is the sampling time, I s (k) is the current value flowing through the lithium battery at time k, γ is the disturbance input matrix, ξ(k) is the bounded scalar disturbance input, and y(k) is the lithium battery at time k. Output, a 1 =1/R 1 C 1 , a 11 = ki a 1 , a 2 =1/R 0 CN , a 22 = ki a 2 , b 1 = ki / CN +1/ C 1 +R 0 /R 1 C 1 , b 2 =1/C 1 , R 1 is the polarization resistance of the lithium battery, C 1 is the polarization capacitance of the lithium battery, R 0 is the ohmic internal resistance of the lithium battery, C N is the nominal capacity of the lithium battery;

步骤3,对锂电池进行脉冲放电实验,辨识步骤2中的锂电池离散状态空间模型参数;Step 3, perform a pulse discharge experiment on the lithium battery, and identify the parameters of the discrete state space model of the lithium battery in step 2;

步骤3.1,首先将容量为5Ah的锂电池以电流I放电5分钟,然后停止放电并静置10分钟,接着再以同样的电流I放电5分钟,将此20分钟作为一个脉冲放电周期,充放电设备记录锂电池一个脉冲放电周期中的端电压Ubattery变化;Step 3.1, first discharge the lithium battery with a capacity of 5Ah at the current I for 5 minutes, then stop the discharge and let it stand for 10 minutes, then discharge it at the same current I for 5 minutes, use this 20 minutes as a pulse discharge cycle, charge and discharge The device records the change of the terminal voltage U battery in a pulse discharge cycle of the lithium battery;

步骤3.2,根据步骤3.1中记录的锂电池一个脉冲放电周期中的端电压Ubattery变化,分析端电压变化曲线特性,辨识锂电池模型中的参数,所述参数包括欧姆内阻R0,极化电阻R1,极化电容C1Step 3.2, according to the change of the terminal voltage U battery in one pulse discharge cycle of the lithium battery recorded in step 3.1, analyze the characteristics of the terminal voltage change curve, and identify the parameters in the lithium battery model, the parameters include ohmic internal resistance R 0 , polarization resistance R 1 , polarization capacitance C 1 ;

步骤4,分别通过电压传感器和电流传感器实时采集工况下锂电池的端电压Vt(k)和充放电电流Is(k);Step 4: Collect the terminal voltage V t (k) and the charging and discharging current Is ( k ) of the lithium battery in real time through the voltage sensor and the current sensor, respectively;

步骤5,基于步骤2中建立的锂电池离散状态空间模型设计离散变结构观测器,并将步骤4中采集到的锂电池端电压Vt(k)和充放电电流Is(k)作为信号输入,实时估计锂电池SOC;Step 5: Design a discrete variable structure observer based on the discrete state space model of the lithium battery established in step 2, and input the lithium battery terminal voltage V t (k) and charge-discharge current Is ( k ) collected in step 4 as signal input , real-time estimation of lithium battery SOC;

所述离散变结构观测器的方程式如下:The equation of the discrete variable structure observer is as follows:

其中,x(k)为锂电池k时刻的状态变量, 为x(k)的估计值,x(k+1)为锂电池(k+1)时刻的状态变量,为x(k+1)的估计值,为y(k)的估计值,λ为正反馈输入矩阵,v(k)为外在正反馈补偿信号,h为离散变结构观测器的增益矩阵,G为离散变结构观测器的系统矩阵,H为离散变结构观测器的输入矩阵,C为离散变结构观测器的输出矩阵,C=[1 0 0],并设Cλ≠0。Among them, x(k) is the state variable of the lithium battery at time k, is the estimated value of x(k), x(k+1) is the state variable at the moment of lithium battery (k+1), is the estimated value of x(k+1), is the estimated value of y(k), λ is the positive feedback input matrix, v(k) is the external positive feedback compensation signal, h is the gain matrix of the discrete variable structure observer, G is the system matrix of the discrete variable structure observer, H is the input matrix of the discrete variable structure observer, C is the output matrix of the discrete variable structure observer, C=[1 0 0], and set Cλ≠0.

优选地,步骤2中的戴维南等效电路模型为:Preferably, the Thevenin equivalent circuit model in step 2 is:

Vt=V1+IsR0+OCV (6)V t =V 1 +I s R 0 +OCV (6)

其中,Vt为锂电池的端电压,V1为锂电池的极化电压,为V1的微分,Is为流过锂电池的瞬时电流,OCV为锂电池的开路电压。Among them, V t is the terminal voltage of the lithium battery, V 1 is the polarization voltage of the lithium battery, is the differential of V 1 , Is is the instantaneous current flowing through the lithium battery, and OCV is the open circuit voltage of the lithium battery.

优选地,步骤2中的安时积分公式为:Preferably, the ampere-hour integral formula in step 2 is:

其中,SOC0为锂电池SOC初值,SOCt为锂电池SOC瞬时值,CN为锂电池的标称容量,Is为流过锂电池的瞬时电流,t0为充放电过程的初始时刻,t1为充放电过程的终止时刻。Among them, SOC 0 is the initial value of the SOC of the lithium battery, SOC t is the instantaneous value of the SOC of the lithium battery, CN is the nominal capacity of the lithium battery, Is is the instantaneous current flowing through the lithium battery, and t 0 is the initial moment of the charging and discharging process , t 1 is the termination time of the charging and discharging process.

优选地,步骤2中的有界标量扰动输入ξ(k)满足以下表达式:Preferably, the bounded scalar perturbation input ξ(k) in step 2 satisfies the following expression:

|ξ(k)|≤ξ0||e(k)|| (9)|ξ(k)|≤ξ 0 ||e(k)|| (9)

其中,ξ0为上限参数,为正数,取0.05~0.15,e(k)为锂电池k时刻的状态误差,即e(k)=x(k+1)-x(k)。Among them, ξ 0 is the upper limit parameter, which is a positive number, taking 0.05 to 0.15, and e(k) is the state error of the lithium battery at time k, that is, e(k)=x(k+1)-x(k).

优选地,步骤4中所述电压传感器和电流传感器分别为霍尔电压传感器和霍尔电流传感器。Preferably, the voltage sensor and the current sensor in step 4 are respectively a Hall voltage sensor and a Hall current sensor.

优选地,步骤5中的离散变结构观测器的增益矩阵h按照以下公式确定:Preferably, the gain matrix h of the discrete variable structure observer in step 5 is determined according to the following formula:

其中,CT为离散变结构观测器的输出矩阵C的转置矩阵,P为离散藜卡提方程的正定对称矩阵解,离散藜卡提方程中的GT为离散变结构观测器的系统矩阵G的转置矩阵,Q为任意的半正定对称矩阵,本发明设Q=E,E为3×3的单位矩阵,α为正实数,取值范围为1~5。Among them, C T is the transpose matrix of the output matrix C of the discrete variable structure observer, and P is the discrete Quincatti equation The positive definite symmetric matrix solution of the The identity matrix of 3, α is a positive real number, and its value ranges from 1 to 5.

优选地,步骤5中的正反馈输入矩阵λ按照以下公式确定:Preferably, the positive feedback input matrix λ in step 5 is determined according to the following formula:

λ=vH (11)λ=vH (11)

其中,v为正实数,取v=0.2~0.8。Among them, v is a positive real number, take v=0.2~0.8.

优选地,步骤5中的外在正反馈补偿信号v(k)按照以下公式确定:Preferably, the external positive feedback compensation signal v(k) in step 5 is determined according to the following formula:

其中,e(k)为锂电池k时刻的状态误差,即e(k)=x(k+1)-x(k),W(k)为正值函数且满足|W(k)|<1,veq(k)为等效外在正反馈补偿信号,由公式veq(k)=(Cλ)-1(CGe(k)+Cγξ(k))确定,其中有界标量扰动输入ξ(k)满足|ξ(k)|≤ξ0×||e(k)||,ξ0为上限参数,为正数,取0.05~0.15。Among them, e(k) is the state error of the lithium battery at time k, that is, e(k)=x(k+1)-x(k), W(k) is a positive function and satisfies |W(k)|< 1, v eq (k) is the equivalent external positive feedback compensation signal, which is determined by the formula v eq (k)=(Cλ) -1 (CGe(k)+Cγξ(k)), in which there is a boundary scalar disturbance input ξ (k) satisfies |ξ(k)|≤ξ 0 ×||e(k)||, ξ 0 is the upper limit parameter, which is a positive number and takes 0.05 to 0.15.

与现有技术相比,本发明具有如下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1、对锂电池性能模型精度要求不高,能够有效补偿建模误差。1. The accuracy of the lithium battery performance model is not high, and the modeling error can be effectively compensated.

2、不存在扩展卡尔曼滤波算法中对锂电池模型线性化不当而引起的离散变结构观测器发散问题,能严格保证算法的收敛性。2. There is no discrete variable structure observer divergence problem caused by improper linearization of the lithium battery model in the extended Kalman filter algorithm, which can strictly ensure the convergence of the algorithm.

3、采用离线辨识方法对锂电池等效电路模型参数进行辨识时,当温度、老化、寿命等因素引起锂电池内部参数发生变化,仍能准确的估计SOC,表现出较强的鲁棒性。3. When using the offline identification method to identify the parameters of the equivalent circuit model of the lithium battery, when the internal parameters of the lithium battery change due to factors such as temperature, aging, and life, the SOC can still be accurately estimated, showing strong robustness.

附图说明Description of drawings

图1是本发明锂电池SOC估计方法流程示意图。FIG. 1 is a schematic flowchart of a method for estimating the SOC of a lithium battery according to the present invention.

图2是锂电池SOC与开路电压OCV的关系曲线示意图。FIG. 2 is a schematic diagram of the relationship between the SOC of the lithium battery and the open circuit voltage OCV.

图3是锂电池戴维南等效电路。Figure 3 is the Thevenin equivalent circuit of a lithium battery.

图4是脉冲放电实验中锂电池端电压变化曲线。Fig. 4 is the change curve of the terminal voltage of the lithium battery in the pulse discharge experiment.

具体实施方式Detailed ways

下面将结合附图及实施例对本发明作进一步详细说明,但本发明的实施例不限于此。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments, but the embodiments of the present invention are not limited thereto.

图1是本发明锂电池SOC估计方法流程示意图,由该图可见,本发明提供的一种基于离散变结构观测器的锂电池SOC估计方法,包括以下步骤:FIG. 1 is a schematic flowchart of a method for estimating SOC of a lithium battery according to the present invention. It can be seen from the figure that a method for estimating SOC of a lithium battery based on a discrete variable structure observer provided by the present invention includes the following steps:

步骤1,对锂电池进行快速标定实验,获取SOC与开路电压OCV关系曲线;Step 1, perform a rapid calibration experiment on the lithium battery, and obtain the relationship curve between SOC and open circuit voltage OCV;

步骤1.1,在室温下,对充电截止电压为4.2V、放电截止电压为3V、额定容量为5Ah的锂电池0.2库伦恒流放电直到锂电池电压到3V以下,静置2~3小时,等待实验使用;Step 1.1, at room temperature, discharge the lithium battery with a charge cut-off voltage of 4.2V, a discharge cut-off voltage of 3V, and a rated capacity of 5Ah at a constant current of 0.2 coulomb until the lithium battery voltage is below 3V, and stand for 2 to 3 hours. Wait for the experiment use;

步骤1.2,用0.2库伦电流对根据步骤1.1静置后的锂电池进行恒流脉冲充电,每次充电锂电池额定容量的10%后,使锂电池断路并静置5分钟,实时测量充电过程中每个静置时间段内的锂电池端电压Uc,OCV,并找出充电过程中每个静置时间段内锂电池端电压最小值Uc,OCV,min,直至锂电池充满;Step 1.2, use 0.2 coulomb current to charge the lithium battery after standing according to step 1.1 with constant current pulse, after each charge of 10% of the rated capacity of the lithium battery, disconnect the lithium battery and let it stand for 5 minutes, and measure the charging process in real time. The terminal voltage U c, OCV of the lithium battery in each resting time period, and find out the minimum value U c, OCV, min of the terminal voltage of the lithium battery in each resting time period during the charging process, until the lithium battery is fully charged;

步骤1.3,用0.2库伦电流对根据步骤1.2充满电的锂电池进行恒流脉冲放电,每次放电锂电池额定容量的10%后,使锂电池断路并静置5分钟,实时测量放电过程中每个静置时间段内的锂电池端电压Ud,OCV,并找出放电过程中每个静置时间段内锂电池端电压最大值Ud,OCV,max,直至锂电池放空;Step 1.3, use 0.2 coulomb current to discharge the lithium battery fully charged according to step 1.2 with constant current pulse. After each discharge of 10% of the rated capacity of the lithium battery, disconnect the lithium battery and let it stand for 5 minutes. The terminal voltage U d, OCV of the lithium battery in each resting time period, and find out the maximum value U d, OCV, max of the terminal voltage of the lithium battery in each resting time period during the discharge process, until the lithium battery is empty;

步骤1.4,将步骤1.2中得到的充电过程中每个静置时间段内锂电池端电压最小值Uc,OCV,min与步骤1.3中得到的放电过程中与充电过程中SOC对应相等的静置时间段内锂电池端电压最大值Ud,OCV,max相加并取平均值,作为快速标定的开路电压OCV,共得到10个开路电压OCV;Step 1.4, compare the minimum value U c, OCV, min of the terminal voltage of the lithium battery in each resting time period during the charging process obtained in step 1.2 with the resting time corresponding to the SOC during the discharging process and the charging process obtained in step 1.3. The maximum value U d, OCV and max of the terminal voltage of the lithium battery in the segment are added and averaged, as the open-circuit voltage OCV of the rapid calibration, and a total of 10 open-circuit voltage OCVs are obtained;

步骤1.5,根据步骤1.4中得到的10个开路电压OCV,在整个SOC变化范围内,即0%~100%范围内,对所得实验数据进行多段式直线拟合,并得到锂电池SOC与开路电压OCV关系曲线;Step 1.5, according to the 10 open circuit voltage OCVs obtained in step 1.4, within the entire SOC variation range, that is, within the range of 0% to 100%, perform multi-segment linear fitting on the obtained experimental data, and obtain the lithium battery SOC and open circuit voltage. OCV relationship curve;

所述的多段式直线拟合中,每段长度ΔSOC=10%,每段内所拟合的SOC与开路电压OCV表达式为:In the multi-segment straight line fitting, the length of each segment is ΔSOC=10%, and the expressions of the fitted SOC and open circuit voltage OCV in each segment are:

OCVi=ki*SOCi+di i=1,2,3....10 (1)OCV i = ki *SOC i +d i i = 1, 2, 3.... 10 (1)

其中,OCVi为第i段锂电池的开路电压OCV,SOCi为第i段锂电池的SOC,ki为第i段所拟合的SOC与开路电压OCV直线的斜率,di为第i段所拟合的SOC与开路电压OCV直线的截距。Among them, OCV i is the open circuit voltage OCV of the i-th lithium battery, SOC i is the SOC of the i-th lithium battery, ki is the slope of the straight line between the SOC and the open-circuit voltage OCV fitted by the i -th segment, and d i is the i-th The intercept of the SOC fitted by the segment and the open circuit voltage OCV line.

在本实施例中,图2给出了拟合得到的锂电池SOC与开路电压OCV的关系曲线,其具体参数可见表1。In this embodiment, FIG. 2 shows the relationship curve between the SOC of the lithium battery and the open circuit voltage OCV obtained by fitting, and the specific parameters thereof can be seen in Table 1.

表1:锂电池SOC与开路电压OCV曲线参数表Table 1: Lithium battery SOC and open circuit voltage OCV curve parameter table

ii 11 22 33 44 55 SOC<sub>i</sub>SOC<sub>i</sub> 0%-10%0%-10% 10%-20%10%-20% 20%-30%20%-30% 30%-40%30%-40% 40%-50%40%-50% k<sub>i</sub>k<sub>i</sub> 6.9336.933 0.4000.400 0.1780.178 0.2000.200 0.0110.011 d<sub>i</sub>d<sub>i</sub> 3.01003.0100 3.66333.6633 3.70773.7077 3.70113.7011 3.77673.7767 ii 66 77 88 99 1010 SOC<sub>i</sub>SOC<sub>i</sub> 50%-60%50%-60% 60%-70%60%-70% 70%-80%70%-80% 80%-90%80%-90% 90%-100%90%-100% k<sub>i</sub>k<sub>i</sub> 0.0250.025 0.0250.025 0.0110.011 0.0250.025 3.0923.092 d<sub>i</sub>d<sub>i</sub> 3.76973.7697 3.76973.7697 3.77953.7795 3.76833.7683 1.0081.008

步骤2,根据步骤1中得到的锂电池SOC与开路电压OCV关系曲线,并结合锂电池戴维南等效电路与安时积分公式,建立用于SOC估计的锂电池离散状态空间模型,其过程如下。Step 2, according to the relationship between the lithium battery SOC and the open circuit voltage OCV obtained in step 1, and combining the lithium battery Thevenin equivalent circuit and the ampere-hour integral formula, a lithium battery discrete state space model for SOC estimation is established. The process is as follows.

步骤2.1,基于锂电池戴维南等效电路,建立一阶等效电路模型;Step 2.1, establish a first-order equivalent circuit model based on the Thevenin equivalent circuit of the lithium battery;

图3为锂电池戴维南等效电路图,其中,OCV为锂电池的开路电压,R0为锂电池的欧姆内阻,R1为锂电池的极化电阻,C1为锂电池的极化电容。Figure 3 is a Thevenin equivalent circuit diagram of a lithium battery, in which OCV is the open circuit voltage of the lithium battery, R 0 is the ohmic internal resistance of the lithium battery, R 1 is the polarization resistance of the lithium battery, and C 1 is the polarization capacitance of the lithium battery.

Vt=V1+IsR0+OCV (2)V t =V 1 +I s R 0 +OCV (2)

其中,Vt为锂电池的端电压,V1为锂电池的极化电压,为V1的微分,Is为流过锂电池的瞬时电流。Among them, V t is the terminal voltage of the lithium battery, V 1 is the polarization voltage of the lithium battery, Is the differential of V 1 , I s is the instantaneous current flowing through the lithium battery.

步骤2.2,根据步骤2.1中建立的锂电池一阶等效电路模型,结合安时积分公式,建立锂电池连续状态空间模型;Step 2.2, according to the first-order equivalent circuit model of the lithium battery established in step 2.1, combined with the ampere-hour integral formula, establish a continuous state space model of the lithium battery;

安时积分公式为:The ampere-hour integral formula is:

其中,SOC0为锂电池SOC初值,SOCt为锂电池SOC瞬时值,CN为锂电池的标称容量,Is为流过锂电池的瞬时电流,t0为充放电过程的初始时刻,t1为充放电过程的终止时刻。Among them, SOC 0 is the initial value of the SOC of the lithium battery, SOC t is the instantaneous value of the SOC of the lithium battery, CN is the nominal capacity of the lithium battery, Is is the instantaneous current flowing through the lithium battery, and t 0 is the initial moment of the charging and discharging process , t 1 is the termination time of the charging and discharging process.

联立公式(1)、(2)、(4),得到:Simultaneously formula (1), (2), (4), get:

其中,为锂电池SOC的微分。in, is the derivative of the lithium battery SOC.

联立公式(1)、(2)、(3),得到:Combining formulas (1), (2), (3), we get:

其中,为锂电池端电压Vt的微分。in, It is the differential of the terminal voltage V t of the lithium battery.

选取锂电池的状态变量为输入量为电流I,输出量为端电压Vt,设di=0,根据公式(3)、(5)、(6)建立锂电池的连续状态空间模型:The state variable of the lithium battery is selected as The input quantity is the current I, and the output quantity is the terminal voltage V t , set d i =0, and establish the continuous state space model of the lithium battery according to formulas (3), (5) and (6):

连续状态方程:Continuous state equation:

连续观测方程:Continuous observation equation:

其中,为Vt的微分,为SOC的微分,为V1的微分,y为锂电池的输出量,即为端电压Vt,a1=1/R1C1,a11=kia1,a2=1/R0CN,a22=kia2,b1=ki/CN+1/C1+R0/R1C1,b2=1/C1in, is the differential of V t , is the differential of SOC, is the differential of V 1 , y is the output of the lithium battery, that is, the terminal voltage V t , a 1 =1/R 1 C 1 , a 11 = ki a 1 , a 2 =1/R 0 CN , a 22 = ki a 2 , b 1 = ki /C N +1/C 1 +R 0 /R 1 C 1 , b 2 =1/C 1 .

步骤2.3,将步骤2.2中建立的锂电池连续状态空间模型离散化,得到锂电池离散状态空间模型;Step 2.3, discretizing the continuous state space model of the lithium battery established in step 2.2 to obtain a discrete state space model of the lithium battery;

离散状态方程:Discrete equation of state:

离散观测方程:Discrete observation equation:

其中,Vt(k)为锂电池k时刻的端电压,SOC(k)为锂电池k时刻的SOC,V1(k)为锂电池k时刻的极化电压,Vt(k+1)为锂电池(k+1)时刻的端电压,SOC(k+1)为锂电池(k+1)时刻的SOC,V1(k+1)为锂电池(k+1)时刻的极化电压,y(k)为锂电池k时刻的输出量,Is(k)为k时刻流过锂电池的电流值,T为采样时间,在本例中取值T=0.001s。Among them, V t (k) is the terminal voltage of the lithium battery at time k, SOC(k) is the SOC of the lithium battery at time k, V 1 (k) is the polarization voltage of the lithium battery at time k, and V t (k+1) is the terminal voltage of the lithium battery (k+1), SOC(k+1) is the SOC of the lithium battery (k+1), and V 1 (k+1) is the polarization of the lithium battery (k+1) Voltage, y(k) is the output of the lithium battery at time k, Is (k) is the current value flowing through the lithium battery at time k , T is the sampling time, in this example the value T=0.001s.

步骤2.4,在步骤2.3中建立的锂电池离散状态空间模型基础上增加不确定项γξ(k),用于补偿非线性、外在扰动和建模误差;Step 2.4, adding an uncertainty term γξ(k) to the discrete state space model of the lithium battery established in step 2.3 to compensate for nonlinearity, external disturbances and modeling errors;

修正后的离散状态方程:The modified discrete equation of state:

离散观测方程:Discrete observation equation:

其中,令k时刻的状态γ为扰动输入矩阵,本例中取ξ(k)为有界标量扰动输入,且满足|ξ(k)|≤ξ0||e(k)||,e(k)为锂电池k时刻的状态误差,即e(k)=x(k+1)-x(k),ξ0为上限参数,在本实施例中,取值ξ0=0.1。Among them, let the state at time k γ is the perturbation input matrix, in this example, take ξ(k) is the bounded scalar disturbance input, and satisfy |ξ(k)|≤ξ 0 ||e(k)||, e(k) is the state error of the lithium battery at time k, that is, e(k)= x(k+1)-x(k), ξ 0 is an upper limit parameter, and in this embodiment, the value ξ 0 =0.1.

步骤3,对锂电池进行脉冲放电实验,辨识步骤2中的锂电池模型参数,所述参数包括欧姆内阻R0,极化电阻R1,极化电容C1,其过程为,In step 3, a pulse discharge experiment is performed on the lithium battery, and the parameters of the lithium battery model in step 2 are identified. The parameters include ohmic internal resistance R 0 , polarization resistance R 1 , and polarization capacitance C 1 , and the process is:

步骤3.1,首先将容量为5Ah的锂电池以1C电流放电5分钟,然后停止放电并静置10分钟,接着再以1C电流放电5分钟,将此20分钟作为一个脉冲放电周期,充放电设备记录锂电池一个脉冲放电周期中的端电压Ubattery变化;Step 3.1, first discharge the lithium battery with a capacity of 5Ah at a current of 1C for 5 minutes, then stop the discharge and let it stand for 10 minutes, and then discharge it at a current of 1C for 5 minutes. This 20 minutes is regarded as a pulse discharge cycle, and the charging and discharging equipment records The change of the terminal voltage U battery in a pulse discharge cycle of the lithium battery;

步骤3.2,根据步骤3.1中记录的锂电池一个脉冲放电周期中的端电压Ubattery变化,分析端电压变化曲线特性,辨识步骤2中的锂电池模型参数。Step 3.2, according to the change of the terminal voltage U battery in one pulse discharge cycle of the lithium battery recorded in step 3.1, analyze the characteristics of the terminal voltage change curve, and identify the parameters of the lithium battery model in step 2.

图4为步骤3.1中得到的锂电池在一个脉冲放电周期中的端电压Ubattery变化曲线示意图,(U2-U1)为脉冲放电结束瞬间t=300s时欧姆内阻R0上产生的压降;(U3-U2)为静置阶段t=300s~900s中R1,C1回路两端变化的电压;在静置阶段,锂电池端电压Ubattery经3τ时间上升到(U3-U2)的95%,测出时间3τ,其中时间常数τ=C1R1,则锂电池的欧姆内阻R0、极化电阻R1与极化电容C1按照以下公式计算:Figure 4 is a schematic diagram of the change curve of the terminal voltage U battery of the lithium battery obtained in step 3.1 in one pulse discharge cycle, (U 2 -U 1 ) is the voltage generated on the ohmic internal resistance R 0 at the moment t=300s at the end of the pulse discharge drop; (U 3 -U 2 ) is the voltage at both ends of the R 1 and C 1 loops during the resting stage t=300s~900s; in the resting stage, the lithium battery terminal voltage U battery rises to (U 3 - 95% of U 2 ), and the time 3τ is measured, where the time constant τ=C 1 R 1 , then the ohmic internal resistance R 0 , the polarization resistance R 1 and the polarization capacitance C 1 of the lithium battery are calculated according to the following formulas:

步骤4,分别使用霍尔电压传感器和霍尔电流传感器实时采集工况下锂电池的端电压Vt(k)和充放电电流Is(k)。In step 4, the terminal voltage V t (k) and the charging and discharging current Is ( k ) of the lithium battery under the working conditions are collected in real time by using the Hall voltage sensor and the Hall current sensor respectively.

步骤5,基于步骤2中建立的锂电池离散状态空间模型设计离散变结构观测器,并将步骤4中采集到的锂电池端电压Vt(k)和充放电电流Is(k)作为信号输入,实时估计锂电池SOC,其过程如下:Step 5: Design a discrete variable structure observer based on the discrete state space model of the lithium battery established in step 2, and input the lithium battery terminal voltage V t (k) and charge-discharge current Is ( k ) collected in step 4 as signal input , real-time estimation of lithium battery SOC, the process is as follows:

步骤5.1,基于步骤2中建立的锂电池离散状态空间模型设计离散变结构观测器;Step 5.1, design a discrete variable structure observer based on the discrete state space model of the lithium battery established in step 2;

其中,为x(k)的估计值,为x(k+1)的估计值,为y(k)的估计值,h为离散变结构观测器的增益矩阵,λ为正反馈输入矩阵,v(k)为外在正反馈补偿信号,G为离散变结构能观测器的系统矩阵,H为离散变结构观测器的输入矩阵,C为离散变结构观测器的输出矩阵,C=[1 0 0]。in, is the estimated value of x(k), is the estimated value of x(k+1), is the estimated value of y(k), h is the gain matrix of the discrete variable structure observer, λ is the positive feedback input matrix, v(k) is the external positive feedback compensation signal, and G is the system matrix of the discrete variable structure energy observer , H is the input matrix of the discrete variable structure observer, C is the output matrix of the discrete variable structure observer, C=[1 0 0].

步骤5.2,将步骤4中采集到的锂电池端电压Vt(k)和充放电电流I(k)作为信号输入,利用所设计的离散变结构观测器实时估计锂电池SOC。In step 5.2, the lithium battery terminal voltage V t (k) and the charge and discharge current I (k) collected in step 4 are input as signals, and the designed discrete variable structure observer is used to estimate the lithium battery SOC in real time.

在本实施例中,离散变结构观测器的增益矩阵h按照以下公式确定:In this embodiment, the gain matrix h of the discrete variable structure observer is determined according to the following formula:

其中,,CT为离散变结构观测器的输出矩阵C的转置矩阵,P为离散藜卡提方程的正定对称矩阵解,离散藜卡提方程中的GT为离散变结构观测器的系统矩阵G的转置矩阵,Q为任意的半正定对称矩阵,本发明设Q=E,E为3×3的单位矩阵,α为正实数,本案例取值α=1。Among them, C T is the transpose matrix of the output matrix C of the discrete variable structure observer, and P is the discrete Quincatti equation The positive definite symmetric matrix solution of the The identity matrix of 3, α is a positive real number, the value α=1 in this case.

在本实施例中,正反馈输入矩阵λ按照以下公式确定:In this embodiment, the positive feedback input matrix λ is determined according to the following formula:

λ=vH (19)λ=vH (19)

其中,v为正实数,本案例取值v=0.5。Among them, v is a positive real number, and the value of this case is v=0.5.

在本实施例中,外在正反馈补偿信号v(k)按照以下公式确定:In this embodiment, the external positive feedback compensation signal v(k) is determined according to the following formula:

其中,e(k)为锂电池k时刻的状态误差,即e(k)=x(k+1)-x(k),W(k)为正值函数且满足|W(k)|<1,Veq(k)为等效外在正反馈补偿信号,由公式veq(k)=(Cλ)-1(CGe(k)+Cγξ(k))确定,式中有界标量扰动输入ξ(k)满足|ξ(k)|≤0.1×||e(k)||。Among them, e(k) is the state error of the lithium battery at time k, that is, e(k)=x(k+1)-x(k), W(k) is a positive function and satisfies |W(k)|< 1. V eq (k) is the equivalent external positive feedback compensation signal, which is determined by the formula v eq (k)=(Cλ) -1 (CGe(k)+Cγξ(k)), and there is a boundary scalar disturbance input in the formula ξ(k) satisfies |ξ(k)|≤0.1×||e(k)||.

Claims (9)

1.一种基于离散变结构观测器的锂电池SOC估计方法,包括对工况下锂电池的端电压和充放电电流的采集,其特征在于,主要步骤如下:1. a method for estimating the SOC of a lithium battery based on a discrete variable structure observer, comprising the collection of the terminal voltage and the charging and discharging current of the lithium battery under working conditions, characterized in that the main steps are as follows: 步骤1,对锂电池进行快速标定实验,获取锂电池SOC与开路电压OCV之间的关系曲线;Step 1, perform a rapid calibration experiment on the lithium battery, and obtain the relationship curve between the SOC and the open circuit voltage OCV of the lithium battery; 步骤1.1,在室温下,对充电截止电压为4.2V、放电截止电压为3V、额定容量为5Ah的锂电池以0.2库伦恒流放电直到锂电池电压到3V以下,静置2~3小时,等待实验使用;Step 1.1, at room temperature, discharge the lithium battery with a charge cut-off voltage of 4.2V, a discharge cut-off voltage of 3V, and a rated capacity of 5Ah at a constant current of 0.2 coulomb until the lithium battery voltage is below 3V, and let it stand for 2 to 3 hours. Wait experimental use; 步骤1.2,用0.2库伦电流对根据步骤1.1静置后的锂电池进行恒流脉冲充电,每次充电锂电池额定容量的10%后,使锂电池断路并静置5分钟,实时测量充电过程中每个静置时间段内的锂电池端电压Uc,OCV,并找出充电过程中每个静置时间段内锂电池端电压最小值Uc,OCV,min,直至锂电池充满;Step 1.2, use 0.2 coulomb current to charge the lithium battery after standing according to step 1.1 with constant current pulse, after each charge of 10% of the rated capacity of the lithium battery, disconnect the lithium battery and let it stand for 5 minutes, and measure the charging process in real time. The terminal voltage U c, OCV of the lithium battery in each resting time period, and find out the minimum value U c, OCV, min of the terminal voltage of the lithium battery in each resting time period during the charging process, until the lithium battery is fully charged; 步骤1.3,用0.2库伦电流对根据步骤1.2充满电的锂电池进行恒流脉冲放电,每次放电锂电池额定容量的10%后,使锂电池断路并静置5分钟,实时测量放电过程中每个静置时间段内的锂电池端电压Ud,OCV,并找出放电过程中每个静置时间段内锂电池端电压最大值Ud,OCV,max,直至锂电池放空;Step 1.3, use 0.2 coulomb current to discharge the lithium battery fully charged according to step 1.2 with constant current pulse. After each discharge of 10% of the rated capacity of the lithium battery, disconnect the lithium battery and let it stand for 5 minutes. The terminal voltage U d, OCV of the lithium battery in each resting time period, and find out the maximum value U d, OCV, max of the terminal voltage of the lithium battery in each resting time period during the discharge process, until the lithium battery is empty; 步骤1.4,将步骤1.2中得到的充电过程中每个静置时间段内锂电池端电压最小值Uc,OCV,min与步骤1.3中得到的放电过程中与充电过程中SOC对应相等的静置时间段内锂电池端电压最大值Ud,OCV,max相加并取平均值,作为快速标定的开路电压OCV,共得到10个开路电压OCV;Step 1.4, compare the minimum value U c, OCV, min of the terminal voltage of the lithium battery in each resting time period during the charging process obtained in step 1.2 with the resting time corresponding to the SOC during the discharging process and the charging process obtained in step 1.3. The maximum value U d, OCV and max of the terminal voltage of the lithium battery in the segment are added and averaged, as the open-circuit voltage OCV of the rapid calibration, and a total of 10 open-circuit voltage OCVs are obtained; 步骤1.5,根据步骤1.4中得到的10个开路电压OCV,在整个锂电池SOC变化范围内,即0%~100%范围内,对所得实验数据进行多段式直线拟合,并得到锂电池SOC与开路电压OCV关系曲线;Step 1.5, according to the 10 open-circuit voltage OCVs obtained in step 1.4, in the entire lithium battery SOC variation range, that is, within the range of 0% to 100%, perform multi-segment linear fitting on the obtained experimental data, and obtain the lithium battery SOC and Open circuit voltage OCV curve; 所述的多段式直线拟合中,每段长度的ΔSOC=10%,每段内所拟合的锂电池SOC与开路电压OCV表达式为:In the multi-segment straight line fitting, the length of each segment is ΔSOC=10%, and the fitted lithium battery SOC and open circuit voltage OCV expressions in each segment are: OCVi=ki*SOCi+di,i=1,2,3....10 (1)OCV i = ki *SOC i +d i , i=1, 2, 3....10 (1) 其中,OCVi为第i段锂电池的开路电压OCV,SOCi为第i段锂电池的SOC,ki为第i段所拟合的SOC与开路电压OCV直线的斜率,di为第i段所拟合的SOC与开路电压OCV直线的截距;Among them, OCV i is the open circuit voltage OCV of the i-th lithium battery, SOC i is the SOC of the i-th lithium battery, ki is the slope of the straight line between the SOC and the open-circuit voltage OCV fitted by the i -th segment, and d i is the i-th The intercept of the SOC fitted by the segment and the open circuit voltage OCV straight line; 步骤2,根据步骤1中得到的锂电池SOC与开路电压OCV关系曲线,并结合锂电池戴维南等效电路与安时积分公式,建立用于锂电池SOC估计的锂电池离散状态空间模型;Step 2, according to the relationship between the lithium battery SOC and the open circuit voltage OCV obtained in step 1, and combining the lithium battery Thevenin equivalent circuit and the ampere-hour integral formula, establish a lithium battery discrete state space model for lithium battery SOC estimation; 离散状态方程:Discrete equation of state: 离散观测方程:Discrete observation equation: 其中,Vt(k)为锂电池k时刻的端电压,SOC(k)为锂电池k时刻的SOC,V1(k)为锂电池k时刻的极化电压;Vt(k+1)为锂电池(k+1)时刻的端电压,SOC(k+1)为锂电池(k+1)时刻的SOC,V1(k+1)为锂电池(k+1)时刻的极化电压;T为采样时间,Is(k)为k时刻流过锂电池的电流值,γ为扰动输入矩阵,ξ(k)为有界标量扰动输入,y(k)为锂电池k时刻的输出量,a1=1/R1C1,a11=kia1,a2=1/R0CN,a22=kia2,b1=ki/CN+1/C1+R0/R1C1,b2=1/C1,R1为锂电池的极化电阻,C1为锂电池的极化电容,R0为锂电池的欧姆内阻,CN为锂电池的标称容量;Among them, V t (k) is the terminal voltage of the lithium battery at time k, SOC(k) is the SOC of the lithium battery at time k, and V 1 (k) is the polarization voltage of the lithium battery at time k; V t (k+1) is the terminal voltage of the lithium battery (k+1), SOC(k+1) is the SOC of the lithium battery (k+1), and V 1 (k+1) is the polarization of the lithium battery (k+1) Voltage; T is the sampling time, I s (k) is the current value flowing through the lithium battery at time k, γ is the disturbance input matrix, ξ(k) is the bounded scalar disturbance input, and y(k) is the lithium battery at time k. Output, a 1 =1/R 1 C 1 , a 11 = ki a 1 , a 2 =1/R 0 CN , a 22 = ki a 2 , b 1 = ki / CN +1/ C 1 +R 0 /R 1 C 1 , b 2 =1/C 1 , R 1 is the polarization resistance of the lithium battery, C 1 is the polarization capacitance of the lithium battery, R 0 is the ohmic internal resistance of the lithium battery, C N is the nominal capacity of the lithium battery; 步骤3,对锂电池进行脉冲放电实验,辨识步骤2中的锂电池离散状态空间模型参数;Step 3, perform a pulse discharge experiment on the lithium battery, and identify the parameters of the discrete state space model of the lithium battery in step 2; 步骤3.1,首先将容量为5Ah的锂电池以电流I放电5分钟,然后停止放电并静置10分钟,接着再以同样的电流I放电5分钟,将此20分钟作为一个脉冲放电周期,充放电设备记录锂电池一个脉冲放电周期中的端电压Ubattery变化;Step 3.1, first discharge the lithium battery with a capacity of 5Ah at the current I for 5 minutes, then stop the discharge and let it stand for 10 minutes, then discharge it at the same current I for 5 minutes, use this 20 minutes as a pulse discharge cycle, charge and discharge The device records the change of the terminal voltage U battery in a pulse discharge cycle of the lithium battery; 步骤3.2,根据步骤3.1中记录的锂电池一个脉冲放电周期中的端电压Ubattery变化,分析端电压变化曲线特性,辨识锂电池离散状态空间模型中的参数,所述参数包括欧姆内阻R0,极化电阻R1,极化电容C1Step 3.2, according to the change of the terminal voltage U battery in one pulse discharge cycle of the lithium battery recorded in step 3.1, analyze the characteristics of the terminal voltage change curve, and identify the parameters in the discrete state space model of the lithium battery, and the parameters include the ohmic internal resistance R 0 , polarization resistance R 1 , polarization capacitance C 1 ; 步骤4,分别通过电压传感器和电流传感器实时采集工况下锂电池的端电压Vt(k)和充放电电流Is(k);Step 4: Collect the terminal voltage V t (k) and the charging and discharging current Is ( k ) of the lithium battery in real time through the voltage sensor and the current sensor, respectively; 步骤5,基于步骤2中建立的锂电池离散状态空间模型设计离散变结构观测器,并将步骤4中采集到的锂电池端电压Vt(k)和充放电电流Is(k)作为信号输入,实时估计锂电池SOC;Step 5: Design a discrete variable structure observer based on the discrete state space model of the lithium battery established in step 2, and input the lithium battery terminal voltage V t (k) and charge-discharge current Is ( k ) collected in step 4 as signal input , real-time estimation of lithium battery SOC; 所述离散变结构观测器的方程式如下:The equation of the discrete variable structure observer is as follows: 其中,x(k)为锂电池k时刻的状态变量, 为x(k)的估计值,x(k+1)为锂电池(k+1)时刻的状态变量,为x(k+1)的估计值,为y(k)的估计值,λ为正反馈输入矩阵,v(k)为外在正反馈补偿信号,h为离散变结构观测器的增益矩阵,G为离散变结构观测器的系统矩阵,H为离散变结构观测器的输入矩阵,C为离散变结构观测器的输出矩阵,C=[1 0 0],并设Cλ≠0。Among them, x(k) is the state variable of the lithium battery at time k, is the estimated value of x(k), x(k+1) is the state variable at the moment of lithium battery (k+1), is the estimated value of x(k+1), is the estimated value of y(k), λ is the positive feedback input matrix, v(k) is the external positive feedback compensation signal, h is the gain matrix of the discrete variable structure observer, G is the system matrix of the discrete variable structure observer, H is the input matrix of the discrete variable structure observer, C is the output matrix of the discrete variable structure observer, C=[1 0 0], and set Cλ≠0. 2.根据权利要求1所述的一种基于离散变结构观测器的锂电池SOC估计方法,其特征在于,步骤2中的戴维南等效电路模型为:2. The method for estimating the SOC of a lithium battery based on a discrete variable structure observer according to claim 1, wherein the Thevenin equivalent circuit model in step 2 is: Vt=V1+IsR0+OCV (6)V t =V 1 +I s R 0 +OCV (6) 其中,Vt为锂电池的端电压,V1为锂电池的极化电压,为V1的微分,Is为流过锂电池的瞬时电流,OCV为锂电池的开路电压。Among them, V t is the terminal voltage of the lithium battery, V 1 is the polarization voltage of the lithium battery, is the differential of V 1 , Is is the instantaneous current flowing through the lithium battery, and OCV is the open circuit voltage of the lithium battery. 3.根据权利要求1所述的一种基于离散变结构观测器的锂电池SOC估计方法,其特征在于,步骤2中的安时积分公式为:3. a kind of lithium battery SOC estimation method based on discrete variable structure observer according to claim 1, is characterized in that, the ampere-hour integral formula in step 2 is: 其中,SOC0为锂电池SOC初值,SOCt为锂电池SOC瞬时值,CN为锂电池的标称容量,Is为流过锂电池的瞬时电流,t0为充放电过程的初始时刻,t1为充放电过程的终止时刻。Among them, SOC 0 is the initial value of the SOC of the lithium battery, SOC t is the instantaneous value of the SOC of the lithium battery, CN is the nominal capacity of the lithium battery, Is is the instantaneous current flowing through the lithium battery, and t 0 is the initial moment of the charging and discharging process , t 1 is the termination time of the charging and discharging process. 4.根据权利要求1所述的一种基于离散变结构观测器的锂电池SOC估计方法,其特征在于,步骤2中的有界标量扰动输入ξ(k)满足以下表达式:4. The method for estimating lithium battery SOC based on discrete variable structure observer according to claim 1, wherein the bounded scalar disturbance input ξ(k) in step 2 satisfies the following expression: |ξ(k)|≤ξ0||e(k)|| (9)|ξ(k)|≤ξ 0 ||e(k)|| (9) 其中,ξ0为上限参数,为正数,取0.05~0.15,e(k)为锂电池k时刻的状态误差,即e(k)=x(k+1)-x(k)。Among them, ξ 0 is the upper limit parameter, which is a positive number, taking 0.05 to 0.15, and e(k) is the state error of the lithium battery at time k, that is, e(k)=x(k+1)-x(k). 5.根据权利要求1所述的一种基于离散变结构观测器的锂电池SOC估计方法,其特征在于,步骤4中所述电压传感器和电流传感器分别为霍尔电压传感器和霍尔电流传感器。5 . The method for estimating the SOC of a lithium battery based on a discrete variable structure observer according to claim 1 , wherein the voltage sensor and the current sensor in step 4 are respectively a Hall voltage sensor and a Hall current sensor. 6 . 6.根据权利要求1所述的一种基于离散变结构观测器的锂电池SOC估计方法,其特征在于,步骤5中的离散变结构观测器的增益矩阵h按照以下公式确定:6. A lithium battery SOC estimation method based on a discrete variable structure observer according to claim 1, wherein the gain matrix h of the discrete variable structure observer in step 5 is determined according to the following formula: 其中,CT为离散变结构观测器的输出矩阵C的转置矩阵,P为离散藜卡提方程的正定对称矩阵解,离散藜卡提方程中的GT为离散变结构观测器的系统矩阵G的转置矩阵,Q为任意的半正定对称矩阵,α为正实数,取值范围为1~5。Among them, C T is the transpose matrix of the output matrix C of the discrete variable structure observer, and P is the discrete Quincatti equation The positive definite symmetric matrix solution of , G T in the discrete Quincatti equation is the transpose matrix of the system matrix G of the discrete variable structure observer, Q is any positive semi-definite symmetric matrix, α is a positive real number, and its value ranges from 1 to 1. 5. 7.根据权利要求1所述的一种基于离散变结构观测器的锂电池SOC估计方法,其特征在于,步骤5中的正反馈输入矩阵λ按照以下公式确定:7. The method for estimating the SOC of a lithium battery based on a discrete variable structure observer according to claim 1, wherein the positive feedback input matrix λ in step 5 is determined according to the following formula: λ=vH (11)λ=vH (11) 其中,v为正实数,取v=0.2~0.8。Among them, v is a positive real number, take v=0.2~0.8. 8.根据权利要求1所述的一种基于离散变结构观测器的锂电池SOC估计方法,其特征在于,步骤5中的外在正反馈补偿信号v(k)按照以下公式确定:8. The method for estimating the SOC of a lithium battery based on a discrete variable structure observer according to claim 1, wherein the external positive feedback compensation signal v(k) in step 5 is determined according to the following formula: 其中,e(k)为锂电池k时刻的状态误差,即e(k)=x(k+1)-x(k),W(k)为正值函数且满足|W(k)|<1,veq(k)为等效外在正反馈补偿信号,由公式veq(k)=(Cλ)-1(CGe(k)+Cγξ(k))确定,其中有界标量扰动输入ξ(k)满足|ξ(k)|≤ξ0×||e(k)||,ξ0为上限参数,为正数,取0.05~0.15。Among them, e(k) is the state error of the lithium battery at time k, that is, e(k)=x(k+1)-x(k), W(k) is a positive function and satisfies |W(k)|< 1, v eq (k) is the equivalent external positive feedback compensation signal, which is determined by the formula v eq (k)=(Cλ) -1 (CGe(k)+Cγξ(k)), in which there is a boundary scalar disturbance input ξ (k) satisfies |ξ(k)|≤ξ 0 ×||e(k)||, ξ 0 is the upper limit parameter, which is a positive number, and takes 0.05 to 0.15. 9.根据权利要求6所述的一种基于离散变结构观测器的锂电池SOC估计方法,其特征在于,所述Q=E,E为3×3的单位矩阵。9 . The method for estimating the SOC of a lithium battery based on a discrete variable structure observer according to claim 6 , wherein the Q=E, and E is a 3×3 unit matrix. 10 .
CN201610850573.2A 2016-09-26 2016-09-26 Lithium battery SOC estimation method based on discrete variable structure observer Active CN106324523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610850573.2A CN106324523B (en) 2016-09-26 2016-09-26 Lithium battery SOC estimation method based on discrete variable structure observer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610850573.2A CN106324523B (en) 2016-09-26 2016-09-26 Lithium battery SOC estimation method based on discrete variable structure observer

Publications (2)

Publication Number Publication Date
CN106324523A CN106324523A (en) 2017-01-11
CN106324523B true CN106324523B (en) 2019-02-19

Family

ID=57820015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610850573.2A Active CN106324523B (en) 2016-09-26 2016-09-26 Lithium battery SOC estimation method based on discrete variable structure observer

Country Status (1)

Country Link
CN (1) CN106324523B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106872904B (en) * 2017-02-23 2019-02-26 合肥工业大学 Internal Temperature Estimation Method of Lithium Battery Based on Discrete Sliding Mode Observer
CN106918787A (en) * 2017-03-20 2017-07-04 国网重庆市电力公司电力科学研究院 A kind of electric automobile lithium battery residual charge evaluation method and device
CN107247234B (en) * 2017-05-10 2019-12-31 江苏大学 A real-time online SOC estimation method and system for a vehicle power battery
CN106918789B (en) * 2017-05-10 2019-05-14 成都理工大学 A kind of SOC-SOH combines online real-time estimation and on-line amending method
CN107436411B (en) * 2017-07-28 2019-06-14 南京航空航天大学 On-line estimation method of battery SOH based on fractional neural network and dual-volume Kalman
CN107748336B (en) * 2017-11-06 2024-01-26 清华大学 On-line estimation method and system for state of charge of lithium ion battery
CN108128302B (en) * 2017-11-22 2019-10-29 吉林大学 Battery charge state planing method for hybrid vehicle global energy management
CN108445402A (en) * 2018-02-28 2018-08-24 广州小鹏汽车科技有限公司 A kind of lithium-ion-power cell state-of-charge method of estimation and system
CN109188291B (en) * 2018-09-17 2020-10-27 济南大学 A method for predicting the residual capacity of lead-acid battery core capacity discharge
CN109581242A (en) * 2018-12-28 2019-04-05 蜂巢能源科技有限公司 The method for estimating error and system of state-of-charge SOC
CN110261778B (en) * 2019-05-27 2020-08-21 南京理工自动化研究院有限公司 SOC estimation algorithm of lithium ion battery
CN110346734B (en) * 2019-06-19 2021-07-20 江苏大学 A method for estimating the state of health of lithium-ion power batteries based on machine learning
CN110308394B (en) * 2019-06-25 2020-11-06 南京理工大学 A New State Observer Method for Estimating the State of Charge of Li-ion Batteries
CN110441703A (en) * 2019-09-07 2019-11-12 深圳市凯德旺科技有限公司 A kind of evaluation method and its detection system of the lithium battery SOC of mobile charging system
CN110907835B (en) * 2019-12-10 2020-12-11 北京理工大学 Battery model parameter identification and SOC estimation method with noise immunity characteristic
CN111722118B (en) * 2020-06-22 2023-02-10 上海理工大学 Lithium ion battery SOC estimation method based on SOC-OCV optimization curve
CN113466696A (en) * 2021-05-17 2021-10-01 北京交通大学 Battery pack monomer state estimation method based on voltage curve transformation
CN113702838B (en) * 2021-08-27 2024-03-12 四川长虹电源有限责任公司 Lithium ion battery state of charge estimation method based on disturbance observer

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102645637A (en) * 2012-04-25 2012-08-22 中航锂电(洛阳)有限公司 Method for estimating SOC (state of charge) of equalized batteries
CN103439668A (en) * 2013-09-05 2013-12-11 桂林电子科技大学 Charge state evaluation method and system of power lithium ion battery
CN103941196A (en) * 2014-05-07 2014-07-23 吉林大学 Lithium ion battery state-of-charge estimation method
CN104535932A (en) * 2014-12-20 2015-04-22 吉林大学 Lithium ion battery charge state estimating method
CN104678316A (en) * 2015-02-28 2015-06-03 北京交通大学 Method and device for estimating charge state of lithium ion battery
EP2963434A1 (en) * 2014-06-30 2016-01-06 Foundation Of Soongsil University-Industry Cooperation Battery state estimation method and system using dual extended kalman filter, and recording medium for performing the method
CN105717460A (en) * 2016-02-19 2016-06-29 深圳大学 Power battery SOC estimation method and system based on nonlinear observer

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102645637A (en) * 2012-04-25 2012-08-22 中航锂电(洛阳)有限公司 Method for estimating SOC (state of charge) of equalized batteries
CN103439668A (en) * 2013-09-05 2013-12-11 桂林电子科技大学 Charge state evaluation method and system of power lithium ion battery
CN103941196A (en) * 2014-05-07 2014-07-23 吉林大学 Lithium ion battery state-of-charge estimation method
EP2963434A1 (en) * 2014-06-30 2016-01-06 Foundation Of Soongsil University-Industry Cooperation Battery state estimation method and system using dual extended kalman filter, and recording medium for performing the method
CN104535932A (en) * 2014-12-20 2015-04-22 吉林大学 Lithium ion battery charge state estimating method
CN104678316A (en) * 2015-02-28 2015-06-03 北京交通大学 Method and device for estimating charge state of lithium ion battery
CN105717460A (en) * 2016-02-19 2016-06-29 深圳大学 Power battery SOC estimation method and system based on nonlinear observer

Also Published As

Publication number Publication date
CN106324523A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN106324523B (en) Lithium battery SOC estimation method based on discrete variable structure observer
CN110596593B (en) Lithium ion battery SOC estimation method based on intelligent adaptive extended Kalman filtering
CN109188293B (en) SOC estimation method of EKF lithium-ion battery based on the fading factor of innovation covariance band
CN108196200B (en) Combined simulation evaluation method for health and state of charge of lithium battery
CN106716158B (en) Battery charge state evaluation method and device
CN104535932B (en) Lithium ion battery charge state estimating method
CN103439668B (en) The charge state evaluation method of power lithium-ion battery and system
Chen et al. Battery state of charge estimation based on a combined model of Extended Kalman Filter and neural networks
CN113156321B (en) A method for estimating the state of charge SOC of lithium-ion batteries
CN105203969B (en) State-of-charge method of estimation based on modified RC battery models
JP5818878B2 (en) Lithium ion battery charge state calculation method
CN112098851A (en) Intelligent battery and online state of charge estimation method and application thereof
CN107037374A (en) A kind of SOC and SOH combined estimation methods of lithium ion battery
CN110208703A (en) The method that compound equivalent-circuit model based on temperature adjustmemt estimates state-of-charge
CN104076293B (en) The quantitative analysis method of lithium battery SOC estimation error based on observer
CN106405433A (en) Extended Kalman particle filtering based SOC (State Of Charge) estimation method and system
CN111190109B (en) A method for estimating state of charge of lithium battery without current sensor
CN110196393A (en) A kind of lithium battery charge state, the joint On-line Estimation method of energy state and power rating
CN110515011A (en) An accurate estimation method of SOC of lithium-ion power battery
CN108828448B (en) Battery state of charge on-line estimation method based on charging voltage curve fusion Kalman filtering
CN103901351A (en) Single lithium ion battery SOC estimation method based on sliding window filtering
CN107450031A (en) A kind of reconstructing method of electrokinetic cell system OCV SOC functional relations
CN109839599A (en) Lithium ion battery SOC estimation method based on second order EKF algorithm
CN111856282A (en) State estimation method of vehicle lithium battery based on improved genetic unscented Kalman filter
WO2016106501A1 (en) Equivalent circuit model of battery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant