Next Article in Journal
Use of Sulfur Waste in the Production of Metakaolin-Based Geopolymers
Previous Article in Journal
A Novel Biomimetic Lung-Shaped Flow Field for All-Vanadium Redox Flow Battery
Previous Article in Special Issue
Optimizing the Performance of Commercial Demand Response Aggregator Using the Risk-Averse Function of Information-Gap Decision Theory
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design of a Fuzzy Adaptive Voltage Controller for a Nonlinear Polymer Electrolyte Membrane Fuel Cell with an Unknown Dynamical System

1
Department of Electrical Engineering, University of Qom, Qom 3716146611, Iran
2
Department of Chemical Engineering, University of Qom, Qom 3716146611, Iran
3
Chemical Engineering Section, Faculty of Engineering, Sohar University, Sohar 311, Oman
4
Engineering Department, Islamic Azad University (IAU), Damavand Branch, Tehran 1477893855, Iran
*
Author to whom correspondence should be addressed.
Sustainability 2023, 15(18), 13609; https://doi.org/10.3390/su151813609
Submission received: 26 June 2023 / Revised: 27 August 2023 / Accepted: 5 September 2023 / Published: 12 September 2023
(This article belongs to the Special Issue Integration of Demand-Side Flexibility into Smart Grids)

Abstract

:
This paper presents a fuzzy adaptive controller (FAC) for improving the efficiency and stability of fuel cells, assuming that the nonlinear dynamic model of the system is unknown. In polymer electrolyte membrane fuel cells, the output voltage should be controlled within a given interval. In contrast to prior studies that focused on designing controllers for known dynamical models of PEM fuel cells, the suggested approach addresses the real-world case of a PEM fuel cell with unknown dynamics. An intelligent technique is identified in the suggested strategy to approximate the state-space model of fuel cells to manage unknown functions. On an unknown model of fuel cells, traditional adaptive and fuzzy adaptive controllers are both implemented and compared. The main advantages of the proposed methodology are (1) stability of the closed-loop system using Lyapunov, (2) robustness against external disturbances, (3) application of the FAC to a PEM fuel cell, (4) convergence of the tracking error to 0, and (5) overcoming both unknown dynamics and uncertainty in the system. The most important and valuable advantages of the proposed system are its robustness, tracking error convergence, and Lyapunov stability. This manuscript aims to illustrate the responsiveness and fluency of the proposed procedure using a mathematical formulation of a multi-quadrotor system. As a result, the FAC is more efficient than the traditional one. To validate the controller performance, both the adaptive and fuzzy adaptive controllers are applied to a numerical model of a fuel cell and then compared.

1. Introduction

Energy is one of the most important subjects globally and is essential to all the processes that happen in the world. Conventional energy generation methods, such as burning fossil fuels, cause environmental difficulties, one of which is an increase in greenhouse gas emissions, which contributes to climate warming [1]. Natural gas, petroleum, and coal are the principal (and nonrenewable) sources of electricity and contributors to environmental pollution of the air and environment, threatening health [2]. Renewable Energy Sources (RESs) have attracted more attention, and extensive studies have been conducted to develop alternative electricity generation methods to address the global warming crisis [3]. The Paris Agreement’s sustainable development goal concept of zero carbon emissions is the foundation of decarbonization implemented in the majority of developed countries worldwide. One of the efforts being made to decarbonize the environment is the use of hydrogen fuel cell technology. Fuel cells are one of the most enticing energy sources considered as an alternative type of energy [4,5]. Compared to combustion engines, fuel cells emit little or no pollution. Because there are no carbon dioxide emissions from hydrogen fuel cells, they address critical climate challenges. There are no air contaminants that produce pollution or health problems at the point of operation. Fuel cells run silently because they have few moving parts. The increasing demand for energy resources has recently widened the field of research into clean energy devices, particularly fuel cells and sustainable energy systems. The development of fuel cells and sustainable energy systems is an important method for improving clean energy efficiency in the future, particularly in the fields of electric vehicles and machines, clean power generation for industries and citizens, cogeneration, and so on. The most recent scientific research findings and R&D trends in fuel cells and sustainable energy systems require the continuing collaboration of researchers from various backgrounds to encourage the rapid growth of science and technology in fuel cells and sustainable energy systems. Fuel cells function similarly to batteries, but they do not need to be recharged. They generate electricity and heat as long as fuel is available. A fuel cell is made up of two electrodes, one negative (or anode) and one positive (or cathode), sandwiched around an electrolyte. The anode receives fuel, such as hydrogen, while the cathode receives air. A catalyst at the anode of a hydrogen fuel cell separates hydrogen molecules into protons and electrons, which travel in opposite directions to the cathode. Electrons flow through an external circuit, causing electricity to flow. Protons pass through the electrolyte and arrive at the cathode, where they mix with oxygen and electrons to produce water and heat. Polymer electrolyte membrane fuel cells (PEMFCs) offer many advantages compared with other fuel cells, including high power density, low temperature, and fast response. However, PEMFCs have several shortcomings, such as low reliability, short duration, and high cost, which limit their applications [6,7]. Fuel cells are used in a wide range of industrial and nonindustrial applications, including in airports, schools, workplaces, hospitals, and hotels. The PEMFC is a good stationary-state energy source, but it cannot respond quickly to load variations. Power problems result in extreme load fluctuations and load current variations. Moreover, fuel cells are challenged by voltage fluctuations, which can be reduced by applying suitable control strategies and power converters in the system [8].
Although the proton exchange membrane fuel cell (PEMFC) continues to pique R&D interest due to its high energy density, its commercialization is hampered by several challenges, including cost reduction, improved performance, and increased durability with time. While they can be mitigated by some choices such as material selection, voltage reversals and fuel starvation also have an impact on PEMFC durability, as well as performance. In this paper, the reaction, thermal, water management, and power electronic subsystems of PEMFCs are critically studied and reviewed, with a focus on control strategies to avoid fuel starvation. Proportional–Integral–Derivative (PID) controllers, which manipulate hydrogen and air flow rates, are often employed in feedback voltage control and feedforward current control. Self-tuning PID controllers or sliding mode controllers respond quickly to changing dynamics. Adaptive controllers (ACs), such as load governors and extremum-seeking controllers, continuously update control action. Model predictive control (MPC) predicts system behavior and updates the controller action using a PEMFC model. Recently, artificial intelligence (AI) techniques such as neural network control (NNC), fuzzy logic control (FLC), and FLC-PID control have been used in PEMFC system control because they are simpler and less expensive to implement than the AC and MPC and also produce better results. Fuel cells are used in many applications, such as grid-connected and stand-alone settings. A power conditioning unit is necessary to match the load and fuel cell.
The fuel cell is viewed and controlled as an exclusive application across all given methodologies that have been presented. PEMFCs are expected to have a lifetime of 40,000 h and an electrical efficiency of 40–50%. PEMFCs provide greater power density compared to other types of fuel cells. They can produce more power than other fuel cells with the same size, volume, and weight. In recent years, a large amount of research has been conducted on FACs. In Ref. [9], the affine of nonlinear systems was modeled alongside a stable controller design based on TS. In multi-variable Takagi–Sugeno fuzzy systems, a sliding mode FAC has been devised. Ref. [10] provides a fuzzy model reference state tracking controller based on canonical large-scale nonlinear systems. However, the interaction is viewed as a bounded disturbance with inaccessible states.
Finally, an adaptive controller is designed with high efficiency, better performance, rapid convergence, and robustness. As a result, the output voltage can be adjusted by adjusting the hydrogen flow of the proposed controller. The nonlinear model of PEM fuel cells is controlled using conventional sliding mode controllers, which ensures stability and reduces chattering [11]. Model-based optimal control and the efficient online stochastic estimation of fuel cell parameters were previously developed for PEM fuel cells [12]. In [13], an optimal linear parameter varying (LPV) controller was developed for nonlinear PEM fuel cells using a systematic design method based on linear matrix inequality. The authors of [14] developed a robust controller for the linear model of PEMFC in the presence of linear disturbances [15], concentrating on designing a decentralized PID controller based on PSO to apply to PEMFCs. The authors of [16] discussed L1 norm fast model predictive control for linearized PEM fuel cell system models. The authors of [17] focused on developing both fuzzy and adaptive PID controllers in order to regulate the Tramway system’s PEM fuel cell methods. In [18], a functional order fuzzy PID controller was developed for a fuel cell, utilizing a neural network optimization approach to update the PID parameters [18]. Authors in [19] concentrate on super-twisting sliding mode and adaptive ANFIS procedure to increase stack life of the PEMFC. Ref. [20] deals with robust fault tolerant controller based on perturbation theory for a class nonlinear model of PEMFC. The wide researches on fault diagnosis on PEM Fuel cell are investigated in [21]. Classic sliding mode controller is designated for a linear class of PEM fuel cell [22].
Previous research has focused on either affine nonlinear systems or fuzzy systems to approximate the unknown nonlinear functions of the PEM fuel cell, which has resulted in both system structural limitations and increased computational volume. This paper presents a method for approximating controllers instead of nonlinear functions to reduce the computational volume. The nonaffine, nonlinear PEM fuel cell is designated as a universal form of the nonlinear system in this approach.
This manuscript designs an adaptive controller for the LTI model of a PEM fuel cell in the presence of both unknown dynamical models and uncertainties. In addition, using experts’ knowledge, challenging both the uncertainties and unknown models of fuel cells, a fuzzy adaptive controller is developed. Section 2 discusses fuel cell analyses, such as basic fuel cell operation, open circuit fuel cell voltages, and small-signal fuel cell models. Section 3 introduces the novel adaptive and fuzzy adaptive controllers, as well as the required proofs. Section 4 uses simulations to demonstrate the theoretical results. Finally, the results are summarized in Section 5.

2. Fuel Cell Concepts and Model

The following sections are categorized into three subheadings. The equations for a single PEMFC are presented in Section 2.1. The equations for the open-circuit voltage of the fuel cell are given in Section 2.2. Finally, in Section 2.3, fuel cell small-signal models are examined in more detail ([4,5] and, furthermore, in [6]).

2.1. Operating Principle of the Fuel Cell

The fuel cell is made up of porous catalyzed electrodes divided by a solid electrolyte that contains a single polymer electrolyte membrane made of an ion-conduction polymer. A predetermined pressure level feeds the hydrogen-rich gas from the cell’s anode side, which subsequently diffuses over porous electrodes until it enters the anode. In the catalytic layer, where it reacts, protons are produced and electrons are released. An external circuit is used to transfer electrons released at the anode to the cathode, and two H + ions flow to the cathode simultaneously through the membrane. At the cathode, the air is stored. In the catalytic layer, oxygen reacts with the electrons from the H + ions. The PEMFC’s anode and cathode chemical reactions are described in (1).
H 2 2 H + + 2 e ( A n o d e ) 2 H + + 1 2 O 2 + 2 e H 2 O ( C a t h o d e )
As a result, the total cell reaction is determined by
H + + 1 2 O 2 H 2 O             ( O v e r a l l   R e a c t i o n )
The PEMFC’s overall scheme is shown in Figure 1.

2.2. Open Circuit Voltage of PFMFCs

Fuel cells convert chemical energy directly into electricity. They generate chemical energy according to the change in the Gibbs Free Energy (GFE) ( G f ), which equals the difference between the GFE of the reactants and the GFE of the product. As shown below, the GFE represents the overall chemical reaction in the fuel cell.
G f = G f p r o d u c t s G f r e a c t a n t s = G f H 2 O + G f H 2 + G f O 2
The GFE changes with temperature and pressure, which can be expressed as
G f = G f 0 R ¯ T f c l n P H 2 P O 2 1 2 / P H 2 O
The electrical objective in a reversible system is to pass two moles of electrons around the external circuit equivalent to the GFE change. As a result, the reversible voltage of a fuel cell can be calculated using Equation (3) as follows:
G f = 2 F E
where
E = G f 2 F = G f 0 2 F + R ¯ T f c 2 F l n P H 2 P O 2 1 2 / P H 2 O
In Equation (6), the voltage, E, is referred to as the reversible open-circuit voltage or “Nernst” voltage of a hydrogen fuel cell. In most cases, fuel cell reactions are irreversible, and some chemical energy is transferred to heat and pulses until the fuel cell voltage, V f c , falls below the value specified in Equation (6). According to [24], the following Nernst equation describes the reversible voltage of the cell:
E = 1.229 0.85 × 10 3 T f c 298.15 + 4.3085 × 10 5 T f c l n ( P H 2 ) + 1 2 l n ( P O 2 ) ]
V L o s s , or voltage loss, is made up of three voltages:
V L o s s = V a c t i v . + V Ω + V c o n c .
The voltage drop ( V a c t i v . ) that impacts the cathode and anode is referred to as the activation overpotential. V Ω denotes the ohmic voltage drop associated with the electrodes and resistances of the conducting protons, which is used to calculate the ohmic voltage. Reducing the concentration of reactant gases results in a voltage drop that is represented by V c o n c . . Alternatively, there is a concentration overpotential due to the mass transport of hydrogen and oxygen. Equation (8) can be rewritten as follows according to [25]:
V L o s s = r i + i n + a l n i + i n i 0 b l n 1 i + i n i l
The following equation can represent a single cell’s output voltage:
V f c = E N e r n s t ( V a c t i v . + V Ω + V c o n c . )
which is described in [8,26], as below:
V = N ( E 0 + R T 2 F l n P H 2 P O 2 1 2 / P H 2 O L )

2.3. Fuel Cell Small-Signal Models

In this paper, we develop dynamic and nonlinear models based on the fuel cell models presented in [27]. Nonlinear terms are included in Equations (9) and (11). To linearize the cell voltage, a small-perturbation method must be used for the fuel cell dynamics model as an almost linear system. As a result, at these operating points, the changing behavior of the cell’s output voltage can be estimated extremely quickly for modest changes in the input variables. In [27], the authors proposed the following linear state-space model. Using x = P H 2 P O 2 P H 2 O C T , y = E , and u = [ H 2 i n O 2 i n H 2 O C i n i ] T , the model’s parameters are defined as below:
x ˙ = A x + B u
y = C x + D u ,
The three system states for x in Equation (12) represent perturbations of the partial pressures of H2, water, and oxygen vapor inside the cells. In addition, the four inputs for u indicate changes in the inlet flow rates of water, oxygen, and hydrogen vapor and the output current density. Furthermore, a change in the fuel cell stack voltage is indicated by the system output, y. The proposed controller is designed using matrices A, B, C, and D, which are based on the linearization of the nonlinear system in Ref. [27].

3. Adaptive Controller Design for PEMFCs

This section describes the proposed adaptive controller (AC) and fuzzy adaptive controller (FAC). This strategy is intended to find a process for improving the effectiveness of the FAC from the AC. The necessary proofs for the adaptive and fuzzy adaptive controllers are presented in Section 3.1 and Section 3.2, while the necessary extended proofs for the fuzzy adaptive controller are presented in Section 3.3.

3.1. Design of the Proposed Adaptive Controller

To compensate for characteristic changes in the controlled process, adaptive control systems synthesize adaptive gains. Several types of adaptive control systems have been developed, each of which adjusts the controller’s parameters in a different way. Model reference adaptive control (MRAC) seeks to resolve performance characteristics. The exact model is as follows:
x ˙ = A x + B u
In addition, the reference model is
x ˙ m = A m X m + B m r
The general linear control law is as follows:
u = M r L x
Based on the two matrices M and L, Equation (34) can be substituted into Equation (32) to derive the following equation:
x ˙ = A x + B ( M r L x ) = A B L x + B M r
The tracking error vector can be defined as follows:
e = x x m
Equations (14) and (16) can be replaced by (17) to give e ˙ = x ˙ x ˙ m . After some mathematical manipulation, we obtain
e ˙ = A m e + A B L A C A m A ~ x + B M B m B ~
The following candidate Lyapunov function can be used to determine the system’s stability:
V = 1 2 e T P 1 e + 1 2 t r ( A ~ T P 2 A ~ + B ~ T P 3 B ~ )
P 1 , P 2 , and P 3 are positive definite matrices, and tr denotes the trace of a matrix. The following is the Lyapunov function’s time derivative:
V ˙ = 1 2 e ˙ T P 1 e + 1 2 e T P 1 e ˙ + 1 2 t r ( A ˙ C T P 2 A ~ + A ~ T P 2 A ˙ C + B ˙ C T P 3 B ~ + B ~ T P 3 B ˙ C )
This can be rewritten as follows:
V ˙ = 1 2 ( e T A m T + x T A ~ T + r T B ~ ) P 1 e + 1 2 e T P 1 A m e + x + B . ~ r + t r ( A ~ T P 2 A ˙ C + B ~ T P 3 B ˙ C )
Matrix Q 1 can be considered as follows:
V ˙ = 1 2 e T A m T P 1 + P 1 A m Q e + 1 2 x T A ~ P 1 e + 1 2 r T B ~ P 1 e + 1 2 e T P 1 A ~ x + 1 2 e T P 1 B ~ r + t r ( A ~ T P 2 A ˙ C + B T P 3 B ˙ C )
This can be rewritten as
V ˙ = 1 2 e T Q 1 e + x T A ~ P 1 e + r T B ~ P 1 e + t r ( A ~ T P 2 A ˙ C + B ~ T P 3 B ˙ C )
where x T A ~ P 1 e t r A ~ P 1 e x T and r T B ~ P 1 e t r ( B ~ P 1 e r T ) . Equation (23) can then be written as follows:
V ˙ = 1 2 e T Q 1 e + t r ( A ~ P 1 e x T + P 2 A ˙ C + B ~ P 3 B ˙ C + P 1 e r T )
For the system to be stable, the following conditions must be met:
A ˙ c = P 2 1 P 1 e x T ,       B ˙ c = P 3 1 P 1 e r T
Equation (16) leads to the following equation:
A ˙ C = B L ,   B ˙ C = B M ˙ ˙
Equation (25) is replaced by Equation (26) as follows:
B L ˙ = P 2 1 P 1 e x T ,   B M ˙ = P 3 1 P 1 e r T
The following updated laws can then be derived:
L ˙ = B + P 2 1 P 1 e x T ,       M ˙ = B + P 3 1 P 1 e r T
Equation (15) can be used as a reliable input for the system by substituting Equation (28) with the control law.

3.2. Fuzzy Adaptive Controller Design for PEMFCs

A fuzzy system is developed using an adaptive approximation of the unknown ideal controller. The following equation is to be considered:
x ˙ = A x + B u     y = C T x + D u
As a result, the proposed model’s control objective is to create an FAC for the system given by Equation (29) so that the system’s output follows the appropriate trajectory for all closed-loop signals to remain limited. The following is the tracking error vector:
e = y y m
Taking the derivative of both sides of Equation (30) and applying Equation (29) results in the following equation:
e ˙ = y ˙ y ˙ m = C T x ˙ + D T u ˙ y ˙ m = C T A x + C T B u + D T u ˙
Considering u * as an ideal input of this system, and then adding and subtracting the term C T B u * from C T A x + C T B u , leads to
C T A x + C T B u = C T A x + C T B u C T B u * + C T B u *
Using e u = u u * and rewriting Equation (32), the following equation is determined:
C T A x + C T B u * + C T B u u * = C T A x + C T B u * + C T B e u
We assume that v _ = V 1 V n ] T , which is defined as follows:
v = K e + y ˙ m + v
K is set in such a way that e ˙ = K e is asymptotically stable, and v is defined later in the update rules in Equation (49) as pseudo-control input that meets the following condition:
C T A x + C T B u v = 0
The following result is obtained by substituting Equation (34) with Equation (35), and subsequently with Equation (31).
e ˙ = C T A x + C T B u * v + C T B e u y ˙ u + v
The replacement of Equations (34) and (35) with Equation (36) yields
e ˙ = k e + y ˙ m + v + C T B M e u = k e + v + M e u + y m ˙

3.3. Fuzzy Adaptive Controller Design

There is an ideal controller that meets the control objectives described in the previous subsection. A set of if–then rules comprises the fuzzy rule base. Assume that there are M-many rules, with the lth rule being
R u l e l : i f ( x 1 i s A 1 l x n i s A 1 l ) t h e n ( y i s B l ) l = 1 , 2 , , M
The fuzzy inference transfers fuzzy sets in U to fuzzy sets in V using if–then rules from the fuzzy rule base. This section describes how to develop a fuzzy system using adaptive approximation. The optimal controller is denoted by
u * = f z = w T θ *
where z = x , v and θ = [ y 1 y 2 y M ] are the vectors including all consequent parameters, and w x = [ w 1 x w 2 x w M ( x ) ] T is a set of fuzzy basis functions:
w i x = i = 1 n μ A i l ( x i ) l = 1 M i = 1 n μ A i l ( x i )
Assume that u * and θ * are estimated as u T and θ , respectively, and that u r is a robust controller to compensate for uncertainties, disturbances, and approximation errors. Rewriting Equation (38) can lead to the following equation:
u T = w T θ + u r
As e u = u u * , using Equation (40) results in
e u = u u * = w T θ θ * θ ~ + u r = w T θ ~ + u r
Equation (41) leads to the following equation for the error derivation:
e ˙ = K e + v ´ + M w T θ ~ + M u r + y m ˙
Observe the following candidate for the Lyapunov function:
V = 1 2 e T P e + t r ( θ ~ T θ ~ 2 γ 1 + v T v 2 γ 2 + u r T u r 2 γ 3 )
where θ ~ = θ θ * , γ 1 , γ 2 , γ 3 > 0 , and P is a positive definite matrix. The time derivative of this Lyapunov function is
V ˙ = 1 2 e ˙ T P e + 1 2 e T P e ˙ + t r ( θ ˙ T θ ~ 2 γ 1 + θ ~ T θ ˙ 2 γ 1 + v ˙ T v 2 γ 2 + v T v ˙ 2 γ 2 + u ˙ r T u r 2 γ 3 )
where θ ~ = θ θ * , θ ~ ˙ = θ ˙ , and furthermore, θ indicates unknown parameters that will be defined later. Using Equation (42), Equation (44) leads to
V ˙ = 1 2 e T k T P e + 1 2 v T P e + 1 2 θ ~ T w M T P e + 1 2 u r T P e + 1 2 e T P k e + 1 2 e T P v + 1 2 e T P M w T θ ~ + 1 2 e T P u r + e T P y m ˙ + t r ( θ ˙ T θ ~ γ 1 + v ˙ T v γ 2 + u ˙ r T u r γ 3 )
Equation (45) can be modified as follows:
V ˙ = 1 2 e T K T P + P K Q + v T P e + θ ~ T w M T P e + u r T P e + e T P y m ˙ + t r ( θ ˙ T θ ~ γ 1 + v ˙ T v γ 2 + u ˙ r T u r γ 3 )
For any positive definite symmetric matrix Q, there exists a unique positive definite symmetric solution P in the following Lyapunov equation:
K T P + P K = Q
Equation (47) is substituted into Equation (46) to give
V ˙ = 1 2 e T Q e + e T P y m ˙ + t r ( P e v + w M T P e θ ~ + P e u r + θ ˙ T θ ~ γ 1 + v ˙ T v γ 2 + u ˙ r T u r γ 3 )
The values tr(.) must be zero in order to achieve zero tracking error in the closed-loop system. The following equations must also hold:
v ˙ = γ 2 e T P T u ˙ r = γ 3 e T P T
θ ˙ = γ 1 e T P T M w T
The compact Ω = { e e < Q P y m ˙ } ensures the stability of the closed-loop system. The proof is thus complete.

4. Simulation Confirmation

This section illustrates the results of applying the proposed adaptive controller and fuzzy adaptive controller to a PEMFC system.

4.1. Adaptive Controller Simulations

Table 1 presents the parameters for the PEMFC system [2]. When these criteria are followed, the system is controllable and observable, and the control goal is to make the system’s state follow a desired trajectory. The simulation and modeling of the PEMFC system were validated using MATLAB. The control inputs for the adaptive control system under study are depicted in Figure 2, Figure 3, Figure 4 and Figure 5.
The following are the reference model parameters for the first scenario:
A = 1 0 0 0 0 2 0 0 0 0 3 0 0 1 0 0 ,   B = 1 0 1 0 0 1 0 0 0 0 1 1 0 1 0 0
C = 1 0.5 2 0 ,   D = 0 0 0 0
The control inputs are all bounded. The system states under the proposed adaptive controller are indicated in Figure 6.
Figure 7 illustrates the control output of the PEMFC system under reference adaptive control. In this figure, the output of the adaptive controller is shown to rise to 6.2 V after the ripple voltage is applied, then decrease and stabilize at 2 V.

4.2. Fuzzy Adaptive Controller Simulations

The desired value of the control output was set to 2 V for a proper comparison of FAC and adaptive controller operation. Furthermore, the external 7reference signals were x = [ x 1 , x 2 , x 3 ] T and z = [ x 1 , x 2 , x 3 , v ] T . It should be noted that x 1 , x 2 , and x 3 are defined over [–5, 5], and v is defined over [−40, 40]. The fuzzy system defines four membership functions over the defined sets using the Gaussian function, as shown below:
μ x = e ( χ c ) 2 2 δ 2
where δ is the variance of the membership function and c is its center. The initial values of all controller parameters were assumed to be zero. The system’s output when an adaptive controller was applied is shown in Figure 7. Figure 8 depicts the system’s state trajectory after applying the FAC. One of the most significant characteristics of any algorithm is its convergence speed. The suggested fuzzy adaptive controller converges quickly, as illustrated in Figure 9. Based on Equation (30), the final tracking error value is shown in Figure 8.
The following can be observed based on the Figure 8, Figure 9 and Figure 10:
  • In both presented methods, convergence of the tracking error to zero is guaranteed.
  • The closed-loop system’s stability is guaranteed in the presence of dynamic uncertainty.
  • The fuzzy adaptive controller outperforms the adaptive controller in terms of tracking errors in the presence of uncertainties and disturbances.

5. Conclusions

This paper presents both adaptive and fuzzy adaptive controllers for PEMFC systems with nonlinear models. The layout of the fuel cell is presumed to be understood in both plans, but the functions within this structure are completely unknown. These approaches show that such strategies can overcome both unknown dynamics and exogenous perturbations. An adaptation law ensures (1) closed-loop system stability, (2) asymptotic convergence of the tracking error to zero, and (3) the use of expert knowledge in the controller design. The fuzzy adaptive controller outperformed the adaptive controller in both tracking and dealing with uncertainties, but the adaptive controller is simpler to implement in practice than the fuzzy adaptive controller. These results confirm the superiority of the adaptive controller in terms of its transient response and demonstrate the effectiveness of the anticipated approaches as well. Future research could include an application of these methods to a nonlinear, nonaffine model of PEM fuel cell systems, as well as practical implementations of the suggested approach.

Author Contributions

R.G., methodology and validation; M.S., conceptualization and software; M.G., supervision and methodology; B.S.G., formal analysis and writing. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

All authors have given their full consent for the submission and publishing of this manuscript in the MDPI journal Sustainability.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Itoh, J.I.; Hayashi, F. Ripple Current Reduction of a Fuel Cell for a Single-Phase Isolated Converter Using a DC Active Filter with a Center Tap. IEEE Trans. Power Electron. 2010, 25, 550–556. [Google Scholar] [CrossRef]
  2. Sedighi, M.; Mohammadi, M.; Fard, S.F. The Nexus between Stock Returns of Oil Companies and Oil Price Fluctuations after Heavy Oil Upgrading: Toward Theoretical Progress. Economies 2019, 7, 71. [Google Scholar] [CrossRef]
  3. Logan, B.E. Scaling up Microbial Fuel Cells and Other Bio-electrochemical Systems. Appl. Microbiol. Biotechnol. 2010, 85, 1665–1671. [Google Scholar] [CrossRef] [PubMed]
  4. Mohammadi, M.; Sedighi, M.; Natarajan, R.; Hassan, S.H.A.; Ghasemi, M. Microbial fuel cell for oilfield produced water treatment and reuse: Modelling and process optimization. Korean J. Chem. Eng. 2021, 38, 72. [Google Scholar] [CrossRef]
  5. Sedighi, M.; Aljlil, S.A.; Alsubei, M.D.; Ghasemi, M.; Mohammadi, M. Performance optimisation of microbial fuel cell for wastewater treatment and sustainable clean energy generation using response surface methodology. Alex. Eng. J. 2018, 57, 4243. [Google Scholar] [CrossRef]
  6. Larminie, J.; Dicks, A.; McDonald, M.S. Fuel Cell Systems Explained; John Wiley and Sons Ltd.: Chichester, UK, 2003. [Google Scholar]
  7. Wang, C.; Nehrir, M.; Gao, H. Control of PEM Fuel Cell Distributed Generation Systems. IEEE Trans. Energy Convers. 2006, 21, 586. [Google Scholar] [CrossRef]
  8. Rakhtala, S.; Roudbari, E.S. Fuzzy PID Control of a Stand-Alone System Based on PEM Fuel Cell. Int. J. Electr. Power Energy Syst. 2016, 78, 576. [Google Scholar] [CrossRef]
  9. Ghasemi, R.; Menhaj, M.; Afshar, A. A Decentralized Stable Fuzzy Adaptive Controller for Large Scale Nonlinear Systems. J. Appl. Sci. 2009, 9, 892. [Google Scholar] [CrossRef]
  10. Ghasemi, R.; Menhaj, M.B.; Afshar, A. A New Decentralized Fuzzy Model Reference Adaptive Controller for a Class of Large-scale Nonaffine Nonlinear Systems. Eur. J. Control 2009, 15, 534. [Google Scholar] [CrossRef]
  11. Derbeli, M.; Saadi, W.; Napole, C.; Barambones, O. High order sliding mode based drift algorithm for a commercial PEM fuel cell system. IET Renew. Power Gener. 2023, 17, 260–270. [Google Scholar] [CrossRef]
  12. Aguilar, J.A.; Andrade-Cetto, J.; Husar, A. Control-oriented estimation of the exchange current density in PEM fuel cells via stochastic filtering. Int. J. Energy Res. 2022, 46, 22516–22529. [Google Scholar] [CrossRef]
  13. Afsharinejad, A.; Asemani, M.H.; Dehghani, M.; Abolpour, R.; Vafamand, N. Optimal gain-scheduling control of proton exchange membrane fuel cell: An LMI approach. IET Renew. Power Gener. 2022, 16, 459–469. [Google Scholar] [CrossRef]
  14. Aryan Nezhad, M.; Bevrani, H. μ and H∞ optimization control based on optimal oxygen excess ratio for the Proton Exchange Membrane Fuel Cell (PEMFC). J. Ind. Manag. Optim. 2023, 19, 3913–3930. [Google Scholar] [CrossRef]
  15. Ghasemi, J.; Rakhtala, S.M.; Rasekhi, J.; Dokhtala, S.R. PEM fuel cell system to extend the stack life based on a PID-PSO controller design. Complex Eng. Syst. 2022, 2, 4. [Google Scholar] [CrossRef]
  16. Nebeluk, R.; Lawrynczuk, M. Fast Model Predictive Control of PEM Fuel Cell System Using the L1 Norm. Energies 2022, 15, 5157. [Google Scholar] [CrossRef]
  17. Trinh, H.A.; Truong, H.V.A.; Ahn, K.K. Development of Fuzzy-Adaptive Control Based Energy Management Strategy for PEM Fuel Cell Hybrid Tramway System. Appl. Sci. 2022, 12, 3880. [Google Scholar] [CrossRef]
  18. AbouOmar, M.S.; Zhang, H.J.; Su, Y.X. Fractional Order Fuzzy PID Control of Automotive PEM Fuel Cell Air Feed System Using Neural Network Optimization Algorithm. Energies 2019, 12, 1435. [Google Scholar] [CrossRef]
  19. Phan, V.D.; Trinh, H.A.; Ahn, K.K. Design and evaluation of adaptive neural fuzzy-based pressure control for PEM fuel cell system. Energy Rep. 2022, 8, 12026–12037. [Google Scholar] [CrossRef]
  20. Chen, J.; Yao, W.; Lu, Q.; Duan, X.; Yang, B.; Zhu, F.; Cao, X.; Jiang, L. Robust nonlinear adaptive pressure control of polymer electrolyte membrane fuel cells considering sensor failures based on perturbation compensation. Energy Rep. 2022, 8, 8396–8412. [Google Scholar] [CrossRef]
  21. Han, F.; Tian, Y.; Zou, Q.; Zhang, X. Research on the Fault Diagnosis of a Polymer Electrolyte Membrane Fuel Cell System. Energies 2020, 13, 2531. [Google Scholar] [CrossRef]
  22. Park, G.; Gajic, Z. Sliding mode control of a linearized polymer electrolyte membrane fuel cell model. J. Power Sources 2012, 212, 226–232. [Google Scholar] [CrossRef]
  23. Younis, M.; Rahim, N.; Mekhilef, S. Dynamic and control of fuel cell system. In Proceedings of the 3rd IEEE Conference on Industrial Electronics and Applications, Singapore, 3–5 June 2008; p. 2063. [Google Scholar]
  24. Correa, J.M.; Farret, F.A.; Popov, V.A.; Simoes, M.G. Sensitivity Analysis of the Modeling Parameters Used in Simulation of Proton Exchange Membrane Fuel Cells. IEEE Trans. Energy Convers. 2005, 20, 211. [Google Scholar] [CrossRef]
  25. Pasricha, S.; Shaw, S.R. A Dynamic PEM Fuel Cell Model. IEEE Trans. Energy Convers. 2006, 21, 484. [Google Scholar] [CrossRef]
  26. Pasricha, S.; Keppler, M.; Shaw, S.R.; Nehrir, M.H. Comparison and Identification of Static Electrical Terminal Fuel Cell Models. IEEE Trans. Energy Convers. 2007, 22, 746. [Google Scholar] [CrossRef]
  27. Kim, H.-I.; Cho, C.Y.; Nam, J.H.; Shin, D.; Chung, T.-Y. A Simple Dynamic Model for Polymer Electrolyte Membrane Fuel Cell (PEMFC) Power Modules: Parameter Estimation and Model Prediction. Int. J. Hydrogen Energy 2010, 35, 3656. [Google Scholar] [CrossRef]
Figure 1. The electrochemical reaction taking place in the PEMFC [23].
Figure 1. The electrochemical reaction taking place in the PEMFC [23].
Sustainability 15 13609 g001
Figure 2. The first control input for the adaptive controller.
Figure 2. The first control input for the adaptive controller.
Sustainability 15 13609 g002
Figure 3. The second control input for the adaptive controller.
Figure 3. The second control input for the adaptive controller.
Sustainability 15 13609 g003
Figure 4. The third control input for the adaptive controller.
Figure 4. The third control input for the adaptive controller.
Sustainability 15 13609 g004
Figure 5. The fourth control input for the adaptive controller.
Figure 5. The fourth control input for the adaptive controller.
Sustainability 15 13609 g005
Figure 6. The states of a system under the proposed adaptive controller.
Figure 6. The states of a system under the proposed adaptive controller.
Sustainability 15 13609 g006
Figure 7. The output of the adaptive controller.
Figure 7. The output of the adaptive controller.
Sustainability 15 13609 g007
Figure 8. The system states under the proposed fuzzy adaptive controller.
Figure 8. The system states under the proposed fuzzy adaptive controller.
Sustainability 15 13609 g008
Figure 9. The tracking error of the proposed fuzzy adaptive controller.
Figure 9. The tracking error of the proposed fuzzy adaptive controller.
Sustainability 15 13609 g009
Figure 10. The control output of the fuzzy adaptive controller.
Figure 10. The control output of the fuzzy adaptive controller.
Sustainability 15 13609 g010
Table 1. PEMFC system parameters.
Table 1. PEMFC system parameters.
ParameterValueParameterValue
N 32 V A 6.495 [cm3]
T 338.5 [K] V C 12.96 [cm3]
p H 2 40.28 [kPa] P O P 101 × 103 [Pa]
p O 2 19.28 [kPa] I 2 [A]
p H 2 O a 10.28 [kPa] i 0.4 [A/m2]
R 8.31 [J/K·mol] i n 0.2 [A]
F 96,439 [C/mol] i 0 0.2 [A]
i l 1 [A] r 0.0635 [Ω]
V 1.6 [V]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ghasemi, R.; Sedighi, M.; Ghasemi, M.; Sadat Ghazanfarpoor, B. Design of a Fuzzy Adaptive Voltage Controller for a Nonlinear Polymer Electrolyte Membrane Fuel Cell with an Unknown Dynamical System. Sustainability 2023, 15, 13609. https://doi.org/10.3390/su151813609

AMA Style

Ghasemi R, Sedighi M, Ghasemi M, Sadat Ghazanfarpoor B. Design of a Fuzzy Adaptive Voltage Controller for a Nonlinear Polymer Electrolyte Membrane Fuel Cell with an Unknown Dynamical System. Sustainability. 2023; 15(18):13609. https://doi.org/10.3390/su151813609

Chicago/Turabian Style

Ghasemi, Reza, Mehdi Sedighi, Mostafa Ghasemi, and Bita Sadat Ghazanfarpoor. 2023. "Design of a Fuzzy Adaptive Voltage Controller for a Nonlinear Polymer Electrolyte Membrane Fuel Cell with an Unknown Dynamical System" Sustainability 15, no. 18: 13609. https://doi.org/10.3390/su151813609

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

Article Metrics

Back to TopTop