Next Article in Journal
Influence of Impurities in Electrical Contacts on Increasing the Efficiency of Energy Transmission
Next Article in Special Issue
Recent Research Progress in Hybrid Photovoltaic–Regenerative Hydrogen Fuel Cell Microgrid Systems
Previous Article in Journal
Stray Load Loss Valuation in Electrical Transformers: A Review
Previous Article in Special Issue
Optimization of a Membraneless Microfluidic Fuel Cell with a Double-Bridge Flow Channel
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Estimation of PEMFC Parameters Using a Continuous-Discrete Extended Kalman Filter Derived from a Pseudo Two-Dimensional Model

1
Institut de Recherche en Énergie Électrique de Nantes Atlantique (IREENA, UR 4642), Nantes Université, Centre de Recherche et de Transfert de Technologie (CRTT), 37 Bd de l’Université, B.P. 406, CEDEX, 44602 Saint Nazaire, France
2
Arts et Métiers Institute of Technology, I2M UMR CNRS 5295, Bordeaux University, Bâtiment A11, 351 Cours de la Libération, CEDEX, 33405 Talence, France
3
Urban Sciences Building, Newcastle University, Newcastle upon Tyne NE4 5TG, UK
*
Author to whom correspondence should be addressed.
Energies 2022, 15(7), 2337; https://doi.org/10.3390/en15072337
Submission received: 20 January 2022 / Revised: 9 March 2022 / Accepted: 17 March 2022 / Published: 23 March 2022
(This article belongs to the Special Issue Design, Modeling, and Optimization of Novel Fuel Cell Systems)

Abstract

:
Proton Exchange Membrane Fuel Cells (PEMFCs) are clean energy conversion devices that are widely used in various energy applications. In most applications, the main challenge is accurately estimating the state of health (SoH) of the PEMFCs during dynamic operating conditions. Moreover, their behavior is affected by numerous physical phenomena such as heat and membrane flooding. This paper proposes the design of an observer to estimate the PEMFC parameters. A state-space model is first built from 2D physical equations solved by a finite difference in a discretized space domain. The discretized dynamic model is then used to design an observer based on the continuous-discrete extended Kalman filter. The observer has been validated experimentally and is used to estimate the parameters of a PEMFC under dynamic operating conditions. For several load variations, the results obtained using the proposed observer accurately characterize the dynamic responses of PEMFC in real-time.

1. Introduction

1.1. Background

The need for clean energy production across a number of application sectors is expected to increase significantly in the years to come. Fuel cells (FCs) offer a promising alternative clean-energy conversion technology and are widely used in multiple sectors such as transportation and microgrid systems. More particularly, FCs are also associated with optimizing renewable energy storage. Critically, FCs perform best when supplied with pure hydrogen, which results in zero carbon dioxide emissions [1,2]. However, pure hydrogen production, storage, and distribution represent major obstacles to commercializing fuel cell technology [3,4,5]. Another important challenge associated with FC systems is accurately estimating both their dynamic response in real-time and their state of health (SoH). This paper aims to build an observer to reliably predict these performance indicators.
Based on the kind of electrolytes they employ, there are five types of fuel cells [6]: Proton Exchange Membrane Fuel Cells (PEMFCs), Phosphoric Acid Fuel Cells (PAFCs), Alkaline Fuel Cells (AFCs), Molten Carbonate Fuel Cell (MCFCs), and Solid Oxide Fuel Cells (SOFCs). The PAFC, MCFC, and SOFC operate at high temperatures (220 °C, 650 °C, and up to 1000 °C, respectively), whereas the AFC operating temperature may vary from 50 to 200 °C, offering higher performance than the PEMFC. However, in the case of AFC, the hydrogen and oxygen must be pure for optimal performance [7]. Among the various types of fuel cells, Proton Exchange Membrane Fuel Cells (PEMFCs) offer considerable advantages due to their low operating temperature (generally under 100 °C), high power density, quick start-up capability, and long lifetime [8,9]. This overview of the different types of FC demonstrates the key parameters to consider when evaluating overall performance, notably operating temperature and fuel purity. This work focuses exclusively on PEMFCs.
Building an observer for PEMFCs requires understanding the different physical phenomena within this type of FC, such as voltage losses and voltage/current undershoot. Voltage drop in PEMFCs is caused by activation, mass transport, and ohmic losses, which can be characterized by the Tafel slope, mass transport, and ohmic resistances. These three parameters can be estimated experimentally using two dynamic tests: current steps and current sweeps [10]. The PEMFC voltage undershoot phenomenon happens when the current transiently increases to the next step value. This voltage overshoot/undershoot is mainly affected by certain operating conditions such as diverging water saturation levels appearing particularly after prolonged FC operation. The current does not show undershoot due to the effect of double-layer charge [11,12].

1.2. Literature Review

The main challenge when considering the observer design is the complexity of modeling PEMFC systems given that they are non-linear and multi-variable [13,14], and the fact that several phenomena such as heat and membrane flooding can impact PEMFC performance [15]. Numerous models have been presented in the literature, however, these models are either based on the steady-state representation of FCs or are limited to account for specific dynamic behaviors [16,17,18]. These models are either based on sophisticated mathematical equations [19] or data collected from real-life PEMFC [12]. The authors in [12] developed a semi-empirical, two-dimensional, and non-isothermal dynamic model to simulate the transient response in the step changes of the cell potential. The data used to build the model in [12] was collected from performing a specific number of tests.
Diagnosis methods have been also widely used to monitor the degradations of the fuel cell performance [20,21]. Electrochemical impedance spectroscopy (EIS) was used in [22,23] to identify the Warburg impedance and the constant phase element (CPE), which help to observe the hydration of the electrode-membrane state assembly and SoH. However, EIS is not a very convenient solution for onboard integration because the measurement time is long and the EIS device is expensive. Other papers offered advanced diagnostic techniques, such as particle filter-based prognostics [24,25], but these techniques are based on complicated calculation algorithms which limit their application for real-time estimation of PEMFC parameters. Other observers proposed in [26,27] are based on the measurements of non-electrical quantities such as pressure or oxygen concentration. Spatial discretization was applied on the 2D or 3D models of FCs to solve the models using these measurements.

1.3. Study Aim

Developing a PEMFC observer which is implementable in real-time is extremely important in industrial applications. The model on which this observer is based must take into account the most important phenomena and parameters affecting the FC behavior, such as the double-layer and voltage potentials (concentration, activation, and ohmic polarization). In this paper, a simplified 2D physical model that describes these phenomena with physical equations is derived from the first and second Fick’s law and Tafel’s law. To solve these equations, a spatial discretization method is suggested. The space-discretized dynamic model for gas channels, the Gas Diffusion Layer (GDL), and Catalyst Layer (CL) is then obtained. After that, an observer based on the continuous-discrete extended Kalman filter (EKF) is built using the obtained discretized dynamic model. This observer is based on measuring electrical quantities of voltage and current.
Based on the presented literature review, the observer developed in this paper offers certain advantages over previously proposed observers in that it only uses current and voltage measurements, it does not require complicated measurements, it is able to estimate the dynamic response of the PEMFCs, and it can be implemented in real-time.

1.4. Nomenclature and Constants

All the cell geometry parameters and variables are described in Table 1.

2. Physical Two-Dimensional Model

2.1. Geometry and Assumptions

A half-cell including a straight channel, a porous gas diffusion layer (GDL), and a catalyst layer (CL) is considered. A cross-section of this cell is given in Figure 1a. Oxygen transport is considered through the electrode and GDL. Only cathode electrochemical transfers are modeled. The anode is not considered in the model due to much faster kinetic reaction compared to those occurring on the cathode side. Liquid water has not been considered in the model. Figure 1b shows a simple fuel cell electrical circuit.
The model is based on the following assumptions:
  • Oxygen transport in the cathode catalyst layer (CCL) is fast;
  • The oxygen transport in the GDL is purely 1D in the x-direction;
  • The oxygen transport in the channel is assumed to be a plug-flow with an averaged velocity and the choice of plug flow in fuel cell microchannels is justified by the small dimensions of the channels. It was shown in previous studies [29,30] that the laminar velocity profile in rectangular microchannels is flat at the center. Thus, at the first order and given the high mass diffusivity of air in the cathode channel, one can assume that the average velocity of a plug flow is able to give a good description of the mass transfer in the fuel cell microchannels;
  • The model is isothermal;
  • The CL is supposed to be infinitely small;
  • The voltage potential is equal along the CL in the y-dimension;
  • All channels of the cell are supposed to be operated in the same condition such as temperature, humidity, etc.; and
  • The concentrations in the canal and the GDL are supposed to be equal C ref (concentration on the channel inlet) before any current is applied to the FC.

2.2. General Equations

The first equation is the one describing the physical model in the channel and the oxygen transport. This equation is represented by the local continuity equation [31]:
C c t y , t + u c   C c y y , t = D e f f h c e f f   C g x 0 , y , t
with
C c y = 0 , t = C r e f t
Equation (1b) represents the boundary conditions at the channel entry. In the GDL, the oxygen transport is described by the first and second Fick’s law as in [31]:
C g t x , y , t = D e f f   2 C g x 2 x , y , t
with
C g x = 0 , y , t = C c y , t
The instantaneous current density j produced by a fuel cell can be written as the sum of a faradaic j f   (derived from Tafel law) and a capacitive current density j DL [31]:
j y , t = j f y , t + j D L y , t
with
j f y , t = i c   e η y , t b   C g h d , y , t C r e f ,   j D L y , t = C D L   η t y , t  
The boundary conditions at the GDL/CL interface are described by
C g t h d , y , t = 1 4   F   D e f f   j y , t
The fuel cell voltage satisfies [31]:
e t = e r e f η y , t r Ω   j y , t
The fuel cell current can be computed using
i t = l c 0 L c j y , t   d y
In this section, a 2D physical model of the fuel cell has been presented. In the next section, the system of equations is transformed into dimensionless coordinates. The model is then spatially discretized in Section 3 using a finite difference technique. To validate the proposed model, simulations are performed using the Matlab/Simulink environment and compared to experimental data, as detailed in Section 5.

2.3. Normalized Adimensional Equations

For the transformation to dimensionless coordinates, the following normalized variables are used [28]:
j n y , t = j y , t j l i m ,   η n y , t = η y , t b ,   C c n y , t = C c y , t C r e f , C g n x , y , t = C g x , y , t C r e f ,   x n = x h d ,   y n = y L c
Appendix A shows the value of j lim and V d .
The physical model of Equations (1)–(5) are rewritten in dimensionless coordinates. In the channel, the oxygen transport equation and the boundary conditions become
C c n t y n , t + u c L c   C c n y n y n , t = D e f f h d   h c e f f   C g n x n 0 , y n , t  
C c n y n = 0 , t = 1  
In the GDL, the oxygen transport equation is rewritten as
C g n t x n , y n , t = D e f f h d 2 2 C g n x n 2 x n , y n , t  
C g n 0 , y n , t = C c n y n , t  
In the CL, the normalized current density represented by Equation (3a) becomes
j n y n , t = 1 4   F   C r e f V d i c   e η n y n , t   C g n 1 , y n , t + C D L   b   η n t y n , t  
The fuel cell voltage can be represented as
e t = e r e f b   η n y n , t 4   F   C r e f   V d     r Ω     j n y n , t  
The boundary conditions equation at CL/GDL can be rewritten as
C g n t 1 , y n , t = h d V d D e f f   j n y n , t  
The cell current density is calculated by
j n y n , t = e r e f e t b η n y n , t 4   F   C r e f   V d   r Ω  
η n t y n , t = 1 b   C D l   1 r Ω   e r e f e t b   η n y n , t - i c   e η n y n , t   C g n 1 , y n , t  
The current density in Equation (12a) is replaced by that in Equation (9) to give the potential Equation (12b).

3. Finite-Difference Discretization

To numerically solve the mathematical model represented by Equations (7)–(12) with known boundary conditions, a finite-difference discretization technique is used in this paper. For the channel and the GDL, a spatial meshing   C cn k Δ y , t ,   C gn d Δ x , k Δ y , t   with discretization steps Δ y = 1 / K , Δ x = 1 / D is considered. The discretization uses central differences when possible and forward or backward differences when not. It is formulated as:
C c n y n k K , t K 2 C c n k + 1 K , t C c n k 1 K , t f o r k = 1 K 1 K C c n K K , t C c n K 1 K , t             f o r k = K  
C g n x n 0 D , k K , t D C g n 1 D , k K , t C g n 0 D , k K , t  
2 C g n x n 2 d D , k K , t D 2 C g n d + 1 D , k K , t 2   C g n d D , k K , t + C g n d 1 D , k K , t                        f o r d = 1 D 1 a n d k = 0 K  
  C g n D D , k K , t C g n D 1 D , k K , t 1 D j n k K , t  
with
C g n x n 0 D , k K , t C c n k K , t  
j n k K , t e r e f e t b   η n k K , t 4   F   C r e f   V d   r Ω  
Equations (7) and (8) can be rewritten using Equation (13a–d).
In the canal, the equations can be written as:
f o r k = 1 K 1 C c n t k K , t = u c   K 2   L c   C c n k + 1 K , t C c n k 1 K , t + D e f f   D h d   h c e f f   C g n 1 D , k K , t C c n k K , t  
f o r k = K C c n t k K , t = u c   K L c   C c n K K , t C c n K 1 K , t + D e f f   D h d   h c e f f   C g n 1 D , K K , t C c n K K , t
For k = 0, Equation (1b) is used.
In the GDL, we can write:
f o r d = 1 D 1 a n d k = 0 K C g n t d D , K K , t D e f f D 2 h d 2   C g n d + 1 D , k K , t 2   C g n d D , k K , t + C g n d 1 D , k K , t  
For d = D and k = 0 K , Equation (13d) is used.
In the Catalyst Layer (CL), the potential can be computed as
η n t k K , t = 1 b   C D l   1 r Ω   e r e f e t b   η n k K , t - i c   e η n k K , t   C g n D D , k K , t
Finally, for k = 0 K , the current density is calculated from Equation (13f). The fuel cell current represented in Equation (5) can be calculated by
i t   j l i m   L c   l c K 1 2   j n 0 K , t + k = 1 K 1 j n k K , t + 1 2   j n K K , t  

4. Description of the Experimental Test Bench and Considered Fuel Cell

A 12 cm2 single cell was specially designed to validate the proposed model. It includes two parallel channels of 1.5   mm width and 200   mm in length. The flow field was machined directly in the copper current collector to enable an optical access inside the channel via a transparent Plexiglas plate on the top of the channel (see Figure 2). The current collectors were also gold-plated to ensure minimal ohmic resistance. Between the current collector, a membrane electrode assembly (MEA) was inserted; it was made of a 15   µ m thick Gore PEM with 0.5   mg / cm 2 platinum loading in the CL. The thin membrane and high platinum loading were specially chosen to ensure low membrane resistance and high current density. The MEA was sandwiched between two 10BC GDL from SGL® compressed to a width of 250   µ m using two rigid spacers. Finally, two aluminum end-plates were used to assemble all the fuel cell components. A water-cooling circuit connected to a temperature control system was drilled inside the endplates to keep the fuel cell temperature constant.
The fuel cell was connected to a FCT 50 test station from BioLogic® to control the air and hydrogen flow rates, temperatures, humidity, and pressure. The current and voltage were also recorded through the FCT 50 test station.

5. Experimental Validation of PEMFC Model

Reliable voltage/current curves require a stable environment where the temperature, pressure, humidity, and flow rates are kept constant while the tests are being conducted. If the conditions are fluctuating, the voltage/current characteristics may change. In addition to keeping the testing environment stable, a second consideration is the condition of the fuel cell itself which can take time to stabilize. Depending upon the fuel cell design and size, this stabilization phase may take up to 30 min following a change in current or voltage. All measurements were conducted using the parameters listed in Table 2 and under a constant stoichiometric ratio of H2 (1.1) and air (5), with a relative humidity of 15%.
Using Equations (14) and (15), a PEMFC model was built with the MATLAB/SIMULINK environment. To compare the experimental and simulated results, several tests were carried out. The specifications of the PC used for these calculations are Intel Core i7-3770 CPU and 3.4 GHz with 16 GB RAM.

5.1. Current Profile with Step-Up

To validate our PEMFC model around the nominal operating point ( 0.7   V ), a piecewise constant current was applied. Figure 3 shows the dynamic response of voltage with different current levels of 9 , 10 , and 11   A .
The fuel cell measurements presented in Figure 3 were obtained after an extended period of operation. The voltage variation shown here indicates that when the current steps up to a higher value, the voltage can undergo three changes: an instantaneous drop due to the set of ohmic resistances (electrodes, membrane, bipolar plates, etc.) [33], a quick recovery because the cell takes several seconds for the back-diffusion water to re-wet the anode side so as to ease water redistribution and recover the cell performance [11], and a slow increase due to changes in membrane resistance. Figure 4 compares the simulation and experimental results for the fuel cell current. The relative current error oscillates around zero with a mean value of 1.7%, as shown in Figure 4b.

5.2. Current Profile with Forward/Backward Sweeps

The fuel cell was swept with a current rate of 9.9   mA / s , from 0 to 20   A (forward sweep) and back to 0   A (back sweep). The measurements of the current and voltage are shown in Figure 5. The voltage gradually decreased from the open-circuit voltage to a low value.
The polarization curve is useful for troubleshooting issues in the fuel cell stack. If the polarization curve is recorded while increasing and decreasing the current, it may show hysteresis. This typically indicates a change in fuel cell conditions, such as drying or flooding of the membrane. Figure 6a represents the voltage of the fuel cell as a function of the current. It was observed that the voltage under the forward sweep is lower than that under the backward sweep. Figure 6b shows the output cell power vs. the current, where the power increases with the increase in current. The power reaches the maximum power point for a current of 18 A and then it decreases [34].
This improved performance during the backward sweep compared with the forward sweep can be explained by the variation of hydration levels in the membrane because the humidity level in the membrane directly influences its conductivity. When the current increases, more water vapor is produced, causing an increase of the internal conductivity. During backward swapping, the membrane was still saturated or at high humidity levels, thus it exhibited an improved performance. In addition, the difference between the forward and backward voltage at a lower current range is more important than at the higher current range. This is due to the increased water content observed in our electrolyte results caused by the increased electrode kinetics.
The PEMFC model was implemented in the Matlab/Simulink environment and was designed with voltage input and current output. Equation (14a–d) were solved with the ODE45 Dormand-Prince variable-step differential equation solver, which is considered to be one of the best methods for treating non-stiff general-form initial value problems for ODE. The current density of the fuel cell was then computed using Equation (13f). The total fuel cell current was obtained from Equation (15). The simulated and experimental currents are shown in Figure 7a. The simulation was conducted with different discretization steps, where various grid sizes (K, D) were used as this was expected to have a negligible impact on the accuracy. Sweeping the fuel cells at different current levels highlighted several phenomena. When the current exceeds 15 A, the voltage is distorted (Figure 5) and the error between the simulation and experimental currents becomes more important (Figure 7b). For the backward sweep, the relative current error increases linearly.

6. Estimating the PEMFC Parameters Using an Extended Kalman Filter

The voltage and current are considered as the input–output model. To design the observer, we used the continuous-discrete extended Kalman filter (CD-EKF) [35]. This technique uses a numerical integration of the ordinary differential equations to predict the state of the continuous-time dynamic system and the corresponding prediction error covariance matrix. A standard discrete-time correction step of the extended Kalman filter (EKF) is then applied to arrive at a more accurate state estimation. The state variables vector was chosen as:
x = C c n k K , t C g n d D , k K , t η n k K , t C D L r Ω b i c D e f f T  
where k goes from 1 to K for C cn and from 0 to K for C gn , and   η n . d goes from 1 to D 1 (for C gn ) . For k   =   0 ,   C cn is determined by the boundary condition (Equation (1b)). For d = D ,   C gn is calculated from the boundary condition (Equation (13d)). Thus, we have n = KD + D + K + 5 state variables. The state equations for the concentration in the channel ( C cn ) and GDL ( C gn ), and potential (   η n ) were described previously (Equation (14)). The time derivatives of C DL , r Ω , b , i c , and D eff are considered equal to zero. The system of interest is a continuous-time dynamic system with a discrete-time measurement given by [36,37,38]:
x ˙ = f x t , e t + ν t
i N   T s = h x N , e N   T s + w N
where v t is the unmeasured “process noise” which is assumed to be a continuous-time zero-mean white noise of covariance q t and R N is measurement noise covariance. w N is the measurement noise which is assumed to be discrete-time white noise with zero mean, x N = x N   T s with t N = N   T s . The Kalman Filter mainly involves two steps: prediction and measurement update. The predicted state x ^ p and its covariance P are calculated by solving Ordinary Differential Equations (ODE) [39]:
x ^ ˙ p t = f x ^ p t , e t
P ˙ x ^ p t = F x ^ p t   P t + P t   F T x ^ p t + q t
The dynamic matrix F (the Jacobian matrix of the partial derivatives of function f ) is computed as follows:
F x ^ p t = f x x ^ p t , e t   = P a r t I P a r t I I P a r t I I I P a r t I V  
The matrix parts (Equation (19)) are given in Appendix B. The equations used to calculate the different terms in the Jacobian matrix are also given in Appendix C.
The two parts of Equation (18) can be solved simultaneously with an ODE solver [40]. Equation (18b) is vectorized. Here, the filter (CD-EKF) is simulated in Matlab/Simulink with ODE45. The integration is done in the interval t N 1 ,   t N with the initial conditions x ^ ( t N 1 ) = x ^ N 1 / N 1   and error covariance matrix P ( t N 1 ) = P N 1 / N 1 . The predicted state x ^ N / N 1   = x ^ p ( t N ) and the error covariance matrix P N / N 1   = P ( t N ) at the time point t N are computed. Then, the standard correction step of the EKF is used. Additionally, only the upper triangular part of the error covariance matrix, including the main diagonal because of its symmetry, is calculated. The standard measurement update is applied at the time ( t N = N   T s ). The observation function h can be deduced from Equations (15) and (13f) as:
i t = L c l c r Ω e r e f e t b L c l c r Ω K 1 2 η n 0 K , t + 1 K 1 η n k K , t + 1 2 η n K K , t  
Supposing the constant a = KD + D 1 , we can rewrite Equation (20a) as a function of the state variables as
i t = L c l c r Ω K e r e f e t b L c l c r Ω K 1 2 x a 0 K , t + 1 K 1 x a + k k K , t + 1 2 x a + K K K , t  
The observation matrix H can be calculated by
H x = h x x , e N   T s = 0..0 h η 2 h η h η 2 0 h r Ω h b 0 0  
where
h η x = x a + K + 4 L c l c x a + K + 2 K h r Ω x = 1 x a + K + 2 i t h b x = L c l c x a + K + 2 K 1 2 x a 0 K , t + 1 K 1 x a + k k K , t + 1 2 x a + K K K , t
The Kalman gain can be computed as:
K N = P N / N 1   H T x ^ N / N 1   S N 1  
S N = H x ^ N / N 1   P N / N 1   H T x ^ N / N 1 + R N  
As presented in [41], Auger et al. proposed that the value of covariance R can be set to one ( R N = 1 ). The state estimate covariance is updated by the equation:
P N / N = 1 K N   H x ^ N / N 1   P N / N 1  
We use the Kalman gain to update the state estimate:
x ^ N / N = x ^ N / N 1 + K N   ( i N   T s h x ^ N / N 1 , e N   T s  
Lastly, the calculation process repeats itself. The proposed EKF requires a high computation effort and is not appropriate for online estimation of PEMFC parameters. Hence, some simplifications have been implemented to calculate the covariance matrix P of the predicted state x (Equation (18b)) using Mazzoni’s formulae [42]. Mazzoni’s formulae, which are based on the implicit midpoint method, are rearranged as follows:
P N / N 1 = M 1 / 2   P N 1 / N 1   M 1 / 2 t + T s   N 1 / 2   q   N 1 / 2 t  
M 1 / 2 = N 1 / 2   I n + T s 2   F x ^ t N 1 + T s 2  
N 1 / 2 = I n T s 2   F x ^ t N 1 + T s 2  
where I n is the identity matrix of size n . Due to the application of the simplification method, it is expected that the model accuracy will be decreased, albeit the model-solving is faster [43].

7. Results of the EKF Observer and Discussion

7.1. Current Profile with Forward/Backward Sweeps

To ensure that all results obtained in this study are not overly sensitive to the fineness of the spatial discretization, a mesh sensitivity analysis was performed. The values of   K and D   were optimized by simulation. To validate the EKF observer designed for K = 20 and D = 15 , the same voltage/current measurements shown previously in Figure 5 were used. The PEMFC current measured experimentally was compared to the current estimated by the EKF i ^ N / N ( h x ^ N / N , e N   T s . The current estimated by EKF converged well with the experimental data, as shown in Figure 8a. Figure 8b shows a zoomed-in image of both curves between 2177 s and 2187 s; it confirms the estimated current’s convergence with the experimental current. Except at the beginning and end of the curve (where the PEMFC current is of the order of a few mA), the relative error is quite low, as shown in Figure 8c, with a mean value of 0.002 % . As shown in Figure 7a, there is a significant error between the experimental data and the output of the model simulated using time-invariant parameters. This error becomes negligible when using time-varying parameters estimated by a continuous-discrete EKF, as illustrated in Figure 8a.
Ambient air was employed as the oxygen source at the cathode, oxygen was consumed by the reaction at CL, and the concentration of oxygen was reduced between the inlet and outlet of the gas flow channel. When the FC current is higher, the electrochemical reaction becomes stronger and more oxygen is consumed at CL, leading to lower oxygen concentration inside the GDL. The variation of the oxygen concentrations C c in the channel is presented in Figure 9a as a function of time and k . This concentration strongly depended on the current value (see Figure 8a). As an example, for k = 20 , this concentration decreased with time until the minimum value was reached at time t = 2181 s for a current of 20 A. Diffusion across the cathode GDL is caused by a concentration differential between the gas flow channel and the CL. The variation of concentration C g   as a function of time and d for two values of k ( 0 ,   K = 20 ) is presented in Figure 9b. Following this graph, it can be seen that the C g concentration values decrease with time as a result of the current variation, especially for the highest value of d . For d = 15 , for example, the concentration decreased over time until it reached its minimum value at time t = 2181 s for a current of 20 A.
Figure 10 shows the variation of the estimated parameters with time. Figure 10a shows the variation of potential η as a function of time for different values of k . The value of potential η follows the PEMFC current values. The hysteresis phenomena can be observed on the potential curve for the forward/backward sweep. As illustrated in Figure 10b, the capacitances C DL   vary slightly. As presented in Figure 10c, the estimated resistance r   increased hardly for the forward sweep and for the backward sweep, it was still constant. This could be attributed to the FC’s temperature as well as to hydration. A proper water content in a fuel cell will reduce the membrane resistance and promote the electrochemical reaction in the cell [44]. Tafel slope b represents the voltage losses due to activation polarization. It depends on current [31], humidity, and operating temperature [45]. The Tafel slope b decreased lightly, as depicted in Figure 10d. As shown in [31], this variation is fairly small because b can fluctuate from 20   mV to 350   mV as a function of various operating conditions [31]. The diffusion coefficient D eff was slightly variable within the backward sweep (Figure 10f). The results explained in [46] show that the through-plane gas diffusion coefficient decreases as the number of hydrophilic pores in the GDL increase due to blocking of pores by liquid water. The exchange current density depends on the roughness of the electrode surface; its catalytic properties; the presence of oxides and water; the concentration of the reactive species; the composition of the electrode and electrolyte; and the temperature [47]. As can be seen in Figure 10e, the exchange current density i c increased greatly. The exchange current density increases with the increase of temperature [48]. The exchange current density has three phases: a constant between 0 s and 1200 s because the current is low (the temperature is close to the starting temperature); an exponential increase between 1200 s and 2100 s, where the current rises and the internal temperature rises with it; and a second exponential increase between 2100 s and 4000 s.

7.2. Current Profile with Step-Up/Down

The EKF observer was applied with the same initial parameters as in the section above and for the experimental results presented in Figure 3. The Tafel slope b , capacitance C DL , and current i c were slightly variable for this short simulation period. The potential value η , as well as the C c and C g concentrations, were heavily influenced by the PEMFC current levels. The resistance r estimated by EKF is represented in Figure 11.
Figure 11 shows how the sharp voltage drops at t = 300 s and 600 s (see Figure 3) because of inevitable jumps in the membrane resistance. Then, the resistance decreases or increases slowly according to voltage variation. The flooding effect may cause transient fluctuations in membrane resistance, as seen in Figure 11 after a long course of running. Reference [49] explains the relationship between current density, membrane resistance, and water content. A positive feedback loop exists between current density, which produces water, and membrane resistancewhich increases with water contentas the water content increases. However, the membrane resistance is typically a small component of the overall cell resistance. For the feedback mechanism to destabilize the cell and generate hysteresis, the membrane resistance must be particularly sensitive to water content.

7.3. Modified PEMFC Cell with Step-Up/Down Profile

We used the same fuel cell mentioned previously but its channel width was changed from 1.5   mm   to 0.5   mm . The current and voltage profiles with step-up/down were conducted as shown in Figure 12a,b. The current consisted of two step-up cycles (0 to 25 A) interspersed with a hard drop from 25 A to 5 A and then to 1 A, while the voltage varied in a range of 0.3 to 0.9 V (Figure 12b). This current/voltage profile can span the whole operating area of the investigated FC. It enables large changes in the parameters of the FC model. The EKF estimated and experimental currents are compared in Figure 12a. The relative current error is illustrated in Figure 12c. Its value is lower than 0.035% but takes a higher value when the current steps up or steps down.
Figure 13 shows the parameters estimated with EKF vs. time. Figure 13a shows the variation of potential η with time. The current value substantially influences the potential η . As shown in Figure 13a, its variation was similar to the current one. As explained in [11], when the current drops from a high value to zero or a low value, the double-layer charge effect can appear. Figure 13b illustrates that despite the large current variation, the value of the double-layer capacitor dod not vary. Due to the low hydration and temperature at a low current, the resistance r began with a high value and then gradually declined, as seen in Figure 13c. The resistance r   decreases with the increase in humidity, current, and temperature [50,51,52]. The Tafel slope b increased with time, as indicated in Figure 13d. The rise in b could be attributable to an increase in temperatures and decreasing pore porosity, which decreases as humidity rises. The exchange current density vs. time is depicted in Figure 13e. The exchange current took a higher value compared with previous cases (Figure 10e). As depicted in Figure 13f, the diffusion coefficient D eff   increased from 1 × 10 5 to 1.35 × 10 5   m 2 / s . The increase in D eff could be due to an increase in temperature. When the current dropped from 25   A to 5   A , the diffusion coefficient jumped downward, as illustrated in Figure 13f. The effective diffusion coefficient decreases as the number of hydrophilic pores increases because liquid water blocks the pores in the GDL [46].
Table 3 summarizes the observer performances in terms of processing for the current profiles presented in Section 7.1 and Section 7.3. The EKF simulation with the data considered in Section 7.1 lasted 2340 s, which is substantially less than the duration of the real-time measurement (3779 s). The EKF simulation with data in Section 7.3 lasted 5188 s against 6000 s for the period of the real-time measurement. This means that the EKF can estimate the PEMFC parameters before the time period between two samples elapsed. In addition, these simulations demonstrate that despite the enormous number of state variables (n = 340), the observer was able to estimate the PEMFC parameters faster than the real-time measurement.

8. Conclusions

In this paper, the design of a 2D physics-based diagnostic model for the PEMFC is presented. The model is extracted from Fick’s laws and Tafel’s equation, which relate to the oxygen transport in fuel cell channels and the gas-diffusion layer (GDL). The proposed PEMFC model is spatially discretized and using this discretized PEMFC model, a continuous-discrete extended Kalman filter was designed. Mazzoni’s formulae are later applied on the EKF to accelerate the calculation time of the PEMFC state observer.
For various current profiles, the EKF was used to estimate the PEMFC parameters. This observer accurately estimates the PEMFC’s dynamic ohmic resistance considering the load variation. The most important characteristic of the observer is its capability to estimate the PEMFC parameters in real-time.
Other operating conditions affect the PEMFC, such as aging and the membrane state (dry, wet, and flooded). In addition, the ohmic resistance of the PEMFC depends on the aging of the PEMFC and, consequently, the SoH of the PEMFC affects its ohmic resistance. In future work, the PEMFC observer can be extended to estimate both lifetime and aging.

Author Contributions

Conceptualization: Y.D., F.A, E.S. and S.C. methodology: Y.D., F.A, E.S. and S.C; software: Y.D. and F.A; writing—original draft: Y.D., F.A. and S.C.; writing—review and editing: Y.D., F.A., S.C. and A.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

V d = D e f f h d J l i m = 4   F   V d   C r e f  

Appendix B

P a r t I = ( F 11 F 12 0 0 0 0 0 0 0 0 F 11 0 0 0 0 0 0 0 F 12 F 11 F 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F 12 F 11 F 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 F 12 F ccn 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 F gg F gg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F gg 2 F gg F gg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F gg 2 F gg F gg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F gg F gg 0 0 0 0 0 0 0 0 F g g 0 0 0 0 0 0 0 0 0 2 F gg F gg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F gg 2 F gg F gg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F gg 2 F gg F gg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F gg F gg 0 0 0 )
P a r t I I = ( 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F ccnDeff 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F ccnDeff 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F ccnDeffK 1 F 11 0 0 0 0 0 0 0 0 0 0 0 0 0 F ccnDeffK 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F cgnDeff 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F cgnDeff 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F cgnDeffd 0 0 0 0 0 0 F gj 0 0 0 0 0 0 F gb 0 0 F cgn _ Deffd 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F cgnDeff 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F cgnDeff 21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F cgnDeffdk 1 0 0 0 0 0 0 F gj 0 0 0 0 0 F gb 1 0 F cgnDeffdk )
P a r t I I I = ( 0 0 0 0 F gg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F η g 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F η g 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 )
P a r t I V = ( 2 F gg F gg 0 0 0 0 0 0 0 0 0 0 0 0 F cgnDeff 1 K F gg 2 F gg F gg 0 0 0 0 0 0 0 0 0 0 0 F cgnDeff 2 K 0 0 F gg 2 F gg F gg 0 0 0 0 0 0 0 0 0 F cgnDeffd 1 K 0 0 0 F gg F gg 0 0 0 0 F gj 0 0 F gbK 0 F cgnDeffdK 0 0 0 0 0 F η η 0 0 0 0 0 F η C 0 F η r 0 F η b 0 F η ic 0 0 0 0 0 0 0 0 F η η 1 0 0 0 F η C 1 F η r 1 F η b 1 F η ic 1 0 0 0 0 0 0 0 0 0 F η η K 1 0 F η CK 1 F η rK 1 F η bK 1 F η icK 1 0 0 0 0 0 F η gK 0 0 0 0 F η η K F η CK F η rK F η bK F η icK 0 0 0 0 0 )

Appendix C

F 11 = D e f f   D h d   h c e f f F 12 = u c   K 2   L c   F c c n = 2   F 12 + F 11 F g g = D e f f   D 2 h d 2 F g j = D e f f   D 2 b   4   h d 2   F   C r e f   V d   r Ω   D = D e f f   D   b 4   h d 2   F   C r e f   V d   r Ω F η gk k K = - i c C D l   b   e η n k K      F η g 0     F η gK   F η η k k K = 1 r Ω   C D l + i c b   C D l   C g n D 1 D , k K e r e f e t 4   F   C r e f   V d   r Ω   D + 1 + η n k K , t   e η n k K                      F η η 0   F η η K      F η C k k K = - 1 C d l 2   b   r Ω e r e f e t b   η n k K i c   e η n k K   r Ω   C g n D 1 D , k K e r e f e t b   η n k K 4   F     V d r Ω D   F η C 0     F η CK F g b k k K = 1 4   F   C ref   V d   r Ω   D   η n k K     F gb 0     F gbK F η b k k K = + i c b 2   C D l   C g n D 1 D , k K , t   e η n k K , t i c b 2   C D l   e r e f e t 4   F   C r e f   V d   r Ω D   e η n k K , t + i c b 2   C D l   η n k K , t   e η n k K , t e r e f e t r Ω   C D l   b 2            F η b 0     F η bK F η i c k k K = 1 b   C D l   C g n D 1 D , k K   e η n k K + 1 b   C D l   e r e f e t 4   F   C r e f   V d   r Ω   D   e η n k K 1 b C D l   η n k K   e η n k K   F η ic 0     F η icK F C c n D e f f k k K = D h d h c e f f C g n 1 D , k K C c n k K      F ccnDeff 0     F ccnDeffK For   d = 1 D 2   and   k = K : F C g n D e f d k f d D , k K = D 2 h d 2 C g n d 1 D , k K 2 × C g n d D , k K + C g n d + 1 D , k K f o r   d = D 1   a n d   k = K F C g n D e f d k f d D , k K = D 2 h d 2 C g n D 2 D , k K , t C g n D 1 D , k K , t e r e f e t b 4   F   C r e f   V d   r Ω   D F cgndeffdk   according   to   the   value   of   d   and   k .

References

  1. Du, Z.; Liu, C.; Zhai, J.; Guo, X.; Xiong, Y.; Su, W.; He, G. A Review of Hydrogen Purification Technologies for Fuel Cell Vehicles. Catalysts 2021, 11, 393. [Google Scholar] [CrossRef]
  2. Madsen, R.T.; Klebanoff, L.E.; Caughlan, S.A.M.; Pratt, J.W.; Leach, T.S.; Appelgate Jr, T.B.; Kelety, S.Z.; Wintervoll, H.-C.; Haugom, G.P.; Teo, A.T.Y. Feasibility of the Zero-V: A Zero-Emissions Hydrogen Fuel-Cell Coastal Research Vessel. Int. J. Hydrogen Energy 2020, 45, 25328–25343. [Google Scholar] [CrossRef]
  3. Klebanoff, L.; Pratt, J.; Johnson, T.; Arienti, M.; Shaw, L.; Moreno, M. Analysis of H2 Storage Needs for Early Market Non-Motive Fuel Cell Applications; Technical Report SAND2012-17392012; Sandia National Laboratories: Livermore, CA, USA, 2012. [Google Scholar]
  4. Ursua, A.; Gandia, L.M.; Sanchis, P. Hydrogen Production from Water Electrolysis: Current Status and Future Trends. Proc. IEEE 2012, 100, 410–426. [Google Scholar] [CrossRef]
  5. Gray, E.M.; Webb, C.J.; Andrews, J.; Shabani, B.; Tsai, P.J.; Chan, S.L.I. Hydrogen Storage for Off-Grid Power Supply. Int. J. Hydrogen Energy 2011, 36, 654–663. [Google Scholar] [CrossRef]
  6. Petrovic, S.; Hossain, E. Development of a Novel Technological Readiness Assessment Tool for Fuel Cell Technology. IEEE Access 2020, 8, 132237–132252. [Google Scholar] [CrossRef]
  7. Larminie, J.; Dicks, A.; McDonald, M.S. Fuel Cell Systems Explained; J. Wiley: Chichester, UK, 2003; Volume 2. [Google Scholar]
  8. Zhong, Z.-D.; Zhu, X.-J.; Cao, G.-Y.; Shi, J.-H. A Hybrid Multi-Variable Experimental Model for a PEMFC. J. Power Source 2007, 164, 746–751. [Google Scholar] [CrossRef]
  9. Zhong, Z.-D.; Zhu, X.-J.; Cao, G.-Y. Modeling a PEMFC by a Support Vector Machine. J. Power Source 2006, 160, 293–298. [Google Scholar] [CrossRef]
  10. Husar, A.; Strahl, S.; Riera, J. Experimental Characterization Methodology for the Identification of Voltage Losses of PEMFC: Applied to an Open Cathode Stack. Int. J. Hydrogen Energy 2012, 37, 7309–7315. [Google Scholar] [CrossRef] [Green Version]
  11. Tang, Y.; Yuan, W.; Pan, M.; Li, Z.; Chen, G.; Li, Y. Experimental Investigation of Dynamic Performance and Transient Responses of a KW-Class PEM Fuel Cell Stack under Various Load Changes. Appl. Energy 2010, 87, 1410–1417. [Google Scholar] [CrossRef]
  12. Shi, Y.; Janßen, H.; Lehnert, W. A Transient Behavior Study of Polymer Electrolyte Fuel Cells with Cyclic Current Profiles. Energies 2019, 12, 2370. [Google Scholar] [CrossRef] [Green Version]
  13. Zhang, G.; Wu, L.; Qin, Z.; Wu, J.; Xi, F.; Mou, G.; Wang, Y.; Jiao, K. A Comprehensive Three-Dimensional Model Coupling Channel Multi-Phase Flow and Electrochemical Reactions in Proton Exchange Membrane Fuel Cell. Adv. Appl. Energy 2021, 2, 100033. [Google Scholar] [CrossRef]
  14. Barragán, A.J.; Enrique, J.M.; Segura, F.; Andújar, J.M. Iterative Fuzzy Modeling of Hydrogen Fuel Cells by the Extended Kalman Filter. IEEE Access 2020, 8, 180280–180294. [Google Scholar] [CrossRef]
  15. Zhao, J.; Jian, Q.; Luo, L.; Huang, B.; Cao, S.; Huang, Z. Dynamic Behavior Study on Voltage and Temperature of Proton Exchange Membrane Fuel Cells. Appl. Therm. Eng. 2018, 145, 343–351. [Google Scholar] [CrossRef]
  16. Abbou, A.; El Hasnaoui, A.; Khan, S.S.; Yamin, F. Analysis of the Novel Dynamic Semiempirical Model of Proton Exchange Membrane Fuel Cell by Incorporating Ambient Condition Variations. Int. J. Energy Environ. Eng. 2021, 12, 1–16. [Google Scholar] [CrossRef]
  17. Lajnef, T.; Abid, S.; Ammous, A. Modeling, Control, and Simulation of a Solar Hydrogen/Fuel Cell Hybrid Energy System for Grid-Connected Applications. Adv. Power Electron. 2013, 2013, 1–9. [Google Scholar] [CrossRef] [Green Version]
  18. San Martín, I.; Ursúa, A.; Sanchis, P. Modelling of PEM Fuel Cell Performance: Steady-State and Dynamic Experimental Validation. Energies 2014, 7, 670–700. [Google Scholar] [CrossRef] [Green Version]
  19. Sousa, R.; Gonzalez, E.R. Mathematical Modeling of Polymer Electrolyte Fuel Cells. J. Power Source 2005, 147, 32–45. [Google Scholar] [CrossRef]
  20. Luna, J.; Ocampo-Martinez, C.; Serra, M. Nonlinear Predictive Control for the Concentrations Profile Regulation under Unknown Reaction Disturbances in a Fuel Cell Anode Gas Channel. J. Power Source 2015, 282, 129–139. [Google Scholar] [CrossRef] [Green Version]
  21. Petrone, R.; Zheng, Z.; Hissel, D.; Péra, M.-C.; Pianese, C.; Sorrentino, M.; Becherif, M.; Yousfi-Steiner, N. A Review on Model-Based Diagnosis Methodologies for PEMFCs. Int. J. Hydrogen Energy 2013, 38, 7077–7091. [Google Scholar] [CrossRef]
  22. Chevalier, S.; Auvity, B.; Olivier, J.C.; Josset, C.; Trichet, D.; Machmoum, M. Detection of Cells State-of-Health in PEM Fuel Cell Stack Using EIS Measurements Coupled with Multiphysics Modeling. Fuel Cells 2014, 14, 416–429. [Google Scholar] [CrossRef]
  23. Fouquet, N.; Doulet, C.; Nouillant, C.J.J.; Dauphin-Tanguy, G.; Ould-Bouamama, B. Model Based PEM Fuel Cell State-of-Health Monitoring via Ac Impedance Measurements. J. Power Source 2006, 159, 905–913. [Google Scholar] [CrossRef]
  24. Jouin, M.; Gouriveau, R.; Hissel, D.; Péra, M.-C.; Zerhouni, N. Prognostics of PEM Fuel Cell in a Particle Filtering Framework. Int. J. Hydrogen Energy 2014, 39, 481–494. [Google Scholar] [CrossRef] [Green Version]
  25. Jouin, M.; Gouriveau, R.; Hissel, D.; Péra, M.-C.; Zerhouni, N. Remaining Useful Life Estimates of a PEM Fuel Cell Stack by Including Characterization-Induced Disturbances in a Particle Filter Model. In Proceedings of the Conference Internationale Discussion on Hydrogen Energy and Applications, IDHEA’14, Nantes, France, 14 January 2014; pp. 1–10. [Google Scholar]
  26. Luna, J.; Usai, E.; Husar, A.; Serra, M. Distributed Parameter Nonlinear State Observer with Unmatched Disturbance Estimation for PEMFC Systems. In Proceedings of the 6th International Conference on “Fundamentals & Development of Fuel Cells”, Tolouse, France, 27 May 2015. [Google Scholar]
  27. Luna, J.; Usai, E.; Husar, A.; Serra, M. Observation of the Electrochemically Active Surface Area in a Proton Exchange Membrane Fuel Cell. In Proceedings of the IECON 2016-42nd Annual Conference of the IEEE Industrial Electronics Society, Florence, Italy, 24–27 October 2016; pp. 5483–5488. [Google Scholar]
  28. Chevalier, S.; Josset, C.; Bazylak, A.; Auvity, B. Measurements of Air Velocities in Polymer Electrolyte Membrane Fuel Cell Channels Using Electrochemical Impedance Spectroscopy. J. Electrochem. Soc. 2016, 163, F816–F823. [Google Scholar] [CrossRef]
  29. Bruus, H. Theoretical Microfluidics; Oxford University Press Inc.: New York, NY, USA, 2008; Volume 18. [Google Scholar]
  30. Chevalier, S. Semianalytical Modeling of the Mass Transfer in Microfluidic Electrochemical Chips. Phys. Rev. E 2021, 104, 035110. [Google Scholar] [CrossRef] [PubMed]
  31. Mainka, J. Local Impedance in H2/Air Proton Exchange Membrane Fuel Cells (PEMFC): Theoretical and Experimental Investigations. Ph.D. Thesis, Université Henri Poincaré-Nancy, Nancy, France, 2011. [Google Scholar]
  32. Chevalier, S.; Olivier, J.-C.; Josset, C.; Auvity, B. Polymer Electrolyte Membrane Fuel Cell Operating in Stoichiometric Regime. J. Power Source 2019, 440, 227100. [Google Scholar] [CrossRef]
  33. Abdin, Z.; Webb, C.J.; Gray, E. PEM Fuel Cell Model and Simulation in Matlab–Simulink Based on Physical Parameters. Energy 2016, 116, 1131–1144. [Google Scholar] [CrossRef]
  34. Youssef, M.E.; Amin, R.S.; El-Khatib, K.M. Development and Performance Analysis of PEMFC Stack Based on Bipolar Plates Fabricated Employing Different Designs. Arab. J. Chem. 2018, 11, 609–614. [Google Scholar] [CrossRef] [Green Version]
  35. Diab, Y.; Auger, F.; Schaeffer, E.; Wahbeh, M. Estimating Lithium-Ion Battery State of Charge and Parameters Using a Continuous-Discrete Extended Kalman Filter. Energies 2017, 10, 1075. [Google Scholar] [CrossRef] [Green Version]
  36. Xiong, R.; He, H.; Sun, F.; Zhao, K. Evaluation on State of Charge Estimation of Batteries with Adaptive Extended Kalman Filter by Experiment Approach. IEEE Trans. Veh. Technol. 2013, 62, 108–117. [Google Scholar] [CrossRef]
  37. Zhang, C.P.; Liu, J.Z.; Sharkh, S.M.; Zhang, C.N. Identification of Dynamic Model Parameters for Lithium-Ion Batteries Used in Hybrid Electric Vehicles. High Technol. Lett. 2010, 16, 6–12. [Google Scholar] [CrossRef]
  38. He, H.; Xiong, R.; Zhang, X.; Sun, F.; Fan, J. State-of-Charge Estimation of the Lithium-Ion Battery Using an Adaptive Extended Kalman Filter Based on an Improved Thevenin Model. IEEE Trans. Veh. Technol. 2011, 60, 1461–1469. [Google Scholar]
  39. Kulikov, G.Y.; Kulikova, M.V. Accurate Numerical Implementation of the Continuous-Discrete Extended Kalman Filter. IEEE Trans. Autom. Control 2014, 59, 273–279. [Google Scholar] [CrossRef]
  40. Axelsson, P.; Gustafsson, F. Discrete-Time Solutions to the Continuous-Time Differential Lyapunov Equation with Applications to Kalman Filtering. IEEE Trans. Autom. Control 2015, 60, 632–643. [Google Scholar] [CrossRef] [Green Version]
  41. Auger, F.; Hilairet, M.; Guerrero, J.M.; Monmasson, E.; Orlowska-Kowalska, T.; Katsura, S. Industrial Applications of the Kalman Filter: A Review. IEEE Trans. Ind. Electron. 2013, 60, 5458–5471. [Google Scholar] [CrossRef] [Green Version]
  42. Mazzoni, T. Computational Aspects of Continuous–Discrete Extended Kalman-Filtering. Comput. Stat. 2008, 23, 519–539. [Google Scholar] [CrossRef] [Green Version]
  43. Guihal, J.-M.; Auger, F.; Bernard, N.; Schaeffer, E. Efficient Implementation of Continuous-Discrete Extended Kalman Filters for State and Parameter Estimation of Nonlinear Dynamic Systems. IEEE Trans. Ind. Inform. 2021, 18, 3077–3085. [Google Scholar] [CrossRef]
  44. Lee, C.-Y.; Lee, Y.-M.; Lee, S.-J. Local Area Water Removal Analysis of a Proton Exchange Membrane Fuel Cell under Gas Purge Conditions. Sensors 2012, 12, 768–783. [Google Scholar] [CrossRef] [Green Version]
  45. Pérez-Page, M.; Pérez-Herranz, V. Effect of the Operation and Humidification Temperatures on the Performance of a PEM Fuel Cell Stack. Ecs Trans. 2009, 25, 733. [Google Scholar] [CrossRef]
  46. Pauchet, J.; Prat, M.; Schott, P.; Pulloor Kuttanikkad, S. Performance Loss of Proton Exchange Membrane Fuel Cell Due to Hydrophobicity Loss in Gas Diffusion Layer: Analysis by Multiscale Approach Combining Pore Network and Performance Modelling. Int. J. Hydrogen Energy 2012, 37, 1628–1641. [Google Scholar] [CrossRef] [Green Version]
  47. Emerson, A.; Montville, L. Electrochemical Characterization and Water Balance of a PEM Fuel Cell; Worcester Polytechnic Institute: Worcester, MA, USA, 2010. [Google Scholar]
  48. Niu, H.; Ji, C.; Wang, S.; Liang, C. Quantitative Analysis on Cold Start Process of a PEMFC Stack with Intake Manifold. Int. J. Hydrogen Energy 2021, 47, 2647–2661. [Google Scholar] [CrossRef]
  49. Promislow, K.S. Phase Change and Hysteresis in PEMFCs. In Device and Materials Modeling in PEM Fuel Cells; Springer: New York, NY, USA, 2009; pp. 253–295. [Google Scholar]
  50. Laribi, S.; Mammar, K.; Sahli, Y.; Koussa, K. Air Supply Temperature Impact on the PEMFC Impedance. J. Energy Storage 2018, 17, 327–335. [Google Scholar] [CrossRef]
  51. Saleh, M.M.; Okajima, T.; Hayase, M.; Kitamura, F.; Ohsaka, T. Exploring the Effects of Symmetrical and Asymmetrical Relative Humidity on the Performance of H2/Air PEM Fuel Cell at Different Temperatures. J. Power Source 2007, 164, 503–509. [Google Scholar] [CrossRef]
  52. Gaumont, T.; Maranzana, G.; Lottin, O.; Dillet, J.; Guétaz, L.; Pauchet, J. In Operando and Local Estimation of the Effective Humidity of PEMFC Electrodes and Membranes. J. Electrochem. Soc. 2017, 164, F1535. [Google Scholar] [CrossRef] [Green Version]
Figure 1. (a) PEMFC half-cell geometry reprinted from [28]. (b) A simple fuel cell electrical circuit.
Figure 1. (a) PEMFC half-cell geometry reprinted from [28]. (b) A simple fuel cell electrical circuit.
Energies 15 02337 g001
Figure 2. (a) Three-dimensional view of the straight channel fuel cell reprinted from [32]. (b) Fuel cell benchmark setup in LTeN, Nantes.
Figure 2. (a) Three-dimensional view of the straight channel fuel cell reprinted from [32]. (b) Fuel cell benchmark setup in LTeN, Nantes.
Energies 15 02337 g002
Figure 3. Experimental current and voltage of fuel cell.
Figure 3. Experimental current and voltage of fuel cell.
Energies 15 02337 g003
Figure 4. (a) Simulation and experimental curves of current. (b) Relative error of simulated current.
Figure 4. (a) Simulation and experimental curves of current. (b) Relative error of simulated current.
Energies 15 02337 g004
Figure 5. Experimental current and voltage of PEMFC for forward/backward sweep.
Figure 5. Experimental current and voltage of PEMFC for forward/backward sweep.
Energies 15 02337 g005
Figure 6. (a) Experimental V/I characteristic for the studied PEMFC. (b) PEMFC power vs. current.
Figure 6. (a) Experimental V/I characteristic for the studied PEMFC. (b) PEMFC power vs. current.
Energies 15 02337 g006
Figure 7. (a) Simulation and experimental curves of current. (b) Relative error of simulated current.
Figure 7. (a) Simulation and experimental curves of current. (b) Relative error of simulated current.
Energies 15 02337 g007
Figure 8. (a) Measured current and current estimated by EKF. (b) Zoomed-in image of both curves between 2177 and 2187 s. (c) Relative error of estimated current.
Figure 8. (a) Measured current and current estimated by EKF. (b) Zoomed-in image of both curves between 2177 and 2187 s. (c) Relative error of estimated current.
Energies 15 02337 g008aEnergies 15 02337 g008b
Figure 9. (a) Concentration C c y = k K L c ,   t = C cn   y n ,   t   C ref as a function of time and k . (b) Concentration C g x = d D h d , y = k K L c ,   t = C gn x n , y n , ,   t C ref as a function of time and d , and two values of k = 0 and   k = K = 20 .
Figure 9. (a) Concentration C c y = k K L c ,   t = C cn   y n ,   t   C ref as a function of time and k . (b) Concentration C g x = d D h d , y = k K L c ,   t = C gn x n , y n , ,   t C ref as a function of time and d , and two values of k = 0 and   k = K = 20 .
Energies 15 02337 g009
Figure 10. EKF results: (a) potential η = η n b ; (b) capacitances C DL ; (c) resistance r ; (d) Tafel slope b ; (e) exchange current density i c ; and (f) diffusion coefficient D eff .
Figure 10. EKF results: (a) potential η = η n b ; (b) capacitances C DL ; (c) resistance r ; (d) Tafel slope b ; (e) exchange current density i c ; and (f) diffusion coefficient D eff .
Energies 15 02337 g010aEnergies 15 02337 g010b
Figure 11. Estimated resistance r .
Figure 11. Estimated resistance r .
Energies 15 02337 g011
Figure 12. (a) Measured current and current estimated by EKF. (b) Experimental voltage of a new PEMFC cell for step-up/down profile. (c) Relative error of the estimated current.
Figure 12. (a) Measured current and current estimated by EKF. (b) Experimental voltage of a new PEMFC cell for step-up/down profile. (c) Relative error of the estimated current.
Energies 15 02337 g012
Figure 13. EKF results: (a) potential η = η n b ; (b) capacitances C DL ; (c) resistance r ; (d) Tafel slope b ; (e) exchange current density i c ; and (f) diffusion coefficient D eff .
Figure 13. EKF results: (a) potential η = η n b ; (b) capacitances C DL ; (c) resistance r ; (d) Tafel slope b ; (e) exchange current density i c ; and (f) diffusion coefficient D eff .
Energies 15 02337 g013
Table 1. Parameters and variables of PEMFC.
Table 1. Parameters and variables of PEMFC.
Geometry and Model Parameters
ParameterUnitSignification V d m/sConstant
b VTafel slope x MSpatial coordinate
C c mol/m3Oxygen concentration in the channel y MSpatial coordinate
C g mol/m3Oxygen concentration in the GDL x n ,   y n -Normalized spatial coordinates
C ref mol/m3Reference concentration on
the channel inlet
η VCathode potential
C cn
  C gn
-Normalized oxygen concentrations η n -Normalized potential
C DL F/m2Double-layer capacityDiscretization parameters
D eff m2/sEffective diffusivity of the GDL d - Variable   related   to   x = d D h d
e VCell voltage D -Number of grid points in the x-axis
e ref VFuel cell potential reference k - Variable   related   to   y = k K L c
F C/molFaraday constant K -Number of grid points in the y-axis
h c eff mChannel depthn-Number of state variables
h d mGDL thicknessObserver parameters
i c A/m2Exchange current density a -Constant
i AFuel cell current H -Observation matrix
j A/m2Local current density K N -Kalman gain
j n -Normalized Local current density F -Dynamic matrix
L c mChannel length N -Time index
l c mChannel width q -White noise covariance
j lim A/m2Limiting current density P -Covariance matrix
r Ω Ω m2Ohmic resistance T s sSampling period
t sTemporal coordinate R -Measurement noise covariance
T °CTemperature v -Process noise
u c m/sAir velocity x -State variables
Table 2. PEMFC model parameter values.
Table 2. PEMFC model parameter values.
ParameterValueParameterValue
b 0.03 V h c eff 1.5 × 10 3 m
C DL 200 F/m2 h d 250 × 10 6 m
C ref 7.42 mol/m3 i c 300 A/m2
D eff 10 5 m2/s r Ω 2.2 × 10 5 Ωm2
e ref 0.95 V T 70 °C
F 96,487 C/mol u c 0.42 m/s
Table 3. EKF results.
Table 3. EKF results.
Period of Real-Time Measurement (s)Number of Samples   T s   ( s ) Period of Simulation Time (s)
397923,4710.16952340
600081,4550.0735188
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Diab, Y.; Auger, F.; Schaeffer, E.; Chevalier, S.; Allahham, A. Real-Time Estimation of PEMFC Parameters Using a Continuous-Discrete Extended Kalman Filter Derived from a Pseudo Two-Dimensional Model. Energies 2022, 15, 2337. https://doi.org/10.3390/en15072337

AMA Style

Diab Y, Auger F, Schaeffer E, Chevalier S, Allahham A. Real-Time Estimation of PEMFC Parameters Using a Continuous-Discrete Extended Kalman Filter Derived from a Pseudo Two-Dimensional Model. Energies. 2022; 15(7):2337. https://doi.org/10.3390/en15072337

Chicago/Turabian Style

Diab, Yasser, Francois Auger, Emmanuel Schaeffer, Stéphane Chevalier, and Adib Allahham. 2022. "Real-Time Estimation of PEMFC Parameters Using a Continuous-Discrete Extended Kalman Filter Derived from a Pseudo Two-Dimensional Model" Energies 15, no. 7: 2337. https://doi.org/10.3390/en15072337

APA Style

Diab, Y., Auger, F., Schaeffer, E., Chevalier, S., & Allahham, A. (2022). Real-Time Estimation of PEMFC Parameters Using a Continuous-Discrete Extended Kalman Filter Derived from a Pseudo Two-Dimensional Model. Energies, 15(7), 2337. https://doi.org/10.3390/en15072337

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop