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

Iterative Fuzzy Modeling of Hydrogen Fuel Cells by the Extended Kalman Filter

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

기본 정보

저자
  1. Antonio Javier Barragán — Department of Electronic Engineering, Computer Systems and Automatic, University of Huelva, Huelva, Spain
  2. Juan Manuel Enrique — Department of Electronic Engineering, Computer Systems and Automatic, University of Huelva, Huelva, Spain
  3. Francisca Segura — Department of Electronic Engineering, Computer Systems and Automatic, University of Huelva, Huelva, Spain
  4. José Manuel Andújar — Department of Electronic Engineering, Computer Systems and Automatic, University of Huelva, Huelva, Spain
DOI
10.1109/access.2020.3013690
저널
IEEE Access
발행년도
2020
발행기관
Institute of Electrical and Electronics Engineers
피인용수
16
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2020.3013690
토픽
Fuel Cells and Related Materials
OpenAlex ID
W3047292999

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.90
근거 용어
PEMFC, nonlinear dynamic model, degradation, extended Kalman filter, fuzzy modeling
판단 근거
본 논문은 PEMFC(고분자전해질 연료전지)의 동적 거동을 예측하고 성능 저하(degradation)를 추적하기 위한 비선형 모델링 알고리즘을 다루고 있습니다.
R&D 활용 포인트
코오롱인더스트리의 PEMFC 핵심 소재(막, MEA)의 수명 예측 및 성능 열화 모델링을 위한 제어 알고리즘 개발에 활용 가능합니다.
평가 입력
본문 70,447자 중 30,032자 발췌

초록

Hydrogen economy is one of the recently opened alternatives in the field of non-polluting energy. Hydrogen fuel cells show high performance, high reliability in stationary applications and minimal environmental impact. To increase the efficiency of the hydrogen fuel cell it is very important to have a good model to predict its dynamic behavior. In addition, this model must be able to adapt iteratively to the changes that occur in its performance due to operating conditions and even to the degradation through its lifespan. This paper presents the application of an iterative fuzzy modeling methodology based on the extended Kalman filter applied to a real hydrogen fuel cell. Two algorithms based on the Kalman filter will be compared with the well-known backpropagation algorithm from three different initializations: by uniform partitioning, subtractive clustering and CMeans clustering. The used data have been collected during the actual operation of a real 3.4 kW proton exchange membrane fuel cell. As the article experimentally shows, the Takagi-Sugeno type fuzzy model allows to create a very accurate nonlinear dynamic model of the fuel cell, which can be very useful to design an efficient fuel cell control system.

본문 70,447자

본문 펼치기
Received July 21, 2020, accepted July 30, 2020, date of publication August 3, 2020, date of current version October 13, 2020. _Digital Object Identifier 10.1109/ACCESS.2020.3013690_ # Iterative Fuzzy Modeling of Hydrogen Fuel Cells by the Extended Kalman Filter ANTONIO J. BARRAGÁN 1, JUAN M. ENRIQUE 1, FRANCISCA SEGURA 1, AND JOSÉ M. ANDÚJAR 1, (Senior Member, IEEE) Department of Electronic Engineering, Computer Systems and Automatic, University of Huelva, 21071 Huelva, Spain Corresponding author: Antonio J. Barragán (antonio.barragan@diesia.uhu.es) This work was supported by the Spanish Ministry of Economy Industry and Competitiveness through the H2SMART- _µ_ GRID Project under Grant DPI2017-85540-R. ABSTRACT Hydrogen economy is one of the recently opened alternatives in the field of non-polluting energy. Hydrogen fuel cells show high performance, high reliability in stationary applications and minimal environmental impact. To increase the efficiency of the hydrogen fuel cell it is very important to have a good model to predict its dynamic behavior. In addition, this model must be able to adapt iteratively to the changes that occur in its performance due to operating conditions and even to the degradation through its lifespan. This paper presents the application of an iterative fuzzy modeling methodology based on the extended Kalman filter applied to a real hydrogen fuel cell. Two algorithms based on the Kalman filter will be compared with the well-known backpropagation algorithm from three different initializations: by uniform partitioning, subtractive clustering and CMeans clustering. The used data have been collected during the actual operation of a real 3.4 kW proton exchange membrane fuel cell. As the article experimentally shows, the Takagi-Sugeno type fuzzy model allows to create a very accurate nonlinear dynamic model of the fuel cell, which can be very useful to design an efficient fuel cell control system. INDEX TERMS Algorithm, fuel cell, fuzzy modeling, hydrogen energy, Kalman filter. I. INTRODUCTION Today’s society faces the challenge of changing the economic model to one that is more sustainable and respectful with the environment. In this way, the main aim of new energy conversion technologies is the production of non-polluting energy. The so-called ‘‘hydrogen economy’’ is one of the recently opened alternatives in the field of non-polluting energy. Hydrogen can be ecologically produced from renewable sources using electrolyzers. Also it can be stored (under pressure, in the form of metal hydrides or even liquid, despite the expenditure of energy required for it) and can be converted back, in a non-polluting way, into electric power by hydrogen fuel cells (hereinafter FC both plural and singular). These three characteristics make it possible to create a circular energy cycle based on clean or green hydrogen (productionstorage-usage) [1]. FC are nowadays, despite being a technology in continuous evolution, a realistic (and practical) The associate editor coordinating the review of this manuscript and approving it for publication was Xiaochun Cheng. solution thanks to its technological development (mainly due to the automotive field), high performance, high reliability and minimum environmental impact [2]. A FC is a nonlinear complex system based on the serial connection of individual cells making up a stack, together with other systems necessary to its proper operation (the so-called balance of plant or BoP, which is governed by a control system responsible for the best performance of the FC [3]). Compared to other green technologies, for example wind or photovoltaic generation [4], FC can operate in any geographic location, without taking into account environmental constraints (availability of sun, wind, etc.). Specifically, proton exchange membrane fuel cells, also known as polymer electrolyte membrane fuel cells (PEMFC), are considered one of the best FC alternatives for transport applications as well as stationary and portable applications. Other important advantages of PEMFC are its low operating temperature (50 <sup>o</sup> C–100 <sup>o</sup> C) and the fact that the only by-product resulting its operation is water, which allows a circular cycle if it is recirculated back to the electrolyzer to produce hydrogen again. Regarding electrical grids applications, PEMFC can be connected to them [5], or installed as grid-independent generators [6]. High power FC could be used connected to the grid in power stations [5]–[9]; while smaller FC could be used in mobile power stations [10]. Additionally, as an important difference with regard to the usual batteries, a FC can supply energy continuously, whenever there is hydrogen available at its input. In transport applications, there is a lot of successful research on FC electric vehicles (scooter, car, bus or truck), with realities already present in the market [2], [8]. The output voltage of a PEMFC can vary depending on the state of its stack: temperature, hydrogen pressure, etc. [11], [12], and especially with the demand for current at its output [13], [14]. To increase applicability and efficiency of the FC it is very important to have a model to predict its dynamic behavior [15]–[18], which is particularly important in an FC due to its relatively slow response to rapid changes in demand for current at its output. However, it is not easy to find an accurate mathematical model due, mainly, to the large number of physicochemical parameters and laws that need to be taken into account, as well as to the nonlinear intrinsic behavior of the FC. In addition, a FC is subject to considerable changes in its dynamic behavior throughout its lifespan; mainly due to the stack degradation. Thus, a model-based FC controller can lose efficiency over the time, whereby would be very interesting to have different FC models through its lifespan. However, it is not easy to carry out this by mathematical models, whereby it is increasing the interest in modeling techniques based on input–output data that reflects the current state of the FC [19]. This would allow to have different FC models over its lifespan, making easier the system analysis [20]–[24] and the controller setting from its initial design, when the FC was brand new [25]–[28]. There are numerous modeling algorithms present in the literature, both for offline [29]–[31] and iterative modeling [32], [33]; however, when these algorithms are going to be used in real systems, it is necessary to take into account considerations such as the convergence speed or its robustness against the measurement noise. The aim of this paper is to present an iterative modeling of a real PEMFC, efficient and robust to the presence of measurement noise. For this, a Takagi–Sugeno (TS) fuzzy model [34] hybridized with the Kalman’s filter [35] will be used; since both, working together, allow to obtain very simple, accurate, efficient and robust nonlinear models in the presence of noise. Fuzzy models are rule-based models, where the output of the model is computed as the combination of all the outputs of each of its rules based on the degree of compliance of each of them [36]. Fuzzy modeling, particularly modeling based on TS fuzzy systems, allows to obtain accurate models from a small number of rules [37] and, therefore, it can be a proper technique to model a nonlinear plant as a PEMFC, whose parameters also change over time and use. The fuzzy modeling methodology developed by the authors is based on the extended Kalman filter (EKF) [38], and it allows iterative modeling of nonlinear systems based on input–output data in presence of measurement noise. The developed methodology can work iteratively, online with the system, even in presence of noise, and is as computationally efficient as the Kalman filter is [39]. Modeling using input–output data allows to obtain, in each time, realistic models of the system under study; which, over the lifetime of the system, will be more accurate than theoretical ones because they reflect the current state of the system. The Kalman filter (KF) [35] is an efficient recursive filter that estimates the internal states of a dynamic system from a series of noisy measurements. It uses a series of observed over time data, that is capable to lead with noise and other inaccuracies, to estimate unknown variables more accurately than techniques based on a single measurement [40]. The BoP required to operate a FC is composed of switching devices (inherently noisy), which makes it very interesting that the modeling algorithm can work properly in the presence of noise. In addition, in many cases, not only for modeling an FC, it is required that modeling algorithm works iteratively to adapt the model to the changes in plant behavior. KF is used in a wide range of engineering applications and it is an important topic in control systems theory and control engineering. If a non-linear system, such as a FC, needs to be modeled, the EKF is an interesting option to be considered [41] when the system supports linearized models around any working point. The KF hybridized with fuzzy logic has been previously used in several applications [42]–[44]. In 2002, Simon introduced the use of KF to adjust the parameters of a fuzzy model [45]. Later, other proposals were made [39], [46]–[48] to improve and generalize the first ones. In short, the combined use of a TS fuzzy model and a Kalman filter allows obtaining a fast and efficient modeling algorithm, which is capable of working iteratively and in the presence of noise, something very useful in real systems. Based on the previous analysis, this article presents a general methodology of FC fuzzy modeling based on the EKF, which allows to obtain accurate models iteratively. This methodology works in line with the system, in the presence of noise, and it is computationally efficient. This methodology is applied to the online modeling of a real 3 _._ 4 kW PEMFC commercial stack. After this general introduction to the problem that is intended to be addressed, and the principle of operation of PEMFC that will be used, this article is organized as follows: First, in section II, a review of the latest advances present in the literature, as well as highlighting the novelty of this work. In the section III, fuzzy TS modeling, the Kalman filter, and its application to fuzzy TS modeling are introduced. In this section, the modeling techniques used in this paper are presented, along with the notation used. Section IV is devoted to the application of these techniques to the modeling of a real PEMFC. This section shows the characteristics of the performed tests and their results. Subsequently, in section V, a discussion of the most relevant results from the authors’ TABLE 1. Acronym and parameter list. TABLE 2. Fuel cells models general classification. point of view is carried out. Finally, some conclusions are presented in section VI. II. RELATED WORKS Regarding FC systems, as it can be deduced from [49] for a proper operation and accurate diagnosis for the detection and identification of faults, it is crucial to have a good model to predict the FC system behavior, not only from a static point of view but also dynamic throughout. Despite the high number of models than can be found [50], they can be classified as shown in Table 2. Regarding this classification, FC system dynamic models based on empirical approach for the electrochemistry description (highlighted in black) are required to model important transients such as startup, shutdown and load changes. Additionally, they are also employed for fuel cell system degradation as the thermal stress associated with load and thermal cycling that may contribute to cell failure, and of course, dynamic models are prerequisites for control systems design. A control system automatically regulates the response of the system and keeps it at the desired value by manipulating some variables such as temperature, flow rate, or composition of reactant streams. Exploring in the bib liography in the last decade, Kim _et al._ proposed in [51] a dynamic model that reflects the stack temperature evolution. Physical parameters for the proposed model were estimated based on the steady and transient results experimentally, obtained due to the stepwise variation parameters adjusted with an excel solver. Despite the model is accurate it does not include pressure behavior, so it is not possible to shows the reactant gas effects. In this same research line, Qi _et_ _al._ [52] proposed a model that includes the effects of stack temperature and reactant gas flow. In spite of the model is more detailed, the dynamic behavior is defined as the conventional ‘‘charge double layer’’ phenomenon by means the adjustment of theoretical parameters, and the proposed model does not include the BoP. A more complex model is proposed in [53], where authors address a PEFC dynamic model associated with the reactant flow, cooling waterflow, and water phase change. Nevertheless, the model is also based on theoretical parameters adjustment and assumes auxiliary components are well controlled, ignoring their impacts on fuel cell behavior. Advanced modeling techniques are used by Na _et_ _al._ in [54], and Chang _et_ _al._ in [55], where authors propose a multiple-input and multiple-output (MIMO) nonlinear PEMFC model that can directly utilize the feedback linearization for the nonlinear control. Recently, adaptive neural network and fuzzy logic controllers were applied in [56], [57]. Benchouia _et al._ [56] develop the models of stack voltage and stack power, but keeps out the stack temperature and pressure reactant gas, while and Abbaspour _et al._ [57] include reactant gases pressure and flow rate but do not take into account the stack temperature. Based on the above, Table 3 summarizes the main contributions of this paper and explains why it is novel. The submitted proposal develops a fuzzy model of a FC system based on data in the presence of measurement noise. Additionally, the developed methodology can work iteratively, online with the system, even in presence of noise. III. MATERIAL AND METHODS To collect the data of this research, a 3 _._ 4 kW FCgen <sup>⃝R</sup> 1020ACS fuel cell stack integrated in a work bench forming a FC has been implemented [58] (Fig. 1 shows the used diagram and Fig. 2 shows the real implementation). This stack is formed by 80 BAM4G polymeric single cells [59] with a porous carbon cloth anode and cathode and a platinum based catalyst [60]. The whole stack has graphite plates between cells and aluminum end plates, all of them join by compression. The pressure of the hydrogen inlet is around 1 _._ 36 bar. The maximum output power of the stack is 3 _._ 4 kW, with 45 _._ 33 V and 75 A as typical values for voltage and current, respectively. The stack has its own air based refrigeration system and an oxidant subsystem; both built by the authors, following the manufacturer’s instructions [58]. Fig. 1 shows all the subsystems that make up the BoP that, together with the commercial 3 _._ 4 kW stack, configure the FC workbench. The real laboratory equipment used TABLE 3. Comparison of the findings of the proposed paper with previous scientific works. to full membership. Fuzzy models are built based on rules of the IF-THEN form, where IF the premise of the rule is fulfilled, THEN the consequence of the rule is the desired value or the action to be carried out. There are different types of fuzzy models, among them, TS models, in which the antecedent of the rule is built with the model inputs in the form of fuzzy sets, and the consequent by a linear polynomial with all the model inputs plus an affine term (as can be seen in (1)). Although a fuzzy model has a linguistic form, its output can be expressed analytically, allowing linguistic interpretability to be combined with mathematical precision. This way of constructing the consequent allows TS models to be universal approximators, and achieve high accuracy with a small number of rules [67]. FIGURE 1. Stack + BoP that make up the fuel cell. in this research is shown in Fig. 2 [61]. To perform different tests, a AMREL <sup>⃝R</sup> PLA5K-120-1200 programmable electronic load has been used; with it, different output current profiles can be carried out. The SCADA (supervisory control and data acquisition system), described in [62] and [63], collects the measurements of the sensors (values of the variables of interest: voltage, current, temperature, pressure and hydrogen flow, etc.) and stores them. Hereinafter in this section, a methodology already published by authors for online TS fuzzy modeling by the EKF will be briefly introduced. _A._ _TAKAGI-SUGENO FUZZY MODELS_ For the formal implementation of control strategies on a PEMFC, it is very important to have an accurate and efficient model of the system [17], [64]. The dynamic behavior of a FC is nonlinear; this is why in this work it is proposed to use TS fuzzy models, since this type of models has demonstrated to be very accurate in any type of systems [65], [66]. Fuzzy logic is a multivalued logic that determine whether or not an element belongs to a set, but the quality of membership is not only ‘‘yes’’ or ‘‘not’’ (traditional bi-valued logic), but it is evaluated in a full range from non-membership These characteristics of fuzzy logic and fuzzy models allow approximate reasoning, dealing innately with uncertainties, which gives it great skill for accurate and robust modeling [36], [68]. On the other hand, is relatively easy to convert them into nonlinear state models [65], which allows the formal analysis required in control engineering. However, it is also known that the number of rules in TS fuzzy models is increased as a lower approximation error is desired [69]. This implies that the modeling process is very important, both for analysis [70]–[72] and the design of fuzzy control systems [73], [74]. Let _n_ be the number of input variables, _xj_, and _m_ the number of output variables, _yi_, of a completely general system to model; its discrete TS fuzzy model can be represented by the following set of rules [34], [75]: _R_ <sup>(</sup> <sup>_l,i_</sup> <sup>)</sup> : If _x_ 1( _k_ ) is _A_ <sup>_l_</sup> 1 _i_ <sup>and</sup> <sup>_. . ._</sup> <sup>and</sup> <sup>_xn_</sup> <sup>(</sup> <sup>_k_</sup> <sup>) is</sup> <sup>_A_</sup> _ni_ <sup>_l_</sup> Then _y_ <sup>_l_</sup> _i_ <sup>_l_</sup> _i_ <sup>(</sup> <sup>_k_</sup> <sup>) =</sup> <sup>_al_</sup> 0 <sup>_l_</sup> 0 _i_ <sup>+</sup> _n_ _j_ =1 _a_ <sup>_l_</sup> _ji_ <sup>_xj_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_,_</sup> (1) where _l_ = 1 _, . . ., Mi_ is the index of the rule and _Mi_ the number of rules that model the evolution of the _i_ -th system output ( _yi_ ( _k_ ), _i_ = 1 _, . . ., m_ ). The _a_ <sup>_l_</sup> _ij_ <sup>,</sup> <sup>_j_</sup> <sup>=</sup> <sup>0</sup> <sup>_, . . ., n_</sup> <sup>, elements</sup> represent the set of adaptive parameters of the consequents of the rules, and _k_ indicates the current sampling time. _A_ <sup>_l_</sup> _ji_ are fuzzy sets defined in the discourse universes of the input variables which generate the antecedents of the fuzzy rules. FIGURE 2. Fuel cell workbench. If the input vector _x_ = ( _x_ 1 _, x_ 2 _, . . ., xn_ ) <sup>T</sup> extends in a coordinate [65], [73] by _x_ ˜0 = 1, the extended vector x ˜ takes the form: x ˜ = _(x_ ˜0 _,_ ˜ _x_ 1 _, . . .,_ ˜ _xn)_ <sup>T</sup> = _(_ 1 _, x_ 1 _, . . ., xn) ._ <sup>T</sup> (2) Using the previous expression, the output _yi_ can be calculated by [37]: KF has been adapted through the EKF [41]. EKF requires that the system supports linearized models around any working point. Although the EKF is not optimal, since it is based on a linear approximation, it is a powerful tool for estimation in noisy environments. Considering a nonlinear discrete system: x ( _k_ + 1) = f _(_ x ( _k_ ) _,_ u ( _k_ ) _)_ + v ( _k_ ) y ( _k_ ) = g _(_ x ( _k_ ) _)_ + e ( _k_ ) _,_ (6) where _x_ ( _k_ ) is the state vector, _u_ ( _k_ ) the input vector, and v ( _k_ ) and e ( _k_ ) are white noise vectors. The Jacobian matrices of the system are: _yi_ ( _k_ ) = _hi_ ( x ( _k_ )) = _n_ _j_ =0 _aji_ ( x ) _x_ ˜ _j_ ( _k_ ) _,_ (3) being _aji_ ( x ) variables coefficients [76] defined by _,_ (8) ���� x = x ( _k_ ) _,_ u = u ( _k_ ) _w_ <sup>_l_</sup> _i_ <sup>_l_</sup> _i_ <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_al_</sup> _ji_ _ji_ _�_ ( _k_ ) = <sup>_∂_</sup> <sup><u>f</u></sup> _∂_ x _�_ ( _k_ ) = <sup>_∂_</sup> <sup><u>f</u></sup> _∂_ u _,_ (7) ���� x = x ( _k_ ) _,_ u = u ( _k_ ) _aji_ ( x ) = _Mi_ _<u>l</u>_ =1 _Mi_ _l_ =1 _._ (4) _w_ <sup>_l_</sup> _i_ <sup>(</sup> <sup>x</sup> <sup>)</sup> where _w_ <sup>_l_</sup> _i_ <sup>(</sup> <sup>x</sup> <sup>) represents the</sup> <sup>degree</sup> <sup>of activation</sup> <sup>of the</sup> <sup>fuzzy</sup> model rules: and _._ (9) ���� x = x ( _k_ ) _w_ <sup>_l_</sup> _i_ <sup>(</sup> <sup>x</sup> <sup>) =</sup> _n_ _j_ =1 <sup>_l_</sup> _ji_ <sup>(</sup> <sup>_xj_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_σ_</sup> <sup>_l_</sup> _µ_ <sup>_l_</sup> <sup>_l_</sup> _ji_ <sup>)</sup> <sup>_._</sup> (5) Although both the KF and EKF can be written as a single equation, both can be conceptually considered as the sum of two distinct phases: predict and update. The predict phase uses the estimated state from the previous time-step, ( _k_ - 1), to produce an estimation of the state at the current time-step, _k_, _a priori_ estimation. In the update phase, this prediction is combined with current observation information to refine the estimate state, _a posteriori_ estimation. The EKF can be solved by iterative application of the following set of equations: Predict: x ˆ( _k_ | _k_ - 1) = _�_ ( _k_ ) x ˆ( _k_ - 1| _k_ - 1) + _�_ ( _k_ ) u ( _k_ ) (10) P ( _k_ | _k_ - 1) = _�_ ( _k_ ) P ( _k_ - 1| _k_ - 1) _�_ <sup>T</sup> ( _k_ ) + R _v_ (11) C ( _k_ ) = <sup>_∂_</sup> <sup><u>g</u></sup> _∂_ x where _µ_ <sup>_l_</sup> <sup>_l_</sup> _ji_ <sup>(</sup> <sup>_xj_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_σ_</sup> <sup>_l_</sup> where _µ_ <sup>_l_</sup> _ji_ <sup>(</sup> <sup>_xj_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_σ_</sup> <sup>_l_</sup> _ji_ <sup>) represents the</sup> <sup>_j_</sup> <sup>-th membership function</sup> of the _l_ rule for the _i_ -th model output, which determines the fuzzy set _A_ <sup>_l_</sup> _ji_ <sup>.</sup> <sup>The</sup> <sup>_σ_</sup> <sup>_l_</sup> _ji_ <sup>elements</sup> <sup>represent</sup> <sup>the</sup> <sup>set</sup> <sup>of</sup> <sup>adaptive</sup> parameters of the _j_ -th membership functions; so these values along with _a_ <sup>_l_</sup> _ji_ <sup>must be calculated using the chosen estimation</sup> algorithm to obtain a suitable TS model. <sup>_l_</sup> _ji_ <sup>.</sup> <sup>The</sup> <sup>_σ_</sup> <sup>_l_</sup> _B._ _EXTENDED KALMAN FILTER_ KF allows to construct an optimal observer for linear systems in presence of zero mean Gaussian white noise, both in model and measurements [35], [38]. To cover nonlinear systems the Update: K ( _k_ ) = - _�_ ( _k_ ) P ( _k_ | _k_ - 1) C <sup>T</sup> ( _k_ ) + R _ve_ × - C ( _k_ ) P ( _k_ | _k_ - 1) C <sup>T</sup> ( _k_ ) + R _e_ x ˆ( _k_ | _k_ ) = x ˆ( _k_ | _k_ - 1) + K ( _k_ ) - y ( _k_ ) −ˆ y ( _k_ ) �−1 (12) - (13) P ( _k_ | _k_ ) = _�_ ( _k_ ) P ( _k_ | _k_ - 1) _�_ <sup>T</sup> ( _k_ ) + R _v_ - C ( _k_ ) P ( _k_ | _k_ - 1) _�_ <sup>T</sup> ( _k_ ) + R <sup>T</sup> _ve_ - K ( _k_ ) _ve_ _,_ (14) where ˆ x ( _k_ | _k_ −1) and ˆ x ( _k_ | _k_ ) represent, respectively, the _priori_ and _posteriori_ estimations of the true state x . P ( _k_ | _k_ - 1) is the _a_ _priori_ estimate covariance matrix and P ( _k_ | _k_ ) is the _a_ _posteriori_ one. K ( _k_ ) is the Kalman gain, y ˆ( _k_ ) are the estimated outputs and, R _v_, R _ve_ and R _e_, are the noise covariance matrices. The iterative process starts with an initial estimate of state vector, x ˆ(0), and an initial value of the covariance matrix, P (0). From this initial estimate, the algorithm run iteratively with the system, obtaining a solution that minimizes both, estimation error and its covariance matrix for the linearization obtained at each time-step. _C._ _APPLICATION OF THE EKF TO TS FUZZY MODELING_ The EKF can be applied to estimate the parameters of TS fuzzy systems. Firstly, it is necessary to model the system in accordance with the framework of the KF, i.e., to build a system whose states depend directly on the parameters to be estimated [45]. In (15) p ( _k_ ) is the vector of parameters to be estimated and y ( _k_ ) the output vector of the TS fuzzy system; e ( _k_ ) is a zero mean Gaussian white noise that represents the uncertainty of the system output measurements (sensors accuracy), whose covariance is R _e_ . Then, the expressions from (10) to (14) can be recursively applied to obtain an estimation of the true vector p ( _k_ ). p ( _k_ + 1) = p ( _k_ ) y ( _k_ ) = h ( x ( _k_ ) _,_ p ( _k_ )) + e ( _k_ ) _._ (15) Applying (7), (8) and (9) on (15): _�(_ p ( _k_ ) _)_ = I _,_ (16) _�(_ p ( _k_ ) _)_ = 0 _,_ (17) and FIGURE 3. Fuzzy modeling Kalman based algorithms. to the consequents, and (20) respect to antecedents [48]: if _i_ = _I_ _w_ <sup>_L_</sup> _<u>I</u>_ 0 if _i_ ̸ = _I_ _,_ _∂hi_ _∂a_ <sup>_L_</sup> _JI_       _w_ <sup>_L_</sup> _<u>I</u>_ <sup>_x_</sup> <sup>˜</sup> <sup>_<u>J</u>_</sup> _MI_ - _w_ <sup>_l_</sup> _∂w_ <sup>_L_</sup> _<u>I</u>_ _∂_ _σ_ <sup>_L_</sup> _JI_ _w_ <sup>_l_</sup> _I_ _l_ =1 _I_ 0 if _i_ ̸ = _I_ _,_ <u>�</u> _MI_ _l_ =1 _w_ <sup>_l_</sup> _I_ (19) _x_ ˜ _j_ if _i_ = _I_ (20) <sup>_L_</sup> _jI_ <sup>−</sup> <sup>_al_</sup> _jI_ <sup>_l_</sup> <sup>)</sup>    _n_ _j_ =0  _MI_ _<u>l</u>_ =1 _w_ <sup>_l_</sup> _I_ <sup>_l_</sup> _I_ <sup>(</sup> <sup>_aL_</sup> _jI_ _∂hi_ _∂_ _σ_ <sup>_L_</sup> _JI_ = = <u>�2</u> C _(_ p ( _k_ ) _)_ = <sup>_∂_</sup> <sup><u>h</u></sup> _∂_ p _,_ (18) ���� p =ˆ p ( _k_ ) being _L_, _J_ and _I_ determine each particular parameter of the set of the consequent and antecedent parameter vectors. The algorithms to obtain these derivatives are implemented in the open source library Fuzzy Logic Tools (FLT) [77]. Depending on the adjustment needs of the model, it is possible to use only one filter to determine the consequent ones, or sequentially execute two filters to adjust consequents and antecedents [48]. This article will test the response of both options to verify both, their accuracy in modeling, and the robustness of these two algorithms against the modification of their parameters. The algorithm that modifies only the consequent ones will be called Kalman _c_, and Kalman _c_ + _a_ that modifies both the antecedents and consequents of the fuzzy model. These algorithms are shown in Fig. 3, where the adjustment of the antecedents being applicable only for the Kalman _c_ + _a_ algorithm. About the initialization of the algorithms, if there is no information about the system it is possible to initialize all consequents to 0, or use other initialization procedures [78]. Antecedents can be initialized using an uniform distribution being p ˆ ( _k_ ) the current estimation of the parameters vector of the TS fuzzy model. So p ˆ ( _k_ ) represents both antecedents, _σ_ <sup>_l_</sup> _ji_ <sup>, and consequents,</sup> <sup>_al_</sup> _ji_ <sup>, parameters of the TS fuzzy model.</sup> Therefore, h ( x ( _k_ ) _,_ p ( _k_ )) corresponds to (3) which is nonlinear; regarding (18), C ( p ( _k_ )) must be obtained from the derivative of h (·) with respect to each of adaptive parameters of the TS fuzzy model. Operating, it is possible to obtain that (19) represents the derivative of the TS fuzzy model with respect or by any clustering algorithm [79]–[81]. The antecedents and consequents covariance matrices can be initialized with a diagonal matrix multiplied by a positive integer that indicates the degree of confidence in these initial parameters. These initialization parameters will be called _α_ for the consequents and _β_ for the antecedents. In this way, the Kalman filter matrix P (0) is created as _α_ I for the consequents, and as _β_ I for the antecedents, being I an identity matrix of the appropriate size. A small value of _α_ or _β_ indicates to the Kalman filter that the initial parameters may be close to their real value, while a high value would indicate the opposite. From a practical point of view, a small value will make the filter behave more conservatively at startup (it may be slower but there is less risk of non-convergence), and a higher value will make the adjustment more aggressive (it may increase its speed, but also increasing the risk of non-convergence of the algorithm). IV. INTERACTIVE FUZZY MODELING OF A REAL HYDROGEN FUEL CELL In this section, the modeling methodology previously described in section III-C will be used to obtain the interest TS fuzzy models (as the described in the section III-A) of a real 3 _._ 4 kW PEMFC (Figures 1 and 2) [58]. These TS fuzzy models, adjusting their consequents (subscript ‘c’ in tables and figures from now on) or their antecedents and consequents (subscript ‘c+a’ in tables and figures from now on), in both cases by the EFK, will be compared to the adjusted by the well known backpropagation algorithm [82]. The tests will be carried out on two sets of data obtained from the PEMFC. Three different initializations methods will be used: uniform partitioning [83], subtractive clustering [84] and CMeans clustering [80]. These three forms of initialization have been chosen because they are widely used in the literature. Uniform partitioning allows you to make an initial model without knowledge of the system, simply by dividing the parameter space into equal spaces. Subtractive clustering is one of the most widely used algorithms for obtaining initial TS fuzzy models, since it allows generating a good initial model based on a reduced set of rules. Finally, the CMeans algorithm is a more traditional alternative that has been used to check the behavior of the modeling against different starting point. This will allow checking the behavior of the models based on different algorithms, with different degrees of initial error and different antecedents distributions. Although the developed algorithm supports the use of different types of membership functions, even mixed together, Gaussian type membership functions have been used in all cases since these were the ones that showed the best results in preliminary tests. The distribution of these membership functions will be obtained with the different clustering algorithms used. The data shown in Fig. 4 will be used for modeling, and those shown in Fig. 5 for validation (following Fig. 1: output current is _IS_, output voltage is _VS_, stack temperature is _TS_, and hydrogen inlet pressure is _PH_ 2). The time-step (sampling time) in both data sets is 0 _._ 5 s. The output of the FIGURE 4. Modeling data. FIGURE 5. Validation data. models will be the prediction in the next sampling time of the PEMFC output voltage. The output current, the hydrogen inlet pressure and the stack temperature, as well as delays of these signals and the output itself, will be used as input signals. The dynamics of a system can be represented by using time-delayed signals, including output delays. Since these signals are already known from previous iterations, they can be used to improve model predictions. The number of delays used as inputs to the dynamic model is a parameter that must also be adjusted to obtain a good model. A small number will not correctly capture the order of the system; while an excessive number is even worse since it will increase the number of parameters, complicating the model, and will not allow to capture the dynamics of the system adequately when using a higher order than the real system. The number of delays will be a parameter to change in the tests in order to find the most optimal values, and also to check the robustness of the algorithms to their modification. Multiple tests will also be carried out by changing the parameters setting of the different algorithms in order to obtain the best possible performance, as well as analyze their robustness against the parameter change. TABLE 4. Modeling parameters and MAE with validation data from uniform partitioning initial model. Data ordered according to the best results of the Kalman _c_ algorithm, which has obtained the best overall result. The fact of using a real FC to perform the tests makes the measurements have some noise. The connections of the sensors wires to the control unit can be seen in Fig. 2, and the existence of noise in the signals in Fig. 4 and 5, particularly in voltage and pressure measurements. One of the advantages of using the KF should be its robustness against noise, so it will be checked if this is the case in each test. To obtain the covariance matrices of the noise measurements, R _e_ (see (15)) for each input, each signal has been filtered by means of a mean filter [85] with 10 samples. Then, the covariance of the resulting noise has been calculated. The Mean Absolute Error (MAE) will be used to compare the results of the different models, as it gives an interpretable idea of their actual error: FIGURE 6. Output voltage of the different models with validation data from uniform partitioning initial model. many parameters that must be adjusted. However, this excess of parameters can be useful to check the execution speed of the tested algorithms. The results of the tests performed for different parameters can be seen in Table 4 (note that _α_ and _β_ are the coefficients to initialize the consequents and antecedents covariance matrices respectively). Table 4 has been ordered according to the MAE of the Kalman _c_ algorithm, which is the one with the least error. The models used to obtain Figures 6 to 9 have been the best models obtained by each of the algorithms evaluated using the validation data, that is, row 1 of Table 4 for backpropagation and Kalman _c_ algorithms, and row 4 for Kalman _c_ + _a_ algorithm. Fig. 6 shows the output voltage, _VS_, of the real system and the best models obtained with each algorithm, Fig. 7 shows the errors both during the modeling and validation phases, and Figures 8 and 9 show the initial and final time of the modeling phase, respectively. _B._ _SUBTRACTIVE CLUSTERING INITIAL MODEL_ The next test use modeling data shown in Fig. 4 to create an initial model based on the Chiu subtractive clustering _MAE_ = - _Ni_ <u>=1</u> <sup>∥</sup> <sup>_ei_</sup> <sup>∥</sup> _,_ (21) _N_ being _N_ the number of samples. _A._ _UNIFORM PARTITIONING INITIAL MODEL_ First, a completely unknown model is assumed to which an iterative adjustment will be made. No prior learning will be done to this model. This test will allow to determine the convergence speed of the algorithms in the iterative adjustment starting from a model very far from the real system. The initial model was created by a uniform partitioning of the discourse universes of the input variables [83], using 2 antecedents for each input. Note that a rule will be created for each possible combination of the antecedents of the inputs, so if a larger number is used the model would be excessively complex, i.e., with too many rules and parameters. On the other hand, it was assumed that the initial consequents were all zero. This methodology can be interesting when there are no initial data to create a model using clustering techniques. It has the great disadvantage that it generates many rules and, therefore, FIGURE 7. Modeling and validation MAE from uniform partitioning initial model. FIGURE 8. Modeling Initialization MAE from uniforming partitioning initial model, see Fig. 7. FIGURE 9. Modeling final MAE from uniform partitioning initial model, see Fig. 7. Note the noise effect. algorithm [84]. The initial model will be adjusted using each of the studied algorithms (backpropagation, Kalman adjusting only the consequents (Kalman _c_ ), and Kalman adjusting antecedents and consequents (Kalman _c_ + _a_ ) using the same modeling data. Finally, as in the previous test, the final models will be checked with the validation data shown in Fig. 5 without making adjustments on them. As in the previous case, the _α_ and _β_ parameters of the algorithms, as well as the input and output delays, will vary between tests to obtain their most appropriate values, (see Table 5). In this case, the Cluster center’s range of influence parameter (RADII) of the clustering algorithm will also be changed between tests. From a practical point of view, this parameter inversely influences the number of rules that will be created (a higher value implies that the algorithm will create fewer rules). The best results for the backpropagation and Kalman _c_ algorithms are shown in row 4, while the best result of the Kalman _c_ + _a_ algorithm is shown in row 1. Table 5 has been ordered according to the MAE of the Kalman _c_ + _a_ algorithm, which is the one with the least error. The most interesting results of these tests are shown in Table 5 (of the 206 tests performed, only the most relevant results are shown in order to present a smaller and clearer table). The models used to obtain Figures 11 to 13 have been the best models obtained by each of the algorithms evaluated using the validation data, that is, row 1 of Table 5 for Kalman _c_ + _a_ algorithm, and row 4 for backpropagation and Kalman _c_ algorithms. Fig. 11 shows the errors made both during the modeling and validation phases. Figures 12 and 13 show the initial and final time of the modeling phase, respectively. _C._ _CMeans CLUSTERING INITIAL MODEL_ Finally, the last test use modeling data to create an initial model based on the CMeans clustering algorithm [80]. This test follows the same idea as the previous test, but using another clustering method to verify its effect on the modeling algorithms. Since the qualitative results are similar to the previous ones, only Table 6 is shown with the most interesting results of the performed tests. Table 6 has been ordered according to the MAE of the Kalman _c_ + _a_ algorithm, which is the one with the least error. V. DISCUSSION Next, main results obtained from the three initial model (uniform partitioning, subtractive clustering and cmeans clustering) are discussed in detail. _A._ _UNIFORM PARTITIONING INITIAL MODEL_ Figure 6 shows that all models adequately predict the PEMFC output voltage, although those adjusted by the EFK show the best performance (in this case the Kalman _c_ algorithm is slightly better). There are some modeling errors, shown more clearly in Fig. 7, which would be smaller with the validation data if the iterative adjustment had been made (obviously not performed during validation). Fig. 8 shows that the initial error is very high in all models, something logical due to the initial models are completely unknown. Kalman _c_ and Kalman _c_ + _a_ algorithms quickly converge to TABLE 5. Modeling parameters and validation MAE from subtractive clustering initial model. Data ordered according to the best results of the Kalman _c_ + _a_ algorithm, which has obtained the best overall result. small errors, while the backpropagation algorithm takes considerably longer. Fig. 9 shows the end of the test, where the models are fitted with the latest available data. Thus, the models are already very close to the final models because the latest test data is being processed; therefore at the end all respond in a similar way. It can be seen that, as expected, the backpropagation algorithm is more sensitive to noise than the algorithms based on the KF. The error peak is due to the sudden big change of the source current, _IS_, where it affect in a similar way to the 3 algorithms. Table 4 shows that the best results are obtained by the algorithm that adjust only the consequents using the KF (Kalman _c_ ). Since uniform modeling covers the entire universe of discourse with antecedents of all possible options, a change in these antecedents proves a worsening of the model. This can also be verified by seeing that a lower _β_ value improves the results. _α_ and _β_ are not parameters of the backpropagation algorithm, and _β_ is not of the Kalman _c_ algorithm, so there are lines for these algorithms where the results are repeated. Observing the obtained results it is verified that, for this initialization method, it is better to use only a delay in the output signal, _VS_, to use as input. If 2 delays are used in _VS_ as inputs to the model, the results are worse (this result can be verified in lines 4 and 11 of Table 4). It can also be easily ruled out that the PEMFC is not a static system by observing the results of the last test. When a static model is assumed, without delays, the error obtained is the worst with the 3 algorithms as can be seen in the last row of Table 4. It is clear that the PEMFC is a dynamic system and cannot be properly modeled with a static model, therefore, this case will not be considered again in the other experiments. Keep in mind that this model is not worse for having fewer rules, the number of rules is less because fewer inputs are used. Since there are only 3 inputs FIGURE 10. Output voltage of the different models with validation data from subtractive clustering initial mode. with 2 membership functions each, 2 <sup>3</sup> = 8 rules are created (remember that the model uses as many combinations of the inputs as possible). On the other hand, the increase in the number of delays in the inputs ( _IS_, _TS_ and _PH_ 2), with the consequent increase in the number of fuzzy model rules, does not generate an improvement in the performance of the algorithms. Seeing how the change of each parameter affects the result of the algorithms, it can be checked that the Kalman _c_ + _a_ algorithm is more sensitive to the variations of _β_ than those of _α_ . On the other hand, the Kalman _c_ algorithm seems quite robust to the variations of _α_ parameter. The execution times of each algorithm have not been included because they can depend heavily on the implementation of each of them, as well as the equipment used in the tests. However, to add some data in this regard, for the first test the average execution time of each algorithm has been: 54 _._ 74 ms for the backpropagation algorithm implemented by MATLAB⃝ <sup>R</sup>, 0 _._ 48 ms for Kalman _c_, and 2 _._ 23 ms for Kalman _c_ + _a_, both implemented by the FLT library [77] in MATLAB⃝ <sup>R</sup> . FIGURE 11. Modeling and validation MAE from subtractive clustering initial model. _B._ _SUBTRACTIVE CLUSTERING INITIAL MODEL_ In this case the models adapt better to the PEMFC system since the initial model is more suitable than in the previous case. This behavior is logical because the clustering process performs a first modeling. Fig. 10 shows the outputs of the models and the real PEMFC, and Fig. 11 shows the modeling and validation errors. In the modeling initialization is perfectly observed that all the algorithms start from a small error due to the previous clustering process, as can be seen in Fig. 12. Note that this figure shows that the Kalman _c_ + _a_ algorithm begins an instant after the others. This is because the best model obtained with this algorithm uses two delays in the output (see _VS_ delay in row 1 of Table 5), so it must wait another time-step before starting to iterate. Again it can be seen that the backpropagation algorithm is affected by the noise of the measurements to a greater extent than the algorithms based on the KF, as Fig. 13 shows clearly. Observing the most interesting results of shown in Table 5, it can be verified that, as in the previous case, adding delayed inputs does not improve the performance of the algorithms when modeling the PEMFC. Having an initial model with a better positioned antecedents, the Kalman _c_ + _a_ algorithm that can improve the results adjusting the antecedents, obtaining the best model of this test. Increasing the delays used in the output to 2 does improves the Kalman _c_ + _a_ results, but not the other two, which get worse again. However, the improvement is not very significant, 0 _._ 286 V versus 0 _._ 442 V of the best model with only 1 delay with a signal amplitude about 80 V. So this could be due to the increase in the number of rules due to the additional input, rather than the fact of increasing the delays applied as inputs. Regarding the robustness against the change of the parameters, all the algorithms are sensitive to the change of the RADII parameter, but this is logical since this parameter influences in the number of initial rules that the clustering FIGURE 12. Modeling Initialization MAE from subtractive clustering initial model, see Fig. 11. FIGURE 13. Modeling final MAE from subtractive clustering initial model. Note the noise effect, see Fig. 11. algorithm generates. Although the Kalman _c_ + _a_ algorithm has obtained the best result, it is again very sensitive to the modification of the _α_ and _β_ parameters, especially this second one. This fact can be seen, for example, in rows 4 to 17 of Table 5. The Kalman _c_ algorithm is more consistent in its results compared to the change of the _α_ parameter, in addition to not being worse than the previous one. So, it would be the most recommended in general terms. _C._ _CMeans CLUSTERING INITIAL MODEL_ Looking at the test results Table 6 with the CMeans algorithm, the best performance of the algorithms based on the KF can be verified. The parameters that get the best results from the evaluated algorithms are shown in row 1 for the Kalman _c_ + _a_ algorithm, in row 16 for the backpropagation algorithm, and in row 24 for the Kalman _c_ algorithm. Although the best result is obtained in this test using a delay in _IS_, that is, using _IS_ ( _k_ ) and _IS_ ( _k_ - 1) as inputs. Eliminating this delay does not make the result worse (0 _._ 345 V vs 0 _._ 365 V with other parameters, or 0 _._ 409 V with the same configuration for a signal amplitude about 80 V). Adding delays to other inputs only makes the results worse. Regarding the output, it is again confirmed TABLE 6. Modeling parameters and validation MAE from CMeans clustering initial model. Data ordered according to the best results of the Kalman _c_ + _a_ algorithm, which has obtained the best overall result. that with a single delay it is sufficient to correctly model this PEMFC system. VI. CONCLUSION In this research, the application of an iterative fuzzy modeling methodology based on the extended Kalman filter has been applied to a real medium-power hydrogen fuel cell. Of course, this method is applicable not only to PEM FC technology, but any other, adjusting the algorithm parameters appropriately. Two algorithms based on the Kalman filter have been compared with the well-known backpropagation algorithm with three different initializations, by uniform partitioning, subtractive clustering and CMeans clustering. Results have shown that the algorithms based on the Kalman filter have a faster convergence than the backpropagation algorithm, and are more robust to the intrinsic noises that the real signals present. The algorithm based on the Kalman filter that uniquely adjusts the consequent ones, Kalman _c_, is more robust than the one that adjusts both antecedents and consequents ones, Kalman _c_ + _a_, especially if the antecedents have not been properly created through clustering. However, the Kalman _c_ + _a_ algorithm well adjusted has the ability to generate better models. To make Hydrogen economy a reality is crucial that fuel cells are reliable and have good performance. An accurate model of the fuel cell that predicts the fuel cell dynamic behavior, allows increase its efficiency. The fuzzy modeling methodology proposed in this paper is able to be adapted iteratively to the changes that occur in fuel cell performance due to operating conditions and even to the degradation through its lifespan. REFERENCES [1] F. J. Vivas, A. De las Heras, F. Segura, and J. M. Andújar, ‘‘A review of energy management strategies for renewable hybrid energy systems with hydrogen backup,’’ _Renew._ _Sustain._ _Energy_ _Rev._, vol. 82, pp. 126–155, Feb. 2018. [2] J. M. Andújar and F. Segura, ‘‘Fuel cells: History and updating. A walk along two centuries,’’ _Renew._ _Sustain._ _Energy_ _Rev._, vol. 13, no. 9, pp. 2309–2322, Dec. 2009. [3] A. De las Heras, F. J. Vivas, F. Segura, and J. M. Andújar, ‘‘From the cell to the stack. A chronological walk through the techniques to manufacture the PEFCs core,’’ _Renew. Sustain. Energy Rev._, vol. 96, pp. 29–45, Nov. 2018. [4] H. Zsiborács, N. H. Baranyai, A. Vincze, L. Zentkó, Z. Birkner, K. Máté, and G. Pintér, ‘‘Intermittent renewable energy sources: The role of energy storage in the European power system of 2040,’’ _Electronics_, vol. 8, no. 7, p. 729, Jun. 2019. [5] M. V. Moreira and G. E. da Silva, ‘‘A practical model for evaluating the performance of proton exchange membrane fuel cells,’’ _Renew._ _Energy_, vol. 34, no. 7, pp. 1734–1741, Jul. 2009. [6] A. Kirubakaran, S. Jain, and R. K. Nema, ‘‘A review on fuel cell technolo gies and power electronic interface,’’ _Renew. Sustain. Energy Rev._, vol. 13, no. 9, pp. 2430–2440, Dec. 2009. [7] J. Paska, P. Biczel, and M. Kłos, ‘‘Hybrid power systems—An effective way of utilising primary energy sources,’’ _Renew. Energy_, vol. 34, no. 11, pp. 2414–2421, Nov. 2009. [8] M. Bertoluzzo and G. Buja, ‘‘Development of electric propulsion systems for light electric vehicles,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 7, no. 3, pp. 428–435, Aug. 2011. [9] A. De las Heras, F. J. Vivas, F. Segura, M. J. Redondo, and J. M. Andújar, ‘‘Air-cooled fuel cells: Keys to design and build the oxidant/cooling system,’’ _Renew. Energy_, vol. 125, pp. 1–20, Sep. 2018. [10] D. Ross, ‘‘Power struggle [power supplies for portable equipment],’’ _IEE_ _Rev._, vol. 49, no. 7, pp. 34–38, Jul. 2003. [11] J. M. Andújar, F. Segura, E. Durán, and L. A. Rentería, ‘‘Optimal interface based on power electronics in distributed generation systems for fuel cells,’’ _Renew. Energy_, vol. 36, no. 11, pp. 2759–2770, Nov. 2011. [12] E. Jove, J.-L. Casteleiro-Roca, H. Quintiá, J. A. Méndez-Pérez, and J. L. Calvo-Rolle, ‘‘Anomaly detection based on intelligent techniques over a bicomponent production plant used on wind generator blades manufacturing,’’ _Revista Iberoamericana de Automática e Informática indus-_ _trial_ [, vol. 17, no. 1, pp. 84–93, 2020, doi: 10.4995/riai.2019.11055.](http://dx.doi.org/10.4995/riai.2019.11055) [13] F. Segura, J. M. Andújar, and E. Durán, ‘‘Analog current control techniques for power control in PEM fuel-cell hybrid systems: A critical review and a practical application,’’ _IEEE_ _Trans._ _Ind._ _Electron._, vol. 58, no. 4, pp. 1171–1184, Apr. 2011. [14] J. Lekube, A. J. Garrido, I. Garrido, and E. Otaola, ‘‘Output power improvement in oscillating water column-based wave power plants,’’ _Revista_ _Iberoamericana_ _Automática_ _Informática_ _Ind._, vol. 15, no. 2, pp. 145–155, 2018. [15] J. C. Amphlett, R. M. Baumert, R. F. Mann, B. A. Peppley, P. R. Roberge, and T. J. Harris, ‘‘Performance modeling of the Ballard Mark IV solid polymer electrolyte fuel cell I. Mechanistic model development,’’ _J. Elec-_ _trochem. Soc._, vol. 142, no. 1, pp. 1–8, 1995. [16] J. C. Amphlett, R. F. Mann, B. A. Peppley, P. R. Roberge, and A. Rodrigues, ‘‘A model predicting transient responses of proton exchange membrane fuel cells,’’ _J._ _Power_ _Sources_, vol. 61, nos. 1–2, pp. 183–188, Jul. 1996. [17] P. Famouri and R. S. Gemmen, ‘‘Electrochemical circuit model of a PEM fuel cell,’’ in _Proc. IEEE Power Eng. Soc. Gen. Meeting_, vol. 3, Jul. 2003, pp. 1436–1440. [18] J. Kim, S.-M. Lee, S. Srinivasan, and C. E. Chamberlin, ‘‘Modeling of proton exchange membrane fuel cell performance with an empirical equation,’’ _J. Electrochem. Soc._, vol. 142, no. 8, pp. 2670–2674, 1995. [19] M. J. López-Baldán, A. García-Cerezo, J. M. C. López, and A. R. Gallego, ‘‘Fuzzy modeling of a thermal solar plant,’’ _Int. J. Intell. Syst._, vol. 17, no. 4, pp. 369–379, Apr. 2002. [20] F. Gordillo, J. Aracil, and T. Alamo, ‘‘Determining limit cycles in fuzzy control systems,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Fuzzy_ _Syst._, vol. 1, Jul. 1997, pp. 193–198. [21] J. M. Andújar, J. Aroba, M. L. L. de Torre, and J. A. Grande, ‘‘Contrast of evolution models for agricultural contaminants in ground waters by means of fuzzy logic and data mining,’’ _Environ._ _Geol._, vol. 49, no. 3, pp. 458–466, Jan. 2006. [22] J. Aroba, J. A. Grande, J. M. Andújar, M. L. de la Torre, and J. C. Riquelme, ‘‘Application of fuzzy logic and data mining techniques as tools for qualitative interpretation of acid mine drainage processes,’’ _Environ._ _Geol._, vol. 53, no. 1, pp. 135–145, Sep. 2007. [23] B. M. Al-Hadithi, F. Matía, and A. Jiménez, ‘‘Stability analysis of fuzzy systems,’’ _Revista_ _Iberoamericana_ _Automática_ _Informática_ _Ind._, vol. 4, no. 2, pp. 7–25, 2007. [24] J. M. Andújar and A. J. Barragán, ‘‘A formal methodology for the analysis and design of nonlinear fuzzy control systems,’’ in _Proc. Int. Conf. Fuzzy_ _Syst._, Barcelona, Spain, Jul. 2010, pp. 66–74. [25] H. O. Wang, K. Tanaka, and M. F. Griffin, ‘‘An approach to fuzzy control of nonlinear systems: Stability and design issues,’’ _IEEE Trans. Fuzzy Syst._, vol. 4, no. 1, pp. 14–23, Feb. 1996. [26] J. M. Andújar and J. M. Bravo, ‘‘Multivariable fuzzy control applied to the physical–chemical treatment facility of a cellulose factory,’’ _Fuzzy Sets_ _Syst._, vol. 150, no. 3, pp. 475–492, Mar. 2005. [27] M. Khan, K. Zeb, P. Sathishkumar, M. Ali, W. Uddin, S. Hussain, M. Ishfaq, I. Khan, H.-G. Cho, and H.-J. Kim, ‘‘A novel supercapacitor/lithium-ion hybrid energy system with a fuzzy logiccontrolled fast charging and intelligent energy management system,’’ _Electronics_, vol. 7, no. 5, p. 63, May 2018. [28] X. Luan and X. Ban, ‘‘Synthesis of a dynamical output _H_ ∞ controller for the fuzzy input-output model,’’ _IEEE Access_, vol. 7, pp. 13206–13216, 2019. [29] J.-S.-R. Jang, ‘‘ANFIS: Adaptive-network-based fuzzy inference system,’’ _IEEE Trans. Syst., Man, Cybern._, vol. 23, no. 3, pp. 665–685, May 1993. [30] J.-L. Casteleiro-Roca, A. J. Barragán, F. S. Manzano, J. L. Calvo-Rolle, and J. M. Andújar, ‘‘Fuel cell hybrid model for predicting hydrogen inflow through energy demand,’’ _Electronics_, vol. 8, no. 11, p. 1325, Nov. 2019. [31] J.-L. Casteleiro-Roca, A. J. Barragán, F. Segura, J. L. Calvo-Rolle, and J. M. Andújar, ‘‘Intelligent hybrid system for the prediction of the voltagecurrent characteristic curve of a hydrogen-based fuel cell,’’ _Revista_ _Iberoamericana Automática Informática Ind._, vol. 16, no. 4, pp. 492–501, Sep. 2019. [32] P. Angelov, C. Xydeas, and D. Filev, ‘‘On-line identification of MIMO evolving Takagi–Sugeno fuzzy models,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Fuzzy_ _Syst._, vol. 1, Jul. 2004, pp. 55–60. [33] F. Penedo, R. E. Haber, A. Gajate, and R. M. del Toro, ‘‘Hybrid incremental modeling based on least squares and fuzzy _K_ -NN for monitoring tool wear in turning processes,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 8, no. 4, pp. 811–818, Nov. 2012. [34] T. Takagi and M. Sugeno, ‘‘Fuzzy identification of systems and its applications to modeling and control,’’ _IEEE_ _Trans._ _Syst.,_ _Man,_ _Cybern._, vol. SMC-15, no. 1, pp. 116–132, Jan. 1985. [35] R. E. Kalman, ‘‘A new approach to linear filtering and prediction prob lems,’’ _J. Basic Eng._, vol. 82, no. 1, pp. 35–45, Mar. 1960. [36] L. A. Zadeh, ‘‘Fuzzy sets,’’ _Inf._ _Control_, vol. 8, no. 3, pp. 338–353, Jun. 1965. [37] L.-X. Wang, _A Course in Fuzzy Systems and Control_ . Upper Saddle River, NJ, USA: Prentice-Hall, 1997. [38] R. E. Kalman, ‘‘New methods in Wiener filtering theory,’’ in _Proc._ _1st_ _Symp. Eng. Appl. Random Function Theory Probab._, J. L. Bogdanoff and F. Kozin, Eds. New York, NY, USA: Wiley, 1963. [39] K. Chafaa, M. Ghanaï, and K. Benmahammed, ‘‘Fuzzy modelling using Kalman filter,’’ _IET_ _Control_ _Theory_ _Appl._, vol. 1, no. 1, pp. 58–64, Jan. 2007. [40] Q. Li, R. Li, K. Ji, and W. Dai, ‘‘Kalman filter and its application,’’ in _Proc._ _8th_ _Int._ _Conf._ _Intell._ _Netw._ _Intell._ _Syst._ _(ICINIS)_, Nov. 2015, pp. 74–77. [41] P. S. Maybeck, _Stochastic_ _Models,_ _Estimation,_ _Control_ (Mathematics in Science and Engineering), vol. 141. New York, NY, USA: Academic, 1979. [42] P. Ramaswamy, M. Riese, R. M. Edwards, and K. Y. Lee, ‘‘Two approaches for automating the tuning process of fuzzy logic controllers,’’ in _Proc._ _32nd_ _IEEE_ _Conf._ _Decis._ _Control_, San Antonio, TX, USA, Dec. 1993, pp. 1753–1758. [43] T. Jiang and Y. Li, ‘‘Generalized defuzzification strategies and their param eter learning procedures,’’ _IEEE Trans. Fuzzy Syst._, vol. 4, no. 1, pp. 64–71, Feb. 1996. [44] F. Matía, A. Jiménez, B. M. Al-Hadithi, D. Rodríguez-Losada, and R. Galán, ‘‘The fuzzy Kalman filter: State estimation using possibilistic techniques,’’ _Fuzzy_ _Sets_ _Syst._, vol. 157, no. 16, pp. 2145–2170, Aug. 2006. [45] D. Simon, ‘‘Training fuzzy systems with the extended Kalman filter,’’ _Fuzzy Sets Syst._, vol. 132, no. 2, pp. 189–199, Dec. 2002. [46] B. M. Al-Hadithi, A. Jiménez, F. Matía, J. M. Andújar, and A. J. Barragán, ‘‘New concepts for the estimation of Takagi–Sugeno model based on extended Kalman filter,’’ in _Fuzzy_ _Modeling_ _and_ _Control:_ _Theory_ _and_ _Applications_ (Atlantis Computational Intelligence Systems), vol. 9, F. Matía, G. N. Marichal, and E. Jiménez, Eds. Paris, France: Atlantis Press, 2014, ch. 1, pp. 3–24. [47] J. M. Andújar, A. J. Barragán, B. M. Al-Hadithi, F. Matía, and A. Jiménez, ‘‘Suboptimal recursive methodology for Takagi–Sugeno fuzzy models identification,’’ in _Fuzzy Modeling and Control: Theory and Applications_ (Atlantis Computational Intelligence Systems), vol. 9, F. Matía, G. N. Marichal, and E. Jiménez, Eds. Paris, France: Atlantis Press, 2014, ch. 2, pp. 25–47. [48] A. J. Barragán, B. M. Al-Hadithi, A. Jiménez, and J. M. Andújar, ‘‘A gen eral methodology for online TS fuzzy modeling by the extended Kalman filter,’’ _Appl. Soft Comput._, vol. 18, no. 0, pp. 277–289, 2014. [49] J. M. Andújar, F. Segura, F. Isorna, and A. J. Calderón, ‘‘Comprehensive diagnosis methodology for faults detection and identification, and performance improvement of air-cooled polymer electrolyte fuel cells,’’ _Renew._ _Sustain. Energy Rev._, vol. 88, pp. 193–207, May 2018. [50] S. M. C. Ang, E. S. Fraga, N. P. Brandon, N. J. Samsatli, and D. J. Brett, ‘‘Fuel cell systems optimisation –Methods and strategies,’’ _Int. J. Hydrogen_ _Energy_, vol. 36, no. 22, pp. 14678–14703, Nov. 2011. [51] H.-I. Kim, C. Y. Cho, J. H. Nam, D. Shin, and T.-Y. Chung, ‘‘A simple dynamic model for polymer electrolyte membrane fuel cell (PEMFC) power modules: Parameter estimation and model prediction,’’ _Int. J. Hydro-_ _gen Energy_, vol. 35, no. 8, pp. 3656–3663, Apr. 2010. [52] Y. Qi, M. Espinoza-Andaluz, M. Thern, T. Li, and M. Andersson, ‘‘Dynamic modelling and controlling strategy of polymer electrolyte fuel cells,’’ _Int. J. Hydrogen Energy_, Nov. 2019. [53] Y. Zhao and E. Pistikopoulos, ‘‘Dynamic modelling and parametric control for the polymer electrolyte membrane fuel cell system,’’ _J. Power Sources_, vol. 232, pp. 270–278, Jun. 2013. [54] W. Na, B. Gou, J. Kim, F. Mojica, and P.-Y. A. Chuang, ‘‘Complemen tary cooperation dynamic characteristics analysis and modeling based on multiple-input multiple-output methodology combined with nonlinear control strategy for a polymer electrolyte membrane fuel cell,’’ _Renew._ _Energy_, vol. 149, pp. 273–286, Apr. 2020. [55] L.-Y. Chang and H.-C. Chen, ‘‘Linearization and input-output decoupling for nonlinear control of proton exchange membrane fuel cells,’’ _Energies_, vol. 7, no. 2, pp. 591–606, Jan. 2014. [56] N. E. Benchouia, A. Derghal, B. Mahmah, B. Madi, L. Khochemane, and E. H. Aoul, ‘‘An adaptive fuzzy logic controller (AFLC) for PEMFC fuel cell,’’ _Int._ _J._ _Hydrogen_ _Energy_, vol. 40, no. 39, pp. 13806–13819, Oct. 2015. [57] A. Abbaspour, A. Khalilnejad, and Z. Chen, ‘‘Robust adaptive neural network control for PEM fuel cell,’’ _Int._ _J._ _Hydrogen_ _Energy_, vol. 41, no. 44, pp. 20385–20395, Nov. 2016. [58] Ballard. _FCgen1020-ACS_ _Fuel_ _Cell_ _From_ _Ballard_ _Power_ _Systems_ . Accessed: Oct. 2019. [Online]. Available: http://www.ballard.com/docs/ default-source/backup-power-documents/fcgen-1020acs.pdf [59] V. Mehta and J. S. Cooper, ‘‘Review and analysis of PEM fuel cell design and manufacturing,’’ _J. Power Sources_, vol. 114, no. 1, pp. 32–53, Feb. 2003. [60] T. Ralph, G. Hards, J. Keating, S. Campbell, D. Wilkinson, M. Davis, J. St-Pierre, and M. Johnson, ‘‘Low cost electrodes for proton exchange membrane fuel cells: Performance in single cells and ballard stacks,’’ _J. Electrochem. Soc._, vol. 144, no. 11, pp. 3845–3857, 1997. [61] F. Segura and J. M. Andújar, ‘‘Step by step development of a real fuel cell system. Design, implementation, control and monitoring,’’ _Int. J. Hydrogen_ _Energy_, vol. 40, no. 15, pp. 5496–5508, Apr. 2015. [62] F. Segura and J. M. Andújar, ‘‘Modular PEM fuel cell SCADA & simulator system,’’ _Resources_, vol. 4, no. 3, pp. 692–712, Sep. 2015. [63] F. Segura, V. Bartolucci, and J. M. Andújar, ‘‘Hardware/software data acquisition system for real time cell temperature monitoring in air-cooled polymer electrolyte fuel cells,’’ _Sensors_, vol. 17, no. 7, p. 1600, Jul. 2017. [64] H. P. L. H. van Bussel, F. G. H. Koene, and R. K. A. M. Mallant, ‘‘Dynamic model of solid polymer fuel cell water management,’’ _J._ _Power_ _Sources_, vol. 71, nos. 1–2, pp. 218–222, Mar. 1998. [65] J. M. Andújar and A. J. Barragán, ‘‘A methodology to design stable nonlin ear fuzzy control systems,’’ _Fuzzy Sets Syst._, vol. 154, no. 2, pp. 157–181, Sep. 2005. [66] B. M. Al-Hadithi, A. Jiménez, and F. Matía, ‘‘A new approach to fuzzy estimation of Takagi–Sugeno model and its applications to optimal control for nonlinear systems,’’ _Appl._ _Soft_ _Comput._, vol. 12, no. 1, pp. 280–290, 2012. [67] W.-L. Xu, N.-Y. Zhang, and K. Zeng, ‘‘A comparative study on sufficient conditions for Takagi–Sugeno fuzzy systems as universal approximators,’’ _IEEE Trans. Fuzzy Syst._, vol. 8, no. 6, pp. 773–780, 2000. [68] R. Sanz, F. Matia, A. de Antonio, and M. J. Segarra, ‘‘Fuzzy agents for ICa,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Fuzzy_ _Syst.,_ _IEEE_ _World_ _Congr._ _Comput._ _Intell._, Piscataway, NJ, USA, vol. 1, Anon, Ed. Anchorage, AK, USA: IEEE Press, May 1998, pp. 545–550. [69] L. T. Kóczy and K. Hirota, ‘‘Size reduction by interpolation in fuzzy rule bases,’’ _IEEE_ _Trans._ _Syst.,_ _Man,_ _Cybern._ _B,_ _Cybern._, vol. 27, no. 1, pp. 14–25, Feb. 1997. [70] J. M. Andújar and A. J. Barragán, ‘‘Hybridization of fuzzy systems for modeling and control,’’ _Revista_ _Iberoamericana_ _Automática_ _Informática_ _Ind._, vol. 11, no. 2, pp. 127–141, 2014. [71] A. J. Barragán, B. M. Al-Hadithi, J. M. Andújar, and A. Jiménez, ‘‘Formal methodology for analyzing the dynamic behavior of nonlinear systems using fuzzy logic,’’ _Revista Iberoamericana Automática Informática Ind._, vol. 12, no. 4, pp. 434–445, 2015. [72] A. J. Barragán, J. M. Enrique, A. J. Calderón, and J. M. Andújar, ‘‘Discov ering the dynamic behavior of unknown systems using fuzzy logic,’’ _Fuzzy_ _Optim. Decis. Making_, vol. 17, no. 4, pp. 421–445, 2018. [73] J. M. A. Márquez, A. J. B. Piña, and M. E. G. Arias, ‘‘A general and formal methodology to design stable nonlinear fuzzy control systems,’’ _IEEE Trans. Fuzzy Syst._, vol. 17, no. 5, pp. 1081–1091, Oct. 2009. [74] B. M. Al-Hadithi, A. J. Barragán, J. M. Andújar, and A. Jiménez, ‘‘Fuzzy optimal control for double inverted pendulum,’’ in _Proc._ _7th_ _IEEE_ _Conf._ _Ind. Electron. Appl. (ICIEA)_, Jul. 2012, pp. 1–5. [75] R. Babuška, ‘‘Fuzzy modeling—A control engineering perspective,’’ in _Proc._ _FUZZ-IEEE/IFES_, vol. 4, Yokohama, Japan, Mar. 1995, pp. 1897–1902. [76] L. Wong, F. Leung, and P. Tam, ‘‘Stability design of TS model based fuzzy systems,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Fuzzy_ _Syst._, Barcelona, Spain, vol. 1, Jul. 1997, pp. 83–86. [77] A. J. Barragán and J. M. Andújar. (2012). Fuzzy Logic Tools Reference Manual v1.0. University of Huelva. [Online]. Available: http://uhu.es/antonio.barragan/flt [78] F. Benmakrouha, ‘‘Parameter identification in a fuzzy system with insuf ficient data,’’ in _Proc. IEEE Int. Conf. Fuzzy Syst._, Piscataway, NJ, USA, vol. 1, Jul. 1997, pp. 537–542. [79] D. Gustafson and W. Kessel, ‘‘Fuzzy clustering with fuzzy covari ance matrix,’’ in _Advances_ _in_ _Fuzzy_ _Set_ _Theory_ _and_ _Applications_, M. Gupta, R. Ragade, and R. R. Yager, Eds. Amsterdam, The Netherlands: North-Holland, 1979, pp. 605–620. [80] J. C. Bezdek, R. Ehrlich, and W. Full, ‘‘FCM: The fuzzy C-means clustering algorithm,’’ _Comput._ _Geosci._, vol. 10, nos. 2–3, pp. 191–203, Jan. 1984. [81] J. A. Grande, J. M. Andújar, J. Aroba, M. L. de la Torre, and R. Beltrán, ‘‘Precipitation, pH and metal load in AMD river basins: An application of fuzzy clustering algorithms to the process characterization,’’ _J. Environ._ _Monit._, vol. 7, no. 4, pp. 325–334, 2005. [82] L.-X. Wang and J. M. Mendel, ‘‘Back-propagation fuzzy system as non linear dynamic system identifiers,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Fuzzy_ _Syst._, Jun. 1992, pp. 1409–1418. [83] G. J. Klir and B. Yuan, _Fuzzy Sets and Fuzzy Logic: Theory and Applica-_ _tions_ . Upper Saddle River, NJ, USA: Prentice-Hall, 1995. [84] S. L. Chiu, ‘‘Fuzzy model identification based on cluster estimation,’’ _J. Intell. Fuzzy Syst._, vol. 2, no. 3, pp. 267–278, 1994. [85] J. W. Tukey, _Exploratory_ _Data_ _Analysis_ . Reading, MA, USA: Addison-Wesley, 1977. ANTONIO J. BARRAGÁN received the Industrial Engineering degree from the University of Huelva, Spain, in 1998, the Automatic and Electronic Industrial Engineering degree from the University of Málaga, Spain, in 2002, and the Ph.D. degree in computer systems and automatics engineering from the University of Huelva, Spain, in 2009. He has been working at the Department of Electronic Engineering, Computer Systems, and Automatic Control, University of Huelva, since 2000. He is coauthor of more than 20 articles published in JCR journals, one book, and three book chapters. He has been a Principal Investigator of a project financed by the Ministry of Economy, Industry and Competitiveness of the Government of Spain, and has participated in 43 other projects. Dr. Barragán belongs to Scientific Committee of the INternational CongRess on Engineering and Sustainability in the XXI cEntury (INCREaSE) and other seven national congresses. He received the Award for Excellence and Prize of the Spanish Committee of Automatics of the IFAC. JUAN M. ENRIQUE received the Physics degree specializing in electronics from the University of Seville, Spain, in 1997, and the master’s degree in control engineering, electronic systems and industrial informatics and the Ph.D. degree from the University of Huelva, Spain, in 2010 and 2011, respectively. He is working at the Department of Electronic Engineering, Computer Systems, and Automatic Control, University of Huelva, since 2000. He is the author of several articles on power electronics and about maximum power point tracking in photovoltaic systems. FRANCISCA SEGURA received the Physics and the Electronics Engineering degrees from the University of Seville, Spain, in 2000 and 2004, respectively, and the Ph.D. degree (Hons.) in computer systems and automatics engineering from the University of Huelva, Spain, in 2009. She has been working at the Department of Electronic Engineering, Computer Systems, and Automatic Control, University of Huelva, since 2003. She is coauthor of more than 20 articles published in JCR journals, one book chapter, and one book. She has participated in more than 30 research projects regional, national, and internationals. Prof. Dr. Segura belongs to Scientific Committee of BIONATUREInternational Conference on Bioenvironment, Biodiversity and Renewable Energies, since 2010, and participates on Assessment Technical Committee in EHEC-European Hydrogen Energy Conference, since 2018. Additionally, she was invited as a Reviewer of the IEEE TRANSACTIONS ON POWER ELECTRONICS, APPLIED THERMAL ENGINEERING, _IET_ _Power_ _Electronics_, the _International_ _Journal_ _of_ _Green_ _Energy_, _Fuel_ _Cells_, the _International_ _Jour-_ _nal_ _of_ _Hydrogen_ _Energy_, the _Journal_ _of_ _Energy_ _Chemistry_, the _Journal_ _of_ _Zhejiang_ _University-SCIENCE_ _A_, and the IEEE TRANSACTIONS ON ENERGY CONVERSION. JOSÉ M. ANDÚJAR (Senior Member, IEEE) received the Ph.D. degree from the University of Huelva, Spain, in 2000. He is currently a Full Professor of systems engineering and automatic control with the University of Huelva. He has more than 300 publications, among them more than 100 articles published in indexed journals in the ISI Journal Citation Reports. Particularly, he has 55 publications included in the first quartile in 24 different journals; most of these are among the top ten in their categories, and several are number one. He holds 15 international patents. His main research interests include control engineering, renewable energy systems, and engineering education. Throughout his professional life, he has received 28 awards and academic honors. He has supervised 12 Doctoral Theses with eight awards. His H-index (SCOPUS) is 29, and the cites of his publications are near to 5000 (Google Scholar). He has led or co-led more than 60 research projects funded by public institutions and companies.

섹션 본문 61문단 · 41,179자

(제목 없음)

1Hydrogen economy is one of the recently opened alternatives in the field of non-polluting energy. Hydrogen fuel cells show high performance, high reliability in stationary applications and minimal environmental impact. To increase the efficiency of the hydrogen fuel cell it is very important to have a good model to predict its dynamic behavior. In addition, this model must be able to adapt iteratively to the changes that occur in its performance due to operating conditions and even to the degradation through its lifespan. This paper presents the application of an iterative fuzzy modeling methodology based on the extended Kalman filter applied to a real hydrogen fuel cell. Two algorithms based on the Kalman filter will be compared with the well-known backpropagation algorithm from three different initializations: by uniform partitioning, subtractive clustering and CMeans clustering. The used data have been collected during the actual operation of a real 3.4 kW proton exchange membrane fuel cell. As the article experimentally shows, the Takagi-Sugeno type fuzzy model allows to create a very accurate nonlinear dynamic model of the fuel cell, which can be very useful to design an efficient fuel cell control system.INDEX TERMSAlgorithm, fuel cell, fuzzy modeling, hydrogen energy, Kalman filter.

I. INTRODUCTION

2Today's society faces the challenge of changing the economic model to one that is more sustainable and respectful with the environment. In this way, the main aim of new energy conversion technologies is the production of non-polluting energy. The so-called ''hydrogen economy'' is one of the recently opened alternatives in the field of non-polluting energy. Hydrogen can be ecologically produced from renewable sources using electrolyzers. Also it can be stored (under pressure, in the form of metal hydrides or even liquid, despite the expenditure of energy required for it) and can be converted back, in a non-polluting way, into electric power by hydrogen fuel cells (hereinafter FC both plural and singular). These three characteristics make it possible to create a circular energy cycle based on clean or green hydrogen (productionstorage-usage) [1]. FC are nowadays, despite being a technology in continuous evolution, a realistic (and practical)

3The associate editor coordinating the review of this manuscript and approving it for publication was Xiaochun Cheng. solution thanks to its technological development (mainly due to the automotive field), high performance, high reliability and minimum environmental impact [2].

4A FC is a nonlinear complex system based on the serial connection of individual cells making up a stack, together with other systems necessary to its proper operation (the so-called balance of plant or BoP, which is governed by a control system responsible for the best performance of the FC [3]). Compared to other green technologies, for example wind or photovoltaic generation [4], FC can operate in any geographic location, without taking into account environmental constraints (availability of sun, wind, etc.). Specifically, proton exchange membrane fuel cells, also known as polymer electrolyte membrane fuel cells (PEMFC), are considered one of the best FC alternatives for transport applications as well as stationary and portable applications. Other important advantages of PEMFC are its low operating temperature (50 o C-100 o C) and the fact that the only by-product resulting its operation is water, which allows a circular cycle if it is recirculated back to the electrolyzer to produce hydrogen again. Regarding electrical grids applications, PEMFC can be connected to them [5], or installed as grid-independent generators [6]. High power FC could be used connected to the grid in power stations [5]- [9]; while smaller FC could be used in mobile power stations [10]. Additionally, as an important difference with regard to the usual batteries, a FC can supply energy continuously, whenever there is hydrogen available at its input. In transport applications, there is a lot of successful research on FC electric vehicles (scooter, car, bus or truck), with realities already present in the market [2], [8].

5The output voltage of a PEMFC can vary depending on the state of its stack: temperature, hydrogen pressure, etc. [11], [12], and especially with the demand for current at its output [13], [14]. To increase applicability and efficiency of the FC it is very important to have a model to predict its dynamic behavior [15]- [18], which is particularly important in an FC due to its relatively slow response to rapid changes in demand for current at its output. However, it is not easy to find an accurate mathematical model due, mainly, to the large number of physicochemical parameters and laws that need to be taken into account, as well as to the nonlinear intrinsic behavior of the FC. In addition, a FC is subject to considerable changes in its dynamic behavior throughout its lifespan; mainly due to the stack degradation. Thus, a model-based FC controller can lose efficiency over the time, whereby would be very interesting to have different FC models through its lifespan. However, it is not easy to carry out this by mathematical models, whereby it is increasing the interest in modeling techniques based on input-output data that reflects the current state of the FC [19]. This would allow to have different FC models over its lifespan, making easier the system analysis [20]- [24] and the controller setting from its initial design, when the FC was brand new [25]- [28].

6There are numerous modeling algorithms present in the literature, both for offline [29]- [31] and iterative modeling [32], [33]; however, when these algorithms are going to be used in real systems, it is necessary to take into account considerations such as the convergence speed or its robustness against the measurement noise.

7The aim of this paper is to present an iterative modeling of a real PEMFC, efficient and robust to the presence of measurement noise. For this, a Takagi-Sugeno (TS) fuzzy model [34] hybridized with the Kalman's filter [35] will be used; since both, working together, allow to obtain very simple, accurate, efficient and robust nonlinear models in the presence of noise. Fuzzy models are rule-based models, where the output of the model is computed as the combination of all the outputs of each of its rules based on the degree of compliance of each of them [36].

8Fuzzy modeling, particularly modeling based on TS fuzzy systems, allows to obtain accurate models from a small number of rules [37] and, therefore, it can be a proper technique to model a nonlinear plant as a PEMFC, whose parameters also change over time and use. The fuzzy modeling methodology developed by the authors is based on the extended Kalman filter (EKF) [38], and it allows iterative modeling of nonlinear systems based on input-output data in presence of measurement noise. The developed methodology can work iteratively, online with the system, even in presence of noise, and is as computationally efficient as the Kalman filter is [39]. Modeling using input-output data allows to obtain, in each time, realistic models of the system under study; which, over the lifetime of the system, will be more accurate than theoretical ones because they reflect the current state of the system. The Kalman filter (KF) [35] is an efficient recursive filter that estimates the internal states of a dynamic system from a series of noisy measurements. It uses a series of observed over time data, that is capable to lead with noise and other inaccuracies, to estimate unknown variables more accurately than techniques based on a single measurement [40]. The BoP required to operate a FC is composed of switching devices (inherently noisy), which makes it very interesting that the modeling algorithm can work properly in the presence of noise. In addition, in many cases, not only for modeling an FC, it is required that modeling algorithm works iteratively to adapt the model to the changes in plant behavior. KF is used in a wide range of engineering applications and it is an important topic in control systems theory and control engineering. If a non-linear system, such as a FC, needs to be modeled, the EKF is an interesting option to be considered [41] when the system supports linearized models around any working point.

9The KF hybridized with fuzzy logic has been previously used in several applications [42]- [44]. In 2002, Simon introduced the use of KF to adjust the parameters of a fuzzy model [45]. Later, other proposals were made [39], [46]- [48] to improve and generalize the first ones.

10In short, the combined use of a TS fuzzy model and a Kalman filter allows obtaining a fast and efficient modeling algorithm, which is capable of working iteratively and in the presence of noise, something very useful in real systems. Based on the previous analysis, this article presents a general methodology of FC fuzzy modeling based on the EKF, which allows to obtain accurate models iteratively. This methodology works in line with the system, in the presence of noise, and it is computationally efficient. This methodology is applied to the online modeling of a real 3.4 kW PEMFC commercial stack.

11After this general introduction to the problem that is intended to be addressed, and the principle of operation of PEMFC that will be used, this article is organized as follows: First, in section II, a review of the latest advances present in the literature, as well as highlighting the novelty of this work. In the section III, fuzzy TS modeling, the Kalman filter, and its application to fuzzy TS modeling are introduced. In this section, the modeling techniques used in this paper are presented, along with the notation used. Section IV is devoted to the application of these techniques to the modeling of a real PEMFC. This section shows the characteristics of the performed tests and their results. Subsequently, in section V, a discussion of the most relevant results from the authors' point of view is carried out. Finally, some conclusions are presented in section VI.

II. RELATED WORKS

12Regarding FC systems, as it can be deduced from [49] for a proper operation and accurate diagnosis for the detection and identification of faults, it is crucial to have a good model to predict the FC system behavior, not only from a static point of view but also dynamic throughout.

13Despite the high number of models than can be found [50], they can be classified as shown in Table 2. Regarding this classification, FC system dynamic models based on empirical approach for the electrochemistry description (highlighted in black) are required to model important transients such as startup, shutdown and load changes. Additionally, they are also employed for fuel cell system degradation as the thermal stress associated with load and thermal cycling that may contribute to cell failure, and of course, dynamic models are prerequisites for control systems design. A control system automatically regulates the response of the system and keeps it at the desired value by manipulating some variables such as temperature, flow rate, or composition of reactant streams.

14Exploring in the bib liography in the last decade, Kim et al. proposed in [51] a dynamic model that reflects the stack temperature evolution. Physical parameters for the proposed model were estimated based on the steady and transient results experimentally, obtained due to the stepwise variation parameters adjusted with an excel solver. Despite the model is accurate it does not include pressure behavior, so it is not possible to shows the reactant gas effects.

15In this same research line, Qi et al. [52] proposed a model that includes the effects of stack temperature and reactant gas flow. In spite of the model is more detailed, the dynamic behavior is defined as the conventional ''charge double layer'' phenomenon by means the adjustment of theoretical parameters, and the proposed model does not include the BoP. A more complex model is proposed in [53], where authors address a PEFC dynamic model associated with the reactant flow, cooling waterflow, and water phase change. Nevertheless, the model is also based on theoretical parameters adjustment and assumes auxiliary components are well controlled, ignoring their impacts on fuel cell behavior.

16Advanced modeling techniques are used by Na et al. in [54], and Chang et al. in [55], where authors propose a multiple-input and multiple-output (MIMO) nonlinear PEMFC model that can directly utilize the feedback linearization for the nonlinear control. Recently, adaptive neural network and fuzzy logic controllers were applied in [56], [57]. Benchouia et al. [56] develop the models of stack voltage and stack power, but keeps out the stack temperature and pressure reactant gas, while and Abbaspour et al. [57] include reactant gases pressure and flow rate but do not take into account the stack temperature.

17Based on the above, Table 3 summarizes the main contributions of this paper and explains why it is novel. The submitted proposal develops a fuzzy model of a FC system based on data in the presence of measurement noise. Additionally, the developed methodology can work iteratively, online with the system, even in presence of noise.

III. MATERIAL AND METHODS

18To collect the data of this research, a 3.4 kW FCgen R -1020ACS fuel cell stack integrated in a work bench forming a FC has been implemented [58] (Fig. 1 shows the used diagram and Fig. 2 shows the real implementation). This stack is formed by 80 BAM4G polymeric single cells [59] with a porous carbon cloth anode and cathode and a platinum based catalyst [60]. The whole stack has graphite plates between cells and aluminum end plates, all of them join by compression. The pressure of the hydrogen inlet is around 1.36 bar. The maximum output power of the stack is 3.4 kW, with 45.33 V and 75 A as typical values for voltage and current, respectively. The stack has its own air based refrigeration system and an oxidant subsystem; both built by the authors, following the manufacturer's instructions [58]. Fig. 1 shows all the subsystems that make up the BoP that, together with the commercial 3.4 kW stack, configure the FC workbench. The real laboratory equipment used in this research is shown in Fig. 2 [61]. To perform different tests, a AMREL R PLA5K-120-1200 programmable electronic load has been used; with it, different output current profiles can be carried out. The SCADA (supervisory control and data acquisition system), described in [62] and [63], collects the measurements of the sensors (values of the variables of interest: voltage, current, temperature, pressure and hydrogen flow, etc.) and stores them.

19Hereinafter in this section, a methodology already published by authors for online TS fuzzy modeling by the EKF will be briefly introduced.

A. TAKAGI-SUGENO FUZZY MODELS

20For the formal implementation of control strategies on a PEMFC, it is very important to have an accurate and efficient model of the system [17], [64]. The dynamic behavior of a FC is nonlinear; this is why in this work it is proposed to use TS fuzzy models, since this type of models has demonstrated to be very accurate in any type of systems [65], [66].

21Fuzzy logic is a multivalued logic that determine whether or not an element belongs to a set, but the quality of membership is not only ''yes'' or ''not'' (traditional bi-valued logic), but it is evaluated in a full range from non-membership to full membership. Fuzzy models are built based on rules of the IF-THEN form, where IF the premise of the rule is fulfilled, THEN the consequence of the rule is the desired value or the action to be carried out. There are different types of fuzzy models, among them, TS models, in which the antecedent of the rule is built with the model inputs in the form of fuzzy sets, and the consequent by a linear polynomial with all the model inputs plus an affine term (as can be seen in (1)). Although a fuzzy model has a linguistic form, its output can be expressed analytically, allowing linguistic interpretability to be combined with mathematical precision. This way of constructing the consequent allows TS models to be universal approximators, and achieve high accuracy with a small number of rules [67].

22These characteristics of fuzzy logic and fuzzy models allow approximate reasoning, dealing innately with uncertainties, which gives it great skill for accurate and robust modeling [36], [68]. On the other hand, is relatively easy to convert them into nonlinear state models [65], which allows the formal analysis required in control engineering. However, it is also known that the number of rules in TS fuzzy models is increased as a lower approximation error is desired [69]. This implies that the modeling process is very important, both for analysis [70]- [72] and the design of fuzzy control systems [73], [74].

23Let n be the number of input variables, x j , and m the number of output variables, y i , of a completely general system to model; its discrete TS fuzzy model can be represented by the following set of rules [34], [75]: If the input vector x = (x 1 , x 2 , . . . , x n ) T extends in a coordinate [65], [73] byx 0 = 1, the extended vectorx takes the form:x

24Using the previous expression, the output y i can be calculated by [37]:

25being a ji (x) variables coefficients [76] defined by

26where w l i (x) represents the degree of activation of the fuzzy model rules:

27where µ l ji (x j (k), σ l ji ) represents the j-th membership function of the l rule for the i-th model output, which determines the fuzzy set A l ji . The σ l ji elements represent the set of adaptive parameters of the j-th membership functions; so these values along with a l ji must be calculated using the chosen estimation algorithm to obtain a suitable TS model.

B. EXTENDED KALMAN FILTER

28KF allows to construct an optimal observer for linear systems in presence of zero mean Gaussian white noise, both in model and measurements [35], [38]. To cover nonlinear systems the KF has been adapted through the EKF [41]. EKF requires that the system supports linearized models around any working point. Although the EKF is not optimal, since it is based on a linear approximation, it is a powerful tool for estimation in noisy environments.

29Considering a nonlinear discrete system:

30where x(k) is the state vector, u(k) the input vector, and v(k) and e(k) are white noise vectors. The Jacobian matrices of the system are:

31and

32Although both the KF and EKF can be written as a single equation, both can be conceptually considered as the sum of two distinct phases: predict and update. The predict phase uses the estimated state from the previous time-step, (k − 1), to produce an estimation of the state at the current time-step, k, a priori estimation. In the update phase, this prediction is combined with current observation information to refine the estimate state, a posteriori estimation. The EKF can be solved by iterative application of the following set of equations:

33Predict:

34Update:

35x(k|k) =x(k|k − 1) + K(k) y(k) −ŷ(k) (13)

36wherex(k|k −1) andx(k|k) represent, respectively, the priori and posteriori estimations of the true state x. P(k|k − 1) is the a priori estimate covariance matrix and P(k|k) is the a posteriori one. K(k) is the Kalman gain,ŷ(k) are the estimated outputs and, R v , R ve and R e , are the noise covariance matrices.

37The iterative process starts with an initial estimate of state vector,x(0), and an initial value of the covariance matrix, P(0). From this initial estimate, the algorithm run iteratively with the system, obtaining a solution that minimizes both, estimation error and its covariance matrix for the linearization obtained at each time-step.

C. APPLICATION OF THE EKF TO TS FUZZY MODELING

38The EKF can be applied to estimate the parameters of TS fuzzy systems. Firstly, it is necessary to model the system in accordance with the framework of the KF, i.e., to build a system whose states depend directly on the parameters to be estimated [45]. In (15) p(k) is the vector of parameters to be estimated and y(k) the output vector of the TS fuzzy system; e(k) is a zero mean Gaussian white noise that represents the uncertainty of the system output measurements (sensors accuracy), whose covariance is R e . Then, the expressions from (10) to (14) can be recursively applied to obtain an estimation of the true vector p(k). p(k + 1) = p(k) y(k) = h(x(k), p(k)) + e(k).

39Applying (7), (8) and (9) on (15):

40and

41beingp(k) the current estimation of the parameters vector of the TS fuzzy model. Sop(k) represents both antecedents, σ l ji , and consequents, a l ji , parameters of the TS fuzzy model. Therefore, h(x(k), p(k)) corresponds to (3) which is nonlinear; regarding (18), C(p(k)) must be obtained from the derivative of h(·) with respect to each of adaptive parameters of the TS fuzzy model. Operating, it is possible to obtain that (19) represents the derivative of the TS fuzzy model with respect to the consequents, and (20) respect to antecedents [48]:

42being L, J and I determine each particular parameter of the set of the consequent and antecedent parameter vectors. The algorithms to obtain these derivatives are implemented in the open source library Fuzzy Logic Tools (FLT) [77]. Depending on the adjustment needs of the model, it is possible to use only one filter to determine the consequent ones, or sequentially execute two filters to adjust consequents and antecedents [48]. This article will test the response of both options to verify both, their accuracy in modeling, and the robustness of these two algorithms against the modification of their parameters. The algorithm that modifies only the consequent ones will be called Kalman c , and Kalman c+a that modifies both the antecedents and consequents of the fuzzy model. These algorithms are shown in Fig. 3, where the adjustment of the antecedents being applicable only for the Kalman c+a algorithm. About the initialization of the algorithms, if there is no information about the system it is possible to initialize all consequents to 0, or use other initialization procedures [78]. Antecedents can be initialized using an uniform distribution VOLUME 8, 2020 or by any clustering algorithm [79]- [81]. The antecedents and consequents covariance matrices can be initialized with a diagonal matrix multiplied by a positive integer that indicates the degree of confidence in these initial parameters. These initialization parameters will be called α for the consequents and β for the antecedents. In this way, the Kalman filter matrix P(0) is created as αI for the consequents, and as βI for the antecedents, being I an identity matrix of the appropriate size. A small value of α or β indicates to the Kalman filter that the initial parameters may be close to their real value, while a high value would indicate the opposite. From a practical point of view, a small value will make the filter behave more conservatively at startup (it may be slower but there is less risk of non-convergence), and a higher value will make the adjustment more aggressive (it may increase its speed, but also increasing the risk of non-convergence of the algorithm).

IV. INTERACTIVE FUZZY MODELING OF A REAL HYDROGEN FUEL CELL

43In this section, the modeling methodology previously described in section III-C will be used to obtain the interest TS fuzzy models (as the described in the section III-A) of a real 3.4 kW PEMFC (Figures 1 and 2) [58]. These TS fuzzy models, adjusting their consequents (subscript 'c' in tables and figures from now on) or their antecedents and consequents (subscript 'c+a' in tables and figures from now on), in both cases by the EFK, will be compared to the adjusted by the well known backpropagation algorithm [82]. The tests will be carried out on two sets of data obtained from the PEMFC. Three different initializations methods will be used: uniform partitioning [83], subtractive clustering [84] and CMeans clustering [80]. These three forms of initialization have been chosen because they are widely used in the literature. Uniform partitioning allows you to make an initial model without knowledge of the system, simply by dividing the parameter space into equal spaces. Subtractive clustering is one of the most widely used algorithms for obtaining initial TS fuzzy models, since it allows generating a good initial model based on a reduced set of rules. Finally, the CMeans algorithm is a more traditional alternative that has been used to check the behavior of the modeling against different starting point. This will allow checking the behavior of the models based on different algorithms, with different degrees of initial error and different antecedents distributions. Although the developed algorithm supports the use of different types of membership functions, even mixed together, Gaussian type membership functions have been used in all cases since these were the ones that showed the best results in preliminary tests. The distribution of these membership functions will be obtained with the different clustering algorithms used.

44The data shown in Fig. 4 will be used for modeling, and those shown in Fig. 5 for validation (following Fig. 1: output current is I S , output voltage is V S , stack temperature is T S , and hydrogen inlet pressure is P H 2 ). The time-step (sampling time) in both data sets is 0.5 s. The output of the models will be the prediction in the next sampling time of the PEMFC output voltage. The output current, the hydrogen inlet pressure and the stack temperature, as well as delays of these signals and the output itself, will be used as input signals. The dynamics of a system can be represented by using time-delayed signals, including output delays. Since these signals are already known from previous iterations, they can be used to improve model predictions. The number of delays used as inputs to the dynamic model is a parameter that must also be adjusted to obtain a good model. A small number will not correctly capture the order of the system; while an excessive number is even worse since it will increase the number of parameters, complicating the model, and will not allow to capture the dynamics of the system adequately when using a higher order than the real system. The number of delays will be a parameter to change in the tests in order to find the most optimal values, and also to check the robustness of the algorithms to their modification. Multiple tests will also be carried out by changing the parameters setting of the different algorithms in order to obtain the best possible performance, as well as analyze their robustness against the parameter change. The fact of using a real FC to perform the tests makes the measurements have some noise. The connections of the sensors wires to the control unit can be seen in Fig. 2, and the existence of noise in the signals in Fig. 4 and 5, particularly in voltage and pressure measurements. One of the advantages of using the KF should be its robustness against noise, so it will be checked if this is the case in each test. To obtain the covariance matrices of the noise measurements, R e (see (15)) for each input, each signal has been filtered by means of a mean filter [85] with 10 samples. Then, the covariance of the resulting noise has been calculated.

45The Mean Absolute Error (MAE) will be used to compare the results of the different models, as it gives an interpretable idea of their actual error:

46being N the number of samples.

A. UNIFORM PARTITIONING INITIAL MODEL

47First, a completely unknown model is assumed to which an iterative adjustment will be made. No prior learning will be done to this model. This test will allow to determine the convergence speed of the algorithms in the iterative adjustment starting from a model very far from the real system. The initial model was created by a uniform partitioning of the discourse universes of the input variables [83], using 2 antecedents for each input. Note that a rule will be created for each possible combination of the antecedents of the inputs, so if a larger number is used the model would be excessively complex, i.e., with too many rules and parameters. On the other hand, it was assumed that the initial consequents were all zero. This methodology can be interesting when there are no initial data to create a model using clustering techniques. It has the great disadvantage that it generates many rules and, therefore, many parameters that must be adjusted. However, this excess of parameters can be useful to check the execution speed of the tested algorithms. The results of the tests performed for different parameters can be seen in Table 4 (note that α and β are the coefficients to initialize the consequents and antecedents covariance matrices respectively). Table 4 has been ordered according to the MAE of the Kalman c algorithm, which is the one with the least error. The models used to obtain Figures 6 to 9 have been the best models obtained by each of the algorithms evaluated using the validation data, that is, row 1 of Table 4 for backpropagation and Kalman c algorithms, and row 4 for Kalman c+a algorithm. Fig. 6 shows the output voltage, V S , of the real system and the best models obtained with each algorithm, Fig. 7 shows the errors both during the modeling and validation phases, and Figures 8 and 9 show the initial and final time of the modeling phase, respectively.

B. SUBTRACTIVE CLUSTERING INITIAL MODEL

48The next test use modeling data shown in Fig. 4 to create an initial model based on the Chiu subtractive clustering VOLUME 8, 2020 algorithm [84]. The initial model will be adjusted using each of the studied algorithms (backpropagation, Kalman adjusting only the consequents (Kalman c ), and Kalman adjusting antecedents and consequents (Kalman c+a ) using the same modeling data. Finally, as in the previous test, the final models will be checked with the validation data shown in Fig. 5 without making adjustments on them. As in the previous case, the α and β parameters of the algorithms, as well as the input and output delays, will vary between tests to obtain their most appropriate values, (see Table 5). In this case, the Cluster center's range of influence parameter (RADII) of the clustering algorithm will also be changed between tests. From a practical point of view, this parameter inversely influences the number of rules that will be created (a higher value implies that the algorithm will create fewer rules). The best results for the backpropagation and Kalman c algorithms are shown in row 4, while the best result of the Kalman c+a algorithm is shown in row 1. Table 5 has been ordered according to the MAE of the Kalman c+a algorithm, which is the one with the least error.

49The most interesting results of these tests are shown in Table 5 (of the 206 tests performed, only the most relevant results are shown in order to present a smaller and clearer table). The models used to obtain Figures 11 to 13 have been the best models obtained by each of the algorithms evaluated using the validation data, that is, row 1 of Table 5 for Kalman c+a algorithm, and row 4 for backpropagation and Kalman c algorithms. Fig. 11 shows the errors made both during the modeling and validation phases. Figures 12 and 13 show the initial and final time of the modeling phase, respectively.

C. CMeans CLUSTERING INITIAL MODEL

50Finally, the last test use modeling data to create an initial model based on the CMeans clustering algorithm [80]. This test follows the same idea as the previous test, but using another clustering method to verify its effect on the modeling algorithms. Since the qualitative results are similar to the previous ones, only Table 6 is shown with the most interesting results of the performed tests. Table 6 has been ordered according to the MAE of the Kalman c+a algorithm, which is the one with the least error.

V. DISCUSSION

51Next, main results obtained from the three initial model (uniform partitioning, subtractive clustering and cmeans clustering) are discussed in detail. Figure 6 shows that all models adequately predict the PEMFC output voltage, although those adjusted by the EFK show the best performance (in this case the Kalman c algorithm is slightly better). There are some modeling errors, shown more clearly in Fig. 7, which would be smaller with the validation data if the iterative adjustment had been made (obviously not performed during validation). Fig. 8 shows that the initial error is very high in all models, something logical due to the initial models are completely unknown. Kalman c and Kalman c+a algorithms quickly converge to small errors, while the backpropagation algorithm takes considerably longer. Fig. 9 shows the end of the test, where the models are fitted with the latest available data. Thus, the models are already very close to the final models because the latest test data is being processed; therefore at the end all respond in a similar way. It can be seen that, as expected, the backpropagation algorithm is more sensitive to noise than the algorithms based on the KF. The error peak is due to the sudden big change of the source current, I S , where it affect in a similar way to the 3 algorithms. Table 4 shows that the best results are obtained by the algorithm that adjust only the consequents using the KF (Kalman c ). Since uniform modeling covers the entire universe of discourse with antecedents of all possible options, a change in these antecedents proves a worsening of the model. This can also be verified by seeing that a lower β value improves the results. α and β are not parameters of the backpropagation algorithm, and β is not of the Kalman c algorithm, so there are lines for these algorithms where the results are repeated.

A. UNIFORM PARTITIONING INITIAL MODEL

52Observing the obtained results it is verified that, for this initialization method, it is better to use only a delay in the output signal, V S , to use as input. If 2 delays are used in V S as inputs to the model, the results are worse (this result can be verified in lines 4 and 11 of Table 4). It can also be easily ruled out that the PEMFC is not a static system by observing the results of the last test. When a static model is assumed, without delays, the error obtained is the worst with the 3 algorithms as can be seen in the last row of Table 4. It is clear that the PEMFC is a dynamic system and cannot be properly modeled with a static model, therefore, this case will not be considered again in the other experiments. Keep in mind that this model is not worse for having fewer rules, the number of rules is less because fewer inputs are used. Since there are only 3 inputs Seeing how the change of each parameter affects the result of the algorithms, it can be checked that the Kalman c+a algorithm is more sensitive to the variations of β than those of α. On the other hand, the Kalman c algorithm seems quite robust to the variations of α parameter.

53The execution times of each algorithm have not been included because they can depend heavily on the implementation of each of them, as well as the equipment used in the tests. However, to add some data in this regard, for the first test the average execution time of each algorithm has been: 54.74 ms for the backpropagation algorithm implemented by MATLAB R , 0.48 ms for Kalman c , and 2.23 ms for Kalman c+a , both implemented by the FLT library [77] in MATLAB R . VOLUME 8, 2020

B. SUBTRACTIVE CLUSTERING INITIAL MODEL

54In this case the models adapt better to the PEMFC system since the initial model is more suitable than in the previous case. This behavior is logical because the clustering process performs a first modeling. Fig. 10 shows the outputs of the models and the real PEMFC, and Fig. 11 shows the modeling and validation errors. In the modeling initialization is perfectly observed that all the algorithms start from a small error due to the previous clustering process, as can be seen in Fig. 12. Note that this figure shows that the Kalman c+a algorithm begins an instant after the others. This is because the best model obtained with this algorithm uses two delays in the output (see V S delay in row 1 of Table 5), so it must wait another time-step before starting to iterate.

55Again it can be seen that the backpropagation algorithm is affected by the noise of the measurements to a greater extent than the algorithms based on the KF, as Fig. 13 shows clearly.

56Observing the most interesting results of shown in Table 5, it can be verified that, as in the previous case, adding delayed inputs does not improve the performance of the algorithms when modeling the PEMFC. Having an initial model with a better positioned antecedents, the Kalman c+a algorithm that can improve the results adjusting the antecedents, obtaining the best model of this test. Increasing the delays used in the output to 2 does improves the Kalman c+a results, but not the other two, which get worse again. However, the improvement is not very significant, 0.286 V versus 0.442 V of the best model with only 1 delay with a signal amplitude about 80 V. So this could be due to the increase in the number of rules due to the additional input, rather than the fact of increasing the delays applied as inputs.

57Regarding the robustness against the change of the parameters, all the algorithms are sensitive to the change of the RADII parameter, but this is logical since this parameter influences in the number of initial rules that the clustering algorithm generates. Although the Kalman c+a algorithm has obtained the best result, it is again very sensitive to the modification of the α and β parameters, especially this second one. This fact can be seen, for example, in rows 4 to 17 of Table 5. The Kalman c algorithm is more consistent in its results compared to the change of the α parameter, in addition to not being worse than the previous one. So, it would be the most recommended in general terms.

C. CMeans CLUSTERING INITIAL MODEL

58Looking at the test results Table 6 with the CMeans algorithm, the best performance of the algorithms based on the KF can be verified. The parameters that get the best results from the evaluated algorithms are shown in row 1 for the Kalman c+a algorithm, in row 16 for the backpropagation algorithm, and in row 24 for the Kalman c algorithm. Although the best result is obtained in this test using a delay in I S , that is, using I S (k) and I S (k − 1) as inputs. Eliminating this delay does not make the result worse (0.345 V vs 0.365 V with other parameters, or 0.409 V with the same configuration for a signal amplitude about 80 V). Adding delays to other inputs only makes the results worse. Regarding the output, it is again confirmed that with a single delay it is sufficient to correctly model this PEMFC system.

VI. CONCLUSION

59In this research, the application of an iterative fuzzy modeling methodology based on the extended Kalman filter has been applied to a real medium-power hydrogen fuel cell. Of course, this method is applicable not only to PEM FC technology, but any other, adjusting the algorithm parameters appropriately. Two algorithms based on the Kalman filter have been compared with the well-known backpropagation algorithm with three different initializations, by uniform partitioning, subtractive clustering and CMeans clustering. Results have shown that the algorithms based on the Kalman filter have a faster convergence than the backpropagation algorithm, and are more robust to the intrinsic noises that the real signals present. The algorithm based on the Kalman filter that uniquely adjusts the consequent ones, Kalman c , is more robust than the one that adjusts both antecedents and consequents ones, Kalman c+a , especially if the antecedents have not been properly created through clustering. However, the Kalman c+a algorithm well adjusted has the ability to generate better models.

60To make Hydrogen economy a reality is crucial that fuel cells are reliable and have good performance. An accurate model of the fuel cell that predicts the fuel cell dynamic behavior, allows increase its efficiency. The fuzzy modeling methodology proposed in this paper is able to be adapted iteratively to the changes that occur in fuel cell performance due to operating conditions and even to the degradation through its lifespan. She has been working at the Department of Electronic Engineering, Computer Systems, and Automatic Control, University of Huelva, since 2003. She is coauthor of more than 20 articles published in JCR journals, one book chapter, and one book. She has participated in more than 30 research projects regional, national, and internationals.

61Prof He is currently a Full Professor of systems engineering and automatic control with the University of Huelva. He has more than 300 publications, among them more than 100 articles published in indexed journals in the ISI Journal Citation Reports. Particularly, he has 55 publications included in the first quartile in 24 different journals; most of these are among the top ten in their categories, and several are number one. He holds 15 international patents. His main research interests include control engineering, renewable energy systems, and engineering education. Throughout his professional life, he has received 28 awards and academic honors. He has supervised 12 Doctoral Theses with eight awards. His H-index (SCOPUS) is 29, and the cites of his publications are near to 5000 (Google Scholar). He has led or co-led more than 60 research projects funded by public institutions and companies.

참고문헌 89건

  1. Electrochemical circuit model of a PEM fuel cell 2003 IEEE Power Engineering Society General Meeting (IEEE Cat. No.03CH37491) · 2004 10.1109/pes.2003.1267364
  2. Performance Modeling of the Ballard Mark IV Solid Polymer Electrolyte Fuel Cell: II . Empirical Model Development Journal of The Electrochemical Society · Institute of Physics · 1995 10.1149/1.2043959
  3. A Course in Fuzzy Systems and Control 1996
  4. Fuzzy Model Identification Based on Cluster Estimation Journal of Intelligent & Fuzzy Systems · IOS Press · 1994 10.3233/ifs-1994-2306
  5. Modular PEM Fuel Cell SCADA &amp; Simulator System Resources · Multidisciplinary Digital Publishing Institute · 2015 10.3390/resources4030692
  6. Back-propagation fuzzy system as nonlinear dynamic system identifiers 2003 10.1109/fuzzy.1992.258711
  7. Fuzzy modeling - a control engineering perspective 2002 10.1109/fuzzy.1995.409939
  8. Fuzzy Sets and Fuzzy Logic: Theory and Applications 1995
  9. Suboptimal Recursive Methodology for Takagi-Sugeno Fuzzy Models Identification Atlantis computational intelligence systems · Atlantis Press · 2014 10.2991/978-94-6239-082-9_2
  10. Metodología formal de análisis del comportamiento dinámico de sistemas no lineales mediante lógica borrosa Revista Iberoamericana de Automática e Informática Industrial RIAI · Technical University of Valencia · 2015 10.1016/j.riai.2015.09.005
  11. Parameter identification in a fuzzy system with insufficient data Proceedings of 6th International Fuzzy Systems Conference · 2002 10.1109/fuzzy.1997.616424
  12. Fuzzy modelling using Kalman filter IET Control Theory and Applications · Institution of Engineering and Technology · 2006 10.1049/iet-cta:20050268
  13. Advances in Fuzzy Set Theory and Applications Technometrics · Taylor & Francis · 1980 10.1080/00401706.1980.10486221
  14. Multivariable fuzzy control applied to the physical–chemical treatment facility of a Cellulose factory Fuzzy Sets and Systems · Elsevier BV · 2004 10.1016/j.fss.2004.03.023
  15. A practical model for evaluating the performance of proton exchange membrane fuel cells Renewable Energy · Elsevier BV · 2009 10.1016/j.renene.2009.01.002
  16. Hybrid power systems – An effective way of utilising primary energy sources Renewable Energy · Elsevier BV · 2009 10.1016/j.renene.2009.02.018
  17. Fuel cells: History and updating. A walk along two centuries Renewable and Sustainable Energy Reviews · Elsevier BV · 2009 10.1016/j.rser.2009.03.015
  18. Fuzzy clustering with a fuzzy covariance matrix 1978 10.1109/cdc.1978.268028
  19. Modeling of Proton Exchange Membrane Fuel Cell Performance with an Empirical Equation Journal of The Electrochemical Society · Institute of Physics · 1995 10.1149/1.2050072
  20. Hybrid Incremental Modeling Based on Least Squares and Fuzzy $K$-NN for Monitoring Tool Wear in Turning Processes IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2012 10.1109/tii.2012.2205699
  21. FCM: The fuzzy c-means clustering algorithm Computers & Geosciences · Elsevier BV · 1984 10.1016/0098-3004(84)90020-7
  22. A model predicting transient responses of proton exchange membrane fuel cells Journal of Power Sources · Elsevier BV · 1996 10.1016/s0378-7753(96)02360-9
  23. A review on fuel cell technologies and power electronic interface Renewable and Sustainable Energy Reviews · Elsevier BV · 2009 10.1016/j.rser.2009.04.004
  24. A simple dynamic model for polymer electrolyte membrane fuel cell (PEMFC) power modules: Parameter estimation and model prediction International Journal of Hydrogen Energy · Elsevier BV · 2010 10.1016/j.ijhydene.2010.02.002
  25. Power struggle [power supplies for portable equipment] IEE Review · Institution of Engineering and Technology · 2003 10.1049/ir:20030705
  26. Fuel cell systems optimisation – Methods and strategies International Journal of Hydrogen Energy · Elsevier BV · 2011 10.1016/j.ijhydene.2011.08.053
  27. The fuzzy Kalman filter: State estimation using possibilistic techniques Fuzzy Sets and Systems · Elsevier BV · 2006 10.1016/j.fss.2006.05.003
  28. Step by step development of a real fuel cell system. Design, implementation, control and monitoring International Journal of Hydrogen Energy · Elsevier BV · 2015 10.1016/j.ijhydene.2015.01.178
  29. ANFIS: adaptive-network-based fuzzy inference system IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1993 10.1109/21.256541
  30. Review and analysis of PEM fuel cell design and manufacturing Journal of Power Sources · Elsevier BV · 2003 10.1016/s0378-7753(02)00542-6
  31. Size reduction by interpolation in fuzzy rule bases IEEE Transactions on Systems Man and Cybernetics Part B (Cybernetics) · Institute of Electrical and Electronics Engineers · 1997 10.1109/3477.552182
  32. Linearization and Input-Output Decoupling for Nonlinear Control of Proton Exchange Membrane Fuel Cells Energies · Multidisciplinary Digital Publishing Institute · 2014 10.3390/en7020591
  33. Hibridación de sistemas borrosos para el modelado y control Revista Iberoamericana de Automática e Informática Industrial RIAI · Technical University of Valencia · 2014 10.1016/j.riai.2014.03.004
  34. Análisis de Estabilidad de Sistemas Borrosos Revista Iberoamericana de Automática e Informática Industrial RIAI · Technical University of Valencia · 2007 10.1016/s1697-7912(07)70205-4
  35. Fuzzy optimal control for double inverted pendulum 2012 10.1109/iciea.2012.6360687
  36. A new approach to fuzzy estimation of Takagi–Sugeno model and its applications to optimal control for nonlinear systems Applied Soft Computing · Elsevier BV · 2011 10.1016/j.asoc.2011.08.044
  37. A general methodology for online TS fuzzy modeling by the extended Kalman filter Applied Soft Computing · Elsevier BV · 2013 10.1016/j.asoc.2013.09.005
  38. Generalized defuzzification strategies and their parameter learning procedures IEEE Transactions on Fuzzy Systems · Institute of Electrical and Electronics Engineers · 1996 10.1109/91.481845
  39. Stability analysis of fuzzy systems Journal of the Franklin Institute · Elsevier BV · 1999 10.1016/s0016-0032(99)00009-5
  40. Optimal interface based on power electronics in distributed generation systems for fuel cells Renewable Energy · Elsevier BV · 2011 10.1016/j.renene.2011.04.005
  41. An approach to fuzzy control of nonlinear systems: stability and design issues IEEE Transactions on Fuzzy Systems · Institute of Electrical and Electronics Engineers · 1996 10.1109/91.481841
  42. Fuzzy sets and fuzzy logic: Theory and applications Endeavour · Elsevier BV · 1996 10.1016/s0160-9327(96)90083-6
  43. Dynamic model of solid polymer fuel cell water management Journal of Power Sources · Elsevier BV · 1998 10.1016/s0378-7753(97)02744-4
  44. A methodology to design stable nonlinear fuzzy control systems Fuzzy Sets and Systems · Elsevier BV · 2005 10.1016/j.fss.2005.03.006
  45. Fuzzy identification of systems and its applications to modeling and control IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1985 10.1109/tsmc.1985.6313399
  46. Dynamic modelling and parametric control for the polymer electrolyte membrane fuel cell system Journal of Power Sources · Elsevier BV · 2013 10.1016/j.jpowsour.2012.12.116
  47. Precipitation, pH and metal load in AMD river basins: an application of fuzzy clustering algorithms to the process characterization Journal of Environmental Monitoring · Royal Society of Chemistry · 2005 10.1039/b410795k
  48. Contrast of evolution models for agricultural contaminants in ground waters by means of fuzzy logic and data mining Environmental Geology · Springer Nature · 2005 10.1007/s00254-005-0103-2
  49. A comparative study on sufficient conditions for Takagi-Sugeno fuzzy systems as universal approximators IEEE Transactions on Fuzzy Systems · Institute of Electrical and Electronics Engineers · 2000 10.1109/91.890337
  50. Fuzzy agents for ICa 2002 10.1109/fuzzy.1998.687544
  51. A New Approach to Linear Filtering and Prediction Problems Journal of Basic Engineering · American Society of Mechanical Engineers · 1960 10.1115/1.3662552
  52. Fuzzy modeling of a thermal solar plant International Journal of Intelligent Systems · Wiley · 2002 10.1002/int.10026
  53. On-line identification of MIMO evolving Takagi- Sugeno fuzzy models 2005 10.1109/fuzzy.2004.1375687
  54. A General and Formal Methodology to Design Stable Nonlinear Fuzzy Control Systems IEEE Transactions on Fuzzy Systems · Institute of Electrical and Electronics Engineers · 2009 10.1109/tfuzz.2009.2021984
  55. Analog Current Control Techniques for Power Control in PEM Fuel-Cell Hybrid Systems: A Critical Review and a Practical Application IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2010 10.1109/tie.2010.2049710
  56. Application of fuzzy logic and data mining techniques as tools for qualitative interpretation of acid mine drainage processes Environmental Geology · Springer Nature · 2007 10.1007/s00254-006-0627-0
  57. Development of Electric Propulsion Systems for Light Electric Vehicles IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2011 10.1109/tii.2011.2158840
  58. A formal methodology for the analysis and design of nonlinear fuzzy control systems 2010 10.1109/fuzzy.2010.5583980
  59. Determining limit cycles in fuzzy control systems Proceedings of 6th International Fuzzy Systems Conference · 2002 10.1109/fuzzy.1997.616367
  60. Low Cost Electrodes for Proton Exchange Membrane Fuel Cells: Performance in Single Cells and Ballard Stacks Journal of The Electrochemical Society · Institute of Physics · 1997 10.1149/1.1838101
  61. Stability design of TS model based fuzzy systems Proceedings of 6th International Fuzzy Systems Conference · 2002 10.1109/fuzzy.1997.616349
  62. Two approaches for automating the tuning process of fuzzy logic controllers [PWR application] 2002 10.1109/cdc.1993.325490
  63. Training fuzzy systems with the extended Kalman filter Fuzzy Sets and Systems · Elsevier BV · 2002 10.1016/s0165-0114(01)00241-x
  64. Kalman Filter and Its Application 2015 10.1109/icinis.2015.35
  65. Robust adaptive neural network control for PEM fuel cell International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.09.075
  66. Formal methodology for analyzing the dynamic behavior of nonlinear systems using fuzzy logic. 2015
  67. Hardware/Software Data Acquisition System for Real Time Cell Temperature Monitoring in Air-Cooled Polymer Electrolyte Fuel Cells Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17071600
  68. A review of energy management strategies for renewable hybrid energy systems with hydrogen backup Renewable and Sustainable Energy Reviews · Elsevier BV · 2017 10.1016/j.rser.2017.09.014
  69. Mejora de la Potencia Obtenida en Plantas de Generación Undimotriz basadas en Columna de Agua Oscilante Revista Iberoamericana de Automática e Informática Industrial RIAI · Technical University of Valencia · 2017 10.4995/riai.2017.8831
  70. Comprehensive diagnosis methodology for faults detection and identification, and performance improvement of Air-Cooled Polymer Electrolyte Fuel Cells Renewable and Sustainable Energy Reviews · Elsevier BV · 2018 10.1016/j.rser.2018.02.038
  71. Air-cooled fuel cells: Keys to design and build the oxidant/cooling system Renewable Energy · Elsevier BV · 2018 10.1016/j.renene.2018.02.077
  72. Discovering the dynamic behavior of unknown systems using fuzzy logic Fuzzy Optimization and Decision Making · Springer Science+Business Media · 2018 10.1007/s10700-018-9285-4
  73. Fuzzy Logic Tools Reference Manual v 1.0 2012
  74. A Novel Supercapacitor/Lithium-Ion Hybrid Energy System with a Fuzzy Logic-Controlled Fast Charging and Intelligent Energy Management System Electronics · Multidisciplinary Digital Publishing Institute · 2018 10.3390/electronics7050063
  75. From the cell to the stack. A chronological walk through the techniques to manufacture the PEFCs core Renewable and Sustainable Energy Reviews · Elsevier BV · 2018 10.1016/j.rser.2018.07.036
  76. Fuzzy sets 1996
  77. Synthesis of a Dynamical Output ${H}_{\infty}$ Controller for the Fuzzy Input-Output Model IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2892434
  78. Intermittent Renewable Energy Sources: The Role of Energy Storage in the European Power System of 2040 Electronics · Multidisciplinary Digital Publishing Institute · 2019 10.3390/electronics8070729
  79. Sistema híbrido inteligente para la predicción de la tensión de una pila de combustible basada en hidrógeno Revista Iberoamericana de Automática e Informática Industrial RIAI · Technical University of Valencia · 2019 10.4995/riai.2019.10986
  80. Detección de anomalías basada en técnicas inteligentes de una planta de obtención de material bicomponente empleado en la fabricación de palas de aerogenerador Revista Iberoamericana de Automática e Informática Industrial RIAI · Technical University of Valencia · 2020 10.4995/riai.2019.11055
  81. Dynamic modelling and controlling strategy of polymer electrolyte fuel cells International Journal of Hydrogen Energy · Elsevier BV · 2019 10.1016/j.ijhydene.2019.09.178
  82. Fuel Cell Hybrid Model for Predicting Hydrogen Inflow through Energy Demand Electronics · Multidisciplinary Digital Publishing Institute · 2019 10.3390/electronics8111325
  83. Complementary cooperation dynamic characteristics analysis and modeling based on multiple-input multiple-output methodology combined with nonlinear control strategy for a polymer electrolyte membrane fuel cell Renewable Energy · Elsevier BV · 2019 10.1016/j.renene.2019.12.059
  84. Exploratory Data Analysis. Journal of the Royal Statistical Society Series A (General) · Wiley · 1978 10.2307/2344492
  85. Performance Modeling of the Ballard Mark IV Solid Polymer Electrolyte Fuel Cell: I . Mechanistic Model Development Journal of The Electrochemical Society · Institute of Physics · 1995 10.1149/1.2043866
  86. Fuzzy sets Information and Control · Academic Press · 1965 10.1016/s0019-9958(65)90241-x
  87. Deleted Work 1955
  88. An adaptive fuzzy logic controller (AFLC) for PEMFC fuel cell International Journal of Hydrogen Energy · Elsevier BV · 2015 10.1016/j.ijhydene.2015.05.189
  89. New Concepts for the Estimation of Takagi-Sugeno Model Based on Extended Kalman Filter Atlantis computational intelligence systems · Atlantis Press · 2014 10.2991/978-94-6239-082-9_1