scieee AI-readable full text Open interactive document viewer

Distributed parameter nonlinear state observer with unmatched disturbance estimation for PEMFC systems

Luna Pacho, Julio Alberto,Usai, Elio,Husar, Attila Peter,Serra, Maria

Abstract

In this paper a nonlinear state observer based on a distributed parameter model is proposed for a proton exchange membrane fuel cell (PEMFC). The estimation technique is implemented using a model-based nonlinear observer with a nonlinear disturbance observer in parallel. To implement the model, a finite element discretisation is performed to take advantage of the boundary conditions of the problem and also to apply lumped systems theory in the observer synthesis procedure. By means of this double observation technique it is possible to reconstruct the gases concentrations internal states in the gas channels of the PEMFC in the presence of disturbances. The reaction rates and water transport terms that cross the membrane are considered as unknown unmatched disturbances of the model, henceforth the implementation of a disturbance observer to estimate them. Simulation results of the proposed solution are provided and discussed.

Full text

Distributed Parameter Nonlinear State Observer with Unmatched Disturbance Estimation for PEMFC Systems Julio Luna 1 , Elio Usai 2 , Attila Husar 1 and Maria Serra 1 1 Universitat Politècnica de Catalunya. Institut de Robòtica i Informàtica Industrial (CSIC-UPC). C/Llorens i Artigas 4-6. 08028 Barcelona, Spain 2 Università di Cagliari. Dipartimento di Ingegneria Elettrica ed Elettronica (DIEE), Piazza d'Armi, Cagliari, Italy {jluna,ahusar,maserra}@iri.upc.edu, [email protected] Keywords: PEMFC, observer, unmatched disturbance estimation, distributed model. ABSTRACT In this paper a nonlinear state observer based on a distributed parameter model is proposed for a proton exchange membrane fuel cell (PEMFC). The estimation technique is implemented using a model-based nonlinear observer with a nonlinear disturbance observer in parallel. To implement the model, a nite element discretisation is performed to take advantage of the boundary conditions of the problem and also to apply lumped systems theory in the observer synthesis procedure. By means of this double observation technique it is possible to reconstruct the gases concentrations internal states in the gas channels of the PEMFC in the presence of disturbances. The reaction rates and water transport terms that cross the membrane are considered as unknown unmatched disturbances of the model, henceforth the implementation of a disturbance observer to estimate them. Simulation results of the proposed solution are provided and discussed. 1 INTRODUCTION Measuring the internal states in a PEMFC is virtually impossible due to the enclosed construction of the overall system. However, in order to implement advanced control techniques that improve the eciency and life expectancy of the plant, these internal states are required to be known. Moreover, the knowledge of the internal variables can be used for the diagnosis of the state of health of the PEMFC. The concentrations of the dierent gas species along both gas channels (anode and cathode) are critical variables for the ecient and lasting operation of the PEMFC. To reconstruct their values from the measured outputs, a nonlinear state observer with unmatched disturbance estimation is proposed in this paper. Some authors have proposed nonlinear observers [1] based on concentrated parameter models of the PEMFC [2] for the estimation of unmeasurable variables in dynamical systems. In this paper, the observer is model-based on a distributed parameter model [3,4]. This approach allows to describe in detail the internal dynamics of the PEMFC and to represent the full prole behaviour of the states in the direction of the gas channels. Forward and backward discretisation of the model is performed to take advantage of the boundary conditions of the problem, which are the input molar ows and the external ambient pressure. The measurements used to reconstruct the internal states are the input and output ow rates and pressures. The hydrogen and oxygen reaction terms and the water transport ows across membrane are considered as unmeasured disturbances. The eect of the disturbances in a dynamical system dene the robustness of the control and estimation solutions applied to it. Two dierent kinds of disturbances can aect the system: matched and unmatched. Matched disturbances aect the input signals of the plant (i.e. actuator faults) while unmatched disturbances are model and parameter uncertainties. Recent research works [5,6] only focus on the treatment of matched and unmatched disturbances from the control point of view. In this paper a nonlinear disturbance observer (NDOB) [7] is implemented in parallel with the main state observer to estimate the values of the unmatched disturbances and inject them into the main observer to recover the values of the states. As introduced before, the main state estimator is model-based. From the modelling domain point of view, the PEMFCs can be represented by 1D models through the membrane, by 2D models or by more complex and precise 3D models. Combinations between models can be made: i.e. it is possible to combine models to obtain 1+1D and 2D+1D variations. The trade-o between the complexity of the model and the level of detail is the main argument when selecting a mathematical representation of a PEMFC. In the 1D modelling approach, some researchers have studied the distributed dynamical behaviour of the membrane and channels variables along one direction [8] with isothermal assumptions. More advanced studies include non-isothermal models [9]. Other authors have developed 1D control-oriented models for PEMFC systems [2]. More complex 2D models can be found in the literature. In particular, in [10] a 2D model that focuses on the behaviour of the uid hydrodynamics and electrochemical kinetics of a PEMFC is developed. A quasi-two-dimensional (1+1D) distributed parameter model is developed in [4]. Further complexity and detail can be found in 3D models. From computational PEMFC dynamical research [11] that studies the interactions between mass transport and electrochemical kinetics, to models [12,13] focused in parameter sensitivity analysis and experimentation. The main contribution of this paper relies on the implementation of a nonlinear distributed parameter observer (NDPO) with unmatched disturbance estimation of the reaction and water transport terms for a distributed parameter 1+1D PEMFC model. From the results of the study, conclusions about the internal dynamics of the system and the eect of the reaction disturbances can be extracted. This paper is organised as follows. In Section 2 the model for the PEMFC is introduced, following rst physical principles. In section 3 the observation-oriented model is developed and the main observer described. The NDOB for the unmatched disturbances is described in Section 4. Simulation results for the observer with disturbance estimation are presented and analysed in Section 5. Finally some conclusions are extracted and discussed in Section 6. Anode CL Cathode CL Membrane Cathode GDL Anode GDL Gas channel Gas channel z y H2, H2ON2, O2, H2O Figure 1: PEMFC modelling domain. Figure 2: Discretised PEMFC. 2 MATHEMATICAL MODELLING In this section the distributed parameter model for the PEMFC is presented. Certain assumptions have been considered [4] in order to simplify the understanding of the dynamics. First of all, the uid in the gas channels and in the GDLs behaves like an ideal gas. Moreover, the liquid water formation is not considered neither in the gas channels nor in the GDLs. The electrical energy that the PEMFC produces is injected into a load. It is assumed that the gas channels posses a storage capacity for mass. Finally, the temperature of the model follows an isothermal behaviour. 2.1 Modelling domain The modelling domain for the PEMFC system studied in this paper is portrayed in Figure 1. The layers, according to their physical distribution and functionality in the PEMFC are the gas channels (anode and cathode), gas diusion layers (GDLs), catalyst layers (CLs), and the membrane. Nevertheless, since the observer considers the internal layers variables as unknown unmatched disturbances (that will be estimated through the NDOB), only the dierential equations for the gas channels are given in this paper, though the rest of the layer domains are included in the simulation model. The justication for the use of the gas concentrations as the main modelling domain variables to synthesise the observer and the whole PEMFC model were given in [14]. 2.2 PEMFC gas channel model The gas channels (anode and cathode) are modelled following a nonlinear mass balance equation for the gas transport in the z-direction of the PEMFC ∂ci(t) ∂t =−∂v(t) ∂z ci(t)−˙ni(t) δ, (1a) v(t) = −K∂p(t) ∂z , (1b) p(t) = RT X i ci(t), (1c) where subscript i stands for the reactant, being i= H 2 the hydrogen index, and i= H 2 O the water index in the anode side. At the cathode side, i= N 2 denotes the nitrogen, i= O 2 the oxygen and i= H 2 O the water. Molar ux densities ˙ni are the reaction and water transport terms for the ve gas species of the model in the y-direction. It is assumed that they are unmeasured uncertainties of the model. 3 PRIMARY STATE OBSERVER The state space representation for nonlinear systems can be expressed as follows: ˙x(t) = f(t, x(t),u(t)), (2a) y(t) = h(t, x(t),u(t)), (2b) where x(t)∈Rn is the state vector, y(t)∈Rp the measured output vector and u(t)∈Rm the input or control vector. For the gas channel model (1), the concentrations ci are the state variables xi as suggested in [14], the input and output ow rates and pressures are the measured outputs and the molar uxes injected to the PEMFC the input vector values. 3.1 Observation-oriented model Applying forward and backward discretisation techniques on (1) over the discretisation length ∆z , and considering the constants Ck 1=KRT/∆z2 and Ck 2=Kpamb/∆z2 , it is possible to develop the generalised observation-oriented model for each one of the discretisation volumes from 1 to nV ol ˙xk i,j(t) =        ˙nk i,in(t) ∆z−Ck 1Ψk(j)−˙nk i,j (t) δk if j= 1, Ck 1Ψk(j−1) −Ψk(j)−˙nk i,j (t) δk, if 2≤j≤nV ol −1, Ck 1Ψk(j−1) −Ck 1xk i,j(t)Pixk i,j(t) + Ck 2xk i,j(t)−˙nk i,j (t) δk, if j=nV ol, (3) with Ψk(j) = xk i,j(t) X i xk i,j(t)−X i xk i,j+1(t)!, (4a) Ψk(j−1) = xk i,j−1(t) X i xk i,j−1(t)−X i xk i,j(t)!, (4b) where the state variables xk i,j refer to the i -th gas concentrations at the j discretisation volume. Superscript k stands for a generalisation to specify that the variable is valid for both the anode ( k=A ) and the cathode ( k=C ) sides of the PEMFC. The model-based NDPO developed in the consecutive sections is synthesised based on the observation-oriented model in (3). 3.2 Nonlinear Distributed Parameter Observer Developing the model-based nonlinear observer structure proposed in [3] with the discretised observation-oriented model presented in (3) for a n -order nonlinear system, the observer structure [3] is such that ˙ ˆx =f(ˆx,u) + g(ˆx)u0, (5a) ˆy =h(ˆx), (5b) where the generalised observed state vector ˙ ˆx ∈Rn and the observed output variable ˆy ∈Rp . The function f(ˆx,u) contains the nonlinear dynamics of the model. The vector function g(ˆx) provides the observer with full relative degree n with respect to the input vector u . The correction input u0 is designed to achieve null estimation error in a nite amount of time. In the present work, a Super-Twisting Algorithm (STA) based in Sliding Mode Control (SMC) techniques [15] is implemented. The details of the observability of (3) and the synthesis of the observer and corrective action were presented in [14]. The implementation of the model presented in (3) contemplates a ve volume discretisation for (5), considering the trade-o between the detail of the solution and the complexity of synthesising higher order discretised observers. Likewise, ve volumes are considered in this paper for the simulations ( nV ol = 5 ). 4 NDPO WITH DISTURBANCE OBSERVER Rewriting the observation-oriented model (3) as a function of the dynamics of the plant ( f ), input gains ( g1 ) and unmatched disturbances ( g2 ): ˙xk i,j(t) = f(xk i,j(t)) + g1(xk i,j(t))uk+g2(xk i,j(t))dk(t), (6a) yk i(t) = xk i,out(t). (6b) To estimate the nonlinear unmatched disturbances dk in (6), a NDOB [7] is implemented in parallel with the NDPO (5) ˙pk=−lkg2(xk i,j(t))pk−lkg2(xk i,j(t))lkxk i,j(t) + f(xk i,j(t)) + g1(xk i,j(t))uk, (7a) ˆ dk(t) = pk+lkxk i,j(t), (7b) where ˆ dk is the estimation of the disturbance and pk represents the internal nonlinear dynamics of the NDOB. The gain is represented by lk . The nal topology of the estimation technique proposed in this paper is shown in Figure 3. Figure 3: NDPO with NDOB topology. 5 SIMULATIONS Consider the initial state vector x(0)∈R5×nV ol for (3) and the initial observed state vector ˆx(0) = 0∈R5×nV ol for (5). The initial state vector is computed from a common PEMFC operating point dened by the anode and cathode stoichiometry λA= 2.2 and λC= 3 , the PEMFC temperature T= 353 K and voltage U= 0.5 V. The observer parameters are lA= 1e−9 and lC= 1e−12 . The ne tuning of these parameters is out of the scope of this paper. Step variations are imposed on the system inputs at t= 125 , t= 250 and t= 375 seconds (see Table 1) to test the dynamical behaviour of the observer when the system drives away from its initial operating point. Table 1: Step values for the dynamical analysis Input molar ow Time [s] Initial [mol m −2 s −1 ] Final [mol m −2 s −1 ] O 2 125 60 30 H 2 250 16 14 H 2 O (anode) 375 4 3 5.1 Results and discussion The NDPO (5) with NDOB (7) reconstructs all the internal states (gases concentrations) for each of the discretised volumes of the system (3), which are ve as aforesaid. Nevertheless, for presentation purposes, only the states in the middle point of the gas channel are shown in this section. This point is of special signicance due to the diculties of sensorising it. Figures 4 and 5 show the observation of the ve gas species (dashed lines denoted by est in the gures) in the PEMFC. During the reconstruction of the anode gas channel states, there is an increase of the estimation error ( ex=x−ˆx ) when the system drives away from its initial operating point as depicted by Figure 4 between times 250 and 375 seconds. However, these errors can be considered negligible. At the cathode side the estimation of the states remains almost perfect right after the convergence takes place. Though, a small-scale oset can be appreciated in the detail shown in Figure (5) for the H 2 O estimation at the cathode. The dierences between the state reconstruction at both sides of the PEMFC depend on several conditions, such as the ne tuning of the observer for the dierent gas species, the 0 50 100 150 200 250 300 350 400 450 500 5 10 15 20 25 30 35 Time [s] Concentration [mol m−3] H2 H2 (est) H2O H2O (est) 0 0.5 1 1.5 2 0 5 10 15 20 25 30 35 detail Figure 4: Estimation in the anode. 0 50 100 150 200 250 300 350 400 450 500 0 5 10 15 20 25 30 35 Time [s] Concentration [mol m−3] N2 N2 (est) O2 O2 (est) H2O H2O (est) 120 122 124 126 128 130 0 0.5 1detail Figure 5: Estimation in the cathode. gains of the corrective action and the dierence in the dynamics that govern the internal layers of the PEMFC simulation model. 6 CONCLUSIONS In this paper, a NDPO with nonlinear disturbance estimation is proposed to recover the full state proles in a PEMFC system. The improved NDPO allows to estimate the reaction and water transport terms considering them as unmatched disturbances. The performance of the observer has been evaluated in a simulation scenario, obtaining satisfactory results. The simulations presented in this paper have been carried out for a total of ve discretisation points. The increase of the discretisation volumes introduces mathematical complexity when synthesising the observer. A trade-o situation arises between the required level of detail in the recovered information and the observer synthesis complexity. Nonetheless, with the conguration presented in this paper, a convenient amount of information can be extracted from the simulations. The developed technique is suitable to design advanced controllers with output-feedback control taking into account the internal information of the PEMFC given by the observer. Furthermore, diagnosis tools to display the current PEMFC health state can be designed using the NDPO. The proposed observation technique can also be applied to other kinds of distributed parameter systems. It is forthcoming to develop new disturbance observation techniques to compare the results with the ones described in this paper. ACKNOWLEDGEMENTS This work has been partially funded by the Spanish national project MESPEM (ref. DPI2011-25649), the Italian MAEIC project RODEO (ref. PGR000152) and the the European project PUMA MIND (ref. SPI-JTI-FCH 303419). NOMENCLATURE C Volumetric capacitance (C V −1 m −3 ) c Concentration (mol m −3 ) D Diusion coecient (m 2 s −1 ) F Faraday constant (C mol −1 ) fV Surface enlargement factor - i Current density (A m −2 ) i0 Exchange current density (A m −2 ) K Pressure drop coecient (m 2 s −1 Pa −1 ) L Fuel cell length (m) Lx Gas channel width (m) Lz Gas channel depth (m) ˙n Molar ux density (mol m −1 s −1 ) nV ol Discretisation volumes - p Pressure (Pa) R Gas constant (J mol −1 K −1 ) r Reaction rate (mol m −2 s −1 ) T Temperature (K) U Fuel cell voltage (V) v Flow velocity (m s −1 ) ∆z Discretisation length (m) δ y-axis thickness (m) λA Anode stoichiometry - λC Cathode stoichiometry - Φ Electrical potential (V) References [1] H. Görgün, M. Arcak, F. Barbir, An algorithm for estimation of membrane water content in pem fuel cells, Journal of power sources 157 (1) (2006) 389394. [2] J. T. Pukrushpan, A. G. Stefanopoulou, H. Peng, Control of fuel cell breathing, Control Systems, IEEE 24 (2) (2004) 3046. [3] J. Davila, L. Fridman, A. Pisano, E. Usai, Finite-time state observation for non-linear uncertain systems via higher-order sliding modes, International Journal of Control 82 (8) (2009) 15641574. [4] M. Mangold, A. Bück, R. Hanke-Rauschenbach, Passivity based control of a distributed pem fuel cell model, Journal of Process Control 20 (3) (2010) 292313. [5] W.-J. Cao, J.-X. Xu, Nonlinear integral-type sliding surface for both matched and unmatched uncertain systems, Automatic Control, IEEE Transactions on 49 (8) (2004) 13551360. [6] M. Rubagotti, A. Estrada, F. Castaños, A. Ferrara, L. Fridman, Integral sliding mode control for nonlinear systems with matched and unmatched perturbations, Automatic Control, IEEE Transactions on 56 (11) (2011) 26992704. [7] J. Yang, S. Li, X. Yu, Sliding-mode control for systems with mismatched uncertainties via a disturbance observer, Industrial Electronics, IEEE Transactions on 60 (1) (2013) 160169. [8] T. V. Nguyen, R. E. White, A water and heat management model for proton-exchange-membrane fuel cells, Journal of the Electrochemical Society 140 (8) (1993) 21782186. [9] A. Rowe, X. Li, Mathematical modeling of proton exchange membrane fuel cells, Journal of power sources 102 (1) (2001) 8296. [10] S. Um, C.-Y. Wang, K. Chen, Computational uid dynamics modeling of proton exchange membrane fuel cells, Journal of the Electrochemical society 147 (12) (2000) 44854493. [11] S. Um, C. Wang, Three-dimensional analysis of transport and electrochemical reactions in polymer electrolyte fuel cells, Journal of Power Sources 125 (1) (2004) 4051. [12] W. Tao, C. Min, X. Liu, Y. He, B. Yin, W. Jiang, Parameter sensitivity examination and discussion of PEM fuel cell simulation model validation: Part I. current status of modeling research and model development, Journal of power sources 160 (1) (2006) 359373. [13] C. Min, Y. He, X. Liu, B. Yin, W. Jiang, W. Tao, Parameter sensitivity examination and discussion of PEM fuel cell simulation model validation: Part II: Results of sensitivity analysis and validation of the model, Journal of power sources 160 (1) (2006) 374385. [14] J. Luna, A. Husar, M. Serra, State observers design for PEMFC systems, in: Ibero-American Conference on Hydrogen and Fuel Cells 2014. [15] L. Fridman, A. Levant, Higher order sliding modes, Sliding mode control in engineering 11 (2002) 53102.