원시데이터 수집 시스템
선정목록으로

A Data-Driven Prediction Method for Proton Exchange Membrane Fuel Cell Degradation

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Dan Wang — State Key Laboratory of Automotive Simulation and Control, Jilin University, Changchun 130022, China|||Xiangyang Daan Automobile Test Center, Xiangyang 441148, China
  2. Haitao Min — State Key Laboratory of Automotive Simulation and Control, Jilin University, Changchun 130022, China
  3. Honghui Zhao — China FAW Corporation Limited, Changchun 130013, China|||State Key Laboratory of Automotive Simulation and Control, Jilin University, Changchun 130022, China
  4. Weiyi Sun — State Key Laboratory of Automotive Simulation and Control, Jilin University, Changchun 130022, China
  5. Bin Zeng — Xiangyang Daan Automobile Test Center, Xiangyang 441148, China
  6. Qun Ma — Xiangyang Daan Automobile Test Center, Xiangyang 441148, China
DOI
10.3390/en17040968
저널
Energies
발행년도
2024
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
10
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/en17040968
토픽
Electrocatalysts for Energy Conversion
OpenAlex ID
W4392004086

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.90
근거 용어
PEMFC, degradation prediction, LSTM, ACO, membrane electrode assembly
판단 근거
이 논문은 PEMFC(고분자전해질 연료전지)의 성능 저하를 예측하기 위한 데이터 기반 모델(ACO-LSTM)을 연구하고 있습니다. 이는 코오롱인더스트리의 수소연료전지 사업 분야 중 MEA(7) 및 관련 구성 요소의 내구성과 수명 관리 기술에 간접적으로 기여할 수 있는 연구입니다.
R&D 활용 포인트
PEMFC의 성능 저하 및 수명 예측 모델을 활용하여 MEA 및 관련 부품의 내구성 설계 최적화와 유지보수 전략(PHM) 수립에 활용 가능함.
평가 입력
섹션 본문 50,579자 중 30,032자 발췌

초록

This paper proposes a long short-term memory (LSTM) network to predict the power degradation of proton exchange membrane fuel cells (PEMFCs), and in order to promote the performance of the LSTM network, the ant colony algorithm (ACO) is introduced to optimize the hyperparameters of the LSTM network. First, the degradation mechanism of PEMFCs is analyzed. Second, the ACO algorithm is used to set the learning rate and dropout probability of the LSTM network combined with partial aging data, which can show the characteristics of the dataset. After that, the aging prediction model is built by using the LSTM and ACO (ACO-LSTM) method. Moreover, the convergence of the method is verified with previous studies. Finally, the fuel cell aging data provided by the Xiangyang Da’an Automotive Testing Center are used for verification. The results show that, compared with the traditional LSTM network, ACO-LSTM can predict the aging process of PEMFCs more accurately, and its prediction accuracy is improved by about 35%, especially when the training data are less. At the same time, the performance of the model trained by ACO-LSTM is also excellent under other operating conditions of the same fuel cell, and it has strong versatility.

본문 52,190자

본문 펼치기
This paper proposes a long short-term memory (LSTM) network to predict the power degradation of proton exchange membrane fuel cells (PEMFCs), and in order to promote the performance of the LSTM network, the ant colony algorithm (ACO) is introduced to optimize the hyperparameters of the LSTM network.First, the degradation mechanism of PEMFCs is analyzed.Second, the ACO algorithm is used to set the learning rate and dropout probability of the LSTM network combined with partial aging data, which can show the characteristics of the dataset.After that, the aging prediction model is built by using the LSTM and ACO (ACO-LSTM) method.Moreover, the convergence of the method is verified with previous studies.Finally, the fuel cell aging data provided by the Xiangyang Da'an Automotive Testing Center are used for verification.The results show that, compared with the traditional LSTM network, ACO-LSTM can predict the aging process of PEMFCs more accurately, and its prediction accuracy is improved by about 35%, especially when the training data are less.At the same time, the performance of the model trained by ACO-LSTM is also excellent under other operating conditions of the same fuel cell, and it has strong versatility. Introduction Since the 21st century, countries around the world have seen a growing demand for efficient and low-emission new energy.Hydrogen energy, as a type of new energy, has been defined as the "ultimate energy source" and has garnered widespread attention in recent years.PEMFCs, as devices capable of efficiently utilizing hydrogen energy, are gradually becoming a promising type of power generation equipment, with advantages such as zero emission, no Carnot cycle limitation, high energy efficiency, high reliability, and convenient maintenance [1].Moreover, most renewable energy sources (such as solar and wind energy) are intermittent, creating spatial and temporal gaps between the availability of energy and the consumption by end-users.The combination of hydrogen energy and PEMFCs (proton exchange membrane fuel cells) can effectively address this issue.However, in the course of use, the fuel cells are extremely sensitive to the operating environment, and this will accelerate the aging of the fuel cells in high dynamic operation, which will seriously affect the reliability and safety of the fuel cells [2,3].In addition, the control of fuel cells, such as thermal and water management, also has a significant impact on their aging [4]. Introduction The causes of fuel cell degradation include carbon corrosion and catalyst particle shedding [5,6].In addition, the degradation performance of fuel cells (FCs) is completely different under divergent control strategies [7][8][9][10].However, the industry does not fully understand the principle of fuel cell degradation.To correctly design a maintenance strategy for PEMFCs, the aging mechanism should be accurately predicted.Predictive and health management (PHM) is a technology that aims at forecasting and maintenance [11]. Introduction The definition of PHM is as follows [12]: "an equipment management method for detection, prediction, and maintenance, which is based on models, uses signals and measurements, and finally combines algorithms to evaluate equipment degradation and predict fault progress."[13].It can be inferred that, if the decline state of fuel cells can be predicted, targeted decisions or control strategies can be made to prolong its service life, and failure risk can be avoided.Prediction can ensure the smooth operation of some fuel cell systems, which shows that prediction is the key factor of PHM.Therefore, predicting the performance degradation trend of PEMFCs has attracted much attention in recent years. Introduction In recent research, many methods have been proposed and applied to predict the performance decline of PEMFCs.According to the different emphases of prediction, we can make a rough classification of these methods, such as model-driven method, data-driven method, and their combination method. Introduction In the research on the model-driven method, the models can be divided into mechanism degradation models, empirical degradation models, and semiempirical degradation models.Zhang et al. [14] established a fuel cell catalyst degradation model, and in order to predict FC degradation, an unscented Kalman filter (UKF) method was proposed.However, because the inherent mechanism of FCs is particularly complicated, it is often very hard to establish an accurate physical model [15]. Introduction Therefore, a lot of empirical or semiempirical models are widely used.Hu Di et al. Introduction [16] reconstructed a model on the basis of an engineering experience formula recognized by SAIC and Toyota, and two time vectors related to the working conditions are obtained to describe two key working conditions that cause the degradation.Lu et al. [17] proposed a semiempirical model of voltage degradation of a low-voltage PEMFC stack under bus city driving conditions, and an important assumption in this model is that degradation of several key parameters is linear with the running time.Jouin M et al. [18] selected the key components in the heap through degradation assessment, introduced the fault tree to define their fault principle, and finally established an aging prediction model including these components and mechanisms.M. Ou et al. [19] introduced the aging model of electrochemical active surface area (ECSA) and equivalent resistance and then established a semiempirical model based on these.Many previous studies are model-based because this method is highly interpretable and has little demand for data quantity and quality.However, the decline mechanism of the fuel cell system is extremely complex, so it is very hard to establish an accurate fuel cell decay model that is suitable for all operating conditions.Therefore, most studies still use semiempirical or empirical models.In addition, most models selectively simplify and ignore some causes of degradation. Introduction Therefore, to avoid the shortcomings of the model-driven method and promote the generality of prediction, many people have begun to pay attention to using data-driven methods to build degradation prediction models.Z. Deng et al. [20] used the combination of an echo state network (ESN) and a genetic algorithm (GA) to predict the decline of fuel cells.Z. Liu et al. [21] predicted and evaluated the decline from two aspects: short term and long term, which used a machine learning (ML) method under dynamic conditions.K.He et al. [22] introduced a prognosis strategy of an ESN based on a minimum absolute contraction selection operator (LASSO-ESN), which was used to optimize the input parameters and predict the long-term performance of PEMFCs.Z. Hua et al. [23] combined the Bayesian theory with GRU to put forward a Bayesian gated recursive unit model (B-GRU) to quantify the uncertainty of PEMFC degradation prediction results.Their article used discrete wavelet transform and EESN (DWT-EESN) to predict degradation.In particular, that study did not use conventional health indicators but defined a relative power loss rate as a health index [24].There are also many studies, such as the method based on ESN in [25], the method of using correlation vector machine in [26], and the method based on the LSTM algorithm in [27].These data-driven methods mainly rely on the availability of a lot of high-quality training data.Data-driven methods have been widely considered by many researchers in recent years because they are less dependent on the model and can make degradation predictions using only a lot of fuel cell degradation data.For the data-driven methods, apart from a lot of high-quality data, the appropriate parameters are also very important, because this will directly affect the final training effect.LSTM, as one of the data-driven methods, is not immune from this problem.Determining the initial learning rate and dropout probability is still a critical problem.In previous research, this information is often obtained through previous experience or experimentation.For example, in [28], a comparison study was performed, and it was found that a learning rate of 0.1 was best.The prediction results with learning rates of 0.01 and 0.001 were also obtained.It was concluded that the simulation result was closest to the actual value when the learning rate was 0.01.When training with a learning rate of 0.1, the information about operation changes could not be learned.However, for different datasets, different inputs, and different training ratios, the optimal learning rate and dropout probability should be different.To solve this problem, a method that uses an LSTM network and an ACO algorithm is proposed to predict the decline trend of FCs.As the data-driven method requires high-quality training data, the decline principle of PEMFCs is analyzed in order to select appropriate monitoring parameters to improve the training effect and reduce the initial learning rate and dropout rate within a limited number of iterations. Introduction The terminal voltage, impedance, and peak power of a fuel cell can be used as health indicators.According to the 2014 Data Challenge [29], the health state of fuel cells is defined as the ability to guarantee sufficient power at all times, and the decline of FCs can be defined as the power drop compared to the initial power.Therefore, this study uses peak power to evaluate and predict the degradation state of PEMFCs. Introduction The content of this article is arranged as follows: In the first section, the degradation process of a fuel cell is qualitatively analyzed through the degradation mechanism.The second section introduces the principle and architecture of the LSTM network for predicting degradation trends, as well as the principle and implementation of the ACO algorithm for optimization.The third section introduces the simulation results, that is, the prediction effect of ACO-LSTM, and a comparison with the traditional LSTM.Finally, this paper is summarized, and future work is described in the fourth section. Fuel Cell Degradation Phenomena Before predicting the decline trend of PEMFCs, the analysis of the degradation characteristics of PEMFCs is very important because the essence of this study is to determine the degradation-related factors of PEMFCs and predict them.Therefore, in this section, some previous work is referenced, and the decline phenomenon of FCs is analyzed [30][31][32][33][34][35].During the whole operation of a PEMFC, all its components will degenerate or fail, leading to the decline of the PEMFC.The decline mechanisms of FCs often influence each other, and the primary causes for the degradation are the decline of the gas diffusion layer (GDL), the degradation of the catalyst layer, and the degradation of the polymer film.In addition, degradation mainly occurs in the MEA section. Fuel Cell Degradation Phenomena The main phenomenon causing the decline of the GDL is carbon corrosion, which is often due to the high humidity and high potential of PEMFCs and the start-stop operation cycle [36].Oxygen starvation, large changes in load, and other reasons will also accelerate performance decline. Fuel Cell Degradation Phenomena In the catalyst layer, the important factor leading to the performance degradation is generally the dissolution or sintering of the catalyst particles.Because platinum particles are attached to carbon carriers, platinum particles easily fall off and gather when carbon corrosion occurs, while in acidic media, platinum is more likely to dissolve with increasing potential [37].The shedding, migration, and accumulation of platinum will cause the loss of the ECSA [38].In repeated chemical reactions, a polymer film is eroded and degraded [39].Hydroxyl or hydrogen peroxide radicals are often produced in fuel cells under the conditions of high voltage, high temperature, and low humidity.These free radicals often come from hydrogen peroxide formed by fuel pollution or gas crossover.The free radical reacts with the end group of the polymer containing the terminal H group [40], resulting in the decomposition of the polymer to form HF. On the other hand, HF corrodes metals and forms metal cations to lead to the faster formation of free radicals.At the same time, due to the thinning of the polymer film, hydrogen can more easily penetrate into the cathode and accelerate the formation of free radicals, thus leading to a positive feedback loop and causing performance degradation. Fuel Cell Degradation Phenomena In addition, the start-stop cycle will greatly affect the durability of the membrane electrode assembly (MEA).If FCs have a power outage for long, hydrogen will cross from the anode to the cathode so that the anode channel is filled with air.When in this state, starting the fuel cell will produce a transient operating condition, that is, although fuel is present at the entrance, there is a lack of fuel on the anode side of the exit.This local fuel shortage will cause the local potential of the cathode to be higher than 1.8 V, which will lead to serious degradation of the MEA [41]. Fuel Cell Degradation Phenomena In summary, many factors, including temperature, current, voltage, humidity, potential cycle, load change, start-stop condition, and fuel supply, will affect the degradation of PEMFCs. Fuel Cell Degradation Phenomena It is worth noting that most of these factors are combined with each other, and there are still many factors that cannot be quantified, but can only qualitatively analyzed, so it is difficult to separate these factors to discuss the phenomenon of degradation.This is why many current model-based fuel cell degradation predictions are based on engineering empirical or semiempirical models rather than mechanism models.Therefore, regarding a fuel cell stack as a "black box" and using the external characteristic data-driven method to study its degradation characteristics has increasingly become an important method to establish a PEMFC degradation model. Aging Experiments for the Fuel Cell The aging test was carried out with a 37 kW H2 core35 fuel cell stack containing 162 cells.The test bench is exhibited in Figure 1.This test was conducted at the Xiangyang Da'an Automobile Testing Center.The fuel cell was operated under the dynamic load conditions of stability assessment and rated conditions, as shown in Figure 2. Aging Experiments for the Fuel Cell corrosion occurs, while in acidic media, platinum is more likely to dissolve with increas ing potential [37].The shedding, migration, and accumulation of platinum will cause th loss of the ECSA [38]. Aging Experiments for the Fuel Cell In repeated chemical reactions, a polymer film is eroded and degraded [39].Hy droxyl or hydrogen peroxide radicals are often produced in fuel cells under the condition of high voltage, high temperature, and low humidity.These free radicals often come from hydrogen peroxide formed by fuel pollution or gas crossover.The free radical reacts wit the end group of the polymer containing the terminal H group [40], resulting in the de composition of the polymer to form HF. On the other hand, HF corrodes metals and form metal cations to lead to the faster formation of free radicals.At the same time, due to th thinning of the polymer film, hydrogen can more easily penetrate into the cathode an accelerate the formation of free radicals, thus leading to a positive feedback loop and caus ing performance degradation. Aging Experiments for the Fuel Cell In addition, the start-stop cycle will greatly affect the durability of the membran electrode assembly (MEA).If FCs have a power outage for long, hydrogen will cross from the anode to the cathode so that the anode channel is filled with air.When in this state starting the fuel cell will produce a transient operating condition, that is, although fuel i present at the entrance, there is a lack of fuel on the anode side of the exit.This local fue shortage will cause the local potential of the cathode to be higher than 1.8 V, which wi lead to serious degradation of the MEA [41]. Aging Experiments for the Fuel Cell In summary, many factors, including temperature, current, voltage, humidity, poten tial cycle, load change, start-stop condition, and fuel supply, will affect the degradatio of PEMFCs. Aging Experiments for the Fuel Cell It is worth noting that most of these factors are combined with each other, and ther are still many factors that cannot be quantified, but can only qualitatively analyzed, so is difficult to separate these factors to discuss the phenomenon of degradation.This is wh many current model-based fuel cell degradation predictions are based on engineering em pirical or semiempirical models rather than mechanism models.Therefore, regarding fuel cell stack as a "black box" and using the external characteristic data-driven metho to study its degradation characteristics has increasingly become an important method t establish a PEMFC degradation model. Aging Experiments for the Fuel Cell The aging test was carried out with a 37 kW H2 core35 fuel cell stack containing 16 cells.The test bench is exhibited in Figure 1.This test was conducted at the Xiangyan Da'an Automobile Testing Center.The fuel cell was operated under the dynamic load con ditions of stability assessment and rated conditions, as shown in Figure 2. The stability test condition (FC1) was run for 340 h according to Figure 2a, and the sampling interval was 0.5 s.The working condition spectrum was as follows: start and stop once per hour, load 27 times, idle condition for 21 min, and rated condition for 18 min.After every 4 h of operation, the fuel cell stack was stopped and rested for 1 h.The rated state test (FC2) was run for 75 h with a sampling interval of 0.5 s, including the startup, idle condition, rated current condition, reference current condition, and idle-stop condition.The test cycle is shown in Figure 2b.A test cycle was completed every 4 h, and after each cycle, the fuel cell stack was stopped for 1 h. Aging Experiments for the Fuel Cell For this paper, stability assessment condition data were selected to train the fuel cell degradation model.Then, the prediction performance of the model was further verified with the data from the rated test conditions. Degradation Model with an ACO-LSTM Architecture This section, firstly, describes how the data directly obtained through the sensor were processed to eliminate specific points and enhance the characteristics of the degradation trend.In addition, it explains how the LSTM was improved to train the decline prediction model.Then, we will discuss the principle of the ACO method.Thus, a data-driven prediction model based on ACO-LSTM was developed for fuel cell degradation prediction. Data Acquisition and Processing In general, in the course of operation, the data directly obtained through the sensor are rarely directly used as training data, because these data often contain a lot of unexpected information, such as noise, downtime, specific points, and so on. Data Acquisition and Processing Therefore, after obtaining the original data, the first step is to resample and filter the data.As a finite impulse response (FIR) digital filter, a Savitzky-Golay (SG) filter smooths original time-domain signals based on local polynomial least-square fitting in the time domain.The most important feature of this method is that it can maintain the same signal structure as that of the original data after filtering.In this work, the SG filter [42] was used to eliminate the noise in the original data.The main parameters of the SG filter are the order of the polynomial and the length of the filter window [43].The stability test condition (FC1) was run for 340 h according to Figure 2a, and the sampling interval was 0.5 s.The working condition spectrum was as follows: start and stop once per hour, load 27 times, idle condition for 21 min, and rated condition for 18 min.After every 4 h of operation, the fuel cell stack was stopped and rested for 1 h.The rated state test (FC2) was run for 75 h with a sampling interval of 0.5 s, including the start-up, idle condition, rated current condition, reference current condition, and idle-stop condition.The test cycle is shown in Figure 2b.A test cycle was completed every 4 h, and after each cycle, the fuel cell stack was stopped for 1 h. Data Acquisition and Processing For this paper, stability assessment condition data were selected to train the fuel cell degradation model.Then, the prediction performance of the model was further verified with the data from the rated test conditions. Degradation Model with an ACO-LSTM Architecture This section, firstly, describes how the data directly obtained through the sensor were processed to eliminate specific points and enhance the characteristics of the degradation trend.In addition, it explains how the LSTM was improved to train the decline prediction model.Then, we will discuss the principle of the ACO method.Thus, a data-driven prediction model based on ACO-LSTM was developed for fuel cell degradation prediction. Data Acquisition and Processing In general, in the course of operation, the data directly obtained through the sensor are rarely directly used as training data, because these data often contain a lot of unexpected information, such as noise, downtime, specific points, and so on. Data Acquisition and Processing Therefore, after obtaining the original data, the first step is to resample and filter the data.As a finite impulse response (FIR) digital filter, a Savitzky-Golay (SG) filter smooths original time-domain signals based on local polynomial least-square fitting in the time domain.The most important feature of this method is that it can maintain the same signal structure as that of the original data after filtering.In this work, the SG filter [42] was used to eliminate the noise in the original data.The main parameters of the SG filter are the order of the polynomial and the length of the filter window [43]. Data Acquisition and Processing The order of the polynomial and the window length of the SG filter were set to 2 and 20, respectively.The health state of the fuel cell has been defined in the previous text as its ability to guarantee sufficient power.Therefore, the degradation of the fuel cell's health status can be represented by the power reduction, as shown in Equation (1): Data Acquisition and Processing This formula represents the percentage drop in power, where P drop is the percentage decrease in power, P is the current power, and P init is the initial power. Data Acquisition and Processing Therefore, the degradation of the PEMFC's health status can be characterized by predicting the decay in power.However, under different operating conditions, especially in dynamic situations, defining an appropriate power value to characterize the health status is complex, because the power is not fixed but fluctuates within a certain range.Therefore, we chose to use the peak power P peak under the current condition for description: Data Acquisition and Processing In this formula, Health FC,decline represents the degradation of the fuel cell's health status, P peak,drop represents the reduction in the fuel cell's peak power, P peak represents the current peak power of the fuel cell, and P peak,init represents the peak power of the fuel cell in its initial state. Data Acquisition and Processing Therefore, the decline of the PEMFC is defined as the decline of peak power in this paper.The power envelope data under the condition of stability evaluation were selected in this study, and Figure 3 shows the data before and after filtering. Data Acquisition and Processing The order of the polynomial and the window length of the SG filter were set to 2 and 20, respectively.The health state of the fuel cell has been defined in the previous text as its ability to guarantee sufficient power.Therefore, the degradation of the fuel cell's health status can be represented by the power reduction, as shown in Equation ( 1): Data Acquisition and Processing This formula represents the percentage drop in power, where drop P is the percentage decrease in power, P is the current power, and init P is the initial power. Data Acquisition and Processing Therefore, the degradation of the PEMFC's health status can be characterized by predicting the decay in power.However, under different operating conditions, especially in dynamic situations, defining an appropriate power value to characterize the health status is complex, because the power is not fixed but fluctuates within a certain range.Therefore, we chose to use the peak power peak Therefore, the decline of the PEMFC is defined as the decline of peak power in this paper.The power envelope data under the condition of stability evaluation were selected in this study, and Figure 3 shows the data before and after filtering. LSTM Architecture An LSTM recurrent neural network is a special RNN.Its main advantage is that it can avoid the gradient disappearance and explosion of traditional neural networks in the process of long-sequence training.Its structure is shown in Figure 4. Unlike the traditional RNN, which has only one transfer state ( ) t C , the LSTM RNN has two transport states, a cell state ( ( ) t C ) and a hidden layer state ( ( ) t h ).Among them, the update of ( ) t C adds some information on the bias of the previous state ( 1) t C − , and the change range is very small.In contrast, ( ) t h makes large updates between different nodes.The main difference between the LSTM RNN and the traditional RNN is the improvement of the "gate" structures, such as the forget gate, input gate, and output gate.The gate structure is a sigmoid unit. LSTM Architecture An LSTM recurrent neural network is a special RNN.Its main advantage is that it can avoid the gradient disappearance and explosion of traditional neural networks in the process of long-sequence training.Its structure is shown in Figure 4. Unlike the traditional RNN, which has only one transfer state C (t) , the LSTM RNN has two transport states, a cell state (C (t) ) and a hidden layer state (h (t) ).Among them, the update of C (t) adds some information on the bias of the previous state C (t−1) , and the change range is very small.In contrast, h (t) makes large updates between different nodes.The main difference between the LSTM RNN and the traditional RNN is the improvement of the "gate" structures, such as the forget gate, input gate, and output gate.The gate structure is a sigmoid unit.Another key aspect of the LSTM, the internal state S (t) , which is the core of each linearly activated neuron, can be seen as a carrier for adding or deleting information, in which the control of information flow is realized by the "gate" structure.Another key aspect of the LSTM, the internal state ( ) t S , which is the core of each linearly activated neuron, can be seen as a carrier for adding or deleting information, in which the control of information flow is realized by the "gate" structure.(1) Forget gate: the first step of the LSTM algorithm is to selectively discard part of the information with the forget gate.It receives the inputs of C (t) and h (t) , then outputs a number between 0 and 1 to the internal state s (t) , where 1 represents the fully reserved state and 0 indicates complete discarding. LSTM Architecture (2) Input gate and input node: the second step is to decide which information to store in the internal state.This step needs to be completed in two small steps.First, the input gate (t) determines which values to update; then, a candidate state ∧ S (t) is created by the input node g (t) : LSTM Architecture Thus, Equations ( 3)-( 5) can update the old internal state s (t−1) to s (t) . LSTM Architecture (3) Output gate: the output gate determines what information to output. LSTM Architecture Finally, the hidden layer status is updated by combining the output door and the new internal state. LSTM Architecture Moreover, w and b are weights and biases, respectively, and their superscripts correspond to the corresponding relations.For example, w fc are the weights of the forget gate corresponding to C (t) , and b f are the biases of the forget gate. Structure and Implementation of ACO The ACO is a kind of swarm intelligence algorithm, which is often used to solve optimization problems.In the ACO, there is a group of ants."Nest" represents the nest, "Food" represents the food, and obstacles are randomly distributed on the map.The group of ants sets out randomly from the nest and gradually spreads all over the map until food is found.Then, the ants begin to move between the Nest and the Food.If an obstacle suddenly appears in front of an ant, the ant must make a decision about which direction to move in.Because there are no pheromones left by the first ants on the road, ants are equally likely to travel in any direction.However, when an ant is walking on the road, it releases pheromones on the road, and the pheromones are released at a certain speed.The pheromone is one of the tools for communication between ants, and it is also the core parameter of ant colony algorithm optimization.Each ant makes a decision and determines the direction of action based on the concentration of pheromones left on the road by the previous ants.Obviously, the pheromones along the shortest route will become increasingly thicker, attracting an increasing number of ants to walk along this path. Structure and Implementation of ACO This kind of population intelligence behavior is transformed into a mathematical equation.Suppose there are M ants on the whole map, and the movement dimension of each ant is D, then, the location of ant i is X i = (x i1 , x i2 , . . . ,x iD , ) .Then, the transfer probability is shown in Equation ( 9) as follows: Structure and Implementation of ACO Energies 2024, 17, 968 9 of 17 Structure and Implementation of ACO where max(Tau) represents the maximum value of the pheromone, Tau(i) represents the pheromone of ant i, and P(G, i) represents the transfer probability value of ant i in the Gth iteration.When the transfer probability P is less than the transfer probability constant P 0 , a local search is performed, and the search is shown in Equation ( 10): Structure and Implementation of ACO where new is the position to be moved to, old is the current position of the ant, r 1 is a random number from [−1,1], step is the local search step, and λ is the reciprocal of the current iteration number.When P > P 0 , a global search is performed, and the search formula is shown in Equation ( 11): Structure and Implementation of ACO where r 2 is a random number in [−0.5, 0.5] and µ is the range of the solution space. Structure and Implementation of ACO In defining the position of an ant within the range of values, whether or not to update the current position of the ant will be determined by judging the value of the objective function of the position to be moved to and the value of the objective function of the current position, and the boundary condition will be processed by using the boundary absorption method.The pheromone value for the new ant location is then set as follows: Dropout At present, the commonly used methods to prevent neural network overfitting are the L1 and L2 regularization methods.Both methods rely on adding an extra term to the cost function, and this term can also be regarded as a penalty term of the loss function, which is used to limit some parameters in the loss function.In 2014, dropout technology was introduced by Srivastava et al. [44] to address the problem of overfitting more effectively. Dropout The core of this method is to randomly delete some neurons and their connections temporarily (only before the next iteration) in the training process, as shown in Figure 3, and then randomly delete them in the next iteration so that each iteration trains a different network.The probability of deleting neurons is P (the probability between neurons is independent of each other).This approach is equivalent to sampling a "sparse" network in the original network.Thus, the training of the whole network is able to be seen as training multiple "samples", so the completely unchanged network can avoid being trained repeatedly.Therefore, the whole network is no longer very sensitive to the specific weights of neurons.At the same time, this approach can also enhance the generalizability. ACO-LSTM Approach The previous sections of this paper analyzed the advantages and disadvantages of the traditional LSTM approach.The conventional LSTM method performs exceptionally well in long-term forecasting, for instance, it can prevent issues like gradient explosion and vanishing, and it is capable of retaining a moderate number of old experiences during training, rather than completely ignoring the impact of past experiences on the future.However, as a type of neural network, the setting of hyperparameters has a significant impact on LSTM training and forecasting performance.To some extent, improper hyperparameter settings can lead to the complete failure of the neural network.Existing studies often set key parameters based on prior experience or through continuous trial and error, but these methods can lead to numerous problems, such as being time consuming and labor intensive, leading to uncertainty about whether the parameter settings are appropriate, and fixed parameter settings based on different data characteristics and data volumes can lead to inappropriate parameters or even complete inapplicability.To address this, our study introduces the ACO (ant colony optimization) method to adaptively optimize the hyperparameters of the LSTM network, ensuring outstanding performance across different data characteristics and data volumes. ACO-LSTM Approach The ACO-LSTM method used in this study effectively combines the advantages of both approaches.It not only retains the excellent training and forecasting performance of the LSTM but also adaptively optimizes its key parameters.This prediction method can be divided into three independent parts, which are described in Figure 4a.The upper part corresponds to the selection and processing of data.The second part located at the bottom left is the ACO module, which can optimize the LSTM parameters.The last part, which is at the bottom right, is the prediction process. ACO-LSTM Approach The flowchart of the ACO-LSTM method is shown in Figure 4b, and the more specific implementation measures are listed as follows: ACO-LSTM Approach (1) After the dataset is initially divided into a training set and a prediction set, the training set is subdivided into an LSTM simulation training set and an ACO optimization set. ACO-LSTM Approach (2) The ACO algorithm is initialized, and a two-dimensional (initial learning rate, dropout probability) ant population is randomly generated.(3) The LSTM simulation training set is used as the training set, and the ACO optimization set is used as the test set to simulate the LSTM prediction process and let the ant with the smallest prediction error (defined as the RMSE in this paper) produce the densest pheromone in each iteration.(4) When the end condition is satisfied, the ant with the smallest historical error is selected as the optimal solution.Then, the optimal initial learning rate and dropout probability are obtained from this solution and are used to obtain the prediction results. Criteria of Predictive Performance In this study, the mean absolute percentage error (MAPE), the root mean square error (RMSE), and the coefficient of determination (R 2 ) are used to represent the prediction performance of the degradation model.Smaller MAPE and RMSE values indicate a more accurate prediction with lower errors.In contrast, the larger the R 2 value is, the better the prediction result is because it indicates the degree of agreement between the predicted data and the actual data.We can assume that in a perfect degradation prediction model, the MAPE and RMSE values are equal to 0, and the values of R 2 are 1: Criteria of Predictive Performance where X pre represents the predicted power value, X obs is the actual value of power, X obs is the average of the actual power value, and N represents the total amount of data. Degradation Prediction Model Based on ACO-LSTM This section describes how the ACO-LSTM is trained with the FC1 (stability test) dataset and verified with the FC2 (rated test) dataset.It should be noted that FC2 did not participate in model training.The experiments of the two methods were based on CPU calculation and simulation.The LSTM RNN used in both groups consisted of an input layer, an LSTM layer (containing 100 hidden layer neurons), a fully connected layer, a dropout layer, and a regression layer.All used the Adam solver, and the total number of iterations was 100.In addition, 20%, 40%, 60%, and 80% of the dataset were selected for training (training data/total data) in both groups of experiments.In the first group, according to the recommendation in [27], the learning rate and the dropout probability were set as 0.01 and 0.5, respectively.The parameter settings of LSTM and ACO-LSTM were compared as shown in Table 1.In this paper, the health status of FCs is defined according to the IEEE PHM 2014 data challenge [35] as the ability of a fuel cell stack to guarantee sufficient power at all times.Therefore, we use the peak power decay to indicate the health status of an FC stack. Degradation Prediction Model Based on ACO-LSTM Figure 5 shows a comparison of the prediction results of the LSTM method and the ACO-LSTM method under four different data proportions.In this figure, the blue curve is the actual power of PEMFCs, the green one is the power decline trend that is predicted using the LSTM, and the red curve represents the result predicted using the ACO-LSTM method.In this paper, the health status of FCs is defined according to the IEEE PHM 2014 data challenge [35] as the ability of a fuel cell stack to guarantee sufficient power at all times.Therefore, we use the peak power decay to indicate the health status of an FC stack. Degradation Prediction Model Based on ACO-LSTM Figure 5 shows a comparison of the prediction results of the LSTM method and the ACO-LSTM method under four different data proportions.In this figure, the blue curve is the actual power of PEMFCs, the green one is the power decline trend that is predicted using the LSTM, and the red curve represents the result predicted using the ACO-LSTM method.Table 2 shows the learning rate and dropout probability obtained by using the adaptive optimization of the ACO-LSTM under different data ratios.In addition, the learning rate and dropout probability of the LSTM method remained at 0.01 and 0.5 under the four training data ratios.As can be seen in Figure 5, the prediction accuracy of the decline prediction model trained using LSTM and ACO-LSTM increases with an increasing proportion of training data.The more training data are used, the more power degradation information the model will learn.According to the power RMSE error in Figure 6, the error increases gradually with time, regardless of which method is chosen.A single data-driven model always produces this result, and a solution is to introduce physical models for constraints.Although the error increase is inevitable, it is clear from Table 3 that the MAPE, RMSE, and R2 based on the ACO-LSTM method were all smaller than those of the traditional LSTM method.However, the gap between the ACO-LSTM method and the LSTM method was small at a high data ratio (60%, 80%), but was more significant at a low data ratio (20%, 40%).In particular, it is obvious that the LSTM method gradually lost different degrees of data traction for the power degradation curve, and the fitting accuracy of the prediction data was low.In contrast, although the ACO-LSTM method had a certain degree of error at low data ratios, it accurately tracked the degradation trend.Thus, it can be seen that the hyperparameters selected for the LSTM were more suitable for training the model under a high data ratio than under a low ratio, but the learning rate and dropout probability in [27] were selected on the basis of experience under the proportion of 25% training data, which is more suitable for a low ratio than a high ratio.This phenomenon further shows that different hyperparameters should be configured for diverse datasets and different proportions of training data. Degradation Prediction Model Based on ACO-LSTM Energies 2024, 17, x FOR PEER REVIEW 13 of 19 Degradation Prediction Model Based on ACO-LSTM Table 2 shows the learning rate and dropout probability obtained by using the adaptive optimization of the ACO-LSTM under different data ratios.In addition, the learning rate and dropout probability of the LSTM method remained at 0.01 and 0.5 under the four training data ratios.As can be seen in Figure 5, the prediction accuracy of the decline prediction model trained using LSTM and ACO-LSTM increases with an increasing proportion of training data.The more training data are used, the more power degradation information the model will learn.According to the power RMSE error in Figure 6, the error increases gradually with time, regardless of which method is chosen.A single data-driven model always produces this result, and a solution is to introduce physical models for constraints.Although the error increase is inevitable, it is clear from Table 3 that the MAPE, RMSE, and R2 based on the ACO-LSTM method were all smaller than those of the traditional LSTM method.However, the gap between the ACO-LSTM method and the LSTM method was small at a high data ratio (60%, 80%), but was more significant at a low data ratio (20%, 40%).In particular, it is obvious that the LSTM method gradually lost different degrees of data traction for the power degradation curve, and the fitting accuracy of the prediction data was low.In contrast, although the ACO-LSTM method had a certain degree of error at low data ratios, it accurately tracked the degradation trend.Thus, it can be seen that the hyperparameters selected for the LSTM were more suitable for training the model under a high data ratio than under a low ratio, but the learning rate and dropout probability in [27] were selected on the basis of experience under the proportion of 25% training data, which is more suitable for a low ratio than a high ratio.This phenomenon further shows that different hyperparameters should be configured for diverse datasets and different proportions of training data. Verification of the Degradation Prediction Model To verify the predictive performance and generality of the trained model, the 60% data ratio training model was used to predict FC1 and FC2.As can be seen in Figure 7, the overall degradation trend of the fuel cell under dynamic load input was affected by the power recovery phase (power recovery to a certain extent after each shutdown restart).However, the ACO-LSTM still obtained the decline trend. Verification of the Degradation Prediction Model To verify the predictive performance and generality of the trained model, the 60% data ratio training model was used to predict FC1 and FC2.As can be seen in Figure 7, the overall degradation trend of the fuel cell under dynamic load input was affected by the power recovery phase (power recovery to a certain extent after each shutdown restart).However, the ACO-LSTM still obtained the decline trend. Verification of the Degradation Prediction Model Brilliantly, for the whole prediction phase of FC1 and FC2, most of the errors between the target and the output were within 0.2 kW, which shows that the learning effect of the network is acceptable.It is worth noting that after 3321 s of FC2, the power degradation curve showed an abnormal jump, and the tracking effect of the prediction model decreased obviously.This was due to a short shutdown caused by a failure at 3321 s, and the anode inlet relative humidity control was not initialized during restart, as shown in Figure 8. Verification of the Degradation Prediction Model There was a more obvious downward trend in fuel cell power after 75 h under the rated test condition.For this condition, which is completely different from FC1, the proposed ACO-LSTM prediction network also performed well in the whole operating time range.The predicted output RMSE was 0.0471.The error distribution was within 0.2 kW most of the time, and within 0.4 kW after 3321 s.Thus, it can be concluded that the ACO-LSTM degradation model can achieve higher prediction accuracy of fuel cell aging.Table 4 summarizes and compares the error assessment.Brilliantly, for the whole prediction phase of FC1 and FC2, most of the errors between the target and the output were within 0.2 kW, which shows that the learning effect of the network is acceptable.It is worth noting that after 3321 s of FC2, the power degradation curve showed an abnormal jump, and the tracking effect of the prediction model decreased obviously.This was due to a short shutdown caused by a failure at 3321 s, and the anode inlet relative humidity control was not initialized during restart, as shown in Figure There was a more obvious downward trend in fuel cell power after 75 h under the rated test condition.For this condition, which is completely different from FC1, the proposed ACO-LSTM prediction network also performed well in the whole operating time range.The predicted output RMSE was 0.0471.The error distribution was within 0.2 kW most of the time, and within 0.4 kW after 3321 s.Thus, it can be concluded that the ACO-LSTM degradation model can achieve higher prediction accuracy of fuel cell aging.Table 4 summarizes and compares the error assessment. Conclusions In this paper, a new data-driven method is proposed to predict the degradation trend of fuel cells, in which an LSTM network with ACO optimization is used to solve the problem of inappropriate setting of hyperparameters in the process of network training.And the dropout technology is introduced to avoid gradient disappearance or explosion during network training.Two different dynamic load conditions from the H2 Core35 fuel cell are used to train and verify the results of the prediction.At the same time, the traditional LSTM, which has the same setting but sets the hyperparameters according to experience, is compared with ACO-LSTM, which is introduced in this paper.The conclusions are as follows: Conclusions In this paper, a new data-driven method is proposed to predict the degradation trend of fuel cells, in which an LSTM network with ACO optimization is used to solve the problem of inappropriate setting of hyperparameters in the process of network training.And the dropout technology is introduced to avoid gradient disappearance or explosion during network training.Two different dynamic load conditions from the H2 Core35 fuel cell are used to train and verify the results of the prediction.At the same time, the traditional LSTM, which has the same setting but sets the hyperparameters according to experience, is compared with ACO-LSTM, which is introduced in this paper.The conclusions are as follows: Conclusions 1. Conclusions The results show that ACO-LSTM can efficaciously train the high-precision degradation prediction model under different training data ratios and has a significant improvement compared with the traditional LSTM, especially in the case of a low data ratio.2. Conclusions The proposed model shows good prediction performance in working conditions that are completely different from the training conditions, which proves its excellent generalizability. 3. However, when there is a large instantaneous change in the prediction data, the prediction model loses part of its tracking ability, although its performance is still better than that of the traditional LSTM. 3. This method can be used to predict the performance degradation of fuel cells and further determine the failure threshold, which is helpful to monitor the performance of FCs.Because of its simple construction, the proposed ACO-LSTM prediction model can be easily implemented online once it has been trained.The proposed method is also expected to be combined with a model-driven method to constrain the error and further improve the prediction accuracy and interpretability, which needs to be further solved in the following work. Figure 1 . Figure 1.H2 Core 35 37 kW fuel cell stack experimental platform. Figure 1 . Figure 1.H2 Core 35 37 kW fuel cell stack experimental platform. Figure 2 . Figure 2. Fuel cell stack test cycle.(a) FC1: stability assessment condition, (b) FC2: rated test condition. Figure 2 . Figure 2. Fuel cell stack test cycle.(a) FC1: stability assessment condition, (b) FC2: rated test condition. P under the current condition for description: of the fuel cell's health status, drop peak P , represents the reduction in the fuel cell's peak power, peak P represents the current peak power of the fuel cell, and init peak P , represents the peak power of the fuel cell in its initial state. Figure 3 . Figure 3. Savitzky-Golay filtered data.(a) Upper envelope of original power data; (b) upper original data; (c) filtered data. Figure 3 . Figure 3. Savitzky-Golay filtered data.(a) Upper envelope of original power data; (b) upper original data; (c) filtered data. Figure 4 .( 1 ) Figure 4. ACO-LSTM fusion prediction model.(a) ACO-LSTM fusion prognostic; (b) the flow chat of ACO-LSTM.(1) Forget gate: the first step of the LSTM algorithm is to selectively discard part of the information with the forget gate.It receives the inputs of ) (t C and ) (t h , then out- Figure 4 . Figure 4. ACO-LSTM fusion prediction model.(a) ACO-LSTM fusion prognostic; (b) the flow chat of ACO-LSTM. Figure 5 . Figure 5. LSTM and ACO-LSTM degradation model prediction performance: (a) 20% dataset for training; (b) 40% dataset for training; (c) 60% dataset for training; (d) 80% dataset for training. Figure 5 . Figure 5. LSTM and ACO-LSTM degradation model prediction performance: (a) 20% dataset for training; (b) 40% dataset for training; (c) 60% dataset for training; (d) 80% dataset for training. Figure 6 . Figure 6.Cont. Figure 6 . Figure 6.LSTM and ACO-LSTM degradation model prediction performance: (a) 20% dataset for training (LSTM); (b) 20% dataset for training (ACO-LSTM); (c) 40% dataset for training (LSTM); (d) 40% dataset for training (ACO-LSTM); (e) 60% dataset for training (LSTM); (f) 60% dataset for training (ACO-LSTM); (g) 80% dataset for training (LSTM); (h) 80% dataset for training (ACO-LSTM). Figure 6 . Figure 6.LSTM and ACO-LSTM degradation model prediction performance: (a) 20% dataset for training (LSTM); (b) 20% dataset for training (ACO-LSTM); (c) 40% dataset for training (LSTM); (d) 40% dataset for training (ACO-LSTM); (e) 60% dataset for training (LSTM); (f) 60% dataset for training (ACO-LSTM); (g) 80% dataset for training (LSTM); (h) 80% dataset for training (ACO-LSTM). Figure 7 . Figure 7. Prediction results of training model using 60% of FC1 data.(a) Forecast result of FC1; (b) forecast result of FC2. Figure 7 . Figure 7. Prediction results of training model using 60% of FC1 data.(a) Forecast result of FC1; (b) forecast result of FC2. Figure 8 . Figure 8. Analysis of FC2. Figure 8 . Figure 8. Analysis of FC2. Table 1 . Comparison of the parameter settings between LSTM and ACO-LSTM. Table 1 . Comparison of the parameter settings between LSTM and ACO-LSTM. Table 2 . The learning rate and the dropout probability optimized using the ACO-LSTM method. Table 2 . The learning rate and the dropout probability optimized using the ACO-LSTM method. Table 3 . Error assessment for LSTM and ACO-LSTM. Table 3 . Error assessment for LSTM and ACO-LSTM. Table 4 . Error evaluation of the prediction results using the 60% data training model for LSTM and ACO-LSTM. Table 4 . Error evaluation of the prediction results using the 60% data training model for LSTM and ACO-LSTM.

섹션 본문 105문단 · 49,638자

(제목 없음)

1This paper proposes a long short-term memory (LSTM) network to predict the power degradation of proton exchange membrane fuel cells (PEMFCs), and in order to promote the performance of the LSTM network, the ant colony algorithm (ACO) is introduced to optimize the hyperparameters of the LSTM network.First, the degradation mechanism of PEMFCs is analyzed.Second, the ACO algorithm is used to set the learning rate and dropout probability of the LSTM network combined with partial aging data, which can show the characteristics of the dataset.After that, the aging prediction model is built by using the LSTM and ACO (ACO-LSTM) method.Moreover, the convergence of the method is verified with previous studies.Finally, the fuel cell aging data provided by the Xiangyang Da'an Automotive Testing Center are used for verification.The results show that, compared with the traditional LSTM network, ACO-LSTM can predict the aging process of PEMFCs more accurately, and its prediction accuracy is improved by about 35%, especially when the training data are less.At the same time, the performance of the model trained by ACO-LSTM is also excellent under other operating conditions of the same fuel cell, and it has strong versatility.

Introduction

2Since the 21st century, countries around the world have seen a growing demand for efficient and low-emission new energy.Hydrogen energy, as a type of new energy, has been defined as the "ultimate energy source" and has garnered widespread attention in recent years.PEMFCs, as devices capable of efficiently utilizing hydrogen energy, are gradually becoming a promising type of power generation equipment, with advantages such as zero emission, no Carnot cycle limitation, high energy efficiency, high reliability, and convenient maintenance [1].Moreover, most renewable energy sources (such as solar and wind energy) are intermittent, creating spatial and temporal gaps between the availability of energy and the consumption by end-users.The combination of hydrogen energy and PEMFCs (proton exchange membrane fuel cells) can effectively address this issue.However, in the course of use, the fuel cells are extremely sensitive to the operating environment, and this will accelerate the aging of the fuel cells in high dynamic operation, which will seriously affect the reliability and safety of the fuel cells [2,3].In addition, the control of fuel cells, such as thermal and water management, also has a significant impact on their aging [4].

3The causes of fuel cell degradation include carbon corrosion and catalyst particle shedding [5,6].In addition, the degradation performance of fuel cells (FCs) is completely different under divergent control strategies [7][8][9][10].However, the industry does not fully understand the principle of fuel cell degradation.To correctly design a maintenance strategy for PEMFCs, the aging mechanism should be accurately predicted.Predictive and health management (PHM) is a technology that aims at forecasting and maintenance [11].

4The definition of PHM is as follows [12]: "an equipment management method for detection, prediction, and maintenance, which is based on models, uses signals and measurements, and finally combines algorithms to evaluate equipment degradation and predict fault progress."[13].It can be inferred that, if the decline state of fuel cells can be predicted, targeted decisions or control strategies can be made to prolong its service life, and failure risk can be avoided.Prediction can ensure the smooth operation of some fuel cell systems, which shows that prediction is the key factor of PHM.Therefore, predicting the performance degradation trend of PEMFCs has attracted much attention in recent years.

5In recent research, many methods have been proposed and applied to predict the performance decline of PEMFCs.According to the different emphases of prediction, we can make a rough classification of these methods, such as model-driven method, data-driven method, and their combination method.

6In the research on the model-driven method, the models can be divided into mechanism degradation models, empirical degradation models, and semiempirical degradation models.Zhang et al. [14] established a fuel cell catalyst degradation model, and in order to predict FC degradation, an unscented Kalman filter (UKF) method was proposed.However, because the inherent mechanism of FCs is particularly complicated, it is often very hard to establish an accurate physical model [15].

7Therefore, a lot of empirical or semiempirical models are widely used.Hu Di et al.

8[16] reconstructed a model on the basis of an engineering experience formula recognized by SAIC and Toyota, and two time vectors related to the working conditions are obtained to describe two key working conditions that cause the degradation.Lu et al. [17] proposed a semiempirical model of voltage degradation of a low-voltage PEMFC stack under bus city driving conditions, and an important assumption in this model is that degradation of several key parameters is linear with the running time.Jouin M et al. [18] selected the key components in the heap through degradation assessment, introduced the fault tree to define their fault principle, and finally established an aging prediction model including these components and mechanisms.M. Ou et al. [19] introduced the aging model of electrochemical active surface area (ECSA) and equivalent resistance and then established a semiempirical model based on these.Many previous studies are model-based because this method is highly interpretable and has little demand for data quantity and quality.However, the decline mechanism of the fuel cell system is extremely complex, so it is very hard to establish an accurate fuel cell decay model that is suitable for all operating conditions.Therefore, most studies still use semiempirical or empirical models.In addition, most models selectively simplify and ignore some causes of degradation.

9Therefore, to avoid the shortcomings of the model-driven method and promote the generality of prediction, many people have begun to pay attention to using data-driven methods to build degradation prediction models.Z. Deng et al. [20] used the combination of an echo state network (ESN) and a genetic algorithm (GA) to predict the decline of fuel cells.Z. Liu et al. [21] predicted and evaluated the decline from two aspects: short term and long term, which used a machine learning (ML) method under dynamic conditions.K.He et al. [22] introduced a prognosis strategy of an ESN based on a minimum absolute contraction selection operator (LASSO-ESN), which was used to optimize the input parameters and predict the long-term performance of PEMFCs.Z. Hua et al. [23] combined the Bayesian theory with GRU to put forward a Bayesian gated recursive unit model (B-GRU) to quantify the uncertainty of PEMFC degradation prediction results.Their article used discrete wavelet transform and EESN (DWT-EESN) to predict degradation.In particular, that study did not use conventional health indicators but defined a relative power loss rate as a health index [24].There are also many studies, such as the method based on ESN in [25], the method of using correlation vector machine in [26], and the method based on the LSTM algorithm in [27].These data-driven methods mainly rely on the availability of a lot of high-quality training data.Data-driven methods have been widely considered by many researchers in recent years because they are less dependent on the model and can make degradation predictions using only a lot of fuel cell degradation data.For the data-driven methods, apart from a lot of high-quality data, the appropriate parameters are also very important, because this will directly affect the final training effect.LSTM, as one of the data-driven methods, is not immune from this problem.Determining the initial learning rate and dropout probability is still a critical problem.In previous research, this information is often obtained through previous experience or experimentation.For example, in [28], a comparison study was performed, and it was found that a learning rate of 0.1 was best.The prediction results with learning rates of 0.01 and 0.001 were also obtained.It was concluded that the simulation result was closest to the actual value when the learning rate was 0.01.When training with a learning rate of 0.1, the information about operation changes could not be learned.However, for different datasets, different inputs, and different training ratios, the optimal learning rate and dropout probability should be different.To solve this problem, a method that uses an LSTM network and an ACO algorithm is proposed to predict the decline trend of FCs.As the data-driven method requires high-quality training data, the decline principle of PEMFCs is analyzed in order to select appropriate monitoring parameters to improve the training effect and reduce the initial learning rate and dropout rate within a limited number of iterations.

10The terminal voltage, impedance, and peak power of a fuel cell can be used as health indicators.According to the 2014 Data Challenge [29], the health state of fuel cells is defined as the ability to guarantee sufficient power at all times, and the decline of FCs can be defined as the power drop compared to the initial power.Therefore, this study uses peak power to evaluate and predict the degradation state of PEMFCs.

11The content of this article is arranged as follows: In the first section, the degradation process of a fuel cell is qualitatively analyzed through the degradation mechanism.The second section introduces the principle and architecture of the LSTM network for predicting degradation trends, as well as the principle and implementation of the ACO algorithm for optimization.The third section introduces the simulation results, that is, the prediction effect of ACO-LSTM, and a comparison with the traditional LSTM.Finally, this paper is summarized, and future work is described in the fourth section.

Fuel Cell Degradation Phenomena

12Before predicting the decline trend of PEMFCs, the analysis of the degradation characteristics of PEMFCs is very important because the essence of this study is to determine the degradation-related factors of PEMFCs and predict them.Therefore, in this section, some previous work is referenced, and the decline phenomenon of FCs is analyzed [30][31][32][33][34][35].During the whole operation of a PEMFC, all its components will degenerate or fail, leading to the decline of the PEMFC.The decline mechanisms of FCs often influence each other, and the primary causes for the degradation are the decline of the gas diffusion layer (GDL), the degradation of the catalyst layer, and the degradation of the polymer film.In addition, degradation mainly occurs in the MEA section.

13The main phenomenon causing the decline of the GDL is carbon corrosion, which is often due to the high humidity and high potential of PEMFCs and the start-stop operation cycle [36].Oxygen starvation, large changes in load, and other reasons will also accelerate performance decline.

14In the catalyst layer, the important factor leading to the performance degradation is generally the dissolution or sintering of the catalyst particles.Because platinum particles are attached to carbon carriers, platinum particles easily fall off and gather when carbon corrosion occurs, while in acidic media, platinum is more likely to dissolve with increasing potential [37].The shedding, migration, and accumulation of platinum will cause the loss of the ECSA [38].In repeated chemical reactions, a polymer film is eroded and degraded [39].Hydroxyl or hydrogen peroxide radicals are often produced in fuel cells under the conditions of high voltage, high temperature, and low humidity.These free radicals often come from hydrogen peroxide formed by fuel pollution or gas crossover.The free radical reacts with the end group of the polymer containing the terminal H group [40], resulting in the decomposition of the polymer to form HF. On the other hand, HF corrodes metals and forms metal cations to lead to the faster formation of free radicals.At the same time, due to the thinning of the polymer film, hydrogen can more easily penetrate into the cathode and accelerate the formation of free radicals, thus leading to a positive feedback loop and causing performance degradation.

15In addition, the start-stop cycle will greatly affect the durability of the membrane electrode assembly (MEA).If FCs have a power outage for long, hydrogen will cross from the anode to the cathode so that the anode channel is filled with air.When in this state, starting the fuel cell will produce a transient operating condition, that is, although fuel is present at the entrance, there is a lack of fuel on the anode side of the exit.This local fuel shortage will cause the local potential of the cathode to be higher than 1.8 V, which will lead to serious degradation of the MEA [41].

16In summary, many factors, including temperature, current, voltage, humidity, potential cycle, load change, start-stop condition, and fuel supply, will affect the degradation of PEMFCs.

17It is worth noting that most of these factors are combined with each other, and there are still many factors that cannot be quantified, but can only qualitatively analyzed, so it is difficult to separate these factors to discuss the phenomenon of degradation.This is why many current model-based fuel cell degradation predictions are based on engineering empirical or semiempirical models rather than mechanism models.Therefore, regarding a fuel cell stack as a "black box" and using the external characteristic data-driven method to study its degradation characteristics has increasingly become an important method to establish a PEMFC degradation model.

Aging Experiments for the Fuel Cell

18The aging test was carried out with a 37 kW H2 core35 fuel cell stack containing 162 cells.The test bench is exhibited in Figure 1.This test was conducted at the Xiangyang Da'an Automobile Testing Center.The fuel cell was operated under the dynamic load conditions of stability assessment and rated conditions, as shown in Figure 2.

19corrosion occurs, while in acidic media, platinum is more likely to dissolve with increas ing potential [37].The shedding, migration, and accumulation of platinum will cause th loss of the ECSA [38].

20In repeated chemical reactions, a polymer film is eroded and degraded [39].Hy droxyl or hydrogen peroxide radicals are often produced in fuel cells under the condition of high voltage, high temperature, and low humidity.These free radicals often come from hydrogen peroxide formed by fuel pollution or gas crossover.The free radical reacts wit the end group of the polymer containing the terminal H group [40], resulting in the de composition of the polymer to form HF. On the other hand, HF corrodes metals and form metal cations to lead to the faster formation of free radicals.At the same time, due to th thinning of the polymer film, hydrogen can more easily penetrate into the cathode an accelerate the formation of free radicals, thus leading to a positive feedback loop and caus ing performance degradation.

21In addition, the start-stop cycle will greatly affect the durability of the membran electrode assembly (MEA).If FCs have a power outage for long, hydrogen will cross from the anode to the cathode so that the anode channel is filled with air.When in this state starting the fuel cell will produce a transient operating condition, that is, although fuel i present at the entrance, there is a lack of fuel on the anode side of the exit.This local fue shortage will cause the local potential of the cathode to be higher than 1.8 V, which wi lead to serious degradation of the MEA [41].

22In summary, many factors, including temperature, current, voltage, humidity, poten tial cycle, load change, start-stop condition, and fuel supply, will affect the degradatio of PEMFCs.

23It is worth noting that most of these factors are combined with each other, and ther are still many factors that cannot be quantified, but can only qualitatively analyzed, so is difficult to separate these factors to discuss the phenomenon of degradation.This is wh many current model-based fuel cell degradation predictions are based on engineering em pirical or semiempirical models rather than mechanism models.Therefore, regarding fuel cell stack as a "black box" and using the external characteristic data-driven metho to study its degradation characteristics has increasingly become an important method t establish a PEMFC degradation model.

24The aging test was carried out with a 37 kW H2 core35 fuel cell stack containing 16 cells.The test bench is exhibited in Figure 1.This test was conducted at the Xiangyan Da'an Automobile Testing Center.The fuel cell was operated under the dynamic load con ditions of stability assessment and rated conditions, as shown in Figure 2. The stability test condition (FC1) was run for 340 h according to Figure 2a, and the sampling interval was 0.5 s.The working condition spectrum was as follows: start and stop once per hour, load 27 times, idle condition for 21 min, and rated condition for 18 min.After every 4 h of operation, the fuel cell stack was stopped and rested for 1 h.The rated state test (FC2) was run for 75 h with a sampling interval of 0.5 s, including the startup, idle condition, rated current condition, reference current condition, and idle-stop condition.The test cycle is shown in Figure 2b.A test cycle was completed every 4 h, and after each cycle, the fuel cell stack was stopped for 1 h.

25For this paper, stability assessment condition data were selected to train the fuel cell degradation model.Then, the prediction performance of the model was further verified with the data from the rated test conditions.

Degradation Model with an ACO-LSTM Architecture

26This section, firstly, describes how the data directly obtained through the sensor were processed to eliminate specific points and enhance the characteristics of the degradation trend.In addition, it explains how the LSTM was improved to train the decline prediction model.Then, we will discuss the principle of the ACO method.Thus, a data-driven prediction model based on ACO-LSTM was developed for fuel cell degradation prediction.

Data Acquisition and Processing

27In general, in the course of operation, the data directly obtained through the sensor are rarely directly used as training data, because these data often contain a lot of unexpected information, such as noise, downtime, specific points, and so on.

28Therefore, after obtaining the original data, the first step is to resample and filter the data.As a finite impulse response (FIR) digital filter, a Savitzky-Golay (SG) filter smooths original time-domain signals based on local polynomial least-square fitting in the time domain.The most important feature of this method is that it can maintain the same signal structure as that of the original data after filtering.In this work, the SG filter [42] was used to eliminate the noise in the original data.The main parameters of the SG filter are the order of the polynomial and the length of the filter window [43].The stability test condition (FC1) was run for 340 h according to Figure 2a, and the sampling interval was 0.5 s.The working condition spectrum was as follows: start and stop once per hour, load 27 times, idle condition for 21 min, and rated condition for 18 min.After every 4 h of operation, the fuel cell stack was stopped and rested for 1 h.The rated state test (FC2) was run for 75 h with a sampling interval of 0.5 s, including the start-up, idle condition, rated current condition, reference current condition, and idle-stop condition.The test cycle is shown in Figure 2b.A test cycle was completed every 4 h, and after each cycle, the fuel cell stack was stopped for 1 h.

29For this paper, stability assessment condition data were selected to train the fuel cell degradation model.Then, the prediction performance of the model was further verified with the data from the rated test conditions.

Degradation Model with an ACO-LSTM Architecture

30This section, firstly, describes how the data directly obtained through the sensor were processed to eliminate specific points and enhance the characteristics of the degradation trend.In addition, it explains how the LSTM was improved to train the decline prediction model.Then, we will discuss the principle of the ACO method.Thus, a data-driven prediction model based on ACO-LSTM was developed for fuel cell degradation prediction.

Data Acquisition and Processing

31In general, in the course of operation, the data directly obtained through the sensor are rarely directly used as training data, because these data often contain a lot of unexpected information, such as noise, downtime, specific points, and so on.

32Therefore, after obtaining the original data, the first step is to resample and filter the data.As a finite impulse response (FIR) digital filter, a Savitzky-Golay (SG) filter smooths original time-domain signals based on local polynomial least-square fitting in the time domain.The most important feature of this method is that it can maintain the same signal structure as that of the original data after filtering.In this work, the SG filter [42] was used to eliminate the noise in the original data.The main parameters of the SG filter are the order of the polynomial and the length of the filter window [43].

33The order of the polynomial and the window length of the SG filter were set to 2 and 20, respectively.The health state of the fuel cell has been defined in the previous text as its ability to guarantee sufficient power.Therefore, the degradation of the fuel cell's health status can be represented by the power reduction, as shown in Equation (1):

34This formula represents the percentage drop in power, where P drop is the percentage decrease in power, P is the current power, and P init is the initial power.

35Therefore, the degradation of the PEMFC's health status can be characterized by predicting the decay in power.However, under different operating conditions, especially in dynamic situations, defining an appropriate power value to characterize the health status is complex, because the power is not fixed but fluctuates within a certain range.Therefore, we chose to use the peak power P peak under the current condition for description:

36In this formula, Health FC,decline represents the degradation of the fuel cell's health status, P peak,drop represents the reduction in the fuel cell's peak power, P peak represents the current peak power of the fuel cell, and P peak,init represents the peak power of the fuel cell in its initial state.

37Therefore, the decline of the PEMFC is defined as the decline of peak power in this paper.The power envelope data under the condition of stability evaluation were selected in this study, and Figure 3 shows the data before and after filtering.

38The order of the polynomial and the window length of the SG filter were set to 2 and 20, respectively.The health state of the fuel cell has been defined in the previous text as its ability to guarantee sufficient power.Therefore, the degradation of the fuel cell's health status can be represented by the power reduction, as shown in Equation ( 1):

39This formula represents the percentage drop in power, where drop P is the percentage decrease in power, P is the current power, and init P is the initial power.

40Therefore, the degradation of the PEMFC's health status can be characterized by predicting the decay in power.However, under different operating conditions, especially in dynamic situations, defining an appropriate power value to characterize the health status is complex, because the power is not fixed but fluctuates within a certain range.Therefore, we chose to use the peak power peak Therefore, the decline of the PEMFC is defined as the decline of peak power in this paper.The power envelope data under the condition of stability evaluation were selected in this study, and Figure 3 shows the data before and after filtering.

LSTM Architecture

41An LSTM recurrent neural network is a special RNN.Its main advantage is that it can avoid the gradient disappearance and explosion of traditional neural networks in the process of long-sequence training.Its structure is shown in Figure 4. Unlike the traditional RNN, which has only one transfer state ( ) t C , the LSTM RNN has two transport states, a cell state ( ( ) t C ) and a hidden layer state ( ( ) t h ).Among them, the update of ( ) t C adds some information on the bias of the previous state ( 1) t C − , and the change range is very small.In contrast, ( ) t h makes large updates between different nodes.The main difference between the LSTM RNN and the traditional RNN is the improvement of the "gate" structures, such as the forget gate, input gate, and output gate.The gate structure is a sigmoid unit.

42An LSTM recurrent neural network is a special RNN.Its main advantage is that it can avoid the gradient disappearance and explosion of traditional neural networks in the process of long-sequence training.Its structure is shown in Figure 4. Unlike the traditional RNN, which has only one transfer state C (t) , the LSTM RNN has two transport states, a cell state (C (t) ) and a hidden layer state (h (t) ).Among them, the update of C (t) adds some information on the bias of the previous state C (t−1) , and the change range is very small.In contrast, h (t) makes large updates between different nodes.The main difference between the LSTM RNN and the traditional RNN is the improvement of the "gate" structures, such as the forget gate, input gate, and output gate.The gate structure is a sigmoid unit.Another key aspect of the LSTM, the internal state S (t) , which is the core of each linearly activated neuron, can be seen as a carrier for adding or deleting information, in which the control of information flow is realized by the "gate" structure.Another key aspect of the LSTM, the internal state ( ) t S , which is the core of each linearly activated neuron, can be seen as a carrier for adding or deleting information, in which the control of information flow is realized by the "gate" structure.(1) Forget gate: the first step of the LSTM algorithm is to selectively discard part of the information with the forget gate.It receives the inputs of C (t) and h (t) , then outputs a number between 0 and 1 to the internal state s (t) , where 1 represents the fully reserved state and 0 indicates complete discarding.

43(2) Input gate and input node: the second step is to decide which information to store in the internal state.This step needs to be completed in two small steps.First, the input gate (t) determines which values to update; then, a candidate state ∧ S (t) is created by the input node g (t) :

44Thus, Equations ( 3)-( 5) can update the old internal state s (t−1) to s (t) .

45(3) Output gate: the output gate determines what information to output.

46Finally, the hidden layer status is updated by combining the output door and the new internal state.

47Moreover, w and b are weights and biases, respectively, and their superscripts correspond to the corresponding relations.For example, w fc are the weights of the forget gate corresponding to C (t) , and b f are the biases of the forget gate.

Structure and Implementation of ACO

48The ACO is a kind of swarm intelligence algorithm, which is often used to solve optimization problems.In the ACO, there is a group of ants."Nest" represents the nest, "Food" represents the food, and obstacles are randomly distributed on the map.The group of ants sets out randomly from the nest and gradually spreads all over the map until food is found.Then, the ants begin to move between the Nest and the Food.If an obstacle suddenly appears in front of an ant, the ant must make a decision about which direction to move in.Because there are no pheromones left by the first ants on the road, ants are equally likely to travel in any direction.However, when an ant is walking on the road, it releases pheromones on the road, and the pheromones are released at a certain speed.The pheromone is one of the tools for communication between ants, and it is also the core parameter of ant colony algorithm optimization.Each ant makes a decision and determines the direction of action based on the concentration of pheromones left on the road by the previous ants.Obviously, the pheromones along the shortest route will become increasingly thicker, attracting an increasing number of ants to walk along this path.

49This kind of population intelligence behavior is transformed into a mathematical equation.Suppose there are M ants on the whole map, and the movement dimension of each ant is D, then, the location of ant i is X i = (x i1 , x i2 , . . . ,x iD , ) .Then, the transfer probability is shown in Equation ( 9) as follows:

50Energies 2024, 17, 968 9 of 17

51where max(Tau) represents the maximum value of the pheromone, Tau(i) represents the pheromone of ant i, and P(G, i) represents the transfer probability value of ant i in the Gth iteration.When the transfer probability P is less than the transfer probability constant P 0 , a local search is performed, and the search is shown in Equation ( 10):

52where new is the position to be moved to, old is the current position of the ant, r 1 is a random number from [−1,1], step is the local search step, and λ is the reciprocal of the current iteration number.When P > P 0 , a global search is performed, and the search formula is shown in Equation ( 11):

53where r 2 is a random number in [−0.5, 0.5] and µ is the range of the solution space.

54In defining the position of an ant within the range of values, whether or not to update the current position of the ant will be determined by judging the value of the objective function of the position to be moved to and the value of the objective function of the current position, and the boundary condition will be processed by using the boundary absorption method.The pheromone value for the new ant location is then set as follows:

Dropout

55At present, the commonly used methods to prevent neural network overfitting are the L1 and L2 regularization methods.Both methods rely on adding an extra term to the cost function, and this term can also be regarded as a penalty term of the loss function, which is used to limit some parameters in the loss function.In 2014, dropout technology was introduced by Srivastava et al. [44] to address the problem of overfitting more effectively.

56The core of this method is to randomly delete some neurons and their connections temporarily (only before the next iteration) in the training process, as shown in Figure 3, and then randomly delete them in the next iteration so that each iteration trains a different network.The probability of deleting neurons is P (the probability between neurons is independent of each other).This approach is equivalent to sampling a "sparse" network in the original network.Thus, the training of the whole network is able to be seen as training multiple "samples", so the completely unchanged network can avoid being trained repeatedly.Therefore, the whole network is no longer very sensitive to the specific weights of neurons.At the same time, this approach can also enhance the generalizability.

ACO-LSTM Approach

57The previous sections of this paper analyzed the advantages and disadvantages of the traditional LSTM approach.The conventional LSTM method performs exceptionally well in long-term forecasting, for instance, it can prevent issues like gradient explosion and vanishing, and it is capable of retaining a moderate number of old experiences during training, rather than completely ignoring the impact of past experiences on the future.However, as a type of neural network, the setting of hyperparameters has a significant impact on LSTM training and forecasting performance.To some extent, improper hyperparameter settings can lead to the complete failure of the neural network.Existing studies often set key parameters based on prior experience or through continuous trial and error, but these methods can lead to numerous problems, such as being time consuming and labor intensive, leading to uncertainty about whether the parameter settings are appropriate, and fixed parameter settings based on different data characteristics and data volumes can lead to inappropriate parameters or even complete inapplicability.To address this, our study introduces the ACO (ant colony optimization) method to adaptively optimize the hyperparameters of the LSTM network, ensuring outstanding performance across different data characteristics and data volumes.

58The ACO-LSTM method used in this study effectively combines the advantages of both approaches.It not only retains the excellent training and forecasting performance of the LSTM but also adaptively optimizes its key parameters.This prediction method can be divided into three independent parts, which are described in Figure 4a.The upper part corresponds to the selection and processing of data.The second part located at the bottom left is the ACO module, which can optimize the LSTM parameters.The last part, which is at the bottom right, is the prediction process.

59The flowchart of the ACO-LSTM method is shown in Figure 4b, and the more specific implementation measures are listed as follows:

60(1) After the dataset is initially divided into a training set and a prediction set, the training set is subdivided into an LSTM simulation training set and an ACO optimization set.

61(2) The ACO algorithm is initialized, and a two-dimensional (initial learning rate, dropout probability) ant population is randomly generated.(3) The LSTM simulation training set is used as the training set, and the ACO optimization set is used as the test set to simulate the LSTM prediction process and let the ant with the smallest prediction error (defined as the RMSE in this paper) produce the densest pheromone in each iteration.(4) When the end condition is satisfied, the ant with the smallest historical error is selected as the optimal solution.Then, the optimal initial learning rate and dropout probability are obtained from this solution and are used to obtain the prediction results.

Criteria of Predictive Performance

62In this study, the mean absolute percentage error (MAPE), the root mean square error (RMSE), and the coefficient of determination (R 2 ) are used to represent the prediction performance of the degradation model.Smaller MAPE and RMSE values indicate a more accurate prediction with lower errors.In contrast, the larger the R 2 value is, the better the prediction result is because it indicates the degree of agreement between the predicted data and the actual data.We can assume that in a perfect degradation prediction model, the MAPE and RMSE values are equal to 0, and the values of R 2 are 1:

63where X pre represents the predicted power value, X obs is the actual value of power, X obs is the average of the actual power value, and N represents the total amount of data.

Degradation Prediction Model Based on ACO-LSTM

64This section describes how the ACO-LSTM is trained with the FC1 (stability test) dataset and verified with the FC2 (rated test) dataset.It should be noted that FC2 did not participate in model training.The experiments of the two methods were based on CPU calculation and simulation.The LSTM RNN used in both groups consisted of an input layer, an LSTM layer (containing 100 hidden layer neurons), a fully connected layer, a dropout layer, and a regression layer.All used the Adam solver, and the total number of iterations was 100.In addition, 20%, 40%, 60%, and 80% of the dataset were selected for training (training data/total data) in both groups of experiments.In the first group, according to the recommendation in [27], the learning rate and the dropout probability were set as 0.01 and 0.5, respectively.The parameter settings of LSTM and ACO-LSTM were compared as shown in Table 1.In this paper, the health status of FCs is defined according to the IEEE PHM 2014 data challenge [35] as the ability of a fuel cell stack to guarantee sufficient power at all times.Therefore, we use the peak power decay to indicate the health status of an FC stack.

65Figure 5 shows a comparison of the prediction results of the LSTM method and the ACO-LSTM method under four different data proportions.In this figure, the blue curve is the actual power of PEMFCs, the green one is the power decline trend that is predicted using the LSTM, and the red curve represents the result predicted using the ACO-LSTM method.In this paper, the health status of FCs is defined according to the IEEE PHM 2014 data challenge [35] as the ability of a fuel cell stack to guarantee sufficient power at all times.Therefore, we use the peak power decay to indicate the health status of an FC stack.

66Figure 5 shows a comparison of the prediction results of the LSTM method and the ACO-LSTM method under four different data proportions.In this figure, the blue curve is the actual power of PEMFCs, the green one is the power decline trend that is predicted using the LSTM, and the red curve represents the result predicted using the ACO-LSTM method.Table 2 shows the learning rate and dropout probability obtained by using the adaptive optimization of the ACO-LSTM under different data ratios.In addition, the learning rate and dropout probability of the LSTM method remained at 0.01 and 0.5 under the four training data ratios.As can be seen in Figure 5, the prediction accuracy of the decline prediction model trained using LSTM and ACO-LSTM increases with an increasing proportion of training data.The more training data are used, the more power degradation information the model will learn.According to the power RMSE error in Figure 6, the error increases gradually with time, regardless of which method is chosen.A single data-driven model always produces this result, and a solution is to introduce physical models for constraints.Although the error increase is inevitable, it is clear from Table 3 that the MAPE, RMSE, and R2 based on the ACO-LSTM method were all smaller than those of the traditional LSTM method.However, the gap between the ACO-LSTM method and the LSTM method was small at a high data ratio (60%, 80%), but was more significant at a low data ratio (20%, 40%).In particular, it is obvious that the LSTM method gradually lost different degrees of data traction for the power degradation curve, and the fitting accuracy of the prediction data was low.In contrast, although the ACO-LSTM method had a certain degree of error at low data ratios, it accurately tracked the degradation trend.Thus, it can be seen that the hyperparameters selected for the LSTM were more suitable for training the model under a high data ratio than under a low ratio, but the learning rate and dropout probability in [27] were selected on the basis of experience under the proportion of 25% training data, which is more suitable for a low ratio than a high ratio.This phenomenon further shows that different hyperparameters should be configured for diverse datasets and different proportions of training data.

67Energies 2024, 17, x FOR PEER REVIEW 13 of 19

68Table 2 shows the learning rate and dropout probability obtained by using the adaptive optimization of the ACO-LSTM under different data ratios.In addition, the learning rate and dropout probability of the LSTM method remained at 0.01 and 0.5 under the four training data ratios.As can be seen in Figure 5, the prediction accuracy of the decline prediction model trained using LSTM and ACO-LSTM increases with an increasing proportion of training data.The more training data are used, the more power degradation information the model will learn.According to the power RMSE error in Figure 6, the error increases gradually with time, regardless of which method is chosen.A single data-driven model always produces this result, and a solution is to introduce physical models for constraints.Although the error increase is inevitable, it is clear from Table 3 that the MAPE, RMSE, and R2 based on the ACO-LSTM method were all smaller than those of the traditional LSTM method.However, the gap between the ACO-LSTM method and the LSTM method was small at a high data ratio (60%, 80%), but was more significant at a low data ratio (20%, 40%).In particular, it is obvious that the LSTM method gradually lost different degrees of data traction for the power degradation curve, and the fitting accuracy of the prediction data was low.In contrast, although the ACO-LSTM method had a certain degree of error at low data ratios, it accurately tracked the degradation trend.Thus, it can be seen that the hyperparameters selected for the LSTM were more suitable for training the model under a high data ratio than under a low ratio, but the learning rate and dropout probability in [27] were selected on the basis of experience under the proportion of 25% training data, which is more suitable for a low ratio than a high ratio.This phenomenon further shows that different hyperparameters should be configured for diverse datasets and different proportions of training data.

Verification of the Degradation Prediction Model

69To verify the predictive performance and generality of the trained model, the 60% data ratio training model was used to predict FC1 and FC2.As can be seen in Figure 7, the overall degradation trend of the fuel cell under dynamic load input was affected by the power recovery phase (power recovery to a certain extent after each shutdown restart).However, the ACO-LSTM still obtained the decline trend.

70To verify the predictive performance and generality of the trained model, the 60% data ratio training model was used to predict FC1 and FC2.As can be seen in Figure 7, the overall degradation trend of the fuel cell under dynamic load input was affected by the power recovery phase (power recovery to a certain extent after each shutdown restart).However, the ACO-LSTM still obtained the decline trend.

71Brilliantly, for the whole prediction phase of FC1 and FC2, most of the errors between the target and the output were within 0.2 kW, which shows that the learning effect of the network is acceptable.It is worth noting that after 3321 s of FC2, the power degradation curve showed an abnormal jump, and the tracking effect of the prediction model decreased obviously.This was due to a short shutdown caused by a failure at 3321 s, and the anode inlet relative humidity control was not initialized during restart, as shown in Figure 8.

72There was a more obvious downward trend in fuel cell power after 75 h under the rated test condition.For this condition, which is completely different from FC1, the proposed ACO-LSTM prediction network also performed well in the whole operating time range.The predicted output RMSE was 0.0471.The error distribution was within 0.2 kW most of the time, and within 0.4 kW after 3321 s.Thus, it can be concluded that the ACO-LSTM degradation model can achieve higher prediction accuracy of fuel cell aging.Table 4 summarizes and compares the error assessment.Brilliantly, for the whole prediction phase of FC1 and FC2, most of the errors between the target and the output were within 0.2 kW, which shows that the learning effect of the network is acceptable.It is worth noting that after 3321 s of FC2, the power degradation curve showed an abnormal jump, and the tracking effect of the prediction model decreased obviously.This was due to a short shutdown caused by a failure at 3321 s, and the anode inlet relative humidity control was not initialized during restart, as shown in Figure There was a more obvious downward trend in fuel cell power after 75 h under the rated test condition.For this condition, which is completely different from FC1, the proposed ACO-LSTM prediction network also performed well in the whole operating time range.The predicted output RMSE was 0.0471.The error distribution was within 0.2 kW most of the time, and within 0.4 kW after 3321 s.Thus, it can be concluded that the ACO-LSTM degradation model can achieve higher prediction accuracy of fuel cell aging.Table 4 summarizes and compares the error assessment.

Conclusions

73In this paper, a new data-driven method is proposed to predict the degradation trend of fuel cells, in which an LSTM network with ACO optimization is used to solve the problem of inappropriate setting of hyperparameters in the process of network training.And the dropout technology is introduced to avoid gradient disappearance or explosion during network training.Two different dynamic load conditions from the H2 Core35 fuel cell are used to train and verify the results of the prediction.At the same time, the traditional LSTM, which has the same setting but sets the hyperparameters according to experience, is compared with ACO-LSTM, which is introduced in this paper.The conclusions are as follows:

74In this paper, a new data-driven method is proposed to predict the degradation trend of fuel cells, in which an LSTM network with ACO optimization is used to solve the problem of inappropriate setting of hyperparameters in the process of network training.And the dropout technology is introduced to avoid gradient disappearance or explosion during network training.Two different dynamic load conditions from the H2 Core35 fuel cell are used to train and verify the results of the prediction.At the same time, the traditional LSTM, which has the same setting but sets the hyperparameters according to experience, is compared with ACO-LSTM, which is introduced in this paper.The conclusions are as follows:

751.

76The results show that ACO-LSTM can efficaciously train the high-precision degradation prediction model under different training data ratios and has a significant improvement compared with the traditional LSTM, especially in the case of a low data ratio.2.

77The proposed model shows good prediction performance in working conditions that are completely different from the training conditions, which proves its excellent generalizability.

3.

78However, when there is a large instantaneous change in the prediction data, the prediction model loses part of its tracking ability, although its performance is still better than that of the traditional LSTM.

79This method can be used to predict the performance degradation of fuel cells and further determine the failure threshold, which is helpful to monitor the performance of FCs.Because of its simple construction, the proposed ACO-LSTM prediction model can be easily implemented online once it has been trained.The proposed method is also expected to be combined with a model-driven method to constrain the error and further improve the prediction accuracy and interpretability, which needs to be further solved in the following work.

Figure 1 .

80Figure 1.H2 Core 35 37 kW fuel cell stack experimental platform.

81Figure 1.H2 Core 35 37 kW fuel cell stack experimental platform.

Figure 2 .

82Figure 2. Fuel cell stack test cycle.(a) FC1: stability assessment condition, (b) FC2: rated test condition.

83Figure 2. Fuel cell stack test cycle.(a) FC1: stability assessment condition, (b) FC2: rated test condition.

P

84under the current condition for description: of the fuel cell's health status, drop peak P , represents the reduction in the fuel cell's peak power, peak P represents the current peak power of the fuel cell, and init peak P , represents the peak power of the fuel cell in its initial state.

Figure 3 .

85Figure 3. Savitzky-Golay filtered data.(a) Upper envelope of original power data; (b) upper original data; (c) filtered data.

86Figure 3. Savitzky-Golay filtered data.(a) Upper envelope of original power data; (b) upper original data; (c) filtered data.

Figure 4 .( 1 )

87Figure 4. ACO-LSTM fusion prediction model.(a) ACO-LSTM fusion prognostic; (b) the flow chat of ACO-LSTM.(1) Forget gate: the first step of the LSTM algorithm is to selectively discard part of the information with the forget gate.It receives the inputs of ) (t C and ) (t h , then out-

Figure 4 .

88Figure 4. ACO-LSTM fusion prediction model.(a) ACO-LSTM fusion prognostic; (b) the flow chat of ACO-LSTM.

Figure 5 .

89Figure 5. LSTM and ACO-LSTM degradation model prediction performance: (a) 20% dataset for training; (b) 40% dataset for training; (c) 60% dataset for training; (d) 80% dataset for training.

90Figure 5. LSTM and ACO-LSTM degradation model prediction performance: (a) 20% dataset for training; (b) 40% dataset for training; (c) 60% dataset for training; (d) 80% dataset for training.

Figure 6 .

91Figure 6.Cont.

92Figure 6.LSTM and ACO-LSTM degradation model prediction performance: (a) 20% dataset for training (LSTM); (b) 20% dataset for training (ACO-LSTM); (c) 40% dataset for training (LSTM); (d) 40% dataset for training (ACO-LSTM); (e) 60% dataset for training (LSTM); (f) 60% dataset for training (ACO-LSTM); (g) 80% dataset for training (LSTM); (h) 80% dataset for training (ACO-LSTM).

93Figure 6.LSTM and ACO-LSTM degradation model prediction performance: (a) 20% dataset for training (LSTM); (b) 20% dataset for training (ACO-LSTM); (c) 40% dataset for training (LSTM); (d) 40% dataset for training (ACO-LSTM); (e) 60% dataset for training (LSTM); (f) 60% dataset for training (ACO-LSTM); (g) 80% dataset for training (LSTM); (h) 80% dataset for training (ACO-LSTM).

Figure 7 .

94Figure 7. Prediction results of training model using 60% of FC1 data.(a) Forecast result of FC1; (b) forecast result of FC2.

95Figure 7. Prediction results of training model using 60% of FC1 data.(a) Forecast result of FC1; (b) forecast result of FC2.

Figure 8 .

96Figure 8. Analysis of FC2.

97Figure 8. Analysis of FC2.

Table 1 .

98Comparison of the parameter settings between LSTM and ACO-LSTM.

99Comparison of the parameter settings between LSTM and ACO-LSTM.

Table 2 .

100The learning rate and the dropout probability optimized using the ACO-LSTM method.

101The learning rate and the dropout probability optimized using the ACO-LSTM method.

Table 3 .

102Error assessment for LSTM and ACO-LSTM.

103Error assessment for LSTM and ACO-LSTM.

Table 4 .

104Error evaluation of the prediction results using the 60% data training model for LSTM and ACO-LSTM.

105Error evaluation of the prediction results using the 60% data training model for LSTM and ACO-LSTM.

참고문헌 41건

  1. A review of the gas diffusion layer in proton exchange membrane fuel cells: Durability and degradation Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.06.068
  2. Modeling and control of fuel cell systems and fuel processors. Deep Blue (University of Michigan) · University of Michigan · 2016
  3. Advanced materials for improved PEMFC performance and life Journal of Power Sources · Elsevier BV · 2004 10.1016/j.jpowsour.2004.01.023
  4. Proton exchange membrane fuel cell degradation prediction based on Adaptive Neuro-Fuzzy Inference Systems International Journal of Hydrogen Energy · Elsevier BV · 2014 10.1016/j.ijhydene.2014.05.005
  5. Platinum Electro-dissolution in Acidic Media upon Potential Cycling Electrocatalysis · Springer Science+Business Media · 2013 10.1007/s12678-013-0167-9
  6. The effects of operating temperature on current density distribution and impedance spectroscopy by segmented fuel cell International Journal of Hydrogen Energy · Elsevier BV · 2013 10.1016/j.ijhydene.2013.01.099
  7. A semi-empirical voltage degradation model for a low-pressure proton exchange membrane fuel cell stack under bus city driving cycles Journal of Power Sources · Elsevier BV · 2006 10.1016/j.jpowsour.2006.10.061
  8. Lifetime prediction and the economic lifetime of Proton Exchange Membrane fuel cells Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2014.12.062
  9. Membrane degradation during combined chemical and mechanical accelerated stress testing of polymer electrolyte fuel cells Journal of Power Sources · Elsevier BV · 2014 10.1016/j.jpowsour.2014.01.106
  10. A review of polymer electrolyte membrane fuel cell durability test protocols Journal of Power Sources · Elsevier BV · 2011 10.1016/j.jpowsour.2011.07.082
  11. Development of supported bifunctional oxygen electrocatalysts and corrosion-resistant gas diffusion layer for unitized regenerative fuel cell applications Journal of Power Sources · Elsevier BV · 2011 10.1016/j.jpowsour.2011.09.071
  12. A review of platinum-based catalyst layer degradation in proton exchange membrane fuel cells Journal of Power Sources · Elsevier BV · 2009 10.1016/j.jpowsour.2009.06.073
  13. Bearing degradation process prediction based on the PCA and optimized LS-SVM model Measurement · Elsevier BV · 2013 10.1016/j.measurement.2013.06.038
  14. Dropout: a simple way to prevent neural networks from overfitting 2014
  15. Degradations analysis and aging modeling for health assessment and prognostics of PEMFC Reliability Engineering & System Safety · Elsevier BV · 2015 10.1016/j.ress.2015.12.003
  16. Prognostic-oriented Fuel Cell Catalyst Aging Modeling and Its Application to Health-Monitoring and Prognostics of a PEM Fuel Cell International Journal of Prognostics and Health Management · The Prognostics and Health Management Society · 2020 10.36001/ijphm.2014.v5i1.2203
  17. Current-Transformer Saturation Detection Using Savitzky-Golay Filter IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2016 10.1109/tpwrd.2016.2521327
  18. Nonlinear Performance Degradation Prediction of Proton Exchange Membrane Fuel Cells Using Relevance Vector Machine IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2016 10.1109/tec.2016.2582531
  19. Proton exchange membrane fuel cell ageing forecasting algorithm based on Echo State Network International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.05.286
  20. Fault-tolerant model predictive control of a direct methanol-fuel cell system with actuator faults Control Engineering Practice · Elsevier BV · 2017 10.1016/j.conengprac.2017.06.008
  21. Component-based modelling of PEM fuel cells with bond graphs International Journal of Hydrogen Energy · Elsevier BV · 2017 10.1016/j.ijhydene.2017.09.004
  22. A reconstructed fuel cell life-prediction model for a fuel cell hybrid city bus Energy Conversion and Management · Elsevier BV · 2017 10.1016/j.enconman.2017.11.069
  23. Effectiveness of a Novel Sensor Selection Algorithm in PEM Fuel Cell On-Line Diagnosis IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2795558
  24. Data-driven proton exchange membrane fuel cell degradation predication through deep learning method Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.09.111
  25. Review on hydrogen fuel cell condition monitoring and prediction methods International Journal of Hydrogen Energy · Elsevier BV · 2018 10.1016/j.ijhydene.2018.09.085
  26. Gated recurrent unit based recurrent neural network for remaining useful life prediction of nonlinear deterioration process Reliability Engineering & System Safety · Elsevier BV · 2019 10.1016/j.ress.2019.01.006
  27. Applying an ensemble convolutional neural network with Savitzky–Golay filter to construct a phonocardiogram prediction model Applied Soft Computing · Elsevier BV · 2019 10.1016/j.asoc.2019.01.019
  28. Investigation of the effect of cathode stoichiometry of proton exchange membrane fuel cell using localized electrochemical impedance spectroscopy based on print circuit board International Journal of Hydrogen Energy · Elsevier BV · 2019 10.1016/j.ijhydene.2019.01.095
  29. Nonlinear methods for evaluating and online predicting the lifetime of fuel cells Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.113730
  30. High durability of Pt-Ni-Ir/C ternary catalyst of PEMFC by stepwise reduction synthesis Electrochimica Acta · Elsevier BV · 2019 10.1016/j.electacta.2019.135251
  31. Low temperature durability and consistency analysis of proton exchange membrane fuel cell stack based on comprehensive characterizations Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.114626
  32. Model-based observers for internal states estimation and control of proton exchange membrane fuel cell system: A review Journal of Power Sources · Elsevier BV · 2020 10.1016/j.jpowsour.2020.228376
  33. A novel approach based on semi-empirical model for degradation prediction of fuel cells Journal of Power Sources · Elsevier BV · 2021 10.1016/j.jpowsour.2020.229435
  34. Long-Term Performance Prediction of PEMFC Based on LASSO-ESN IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2021 10.1109/tim.2021.3058365
  35. Degradation prediction model for proton exchange membrane fuel cells based on long short-term memory neural network and Savitzky-Golay filter International Journal of Hydrogen Energy · Elsevier BV · 2021 10.1016/j.ijhydene.2021.02.069
  36. Multi-Timescale Lifespan Prediction for PEMFC Systems Under Dynamic Operating Conditions IEEE Transactions on Transportation Electrification · Institute of Electrical and Electronics Engineers · 2021 10.1109/tte.2021.3103921
  37. Degradation Prediction of PEMFCs Using Stacked Echo State Network Based on Genetic Algorithm Optimization IEEE Transactions on Transportation Electrification · Institute of Electrical and Electronics Engineers · 2021 10.1109/tte.2021.3111906
  38. Durability estimation and short-term voltage degradation forecasting of vehicle PEMFC system: Development and evaluation of machine learning models Applied Energy · Elsevier BV · 2022 10.1016/j.apenergy.2022.119975
  39. Thermal-physical modeling and parameter identification method for dynamic model with unmeasurable state in 10-kW scale proton exchange membrane fuel cell system Energy Conversion and Management · Elsevier BV · 2022 10.1016/j.enconman.2022.116580
  40. Uncertainty quantification of proton-exchange-membrane fuel cells degradation prediction based on Bayesian-Gated Recurrent Unit eTransportation · Elsevier BV · 2023 10.1016/j.etran.2023.100230
  41. Liquid Water Characteristics in the Compressed Gradient Porosity Gas Diffusion Layer of Proton Exchange Membrane Fuel Cells Using the Lattice Boltzmann Method Energies · Multidisciplinary Digital Publishing Institute · 2023 10.3390/en16166010