[go: up one dir, main page]

CN111880100A - Remaining life prediction method of fuel cell based on adaptive extended Kalman filter - Google Patents

Remaining life prediction method of fuel cell based on adaptive extended Kalman filter Download PDF

Info

Publication number
CN111880100A
CN111880100A CN202010790065.6A CN202010790065A CN111880100A CN 111880100 A CN111880100 A CN 111880100A CN 202010790065 A CN202010790065 A CN 202010790065A CN 111880100 A CN111880100 A CN 111880100A
Authority
CN
China
Prior art keywords
fuel cell
time
voltage
extended kalman
current
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
Application number
CN202010790065.6A
Other languages
Chinese (zh)
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.)
Tongji University
Original Assignee
Tongji University
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 Tongji University filed Critical Tongji University
Priority to CN202010790065.6A priority Critical patent/CN111880100A/en
Publication of CN111880100A publication Critical patent/CN111880100A/en
Pending legal-status Critical Current

Links

Images

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/392Determining battery ageing or deterioration, e.g. state of health

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Fuel Cell (AREA)

Abstract

本发明涉及一种基于自适应扩展卡尔曼滤波的燃料电池剩余寿命预测方法,包括以下步骤:1)通过自适应扩展卡尔曼滤波算法,获取燃料电池当前时刻的平均单片电压估计值;2)采集燃料电池在各工况下的时间比例和衰减速率,计算燃料电池的总衰减速率;3)根据当前时刻的平均单片电压估计值与当前时刻的平均单片电压实际值,计算环境因子;4)根据当前时刻的平均单片电压估计值、总衰减速率和环境因子,通过剩余使用寿命计算公式,得到燃料电池当前时刻的剩余使用寿命的预测结果。与现有技术相比,本发明具有精度高、稳定性好和大大减小了计算量等优点。

Figure 202010790065

The invention relates to a method for predicting the remaining life of a fuel cell based on an adaptive extended Kalman filter, comprising the following steps: 1) obtaining an estimated value of the average single-chip voltage of the fuel cell at the current moment through the adaptive extended Kalman filtering algorithm; 2) Collect the time proportion and decay rate of the fuel cell under each working condition, and calculate the total decay rate of the fuel cell; 3) Calculate the environmental factor according to the estimated value of the average single-chip voltage at the current moment and the actual value of the average single-chip voltage at the current moment; 4) According to the estimated value of the average single-chip voltage at the current moment, the total decay rate and the environmental factor, and through the calculation formula of the remaining service life, the prediction result of the remaining service life of the fuel cell at the current moment is obtained. Compared with the prior art, the present invention has the advantages of high precision, good stability, and greatly reduced calculation amount.

Figure 202010790065

Description

基于自适应扩展卡尔曼滤波的燃料电池剩余寿命预测方法Remaining life prediction method of fuel cell based on adaptive extended Kalman filter

技术领域technical field

本发明涉及燃料电池系统控制技术领域,尤其是涉及基于自适应扩展卡尔曼滤波的燃料电池剩余寿命预测方法。The invention relates to the technical field of fuel cell system control, in particular to a method for predicting the remaining life of a fuel cell based on an adaptive extended Kalman filter.

背景技术Background technique

质子交换膜燃料电池(PEMFC)以氢气和氧气为燃料,整个能量转换过程对环境几乎没有负面影响。然而,有限的寿命限制了燃料电池产业化的进一步发展。寿命预测是燃料电池健康状态管理中最有效的措施之一。因为它有助于在燃料电池发生故障之前通过估计剩余使用寿命来制定缓解措施,提高燃料电池的耐久性。然而,现有的燃料电池剩余使用寿命预测方法主要集中在恒定的工作条件下。即在实验台架上给燃料电池一个恒定的电流输入,在长时间内测量电压的变化,并以电压的变化量作为寿命预测的指标。这些预测方法不能应用于燃料电池寿命在线预测这类动态条件。目前,燃料电池寿命的在线预测方法还不多见,但在线预测对于评价燃料电池汽车的耐久性具有重要的实用价值。Proton exchange membrane fuel cells (PEMFCs) use hydrogen and oxygen as fuels, and the entire energy conversion process has little negative impact on the environment. However, the limited lifetime limits the further development of fuel cell industrialization. Lifetime prediction is one of the most effective measures in fuel cell health management. Because it helps to develop mitigation measures by estimating the remaining useful life before the fuel cell fails, improving the durability of the fuel cell. However, existing fuel cell residual life prediction methods mainly focus on constant operating conditions. That is, a constant current input is given to the fuel cell on the experimental bench, the voltage change is measured over a long period of time, and the voltage change is used as an indicator for life prediction. These prediction methods cannot be applied to dynamic conditions such as online prediction of fuel cell life. At present, there are few online prediction methods for fuel cell life, but online prediction has important practical value for evaluating the durability of fuel cell vehicles.

多种预测方法都被应用于燃料电池寿命的预测,包括:粒子滤波、卡尔曼滤波、回声状态网络以及相关向量机等。这些预测方法还存在以下问题:(1)寿命终点的评价方法不统一。不同的预测方法对这个问题有不同的定义。有些寿命评价指标在实际应用过程中很难测量,不适合在线预测。(2)缺少对燃料电池实际工作条件的评估。运行方式(启停、怠速、大功率等)、负载和外部参数(进气压力、空气湿度、工作温度等)对PEMFC系统的耐久性有显著影响。上述预测方法很少考虑燃料电池汽车的运行工况和外界环境,因此难以直接应用于车用燃料电池寿命的在线预测。(3)预测工具大部分不具有自适应能力。燃料电池的实际使用条件是高度动态的,因此要求预测方法需要对动态的数据具有自适应能力来提高在线预测的精度和稳定性。A variety of prediction methods have been applied to the prediction of fuel cell life, including: particle filter, Kalman filter, echo state network and correlation vector machine. These prediction methods also have the following problems: (1) The evaluation methods for the end of life are not uniform. Different forecasting methods define this problem differently. Some life evaluation indicators are difficult to measure in practical application and are not suitable for online prediction. (2) There is a lack of evaluation of the actual working conditions of fuel cells. The operation mode (start-stop, idle speed, high power, etc.), load and external parameters (intake pressure, air humidity, operating temperature, etc.) have a significant impact on the durability of the PEMFC system. The above prediction methods rarely consider the operating conditions and external environment of fuel cell vehicles, so it is difficult to directly apply to online prediction of vehicle fuel cell life. (3) Most of the prediction tools do not have the adaptive ability. The actual operating conditions of fuel cells are highly dynamic, so prediction methods are required to be adaptive to dynamic data to improve the accuracy and stability of online prediction.

预测的定义是对未来失效情况的时间估计。对于PEMFC,预测的目的是预测剩余使用寿命,以防止故障的发生。预测方法使用大量实际燃料电池堆的测试数据,以表明未来的衰退趋势。根据PEMFC系统的衰退趋势,可以预测PEMFC系统的剩余寿命,防止故障的发生。对于燃料电池衰退数据的处理方法主要有模型驱动方法和数据驱动方法。数据驱动方法基于大量的燃料电池衰退数据,使用人工智能的工具来学习系统的行为,对燃料电池寿命的变化趋势给出估计。该方法精度高但是计算量过大,不适合在线预测。因此在线条件下的数据处理方法应该主要考虑模型驱动方法。A forecast is defined as a time estimate of a future failure scenario. For PEMFCs, the purpose of forecasting is to predict the remaining useful life in order to prevent failures. The forecast method uses test data from a large number of actual fuel cell stacks to indicate future decline trends. According to the decline trend of the PEMFC system, the remaining life of the PEMFC system can be predicted to prevent the occurrence of failures. The processing methods for fuel cell decay data mainly include model-driven methods and data-driven methods. The data-driven approach is based on a large amount of fuel cell decay data, using artificial intelligence tools to learn the behavior of the system and give an estimate of the changing trend of fuel cell life. This method has high accuracy but too much computation and is not suitable for online prediction. Therefore, data processing methods under online conditions should mainly consider model-driven methods.

燃料电池剩余使用寿命在线预测的主要问题是:(1)合理的寿命评价指标;在动态条件下,该指标必须易于测量。(2)实际工况的评估;典型的运行工况以及外界环境变化对燃料电池寿命有着显著影响,因此必须考虑燃料电池车的运行工况。(3)预测方法的计算量不宜过大,同时预测方法需要对动态条件下采集的数据具有自适应处理能力。The main problems of online prediction of the remaining service life of fuel cells are: (1) A reasonable life evaluation index; under dynamic conditions, the index must be easy to measure. (2) Evaluation of actual operating conditions; typical operating conditions and changes in the external environment have a significant impact on the life of the fuel cell, so the operating conditions of the fuel cell vehicle must be considered. (3) The calculation amount of the prediction method should not be too large, and the prediction method needs to have adaptive processing ability for the data collected under dynamic conditions.

发明内容SUMMARY OF THE INVENTION

本发明的目的就是为了克服上述现有技术存在的缺陷而提供一种具有自适应处理能力且考虑燃料电池的运行工况的基于自适应扩展卡尔曼滤波的燃料电池剩余寿命预测方法。The purpose of the present invention is to provide a method for predicting the remaining life of a fuel cell based on an adaptive extended Kalman filter with adaptive processing capability and considering the operating conditions of the fuel cell in order to overcome the above-mentioned defects of the prior art.

本发明的目的可以通过以下技术方案来实现:The object of the present invention can be realized through the following technical solutions:

一种基于自适应扩展卡尔曼滤波的燃料电池剩余寿命预测方法,包括以下步骤:A method for predicting the remaining life of a fuel cell based on an adaptive extended Kalman filter, comprising the following steps:

当前时刻的电压估计步骤:通过自适应扩展卡尔曼滤波算法,获取燃料电池当前时刻的平均单片电压估计值;The voltage estimation step at the current moment: obtain the estimated value of the average single-chip voltage of the fuel cell at the current moment through the adaptive extended Kalman filter algorithm;

总衰减速率计算步骤:采集燃料电池在各工况下的时间比例和衰减速率,计算燃料电池的总衰减速率;Total decay rate calculation step: collect the time proportion and decay rate of the fuel cell under each working condition, and calculate the total decay rate of the fuel cell;

环境因子计算步骤:根据所述当前时刻的平均单片电压估计值与当前时刻的平均单片电压实际值,计算环境因子;The step of calculating the environmental factor: calculating the environmental factor according to the estimated value of the average single-chip voltage at the current moment and the actual value of the average single-chip voltage at the current moment;

剩余使用寿命预测步骤:根据所述当前时刻的平均单片电压估计值、总衰减速率和环境因子,通过剩余使用寿命计算公式,得到燃料电池当前时刻的剩余使用寿命的预测结果。Remaining service life prediction step: According to the estimated value of the average single-chip voltage at the current moment, the total decay rate and environmental factors, and through the remaining service life calculation formula, the prediction result of the remaining service life of the fuel cell at the current moment is obtained.

进一步地,所述自适应扩展卡尔曼滤波算法的输入包括实际测量值和模型预测值,Further, the input of the adaptive extended Kalman filter algorithm includes the actual measured value and the model predicted value,

所述实际测量值为,通过实时记录燃料电池的电压电流变化,得到的燃料电池在额定电流下的平均单片电压-时间曲线数据;The actual measured value is the average monolithic voltage-time curve data of the fuel cell under the rated current obtained by recording the voltage and current changes of the fuel cell in real time;

所述模型预测值为,将燃料电池运行时不同时刻的极化曲线拟合,并载入预先建立的经验模型中,得到的燃料电池平均单片电压计算值。The predicted value of the model is the calculated value of the average single-chip voltage of the fuel cell obtained by fitting the polarization curves at different times during the operation of the fuel cell and loading it into a pre-established empirical model.

进一步地,通过极化曲线表达式拟合所述燃料电池运行时不同时刻的极化曲线,所述极化曲线表达式为:Further, the polarization curves at different times during the operation of the fuel cell are fitted by the polarization curve expression, and the polarization curve expression is:

Figure BDA0002623439300000031
Figure BDA0002623439300000031

式中,V为燃料电池输出电压,E为可逆开路电压,i为燃料电池输出电流,i0为交换电流密度,A是塔菲尔斜率,B为浓差极化常数,il是极限电流密度,r是燃料电池总电阻。where V is the output voltage of the fuel cell, E is the reversible open-circuit voltage, i is the output current of the fuel cell, i 0 is the exchange current density, A is the Tafel slope, B is the concentration polarization constant, and i l is the limiting current density, r is the total resistance of the fuel cell.

进一步地,所述经验模型的表达式为:Further, the expression of the empirical model is:

Figure BDA0002623439300000032
Figure BDA0002623439300000032

式中,g(xk,uk)为当前时刻电压(模型预测值),r0为总电阻初始值,αk为总电阻变化率(线性变化),ik为当前时刻的电流值。In the formula, g(x k , u k ) is the voltage at the current moment (model prediction value), r 0 is the initial value of the total resistance, α k is the total resistance change rate (linear change), and i k is the current value at the current moment.

进一步地,所述自适应扩展卡尔曼滤波算法的表达式为:Further, the expression of the adaptive extended Kalman filter algorithm is:

xk+1=Fxk|k+wk x k+1 =Fx k|k +w k

xk=[αk βk]T x k =[α k β k ] T

Figure BDA0002623439300000033
Figure BDA0002623439300000033

yk=g(xk,uk)+vk y k =g(x k ,u k )+v k

P(w)~N(0,Q)P(w)~N(0,Q)

P(v)~N(0,R)P(v)~N(0,R)

式中,xk为状态,uk为输入,yk为输出,F为系统的状态转移矩阵,Ts为采样时间,xk|k为系统的状态矩阵,wk为系统误差噪声,αk为总电阻变化率,βk为变化率常数,vk为测量误差噪声,g(xk,uk)为当前时刻电压(模型预测值),P(w)为系统误差的概率函数,Q为系统噪声协方差矩阵,P(v)为测量误差的概率函数,R为测量噪声协方差矩阵;where x k is the state, u k is the input, y k is the output, F is the state transition matrix of the system, T s is the sampling time, x k|k is the state matrix of the system, w k is the system error noise, α k is the total resistance change rate, β k is the change rate constant, v k is the measurement error noise, g(x k , u k ) is the current voltage (model prediction value), P(w) is the probability function of the system error, Q is the system noise covariance matrix, P(v) is the probability function of the measurement error, and R is the measurement noise covariance matrix;

所述自适应扩展卡尔曼滤波算法的时间更新表达式为:The time update expression of the adaptive extended Kalman filter algorithm is:

xk|k-1=Fxk-1|k-1 x k|k-1 =Fx k-1|k-1

Pk|k-1=FPk-1|k-1FT+QP k|k-1 =FP k-1|k-1 F T +Q

式中,xk|k-1为下一时刻系统状态的预测值,xk-1|k-1为当前时刻的系统状态,Pk|k-1为xk|k-1对应的协方差,Pk-1|k-1为xk-1|k-1对应的协方差;In the formula, x k|k-1 is the predicted value of the system state at the next moment, x k-1|k-1 is the system state at the current moment, and P k|k-1 is the coordination value corresponding to x k|k-1 . variance, P k-1|k-1 is the covariance corresponding to x k-1|k-1 ;

所述自适应扩展卡尔曼滤波算法的测量更新表达式为:The measurement update expression of the adaptive extended Kalman filter algorithm is:

Figure BDA0002623439300000041
Figure BDA0002623439300000041

Figure BDA0002623439300000042
Figure BDA0002623439300000042

Pk|k=(I-KkHk)Pk|k-1 P k|k =(IK k H k )P k|k-1

xk|k=xk|k-1+Kk(Vstk-g(xk,uk))x k|k =x k|k-1 +K k (V stk -g(x k ,u k ))

式中,Kk为卡尔曼增益,Hk为自适应扩展卡尔曼滤波算法中观测方程(模型)对应的雅可比矩阵,xk|k-1为系统状态,Vstk为当前时刻电压(实际测量值);In the formula, K k is the Kalman gain, H k is the Jacobian matrix corresponding to the observation equation (model) in the adaptive extended Kalman filter algorithm, x k|k-1 is the system state, and V stk is the current moment voltage (actual Measurements);

所述自适应扩展卡尔曼滤波算法的协方差自适应更新表达式为:The covariance adaptive update expression of the adaptive extended Kalman filter algorithm is:

Figure BDA0002623439300000043
Figure BDA0002623439300000043

vk=Vstk-Hkxk v k =V stk -H k x k

Figure BDA0002623439300000044
Figure BDA0002623439300000044

Figure BDA0002623439300000045
Figure BDA0002623439300000045

式中,

Figure BDA0002623439300000046
为采样窗口为N时新息残差协方差的估计,N为采样窗口的长度,j0为采样的起始时刻,k为采样的当前时刻,vj为当前的残差序列,Qk为更新后的系统噪声协方差矩阵,Rk为更新后的测量噪声协方差矩阵。In the formula,
Figure BDA0002623439300000046
is the estimation of the innovation residual covariance when the sampling window is N, N is the length of the sampling window, j 0 is the starting time of sampling, k is the current time of sampling, v j is the current residual sequence, and Q k is The updated system noise covariance matrix, R k is the updated measurement noise covariance matrix.

进一步地,所述总衰减速率计算步骤中,所述工况包括负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况;Further, in the step of calculating the total decay rate, the working conditions include a load change working condition, a start-stop working condition, a low-power load working condition and a high-power load working condition;

所述燃料电池的总衰减速率的计算表达式为:The calculation expression of the total decay rate of the fuel cell is:

总衰减速率=V(d1g1+d2g2+d3g3+d4g4)Total decay rate = V(d 1 g 1 +d 2 g 2 +d 3 g 3 +d 4 g 4 )

式中,V为所述平均单片电压估计值,d1为负荷变化工况的衰退率,g1为负荷变化工况的时间权重系数,d2为启停工况的衰退率,g2为启停工况的时间权重系数,d3为低功率负荷工况的衰退率,g3为低功率负荷工况的时间权重系数,d4为大功率负荷工况的衰退率,g4为大功率负荷工况的时间权重系数。In the formula, V is the estimated value of the average single-chip voltage, d 1 is the decay rate of the load change condition, g 1 is the time weight coefficient of the load change condition, d 2 is the decay rate of the start-stop condition, and g 2 is the time weight coefficient of the start-stop condition, d 3 is the decay rate of the low power load condition, g 3 is the time weight coefficient of the low power load condition, d 4 is the decay rate of the high power load condition, and g 4 is Time weighting factor for high power load conditions.

进一步地,环境因子计算步骤中,所述环境因子的计算表达式为:Further, in the environmental factor calculation step, the calculation expression of the environmental factor is:

Figure BDA0002623439300000047
Figure BDA0002623439300000047

式中,kt+1为t+1时刻的环境因子,kt为t时刻的环境因子,

Figure BDA0002623439300000048
为t+1时刻的平均单片电压估计值,Vt+2为t+1时刻的平均单片电压实际值。In the formula, k t+1 is the environmental factor at time t+1, k t is the environmental factor at time t,
Figure BDA0002623439300000048
is the estimated value of the average single-chip voltage at time t+1, and V t+2 is the actual value of the average single-chip voltage at time t+1.

进一步地,环境因子的初始值在1至1.2范围以内。Further, the initial value of the environmental factor is in the range of 1 to 1.2.

进一步地,剩余使用寿命预测步骤中,所述剩余使用寿命计算公式为:Further, in the remaining service life prediction step, the remaining service life calculation formula is:

Figure BDA0002623439300000051
Figure BDA0002623439300000051

式中,T为当前时刻的燃料电池剩余使用寿命,ΔV为当前时刻的平均单片电压估计值至寿命终点的平均单片电压估计值的差值,k为当前时刻的环境因子,V为当前时刻的平均单片电压估计值,d为各工况下的衰减速率,g为各工况下的时间比例。In the formula, T is the remaining service life of the fuel cell at the current moment, ΔV is the difference between the estimated value of the average single-chip voltage at the current moment and the estimated value of the average single-chip voltage at the end of the life, k is the environmental factor at the current moment, and V is the current The estimated value of the average single-chip voltage at the time, d is the decay rate under each working condition, and g is the time ratio under each working condition.

进一步地,所述寿命终点的判断标准为,燃料电池的平均单片电压值衰退为平均单片电压初始值的90%的时间点。Further, the criterion for judging the end of life is the time point when the average single-chip voltage value of the fuel cell declines to 90% of the initial value of the average single-chip voltage.

与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:

(1)本发明综合考虑了燃料电池剩余使用寿命在线预测的各种困难,给出了寿命的评价标准,运行工况的评价以及对动态采集到的数据的处理方法;应用自适应扩展卡尔曼滤波来获得对当前时刻的电压估计,提高了在线预测的精度和稳定性(1) The present invention comprehensively considers various difficulties in online prediction of the remaining service life of the fuel cell, and provides the evaluation standard of the service life, the evaluation of the operating condition and the processing method of the dynamically collected data; Filtering to obtain a voltage estimate for the current moment, which improves the accuracy and stability of online prediction

(2)提出了一个剩余使用寿命的预测公式,考虑了燃料电池在使用过程中的非线性衰退因素。可以在使用过程中给出每个时刻对剩余使用寿命的估计值,同时反映出当前阶段汽车的行驶工况;该方法大大减小了计算量,易于实车实现。(2) A prediction formula for the remaining service life is proposed, which takes into account the nonlinear decay factors of the fuel cell during use. The estimated value of the remaining service life at each moment can be given during the use process, and at the same time, the driving conditions of the vehicle at the current stage can be reflected; this method greatly reduces the amount of calculation and is easy to implement in real vehicles.

附图说明Description of drawings

图1为本发明基于自适应扩展卡尔曼滤波的燃料电池剩余寿命预测方法的流程图;1 is a flowchart of a method for predicting the remaining life of a fuel cell based on an adaptive extended Kalman filter according to the present invention;

图2为本发明针对在线预测的困难提出的解决方案;Fig. 2 is the solution proposed by the present invention for the difficulty of online prediction;

图3为本一个具体实施例的燃料电池剩余使用寿命在线预测方法的流程图。FIG. 3 is a flowchart of a method for online prediction of the remaining service life of a fuel cell according to a specific embodiment.

具体实施方式Detailed ways

下面结合附图和具体实施例对本发明进行详细说明。本实施例以本发明技术方案为前提进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于下述的实施例。The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. This embodiment is implemented on the premise of the technical solution of the present invention, and provides a detailed implementation manner and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

实施例1Example 1

如图1所示,本发明提供一种基于自适应扩展卡尔曼滤波的燃料电池剩余寿命预测方法,针对性地解决了在线预测需要解决的三个主要困难:动态条件下的寿命评价指标;真实运行工况的评价和预测工具的自适应能力。用额定电流下的平均单片电压作为动态条件下的寿命评价指标。引入负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况评价燃料电池车的工况,分别考虑不同工况对燃料电池衰退的影响。使用自适应扩展卡尔曼滤波来去除在线采集的数据的噪声,具有一定的自适应和抗干扰能力,提高了预测算法的精度和稳定性。As shown in FIG. 1 , the present invention provides a method for predicting the remaining life of a fuel cell based on an adaptive extended Kalman filter, which specifically solves the three main difficulties that need to be solved in online prediction: the life evaluation index under dynamic conditions; Evaluation of operating conditions and adaptive capabilities of predictive tools. The average single-chip voltage at rated current is used as the life evaluation index under dynamic conditions. Load change condition, start-stop condition, low power load condition and high power load condition are introduced to evaluate the working conditions of fuel cell vehicles, and the influence of different working conditions on fuel cell degradation is considered respectively. The adaptive extended Kalman filter is used to remove the noise of the data collected online, which has a certain adaptive and anti-interference ability, and improves the accuracy and stability of the prediction algorithm.

基于自适应扩展卡尔曼滤波的燃料电池剩余寿命预测方法包括以下步骤:The fuel cell residual life prediction method based on adaptive extended Kalman filter includes the following steps:

S1:燃料电池电堆在运行时,测量不同时刻的极化曲线,得到经验模型中的参数;采集电压-时间数据,提取出燃料电池工作在额定电流下的电压数据,计算得到额定电流下平均单片电压-时间数据;将模型中计算得到的电压数据与采集到的电压数据代入自适应扩展卡尔曼滤波算法中,得出对当前时刻平均单片电压估计值;S1: When the fuel cell stack is running, measure the polarization curves at different times to obtain the parameters in the empirical model; collect the voltage-time data, extract the voltage data of the fuel cell operating at the rated current, and calculate the average value under the rated current. Monolithic voltage-time data; Substitute the voltage data calculated in the model and the collected voltage data into the adaptive extended Kalman filter algorithm to obtain the estimated value of the average monolithic voltage at the current moment;

S2:获取行驶记录中燃料电池车在负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况运行的时间,计算得到四种工况的时间比例;从燃料电池试验数据库中获取燃料电池在四种工况下的衰减速率;根据四种工况的时间比例和衰减速率,计算得出总衰减速率;S2: Obtain the running time of the fuel cell vehicle in the load change condition, the start-stop condition, the low power load condition and the high power load condition in the driving record, and calculate the time ratio of the four working conditions; from the fuel cell test database Obtain the decay rate of the fuel cell under four working conditions; calculate the total decay rate according to the time proportion and decay rate of the four working conditions;

S3:将当前时刻的环境因子,燃料电池总的衰减速率和自适应扩展卡尔曼滤波算法得到的当前电压估计值代入剩余使用寿命预测公式中,得出当前时刻对剩余使用寿命的估计值。S3: Substitute the environmental factor at the current moment, the total decay rate of the fuel cell and the current estimated voltage value obtained by the adaptive extended Kalman filter algorithm into the remaining service life prediction formula to obtain the estimated value of the remaining service life at the current moment.

本实施例燃料电池剩余寿命预测方法的目标是在线过程中实时给出当前时刻对剩余使用寿命的估计,并通过显示模块显示出来。同时显示模块还可以输出当前车辆的使用状况,包括四种工况的载荷谱,四种工况的时间占比以及外界环境影响因子。所述燃料电池剩余使用寿命是当前时刻到定义的燃料电池寿命终点的时间间隔;所述的燃料电池寿命终点是在额定电流下,燃料电池的平均单片电压衰退为初始值的90%的时间点。The objective of the method for predicting the remaining service life of the fuel cell in this embodiment is to provide an estimate of the remaining service life at the current moment in real time during the online process, and display it through the display module. At the same time, the display module can also output the current usage status of the vehicle, including the load spectrum of the four working conditions, the time proportion of the four working conditions, and the external environmental influence factors. The remaining service life of the fuel cell is the time interval from the current moment to the defined end of the life of the fuel cell; the end of the life of the fuel cell is the time when the average single-chip voltage of the fuel cell decays to 90% of the initial value under the rated current point.

下面对各步骤进行具体描述:Each step is described in detail below:

1、步骤S11. Step S1

步骤S1中采用自适应扩展卡尔曼滤波算法对燃料平均单片电压进行估计。所述的自适应扩展卡尔曼滤波器的输入为燃料电池平均单片电压的模型预测值和实际测量值,滤波器的输出为燃料电池平均单片电压的最优估计值。具体包括以下步骤:In step S1, an adaptive extended Kalman filter algorithm is used to estimate the average monolithic voltage of the fuel. The input of the adaptive extended Kalman filter is the model predicted value and the actual measured value of the average single-chip voltage of the fuel cell, and the output of the filter is the optimal estimated value of the average single-chip voltage of the fuel cell. Specifically include the following steps:

S101:数据采集:在燃料电池工作过程中,实时记录燃料电池的电压电流变化。取出燃料电池工作在额定电流下的数据点,计算得出额定电流下的平均单片电压-时间曲线。将这部分数据作为自适应扩展卡尔曼滤波器输入的实际测量值。S101 : data acquisition: during the working process of the fuel cell, the voltage and current changes of the fuel cell are recorded in real time. Take out the data points of the fuel cell operating at the rated current, and calculate the average monolithic voltage-time curve at the rated current. Take this part of the data as the actual measurement of the input to the Adaptive Extended Kalman Filter.

S102:参数确定:燃料电池电堆在运行时,测量不同时刻的极化曲线,S102: Parameter determination: when the fuel cell stack is running, measure the polarization curves at different times,

用下面的极化曲线表达式拟合实际的极化曲线,得出极化曲线中的参数,代入下一步所描述的经验模型中。Fit the actual polarization curve with the following polarization curve expression, and obtain the parameters in the polarization curve, which are substituted into the empirical model described in the next step.

Figure BDA0002623439300000071
Figure BDA0002623439300000071

式中,V为燃料电池输出电压,E为可逆开路电压,i为燃料电池输出电流,i0为交换电流密度,A是塔菲尔斜率,B为浓差极化常数,il是极限电流密度,r是燃料电池总电阻。where V is the output voltage of the fuel cell, E is the reversible open-circuit voltage, i is the output current of the fuel cell, i 0 is the exchange current density, A is the Tafel slope, B is the concentration polarization constant, and i l is the limiting current density, r is the total resistance of the fuel cell.

S103:模型建立:根据极化曲线所得的相关参数,建立了一个符合极化理论的经验模型,模型考虑了活化损失、欧姆损失和浓差损失的影响。认为总电阻r和极限电流il随时间的变化近似呈现线性,将这两个参数的变化视为有着相同变化率。所述的经验模型为:S103: Model establishment: According to the relevant parameters obtained from the polarization curve, an empirical model conforming to the polarization theory is established, and the model considers the effects of activation loss, ohmic loss and concentration loss. It is considered that the changes of the total resistance r and the limiting current i l with time are approximately linear, and the changes of these two parameters are regarded as having the same rate of change. The empirical model described is:

Figure BDA0002623439300000072
Figure BDA0002623439300000072

式中,g(xk,uk)为当前时刻电压(模型预测值),r0为总电阻初始值,αk为总电阻变化率(线性变化),ik为当前时刻的电流值。In the formula, g(x k , u k ) is the voltage at the current moment (model prediction value), r 0 is the initial value of the total resistance, α k is the total resistance change rate (linear change), and i k is the current value at the current moment.

将经验模型中对燃料电池电压的计算值作为自适应扩展卡尔曼滤波输入中的模型预测值。The calculated value of the fuel cell voltage in the empirical model is used as the model prediction value in the input of the adaptive extended Kalman filter.

S104:滤波处理:将采集的数据作为自适应扩展卡尔曼滤波器输入的实际测量值,将经验模型中对燃料电池电压的计算值作为自适应扩展卡尔曼滤波输入中的模型预测值。S104: Filtering processing: take the collected data as the actual measured value input by the adaptive extended Kalman filter, and use the calculated value of the fuel cell voltage in the empirical model as the model predicted value in the input of the adaptive extended Kalman filter.

自适应扩展卡尔曼滤波算法为:The adaptive extended Kalman filter algorithm is:

xk+1=Fxk|k+wk x k+1 =Fx k|k +w k

xk=[αk βk]T x k =[α k β k ] T

Figure BDA0002623439300000073
Figure BDA0002623439300000073

yk=g(xk,uk)+vk y k =g(x k ,u k )+v k

P(w)~N(0,Q)P(w)~N(0,Q)

P(v)~N(0,R)P(v)~N(0,R)

其中,xk是系统的状态,uk是输入,yk是输出。噪声wk和vk假设为高斯噪声,并且相互独立。特别地,噪声wk是系统误差,噪声vk是测量误差,F为系统的状态转移矩阵,Ts为采样时间,xk|k为系统的状态矩阵,αk为总电阻变化率,βk为变化率常数,g(xk,uk)为当前时刻电压(模型预测值),P(w)为系统误差的概率函数,Q为系统噪声协方差矩阵,P(v)为测量误差的概率函数,R为测量噪声协方差矩阵;在算法中,过程噪声协方差Q和测量噪声协方差R矩阵可能随时间而改变,增强了算法的自适应能力。where x k is the state of the system, uk is the input, and y k is the output. The noises w k and v k are assumed to be Gaussian noises and are independent of each other. In particular, the noise w k is the system error, the noise v k is the measurement error, F is the state transition matrix of the system, T s is the sampling time, x k|k is the state matrix of the system, α k is the total resistance change rate, β k is the rate of change constant, g(x k , u k ) is the current voltage (model prediction value), P(w) is the probability function of the system error, Q is the system noise covariance matrix, and P(v) is the measurement error The probability function of , R is the measurement noise covariance matrix; in the algorithm, the process noise covariance Q and measurement noise covariance R matrix may change with time, which enhances the adaptive ability of the algorithm.

自适应扩展卡尔曼滤波算法的时间更新表达式为:The time update expression of the adaptive extended Kalman filter algorithm is:

xk|k-1=Fxk-1|k-1 x k|k-1 =Fx k-1|k-1

Pk|k-1=FPk-1|k-1FT+QP k|k-1 =FP k-1|k-1 F T +Q

式中,xk|k-1为下一时刻系统状态的预测值,xk-1|k-1为当前时刻的系统状态,Pk|k-1为xk|k-1对应的协方差,Pk-1|k-1为xk-1|k-1对应的协方差;In the formula, x k|k-1 is the predicted value of the system state at the next moment, x k-1|k-1 is the system state at the current moment, and P k|k-1 is the coordination value corresponding to x k|k-1 . variance, P k-1|k-1 is the covariance corresponding to x k-1|k-1 ;

自适应扩展卡尔曼滤波算法的测量更新表达式为:The measurement update expression of the adaptive extended Kalman filter algorithm is:

Figure BDA0002623439300000081
Figure BDA0002623439300000081

Figure BDA0002623439300000082
Figure BDA0002623439300000082

Pk|k=(I-KkHk)Pk|k-1 P k|k =(IK k H k )P k|k-1

xk|k=xk|k-1+Kk(Vstk-g(xk,uk))x k|k =x k|k-1 +K k (V stk -g(x k ,u k ))

式中,Kk为卡尔曼增益,Hk为自适应扩展卡尔曼滤波算法中观测方程(模型)对应的雅可比矩阵,xk|k-1为系统状态,Vstk为当前时刻电压(实际测量值);In the formula, K k is the Kalman gain, H k is the Jacobian matrix corresponding to the observation equation (model) in the adaptive extended Kalman filter algorithm, x k|k-1 is the system state, and V stk is the current moment voltage (actual Measurements);

自适应扩展卡尔曼滤波算法的协方差自适应更新表达式为:The covariance adaptive update expression of the adaptive extended Kalman filter algorithm is:

Figure BDA0002623439300000083
Figure BDA0002623439300000083

vk=Vstk-Hkxk v k =V stk -H k x k

Figure BDA0002623439300000084
Figure BDA0002623439300000084

Figure BDA0002623439300000085
Figure BDA0002623439300000085

式中,

Figure BDA0002623439300000086
为采样窗口为N时新息残差协方差的估计,N为采样窗口的长度,j0为采样的起始时刻,k为采样的当前时刻,vj为当前的残差序列,Qk为更新后的系统噪声协方差矩阵,Rk为更新后的测量噪声协方差矩阵。In the formula,
Figure BDA0002623439300000086
is the estimation of the innovation residual covariance when the sampling window is N, N is the length of the sampling window, j 0 is the starting time of sampling, k is the current time of sampling, v j is the current residual sequence, and Q k is The updated system noise covariance matrix, R k is the updated measurement noise covariance matrix.

2、步骤S22. Step S2

步骤S2获取行驶记录中燃料电池车在负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况运行的时间,计算得到四种工况的时间比例;从燃料电池试验数据库中获取燃料电池在四种工况下的衰减速率;根据四种工况的时间比例和衰减速率,计算得出总衰减速率,具体包括以下步骤:Step S2 obtains the running time of the fuel cell vehicle in the load change condition, the start-stop condition, the low power load condition and the high power load condition in the driving record, and calculates the time ratio of the four working conditions; from the fuel cell test database Obtain the decay rate of the fuel cell under the four working conditions; calculate the total decay rate according to the time proportion and decay rate of the four working conditions, which includes the following steps:

S201:衰退率获取:燃料电池在负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况下的衰退速率不同。离线的状态下可以从数据库中获取该燃料电池四种不同的退化率的实验结果。S201: Obtaining the decay rate: the decay rate of the fuel cell is different under the load change condition, the start-stop condition, the low power load condition and the high power load condition. The experimental results of four different degradation rates of the fuel cell can be obtained from the database in an offline state.

d={d1,d2,d3,d4}d={d 1 ,d 2 ,d 3 ,d 4 }

di分别表示燃料电池在负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况下的衰退率。d i represents the decay rate of the fuel cell under load changing conditions, start-stop conditions, low-power load conditions and high-power load conditions, respectively.

S202:权重计算:根据燃料电池的载荷谱记录,实时计算出燃料电池分别在负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况下的时间权重。工况的权重系数越高,燃料电池组在这种工况下工作的时间就越长。S202: Weight calculation: According to the load spectrum record of the fuel cell, the time weight of the fuel cell under load change conditions, start-stop conditions, low power load conditions and high power load conditions is calculated in real time. The higher the weight factor of the working condition, the longer the fuel cell stack will work under this working condition.

g={g1,g2,g3,g4}g={g 1 , g 2 , g 3 , g 4 }

gi分别表示燃料电池工作在负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况下的时间权重系数。g i represents the time weighting factor of the fuel cell working under load change condition, start-stop condition, low power load condition and high power load condition, respectively.

S203:总衰退率计算:根据四种工况的时间权重系数和衰减速率,计算得出总衰减速率:S203: Calculation of total decay rate: According to the time weight coefficient and decay rate of the four working conditions, the total decay rate is calculated:

V(d1g1+d2g2+d3g3+d4g4)V(d 1 g 1 +d 2 g 2 +d 3 g 3 +d 4 g 4 )

其中,V是由自适应扩展卡尔曼滤波计算得出的平均单片电压估计值,d1为负荷变化工况的衰退率,g1为负荷变化工况的时间权重系数,d2为启停工况的衰退率,g2为启停工况的时间权重系数,d3为低功率负荷工况的衰退率,g3为低功率负荷工况的时间权重系数,d4为大功率负荷工况的衰退率,g4为大功率负荷工况的时间权重系数。Among them, V is the estimated value of the average single-chip voltage calculated by the adaptive extended Kalman filter, d 1 is the decay rate of the load change condition, g 1 is the time weight coefficient of the load change condition, and d 2 is the start-stop The decay rate of the working condition, g 2 is the time weight coefficient of the start-stop condition, d 3 is the decay rate of the low power load condition, g 3 is the time weight coefficient of the low power load condition, and d 4 is the high power load condition. The decay rate of the condition, g 4 is the time weighting factor of the high-power load condition.

总衰退率将用于剩余使用寿命预测公式。The total decay rate will be used in the remaining useful life prediction formula.

3、步骤S33. Step S3

步骤S3将当前时刻的环境因子,燃料电池总的衰减速率和自适应扩展卡尔曼滤波算法得到的当前电压估计值代入剩余使用寿命预测公式中,得出当前时刻对剩余使用寿命的估计值。具体计算过程是:Step S3: Substitute the environmental factor at the current moment, the total decay rate of the fuel cell and the current estimated voltage value obtained by the adaptive extended Kalman filter algorithm into the remaining service life prediction formula to obtain the estimated value of the remaining service life at the current moment. The specific calculation process is:

S301:计算环境因子:比较实际测量的电压值与预测的电压值,计算当前时刻环境因子,S301: Calculate the environmental factor: compare the actual measured voltage value with the predicted voltage value, calculate the environmental factor at the current moment,

Figure BDA0002623439300000101
Figure BDA0002623439300000101

式中,kt+1为t+1时刻的环境因子,kt为t时刻的环境因子,

Figure BDA0002623439300000102
为t+1时刻的平均单片电压估计值,Vt+1为t+1时刻的平均单片电压实际值。In the formula, k t+1 is the environmental factor at time t+1, k t is the environmental factor at time t,
Figure BDA0002623439300000102
is the estimated value of the average single-chip voltage at time t+1, and V t+1 is the actual value of the average single-chip voltage at time t+1.

k的初始值建议取为1.1,因为电压退化是非线性的。考虑到寿命开始时非线性退化因素不显著,取初始值略高于1。这也为燃料电池的寿命预测留下了一个安全阈值。k反映的是外界条件的长期变化,因此建议每100小时更新一次k值。The initial value of k is recommended to be 1.1 because the voltage degradation is nonlinear. Considering that the nonlinear degradation factor is not significant at the beginning of life, the initial value is slightly higher than 1. This also leaves a safe threshold for the lifetime prediction of fuel cells. k reflects long-term changes in external conditions, so it is recommended to update the k value every 100 hours.

S302:代入预测公式:将当前时刻的环境因子,燃料电池总的衰减速率和自适应扩展卡尔曼滤波算法得到的当前时刻平均单片电压估计值代入剩余使用寿命预测公式中,得出当前时刻对剩余使用寿命的估计值。剩余使用寿命预测公式为:S302: Substitute the prediction formula: Substitute the environmental factor at the current moment, the total decay rate of the fuel cell and the estimated value of the average single-chip voltage at the current moment obtained by the adaptive extended Kalman filter algorithm into the remaining service life prediction formula to obtain the current moment pair. An estimate of the remaining useful life. The remaining service life prediction formula is:

Figure BDA0002623439300000103
Figure BDA0002623439300000103

式中,T为当前时刻的燃料电池剩余使用寿命,ΔV为当前时刻的平均单片电压估计值至寿命终点的平均单片电压估计值的差值,k为当前时刻的环境因子,V为当前时刻的平均单片电压估计值,d为各工况下的衰减速率,g为各工况下的时间比例。In the formula, T is the remaining service life of the fuel cell at the current moment, ΔV is the difference between the estimated value of the average single-chip voltage at the current moment and the estimated value of the average single-chip voltage at the end of the life, k is the environmental factor at the current moment, and V is the current The estimated value of the average single-chip voltage at the time, d is the decay rate under each working condition, and g is the time ratio under each working condition.

4、总结4. Summary

如图2所示,指出了在线预测的主要困难:动态条件下的寿命评价指标;真实运行工况的评价和预测工具的自适应能力。本实施例提供的方法针对这三个困难给出了对应的解决方案。建立了一个经验模型来预测燃料电池的寿命,其中考虑了活化损耗、欧姆损耗和浓度损耗。该模型与自适应扩展卡尔曼滤波(AEKF)相结合,得出当前时刻对平均单片电压的估计值。定义了四种运行工况:变负荷工况、启停工况、怠速工况和大功率负荷工况。燃料电池的总电压退化率基于每种工况下的退化率和每种工况的时间占比计算得来。提出了一个剩余使用寿命预测公式,该公式考虑了实际使用条件下的运行工况和外部环境的影响。该方法的在线计算量大大减小,可以实现燃料电池剩余使用寿命的快速估计,同时给出当前燃料电池车的使用状况。As shown in Figure 2, the main difficulties of online prediction are pointed out: life evaluation index under dynamic conditions; evaluation of real operating conditions and adaptive ability of prediction tools. The method provided in this embodiment provides corresponding solutions to these three difficulties. An empirical model was built to predict the lifetime of fuel cells, which considered activation loss, ohmic loss, and concentration loss. This model is combined with Adaptive Extended Kalman Filtering (AEKF) to obtain an estimate of the average monolithic voltage at the current moment. Four operating conditions are defined: variable load condition, start-stop condition, idle speed condition and high power load condition. The total voltage degradation rate of the fuel cell is calculated based on the degradation rate under each operating condition and the time fraction of each operating condition. A residual service life prediction formula is proposed, which takes into account the operating conditions and the influence of the external environment under actual use conditions. The online calculation amount of the method is greatly reduced, and the remaining service life of the fuel cell can be quickly estimated, and the current usage status of the fuel cell vehicle can be given at the same time.

在步骤S1中,燃料电池电堆在运行时,测量不同时刻的极化曲线,得到经验模型中的参数;采集电压-时间数据,提取出燃料电池工作在额定电流下的电压数据,计算得到额定电流下平均单片电压-时间数据;将模型中计算得到的电压数据与采集到的电压数据代入自适应扩展卡尔曼滤波算法中,得出对当前时刻电压的估计值。然后执行步骤S2。In step S1, when the fuel cell stack is running, the polarization curves at different times are measured to obtain the parameters in the empirical model; the voltage-time data is collected, the voltage data of the fuel cell operating at the rated current is extracted, and the rated current is calculated. The average single-chip voltage-time data under the current; the voltage data calculated in the model and the collected voltage data are substituted into the adaptive extended Kalman filter algorithm, and the estimated value of the voltage at the current moment is obtained. Then step S2 is performed.

在步骤S2中,获取行驶记录中燃料电池车在负荷变化工况、启停工况、低功率负荷工况和大功率负荷工况运行的时间,计算得到四种工况的时间比例;从燃料电池试验数据库中获取燃料电池在四种工况下的衰减速率;根据四种工况的时间比例和衰减速率,计算得出总衰减速率。然后执行步骤S3。In step S2, the running time of the fuel cell vehicle in the load change condition, the start-stop condition, the low power load condition and the high power load condition in the driving record is obtained, and the time ratio of the four working conditions is calculated; The decay rate of the fuel cell under four working conditions is obtained from the battery test database; the total decay rate is calculated according to the time proportion and decay rate of the four working conditions. Then step S3 is performed.

在步骤S3中,将当前时刻的环境因子,燃料电池总的衰减速率和自适应扩展卡尔曼滤波算法得到的当前电压估计值代入剩余使用寿命预测公式中,得出当前时刻的剩余使用寿命。In step S3, the environmental factor at the current moment, the total decay rate of the fuel cell and the current voltage estimate obtained by the adaptive extended Kalman filter algorithm are substituted into the remaining service life prediction formula to obtain the remaining service life at the current moment.

如图3所示,本实施例中一个具体的燃料电池剩余使用寿命在线预测方法。由极化曲线建立经验模型,得到基于模型的平均单片电压-时间数据库。结合采集到的平均单片电压-时间数据库,应用自适应扩展卡尔曼滤波得出对当前电压的估计。由衰退试验数据得出不同工况下的电压衰减率。由车辆行驶数据得出四种工况的时间比例,计算得出总的电压衰减率。最后将当前时刻的环境因子,燃料电池总的衰减速率和自适应扩展卡尔曼滤波算法得到的当前电压估计值代入剩余使用寿命预测公式中,得出当前时刻的剩余使用寿命。As shown in FIG. 3 , in this embodiment, there is a specific online prediction method for the remaining service life of the fuel cell. An empirical model is established from the polarization curve, and a model-based average monolithic voltage-time database is obtained. Combined with the collected average monolithic voltage-time database, an adaptive extended Kalman filter is applied to obtain an estimate of the current voltage. The voltage decay rate under different working conditions is obtained from the decay test data. The time proportion of the four working conditions is obtained from the vehicle driving data, and the total voltage decay rate is calculated. Finally, the environmental factors at the current moment, the total decay rate of the fuel cell and the current voltage estimate obtained by the adaptive extended Kalman filter algorithm are substituted into the remaining service life prediction formula to obtain the remaining service life at the current moment.

该燃料电池剩余使用寿命预测方法可以在在线的条件下实时快速地给出当前时刻对剩余使用寿命的估计值,计算量小,便于在实车条件下应用。The method for predicting the remaining service life of the fuel cell can quickly give the estimated value of the remaining service life at the current moment in real time under the online condition, and the calculation amount is small, which is convenient to be applied in real vehicle conditions.

以上详细描述了本发明的较佳具体实施例。应当理解,本领域的普通技术人员无需创造性劳动就可以根据本发明的构思做出诸多修改和变化。因此,凡本技术领域中技术人员依本发明的构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在由权利要求书所确定的保护范围内。The preferred embodiments of the present invention have been described above in detail. It should be understood that those skilled in the art can make numerous modifications and changes according to the concept of the present invention without creative efforts. Therefore, any technical solutions that can be obtained by those skilled in the art through logical analysis, reasoning or limited experiments on the basis of the prior art according to the concept of the present invention shall fall within the protection scope determined by the claims.

Claims (10)

1. A method for predicting the residual life of a fuel cell based on adaptive extended Kalman filtering is characterized by comprising the following steps:
estimating the voltage at the current moment: acquiring an average monolithic voltage estimated value of the fuel cell at the current moment through a self-adaptive extended Kalman filtering algorithm;
calculating the total decay rate: collecting the time proportion and the attenuation rate of the fuel cell under each working condition, and calculating the total attenuation rate of the fuel cell;
calculating an environment factor: calculating an environmental factor according to the average single-chip voltage estimated value at the current moment and the average single-chip voltage actual value at the current moment;
and (3) predicting the residual service life: and obtaining a prediction result of the residual service life of the fuel cell at the current moment through a residual service life calculation formula according to the average monolithic voltage estimation value, the total attenuation rate and the environmental factor at the current moment.
2. The method of claim 1, wherein the input of the adaptive extended Kalman Filter algorithm comprises actual measurement values and model prediction values,
the actual measurement value is the average monolithic voltage-time curve data of the fuel cell under the rated current obtained by recording the voltage and current changes of the fuel cell in real time;
the model predicted value is a calculated value of the average single-chip voltage of the fuel cell, which is obtained by fitting polarization curves of the fuel cell at different moments during operation and loading the fitted polarization curves into a pre-established empirical model.
3. The method for predicting the remaining life of the fuel cell based on the adaptive extended kalman filter according to claim 2, wherein the polarization curves at different moments when the fuel cell operates are fitted through a polarization curve expression, and the polarization curve expression is as follows:
Figure FDA0002623439290000011
where V is the fuel cell output voltage, E is the reversible open circuit voltage, i is the fuel cell output current, i is the voltage of the fuel cell output0For exchange of current density, A is the Tafel slope, B is the concentration polarization constant, ilIs the limiting current density and r is the total resistance of the fuel cell.
4. The method for predicting the remaining life of the fuel cell based on the adaptive extended kalman filter according to claim 3, wherein the empirical model has the expression:
Figure FDA0002623439290000021
in the formula, g (x)k,uk) For the current time voltage (model prediction), r0As an initial value of the total resistance, αkAs the rate of change of the total resistance, ikThe current value at the present moment.
5. The method for predicting the remaining life of the fuel cell based on the adaptive extended kalman filter according to claim 1, wherein the expression of the adaptive extended kalman filter algorithm is as follows:
xk+1=Fxk|k+wk
xk=[αkβk]T
Figure FDA0002623439290000022
yk=g(xk,uk)+vk
P(w)~N(0,Q)
P(v)~N(0,R)
in the formula, xkIs state, ukTo input, ykFor output, F is the state transition matrix of the system, TsIs a sampling time, xk|kIs a state matrix of the system, wkFor systematic error noise, αkAs the rate of change of the total resistance, betakIs a constant of rate of change, vkTo measure error noise, g (x)k,uk) For the voltage (model prediction value) at the current moment, P (w) is a probability function of a system error, Q is a system noise covariance matrix, P (v) is a probability function of a measurement error, and R is a measurement noise covariance matrix;
the time updating expression of the self-adaptive extended Kalman filtering algorithm is as follows:
xk|k-1=Fxk-1|k-1
Pk|k-1=FPk-1|k-1FT+Q
in the formula, xk|k-1Is a predicted value, x, of the system state at the next timek-1|k-1As the current timeSystem state of (1), Pk|k-1Is xk|k-1Corresponding covariance, Pk-1|k-1Is xk-1|k-1A corresponding covariance;
the measurement updating expression of the self-adaptive extended Kalman filtering algorithm is as follows:
Figure FDA0002623439290000023
Figure FDA0002623439290000024
Pk|k=(I-KkHk)Pk|k-1
xk|k=xk|k-1+Kk(Vstk-g(xk,uk))
in the formula, KkAs Kalman gain, HkIs a Jacobian matrix, x, corresponding to an observation equation in an adaptive extended Kalman filtering algorithmk|k-1Is the system state, VstkThe voltage at the current moment (actual measurement value);
the covariance adaptive updating expression of the adaptive extended Kalman filtering algorithm is as follows:
Figure FDA0002623439290000031
vk=Vstk-Hkxk
Figure FDA0002623439290000032
Figure FDA0002623439290000033
in the formula (I), the compound is shown in the specification,
Figure FDA0002623439290000034
when the sampling window is NEstimation of innovation residual covariance, N is the length of the sampling window, j0Is the starting time of sampling, k is the current time of sampling, vjFor the current residual sequence, QkFor the updated system noise covariance matrix, RkThe noise covariance matrix is measured for the updated.
6. The method for predicting the remaining life of the fuel cell based on the adaptive extended kalman filter according to claim 1, wherein in the step of calculating the total attenuation rate, the working conditions include a load change working condition, a start-stop working condition, a low-power load working condition and a high-power load working condition;
the computational expression of the total decay rate of the fuel cell is:
total decay rate ═ V (d)1g1+d2g2+d3g3+d4g4)
Where V is the average monolithic voltage estimate, d1Is the rate of decline of the load change condition, g1Time-weighted coefficient of load variation behavior, d2Degradation rate for start-stop conditions, g2Time weight coefficient for start-stop conditions, d3The rate of decay, g, for low power load conditions3Time weighting factor for low power load conditions, d4Is the degradation rate of the high power load condition, g4The time weight coefficient of the working condition of the high-power load is shown.
7. The method for predicting the remaining life of the fuel cell based on the adaptive extended kalman filter according to claim 1, wherein in the step of calculating the environmental factor, the calculation expression of the environmental factor is as follows:
Figure FDA0002623439290000035
in the formula, kt+1Is the environmental factor, k, at time t +1tIs the environmental factor at the time of t,
Figure FDA0002623439290000036
is the average monolithic voltage estimate, V, at time t +1t+1Is the average monolithic voltage actual value at time t + 1.
8. The fuel cell remaining life prediction method based on the adaptive extended kalman filter according to claim 7, wherein the initial value of the environmental factor is in a range of 1 to 1.2.
9. The method for predicting the remaining life of the fuel cell based on the adaptive extended kalman filter according to claim 1, wherein in the step of predicting the remaining life, the remaining life calculation formula is as follows:
Figure FDA0002623439290000037
in the formula, T is the remaining service life of the fuel cell at the current time, Δ V is the difference between the average monolithic voltage estimate at the current time and the average monolithic voltage estimate at the end of the life, k is the environmental factor at the current time, V is the average monolithic voltage estimate at the current time, d is the decay rate under each working condition, and g is the time ratio under each working condition.
10. The method of claim 9, wherein the criterion of the end of life is a time point when the average cell voltage value of the fuel cell decays to 90% of the initial value of the average cell voltage.
CN202010790065.6A 2020-08-07 2020-08-07 Remaining life prediction method of fuel cell based on adaptive extended Kalman filter Pending CN111880100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010790065.6A CN111880100A (en) 2020-08-07 2020-08-07 Remaining life prediction method of fuel cell based on adaptive extended Kalman filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010790065.6A CN111880100A (en) 2020-08-07 2020-08-07 Remaining life prediction method of fuel cell based on adaptive extended Kalman filter

Publications (1)

Publication Number Publication Date
CN111880100A true CN111880100A (en) 2020-11-03

Family

ID=73211846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010790065.6A Pending CN111880100A (en) 2020-08-07 2020-08-07 Remaining life prediction method of fuel cell based on adaptive extended Kalman filter

Country Status (1)

Country Link
CN (1) CN111880100A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112563543A (en) * 2021-02-23 2021-03-26 北京亿华通科技股份有限公司 Method for predicting and maintaining service life of fuel cell system
CN113391621A (en) * 2021-06-23 2021-09-14 哈尔滨工业大学 Health state evaluation method of electric simulation test turntable
CN113540524A (en) * 2021-06-24 2021-10-22 浙江大学 A kind of aging quantification treatment method of proton exchange membrane fuel cell components
CN113871661A (en) * 2021-09-23 2021-12-31 中国第一汽车股份有限公司 Control method and control device of fuel cell
CN114137431A (en) * 2021-11-19 2022-03-04 中国科学院大连化学物理研究所 Fuel cell service life prediction method suitable for cycle working condition
CN114388855A (en) * 2021-12-22 2022-04-22 同济大学 Fuel cell life prediction method
CN114487843A (en) * 2021-12-21 2022-05-13 清华大学 Life prediction method and device based on fuel cell polarization curve change rule
CN114487879A (en) * 2021-12-27 2022-05-13 南京邮电大学 SOC estimation method based on adaptive square root center difference Kalman filtering
CN114551945A (en) * 2020-11-27 2022-05-27 中国科学院大连化学物理研究所 An Automatically Optimized Fuel Cell Lifetime Prediction Method
CN114566686A (en) * 2020-11-27 2022-05-31 中国科学院大连化学物理研究所 Method for estimating state and predicting service life of fuel cell
CN114814589A (en) * 2022-01-20 2022-07-29 北京科技大学 A method and device for predicting remaining service life of PEMFC
CN114994555A (en) * 2022-06-06 2022-09-02 浙大宁波理工学院 Fuel cell residual life prediction method and device based on hybrid model
WO2023000985A1 (en) * 2021-07-22 2023-01-26 中国第一汽车股份有限公司 Method and apparatus for predicting remaining life of fuel cell
CN116256647A (en) * 2023-05-10 2023-06-13 上海重塑能源科技有限公司 Online identification prediction method and system for fuel cell performance

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004028663A (en) * 2002-06-24 2004-01-29 Matsushita Electric Ind Co Ltd Electronic control circuit
US20050092617A1 (en) * 2003-11-03 2005-05-05 Lecky John E. Automatic measurement of fuel cell resistance
CN1913217A (en) * 2005-08-08 2007-02-14 丰田自动车株式会社 Powertrain battery life predicting and warning apparatuses
CN101144850A (en) * 2007-10-29 2008-03-19 清华大学 Method and device for fast measurement of fuel cell voltage decay
FR2928777A1 (en) * 2008-03-12 2009-09-18 Renault Sas Fuel cell ageing estimation device for motor vehicle, has mathematical observer connected to determination unit to determine starting value of ageing coefficient of fuel cell and to receive signals representing parameters and over voltage
CN102736033A (en) * 2012-06-13 2012-10-17 新源动力股份有限公司 A vehicle fuel cell stack and module durability assessment working condition and assessment method
CN102749589A (en) * 2012-07-13 2012-10-24 哈尔滨工业大学深圳研究生院 Recession-mode predicting method of power battery of electric automobile
CN103698709A (en) * 2013-12-11 2014-04-02 清华大学 Method for predicting residual life of fuel cell
EP2098878B1 (en) * 2008-03-04 2015-06-03 Eaton Corporation Battery service life estimation using a regression model and state estimation
CN105629175A (en) * 2015-12-29 2016-06-01 北京航天测控技术有限公司 Lithium ion battery life prediction method based on unscented Kalman filtering (UKF)
CN108417868A (en) * 2018-03-05 2018-08-17 中国第汽车股份有限公司 A method for accelerated testing and analysis of service life of vehicle fuel cells
CN108872872A (en) * 2018-06-27 2018-11-23 清华大学 The prediction technique and device of fuel cell service life and remaining life
CN109932656A (en) * 2019-04-17 2019-06-25 合肥工业大学 A Lithium Battery Life Estimation Method Based on IMM-UPF
CN110728037A (en) * 2019-09-26 2020-01-24 上海理工大学 Closed-loop fusion prediction method of battery capacity
CN110837049A (en) * 2019-11-26 2020-02-25 无锡物联网创新中心有限公司 Lithium ion power battery state estimation method based on UKF algorithm
CN110850320A (en) * 2019-11-18 2020-02-28 湖南省计量检测研究院 Durability test method for hydrogen fuel cell
CN111007402A (en) * 2019-12-03 2020-04-14 清华大学 Durability test methods for fuel cell stacks
CN111146478A (en) * 2019-12-22 2020-05-12 同济大学 A method for predicting the remaining useful life of a proton exchange membrane fuel cell stack

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004028663A (en) * 2002-06-24 2004-01-29 Matsushita Electric Ind Co Ltd Electronic control circuit
US20050092617A1 (en) * 2003-11-03 2005-05-05 Lecky John E. Automatic measurement of fuel cell resistance
CN1913217A (en) * 2005-08-08 2007-02-14 丰田自动车株式会社 Powertrain battery life predicting and warning apparatuses
CN101144850A (en) * 2007-10-29 2008-03-19 清华大学 Method and device for fast measurement of fuel cell voltage decay
EP2098878B1 (en) * 2008-03-04 2015-06-03 Eaton Corporation Battery service life estimation using a regression model and state estimation
FR2928777A1 (en) * 2008-03-12 2009-09-18 Renault Sas Fuel cell ageing estimation device for motor vehicle, has mathematical observer connected to determination unit to determine starting value of ageing coefficient of fuel cell and to receive signals representing parameters and over voltage
CN102736033A (en) * 2012-06-13 2012-10-17 新源动力股份有限公司 A vehicle fuel cell stack and module durability assessment working condition and assessment method
CN102749589A (en) * 2012-07-13 2012-10-24 哈尔滨工业大学深圳研究生院 Recession-mode predicting method of power battery of electric automobile
CN103698709A (en) * 2013-12-11 2014-04-02 清华大学 Method for predicting residual life of fuel cell
CN105629175A (en) * 2015-12-29 2016-06-01 北京航天测控技术有限公司 Lithium ion battery life prediction method based on unscented Kalman filtering (UKF)
CN108417868A (en) * 2018-03-05 2018-08-17 中国第汽车股份有限公司 A method for accelerated testing and analysis of service life of vehicle fuel cells
CN108872872A (en) * 2018-06-27 2018-11-23 清华大学 The prediction technique and device of fuel cell service life and remaining life
CN109932656A (en) * 2019-04-17 2019-06-25 合肥工业大学 A Lithium Battery Life Estimation Method Based on IMM-UPF
CN110728037A (en) * 2019-09-26 2020-01-24 上海理工大学 Closed-loop fusion prediction method of battery capacity
CN110850320A (en) * 2019-11-18 2020-02-28 湖南省计量检测研究院 Durability test method for hydrogen fuel cell
CN110837049A (en) * 2019-11-26 2020-02-25 无锡物联网创新中心有限公司 Lithium ion power battery state estimation method based on UKF algorithm
CN111007402A (en) * 2019-12-03 2020-04-14 清华大学 Durability test methods for fuel cell stacks
CN111146478A (en) * 2019-12-22 2020-05-12 同济大学 A method for predicting the remaining useful life of a proton exchange membrane fuel cell stack

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MATHIEU BRESSEL等: "Remaining Useful Life Prediction and Uncertainty Quantification of Proton Exchange Membrane Fuel Cell Under Variable Load", 《IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS》 *
ZHONGLIANG LI等: "Remaining useful life estimation for PEMFC in dynamic operating conditions", 《2016 IEEE VEHICLE POWER AND PROPULSION CONFERENCE (VPPC)》 *
张雪霞等: "基于数据驱动的质子交换膜燃料电池寿命预测", 《西南交通大学学报》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114551945B (en) * 2020-11-27 2023-11-14 中国科学院大连化学物理研究所 Automatic optimization fuel cell life prediction method
CN114566686B (en) * 2020-11-27 2023-11-14 中国科学院大连化学物理研究所 Method for evaluating state and predicting service life of fuel cell
CN114566686A (en) * 2020-11-27 2022-05-31 中国科学院大连化学物理研究所 Method for estimating state and predicting service life of fuel cell
CN114551945A (en) * 2020-11-27 2022-05-27 中国科学院大连化学物理研究所 An Automatically Optimized Fuel Cell Lifetime Prediction Method
CN112563543A (en) * 2021-02-23 2021-03-26 北京亿华通科技股份有限公司 Method for predicting and maintaining service life of fuel cell system
CN113391621B (en) * 2021-06-23 2022-03-25 哈尔滨工业大学 A method for evaluating the health status of an electric simulation test turntable
CN113391621A (en) * 2021-06-23 2021-09-14 哈尔滨工业大学 Health state evaluation method of electric simulation test turntable
CN113540524A (en) * 2021-06-24 2021-10-22 浙江大学 A kind of aging quantification treatment method of proton exchange membrane fuel cell components
CN113540524B (en) * 2021-06-24 2022-05-24 浙江大学 A kind of aging quantification treatment method of proton exchange membrane fuel cell components
WO2023000985A1 (en) * 2021-07-22 2023-01-26 中国第一汽车股份有限公司 Method and apparatus for predicting remaining life of fuel cell
CN113871661B (en) * 2021-09-23 2023-05-12 中国第一汽车股份有限公司 Control method and control device for fuel cell
CN113871661A (en) * 2021-09-23 2021-12-31 中国第一汽车股份有限公司 Control method and control device of fuel cell
CN114137431A (en) * 2021-11-19 2022-03-04 中国科学院大连化学物理研究所 Fuel cell service life prediction method suitable for cycle working condition
CN114487843A (en) * 2021-12-21 2022-05-13 清华大学 Life prediction method and device based on fuel cell polarization curve change rule
CN114388855A (en) * 2021-12-22 2022-04-22 同济大学 Fuel cell life prediction method
CN114487879A (en) * 2021-12-27 2022-05-13 南京邮电大学 SOC estimation method based on adaptive square root center difference Kalman filtering
CN114814589A (en) * 2022-01-20 2022-07-29 北京科技大学 A method and device for predicting remaining service life of PEMFC
CN114994555A (en) * 2022-06-06 2022-09-02 浙大宁波理工学院 Fuel cell residual life prediction method and device based on hybrid model
CN114994555B (en) * 2022-06-06 2025-04-18 浙大宁波理工学院 A method and device for predicting the remaining life of a fuel cell based on a hybrid model
CN116256647A (en) * 2023-05-10 2023-06-13 上海重塑能源科技有限公司 Online identification prediction method and system for fuel cell performance
CN116256647B (en) * 2023-05-10 2023-08-04 上海重塑能源科技有限公司 Online identification prediction method and system for fuel cell performance

Similar Documents

Publication Publication Date Title
CN111880100A (en) Remaining life prediction method of fuel cell based on adaptive extended Kalman filter
CN111339712B (en) Proton exchange membrane fuel cell residual life prediction method
Chen et al. Performance analysis of PEM fuel cell in mobile application under real traffic and environmental conditions
CN114814589B (en) A method and device for predicting the remaining service life of PEMFC
CN113109715B (en) Battery Health Prediction Method Based on Feature Selection and Support Vector Regression
Li et al. Degradation prediction of proton exchange membrane fuel cell based on the multi-inputs Bi-directional long short-term memory
CN107169170B (en) A method for predicting the remaining capacity of a battery
CN112630659A (en) Lithium battery SOC estimation method based on improved BP-EKF algorithm
CN110554324A (en) SOC and SOH joint estimation method
CN112858920B (en) A SOC estimation method for all-vanadium redox flow battery fusion model based on adaptive unscented Kalman filter
CN108680867B (en) Online SOC calibration method of all-vanadium redox flow battery based on capacity correction
CN115308608A (en) All-vanadium redox flow battery voltage prediction method, device and medium
CN118914866B (en) Battery state evaluation system for energy storage power station
CN116953547A (en) Energy storage battery health assessment method, system, equipment and storage medium
CN118889593A (en) A lithium battery and a charging control method thereof
CN109239605B (en) A method for estimating SOC of lithium iron phosphate power battery
CN113791351A (en) Lithium battery life prediction method based on transfer learning and difference probability distribution
CN119601724B (en) A method to balance fuel cell life and performance
CN119247148A (en) A battery health status assessment method, system, device and medium
CN116298914A (en) Joint estimation method of state of charge and state of health of lithium battery based on deep learning
Yu et al. Remaining-useful-lifetime prediction of proton exchange membrane fuel cell considering model uncertainty quantification on the full-time scale
CN117368767A (en) Lithium battery state of charge estimation method and system based on ampere-hour integration method
CN113466712A (en) Method for acquiring residual capacity of battery
CN119224621A (en) Aging battery state collaborative estimation method and system
CN117970128A (en) Battery comprehensive experiment debugging method and system based on real-time feedback control

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201103