A Novel Adaptive PID Controller Design for a PEM Fuel Cell Using Stochastic Gradient Descent with Momentum Enhanced by Whale Optimizer
Abstract
The authors wish to express their gratitude to the Basque Government through the project EKOHEGAZ (ELKARTEK KK-2021/00092), to the Diputación Foral de Álava (DFA) through the project CONAVANTER, and to the UPV/EHU through the project GIU20/063 for supporting this work.
Full text
Citation: Silaa, M.Y.; Barambones, O.; Bencherif, A. A Novel Adaptive PID Controller Design for a PEM Fuel Cell Using Stochastic Gradient Descent with Momentum Enhanced by Whale Optimizer. Electronics 2022, 11, 2610. https://doi.org/10.3390/ electronics11162610 Academic Editors: Nicu Bizon and Mihai Oproescu Received: 28 July 2022 Accepted: 18 August 2022 Published: 20 August 2022 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). electronics Article A Novel Adaptive PID Controller Design for a PEM Fuel Cell Using Stochastic Gradient Descent with Momentum Enhanced by Whale Optimizer Mohammed Yousri Silaa 1,* , Oscar Barambones 1,* and Aissa Bencherif 2 1Engineering School of Vitoria, University of the Basque Country UPV/EHU, Nieves Cano 12, 1006 Vitoria, Spain 2Telecommunications Signals and Systems Laboratory (TSS), Amar Telidji University of Laghouat, BP 37G, Laghouat 03000, Algeria *Correspondence: [email protected] (M.Y.S.); oscar[email protected] (O.B.) Abstract: This paper presents an adaptive PID using stochastic gradient descent with momentum (SGDM) for a proton exchange membrane fuel cell (PEMFC) power system. PEMFC is a nonlinear system that encounters external disturbances such as inlet gas pressures and temperature variations, for which an adaptive control law should be designed. The SGDM algorithm is employed to minimize the cost function and adapt the PID parameters according to the perturbation changes. The whale optimization algorithm (WOA) was chosen to enhance the adaptive rates in the offline mode. The proposed controller is compared with PID stochastic gradient descent (PIDSGD) and PID Ziegler Nichols tuning (PID-ZN). The control strategies’ robustnesses are tested under a variety of temperatures and loads. Unlike the PIDSGD and PID-ZN controllers, the PIDSGDM controller can attain the required control performance, such as fast convergence and high robustness. Simulation results using Matlab/Simulink have been studied and illustrate the effectiveness of the proposed controller. Keywords: stochastic gradient descent with momentum; stochastic gradient descent; PID controller; whale optimization algorithm; proton exchange membrane fuel cell 1. Introduction 1.1. Motivations The climate has changed throughout history; most of these slight changes have been caused by a small variation in the earth orbit characterized by an abrupt increase in the temperature [ 1 ]. Various effects have already begun to appear in various parts of the world, causing serious problems in the natural environment and peoples’ lives. In order to remedy this matter and reduce its risks, all over the world, coal plants are being replaced by solar panels, solar thermal energy, wind turbines, and hydrogen power sources [ 2 ]. This latter option may be the key to storing renewable energy and could, therefore, change the face of the energy transition. Hydrogen accounts for 75% of all matter and is thought to be one of the three elements that were created in the big bang; it accounts for over 90% of all atoms in the universe and on earth, and is easy to produce from many compounds, for instance, water [ 3 ]. The cost of producing hydrogen from renewable energy is anticipated to slump by 50% by the middle of this century, and this could clear the way for even more green hydrogen [ 4 ]. Furthermore, people may one day be able to produce their own hydrogen at home [ 5 ]. The possibility has encouraged scientists and researchers to look towards to hydrogen cells. Proton exchange membrane fuel cells (PEMFCs) are among the most efficient electrical generators due to their properties such as high energy density, high performance, and high robustness, resulting in multiple applications such as in mobiles, cars, aircraft, and space shuttles [ 6 – 10 ]. The development of PEMFC systems for multiple applications has grown in recent years, and researchers have suggested a diversity of control Electronics 2022,11, 2610. https://doi.org/10.3390/electronics11162610 https://www.mdpi.com/journal/electronics
Electronics 2022,11, 2610 2 of 21 techniques from different strategies in order to improve the net output power. However, to extract the maximum net power, DC/DC converters are required to improve the efficiency of the PEMFC stack and to minimize the decrease in power generation efficiency due to the fluctuation of temperature and gas pressures [11]. 1.2. State of the Art In order to obtain greater power conversion from cells, many control techniques and algorithms have been adopted in the literature, such as neural network control (NNC) [12] , sliding mode control (SMC) [ 13 ], fuzzy logic control (FLC) [ 14 ], adaptive control [ 15 ], maximum power point tracking (MPPT) techniques [ 16 ], etc. Hence, in Ref. [ 17 ], a conventional SMC was used in a comparison of classical proportional–integral (PI) linear controllers. The proposed technique showed good results in terms of robustness against the extreme load variation. However, despite these results, the SMC still experiences the chattering phenomenon. Hu Peng et al. [ 18 ] established a dynamic model of the temperature mechanism of PEMFC based on control and designed a two-dimensional incremental fuzzy controller for the temperature of PEMFC with an integral link according to the established temperature model and empirical control rules. The results show that the model can simulate the dynamic characteristics of PEMFC, and when the temperature of PEMFC is controlled within the ideal working range, the designed controller can be used to control the temperature of PEMFC in real-time; it also has strong robustness. In Ref. [ 19 ], a fractional-order proportional–integral-derivative (FOPID) controller was applied to a four-switch buck-step-up DC/DC converter in order to stabilize the PEMFC output power. Simulation results showed that the proposed method achieved better performance than the integer-order controller. Silaa et al. [ 20 ] used a high-order sliding mode to keep the PEMFC system working at an efficient power point and as a solution for the chattering phenomenon. Experimental results showed that the proposed control provides a satisfactory result in a terms of reducing the chattering effect by up to 84%. However, despite these results, the proposed controller has a high-power overshoot against the fluctuating load variation. In Ref. [ 21 ], an MPPT using particle swarm optimization (PSO) combined with a proportional integral derivative (PID) controller was compared with the perturbing and observing (P&O) technique and sliding mode controller for a PEMFC. The simulation results showed that the proposed MPPT technique achieves a low overshoot, short response time, and low oscillations around the MPP. Ahmed et al. [ 22 ] designed a hybrid system consisting of wind and photovoltaic systems as the main source of energy. The fuel cell is installed as a piece of secondary equipment to guarantee a continuous power supply and to address the erratic nature of wind/photovoltaic supply. Derbeli et al. [ 23 ] used a high-order sliding mode compared to a conventional SMC to keep the PEMFC operating at a reference current. Results showed that the proposed algorithm was able to reduce the chattering impact by more than 82%, along with providing robustness against the load variation. In Ref. [ 24 ], an adequate power point was obtained using a PID controller. The PID controller was programmed to power the fuel cell by changing the boost converter’s pulse-width modulation (PWM). Results showed that the goal was accomplished by the proposed approach with better dynamics and good tracking efficiency. In Ref. [ 25 ], a PSO based on fuzzy logic (FL) was planned to keep the PEMFC running at an optimal power point. Simulation results showed a power overshoot and undershoot of more than 63%. Fan Liping et al. [ 26 ] established a mathematical model of a PEMFC and designed an adaptive FL controller for constant power fuel cells. Experiments show that the designed controller can attain a constant power output of from the PEMFC. Li et al. [ 27 ] proposed a fuzzy sliding mode controller to control the air supply flow to the PEMFC stack. The proposed controller has good robustness. The fuzzy sliding mode controller embeds a fuzzy logic inference mechanism in the conventional SMC, resulting in smooth control. The results show that the fuzzy synovial controller eliminates the chattering phenomenon of the traditional synovial controller. The comparison proves that the fuzzy synovial controller can significantly improve the control performance of a PEMFC. In Ref. [ 28 ], a PID optimized
Electronics 2022,11, 2610 3 of 21 by the grey wolf optimizer (PID-GWO), FOPID optimized by the grey wolf optimizer (FOPID-GWO), and a PID optimized by an extended grey wolf optimizer (PID-EGWO) were used to control a DC/DC boost converter linked to a PEMFC. Simulation results show better dynamics, good tracking efficiency, and faster convergence to the optimal solution. In Ref. [ 29 ], a model predictive control (MPC) method was designed for a DC/DC boost converter to keep a PEMFC working at an efficient power stage. Experimental results showed that the MPC technique is superior to the PI technique in terms of tracking accuracy, overshoot, and undershoot. 1.3. Contributions The main contribution of this paper is to design an adaptive PID controller using SGDM to control the DC/DC boost converter to achieve safe operation of the PEMFC system and to optimize the output power. The SGDM is used in order to set the PID adaptive gains according to the change of disturbances. Hence, the WOA algorithm is used to find the optimal adaptive rates, and is therefore injected into the SGDM technique. This paper is divided into three sections. Section 2describes the mathematical model of the PEM fuel cell. Section 3is devoted to the control methodology. Section 4presents the simulation results and the conclusion. 2. PEM Fuel Cell Modeling As shown in Figure 1, a PEMFC is made up of two plates, two electrodes, and two thin layers of platinum-based catalysts separated by a membrane. When the fuel (hydrogen) is injected, it reacts electrochemically to create electricity [ 30 ]. The hydrogen and the oxygen are fed through channels in the plates. Hydrogen flows on one side of the membrane and the oxygen on the other. The catalyst splits the hydrogen molecule into protons and electrons; the protons can pass through the membrane, while the electrons cannot and must pass through an external circuit, creating useful electricity. On the oxygen side of the membrane, the protons and the electrons react with the oxygen in the presence of a second catalyst layer, generating water, heat, and electrical energy [ 31 ]. The reactions at the level of the PEMFC are given in Equations (1)–(3) [32]: Anode: 2H2=⇒4H++ 4e−(1) Cathode: 4H++O2+ 4e−=⇒2H2O(2) Cell: 2H2+O2=⇒2H2O+ E.E (3) Figure 1. A cross-section of a PEMFC.
Electronics 2022,11, 2610 4 of 21 2.1. PEMFC Static Model According to [ 32 ], the Nernst (ENern) equation describes the cell’s electrochemical thermodynamic potential and gives the relationship between the open-circuit voltage of electrochemical cells under standard conditions and non-standard condition ( ENop ). The equation is as follows [32]: ENop =1.299 −0.85 ·10−3·(T−Tr) + 4.3085 ·10−5Tln(PH2) + 1 2·ln(PO2)(4) where T is the cell operating temperature, Tr represents the reference temperature in Kelvin, which is equal to 298.15 K at 25 ° C, and PO2 and PH2 represent the inlet oxygen and hydrogen gas pressures, respectively [32]. The following expression can define the output voltage of a single PEMFC [33]. VS f c =ENop −EAct −EOhm −ECon (5) where EAct , EOhm , and ECon represent the polarization potentials or the voltage losses that are generated by the reversibility of the system. The activation polarization EAct is due to the kinetics of the reactions taking place at the electrode/membrane reaction interface. This loss can be calculated using Equation (6) [33]: Eact =γ1+γ2·T+γ3·T·ln(CO2) + γ4·T·ln(If c)(6) where the parameters γ1 , γ2 , γ3 , and γ4 are the parametric coefficients for each PEMFC model; CO2is the oxygen concentration in the catalysts (mol/cm3). The EOhm polarization is caused by the electrical resistance of the different elements of the cell. This loss has two origins: the equivalent resistance of the membrane to proton conduction Rmem and the contact resistance Rcon between the bipolar plates and the electrodes. The EOhm voltage can be calculated using Equation (7) [33]: EOhm =If c ·(Rmem +Rcon)(7) where Rmem =Γmem ·l A(8) where l is the membrane thickness ( µ m), A is the cell active area (cm 2 ), and Γmem is the specific resistance of the membrane, which is obtained by the following [34]: Γmem =181.6[1+0.03(If c A) + 0.062(T 303)2(If c A)2.5] [ψ−0.634 −3(If c A)] ·exp [4.18(T−303)/T] (9) where ψ is the water content in the membrane, assuming a minimum and maximum value of 0 and 24, respectively. The concentration polarization ECon is caused by the variation in the concentration of reagents on the electrode. This loss can be calculated using Equation (10) [34]: Econ =δ·ln1−J Jmax (10) where δ , J , and Jmax are the constant parameters, the current density, and the maximum current density, respectively. A single PEMFC output voltage under standard conditions does not exceed 1.29 V. In order to produce the required amount of power, it is necessary to have cells in series, which finally forms a stack. Thereafter, the power generated by the PEMFC stack is given in Equation (11) [35]: Pstack =VS f c ·If c ·NCell (11)
Electronics 2022,11, 2610 5 of 21 where If c represents the single cell current and NCell represents the number of stack layers. The PEMFC static model is represented in Figure 2. Figure 2. PEMFC static model. The PEMFC parameters used in the simulation are given in Table 1: Table 1. PEMFC parameters. Parameter Value A162 cm2 l175 ·10−6cm ψ23 δ0.1 V Rcon 0.0003 Jmax 0.062 A·cm−1 NCell 10 γ10.9514 V γ2−0.00312 V/K γ3−7.4 ·10−5V/K γ41.87 ·10−4V/K 2.2. PEMFC Dynamic Model In a PEMFC, the two electrodes are separated by a solid membrane that allows protons to pass and blocks the flow of electrons. The electrons flow from the anode through the external charge and are collected at the surface of the cathode, to which the hydrogen protons are attracted at the same time. Thus, two charged layers of opposite polarities are formed across the porous boundary between the cathode and the membrane. The layers are known as “double electrochemical layers” and can store electrical energy and behave like a super capacitor [ 36 ]. The PEMFC equivalent circuit showing this effect is presented in Figure 3. Figure 3. PEMFC equivalent circuit.
Electronics 2022,11, 2610 6 of 21 The electrodes of a PEMFC are porous. The capacitance is very large and can be of the order of several farads. Ract and Rconc are the activation equivalent resistance and the concentration equivalent resistance, respectively [ 37 ]. By using Kirchhoff’s law, the dynamical equation of the model is represented by [38]: dVd dt = ( I C−Vd τ)(12) where Vd is the dynamical voltage across the capacitor, C is the equivalent capacitor, and τ is the PEMFC time constant, which is given by the following equation [38]: τ=C·(Ract +Rconc) = C·(EAct +ECon I)(13) Therefore, the PEMFC voltage is given by the equation below [38,39]: VS f c =ENern −Vd−IRohm (14) where Rohm,act,conc represent the ohmic, activation, and concentration resistances, respectively. Using Equations (12) and (13) and the Laplace transformations in Equation (14), the PEMFC voltage is given as follows [39]: VS f c =ENern −EAct +ECon sC ·(EAct +ECon) + 1+Rohm·I(15) According to [ 39 ], PEMFC inlet gas pressures are variable in different conditions. In order to calculate the dynamic partial pressures, each individual gas is considered separately and the ideal gas equation is applied for each one [ 40 ]. The partial gas pressures are given as follows [41]: PH2= 1 KH2 (1+τH2)·(qH2−2·I·Kr)(16) PO2= 1 KO2 (1+τO2)·(qO2−2·I·Kr)(17) where τH2=Van R·T·KH2 τO2=Van R·T·KO2 (18) By using the previous equations, the PEMFC dynamic model can be represented, as in Figure 4. Figure 4. PEMFC dynamic model. The meanings of the variables used in Equations (16)–(18) are listed in Table 2.
Electronics 2022,11, 2610 7 of 21 Table 2. PEMFC nomenclature. Variable Meaning KH2Hydrogen valve molar constant (kmol/atm·s) KO2Oxygen valve molar constant (kmol/atm·s) τH2Hydrogen time constant (s) τO2Oxygen time constant (s) qH2Molar flow rate of hydrogen (Kmol/s) qO2Molar flow rate of oxygen (Kmol/s) KrModeling constant (Kmol/s·A) RUniversal gas constant (1·atm/Kmol·K) Van Volume of the anode (cm3) 3. Control Methodology In this section, an adaptive PID using SGDM and SGD is designed in order to stabilize the PEMFC and keep it operating at a reference current Ire f . The closed loop system consists of a PEMFC stack, a DC/DC boost converter, a P & O MPPT technique, a controller, and finally, a load, as shown in Figure 5. Figure 5. Closed loop system. 3.1. DC/DC Boost Converter A step-up DC/DC converter is a simple electronic circuit that combines a switching element with a coil, a capacitor, and a diode, as shown in Figure 6. This converter works in order to obtain a DC output voltage higher than the input voltage. The important point to understand about the circuit is that the positions of the switching element (transistor), coil, and diode are different [ 42 ]. When the switch is turned ON and the current flows in, the coil stores energy; when the switch is turned OFF , the stored energy is released and the induced current flows in a direction that prevents the current change. The longer the switch is ON , the higher the output voltage is, and the longer the switch is OFF , the lower the output voltage is. The required output voltage can be obtained by controlling the ON / OFF time (duty cycle). The boost converter state space is given in Equation (19) [43]:
Electronics 2022,11, 2610 8 of 21 Figure 6. Step-up DC/DC converter diagram. "˙ x1 ˙ x2#="0−(1−d) L (1−d) C−1 RC #.x1 x2+1 L 0VS f c y=0 1 .x1 x2 (19) where x= [x1,x2]T= [iL,Vout]T. The step-up DC/DC converter parameters used in the simulation are illustrated in Table 3. Table 3. DC/DC boost converter parameters. Parameter Value Inductance (L) 6.9 ·10−2H Capacitor (C) 150 ·10−7F Max fSw 10 kHz Max in voltage 25 V Max in current 18 A Max out voltage 80 V Max out current 2 A 3.2. Adaptive PID Using SGD The adaptation optimum method used for the PID controller, known as SGD, consists of iteratively adjusting all of the proposed controller coefficients according to their calculated gradients in order to minimize the error function. The discreet PID general form is given as follows [44]: u(k) = u(k−1) + Kp[e(k)−e(k−1)] + Kie(k) + Kd[e(k)−2e(k−1) + e(k−2)] (20) where Kp , Ki , and Kd represent the proportional, integral, and derivative gains, respectively, and kis the time instance. The general mathematical formula for the SGD is given as follows [45]: w(k+1) = w(k)−µ∂L(k) ∂w(k)(21)
Electronics 2022,11, 2610 9 of 21 where µ∈( 0,1 ) is the adaptive rate and L is the loss function, which is defined as follows [45]: L(k) = 1 2e(k)2=1 2(r(k)−y(k))2=1 2(Ire f (k)−IL(k))2(22) Therefore, the updated gains of the PID controller using SGD are given by the following equation: Kp,i,d(k+1) = Kp,i,d(k)−µp,i,d ∂L(k) ∂Kp,i,d(k)(23) where subscripts p , i , and d indicate the values of Kp , Ki , and Kd , respectively. Equation (23) can be expressed by the following formula: ∆Kp,i,d(k) = −µp,i,d ∂L(k) ∂Kp,i,d(k)=−µp,i,d ∂L(k) ∂IL(k) ∂IL(k) ∂u(k) ∂u(k) ∂Kp,i,d(k)(24) Using Equations (20) and (22), the discrete partial derivative terms of Equation (24) can be expressed by the following formulas: ∂L(k) ∂IL(k)=−e(k) = −(Ire f (k)−IL(k)) ∂IL(k) ∂u(k)=IL(k)−IL(k−1) u(k)−u(k−1) ∂u(k) ∂Kp(k)=e(k)−e(k−1) ∂u(k) ∂Ki(k)=e(k) ∂u(k) ∂Kd(k)=e(k)−2e(k−1) + e(k−2) (25) Therefore, by substituting formulas of Equation (25) into Equation (24), the adaptive gains can be expressed as follows: ∆Kp(k) = µp·e(k)·IL(k)−IL(k−1) u(k)−u(k−1)·[e(k)−e(k−1)] (26) ∆Ki(k) = µi·e(k)·IL(k)−IL(k−1) u(k)−u(k−1)·e(k)(27) ∆Kd(k) = µd·e(k)·IL(k)−IL(k−1) u(k)−u(k−1)·[e(k)−2e(k−1) + e(k−2)] (28) 3.3. Adaptive PID Using SGDM While SGD is a very popular optimization method, its learning process can sometimes be slow. The momentum method is designed to speed up learning (Figure 7), especially when dealing with gradients with high curvature, small but consistent gradients, or noisy gradients [46]. Figure 7. SGDM vs. SGD.
Electronics 2022,11, 2610 16 of 21 detail, the increase of capacitance leads to a change in the system dynamics and slower system response. In the opposite case, when the capacitance decreases, system response is faster and there is a residual ripple increase. Figure 14. ( a ) PEMFC current control robustness analysis: effect of L variation; ( b ) PEMFC current control robustness analysis: effect of C variation. Figure 15 exhibits the demeanor of the boost converter output signals under PIDSGDM, PIDSGD, and PID-ZN. According to this figure, smooth and gradual movements to the desired value are achieved using the PIDSGDM, PIDSGD, and PID-ZN. Furthermore, PIDSGDM, and PIDSGD have fast convergence, which is clearly presented in this figure. On the deep side, according to the current and power results, it is notable that the three controllers have approximately the same performance in terms of overshoot and undershoot. On the other hand, the PIDSGDM and PIDSGD can successfully bear the voltage overshoot, unlike the PID-ZN controller. However, these overshoots and undershoots can theoretically be considerably reduced by using an extra capacitor on the input side of the converter. Nevertheless, adding extra capacitance may lead to a change in the system dynamics, slower system response, and steady-state errors.
Electronics 2022,11, 2610 17 of 21 Figure 15. ( a ) Step-up converter output current; ( b ) step-up converter output voltage; ( c ) step-up converter output power. The obtained adaptation gains Kp , Ki , and Kd for the PIDSGDM and PIDSGD are shown in Figure 16. Figure 16. (a) Adaptive gain Kp; (b) adaptive gain Ki; (c) adaptive gain Kd. According to these results, the proposed PIDSGDM dynamic performance, especially fast-tracking time, avoids the gas starvation phenomena that occur when gas transmission lags behind the speed of current change, and there is no apparent performance effect on the external characteristics such as the output voltage and output power of the PEMFC. This ability is more significant in the case of stepped variation, which is considered the hardest case. During the simulation, the control performance was further validated using a Simulink profiler [ 15 , 54 ]. The profiler collects performance data while simulating and creates a report based on this data, known as a simulation profile, which provides the amount of Simulink time spent performing each function to simulate the model. The profile assists in identifying the model components that need the most time to simulate, and
Electronics 2022,11, 2610 18 of 21 thus, where to concentrate model optimization efforts. According to the Simulink profiler, the computational complexity terms of the control strategies are summarized in Table 7. As remarked, the complexity terms of the control techniques are approximately similar, ranging between 0.88%–1.22%, which is a very low complexity term compared to the whole model. Table 7. Computational complexity summary. Algorithm Time Calls Time/Call Self Time PIDSGDM 0.058–1.22% 600127 0.0000000966 0.057–2.19% PIDSGD 0.051–1.07% 570155 0.0000000897 0.048–1.84% PID-ZN 0.020–0.88% 18005 0.0000011 0.0020–0.33% 5. Conclusions In this paper, an adaptive PID using SGDM was proposed that is effective and has a low complexity of implementation. This is applied to a simple DC/DC boost converter in order to achieve safe operation of a PEMFC system and to optimize the output power quality. The proposed controller was compared with the PIDSGD and PID-ZN techniques. Based on the results, an overshoot reduction up to 98% and an undershoot reduction up to 94% were achieved. The simulation comparison demonstrates that the PIDSGDM can bear disturbances and offers low response time, high robustness, and overshoot and undershoot, which leads to a minimization of the power losses. Consequently, as is demonstrated in the results, the proposed controller provides safe operation and an optimal solution for a PEMFC system affected by external disturbances. Author Contributions: Conceptualization, M.Y.S.; methodology, M.Y.S.; software, M.Y.S.; validation, M.Y.S., O.B. and A.B.; formal analysis, M.Y.S. and A.B.; investigation, M.Y.S., O.B. and A.B.; resources, O.B.; data curation, M.Y.S. and A.B.; writing—original draft preparation, M.Y.S.; writing—review and editing, M.Y.S., O.B. and A.B.; visualization, M.Y.S., O.B. and A.B.; supervision, O.B.; project administration, O.B.; funding acquisition, O.B. All authors have read and agreed to the published version of the manuscript. Funding: The authors wish to express their gratitude to the Basque Government through the project EKOHEGAZ (ELKARTEK KK-2021/00092), to the Diputación Foral de Álava (DFA) through the project CONAVANTER, and to the UPV/EHU through the project GIU20/063 for supporting this work. Acknowledgments: The authors wish to express their gratitude to the Basque Government through the project EKOHEGAZ (ELKARTEK KK-2021/00092), to the Diputación Foral de Álava (DFA) through the project CONAVANTER, and to the UPV/EHU through the project GIU20/063 for supporting this work. Conflicts of Interest: The authors declare no conflict of interest. Abbreviations The following abbreviations are used in this manuscript: SGD Stochastic gradient descent SGDM Stochastic gradient descent with momentum WOA Whale optimization algorithm ZN Ziegler Nichols PEMFCs Proton exchange membrane fuel cells SMC Sliding mode control PI Proportional–integral
Electronics 2022,11, 2610 19 of 21 MPC Model predictive control FOPID Fractional-order proportional-integral-derivative MPPT Maximum power point technique PSO Particle swarm optimization PID Proportional integral derivative P&O Perturb and observe PWM Pulse-width modulation FL Fuzzy logic GWO Grey wolf optimizer EGWO Extended grey wolf optimizer References 1. Anderson, T.R.; Hawkins, E.; Jones, P.D. CO 2 , the greenhouse effect and global warming: From the pioneering work of Arrhenius and Callendar to today’s Earth System Models. Endeavour 2016,40, 178–187. [CrossRef] [PubMed] 2. Kåberger, T. Progress of renewable electricity replacing fossil fuels. Glob. Energy Interconnect. 2018,1, 48–52. 3. Magoon, C.R., Jr. Creation and the Big Bang: How God Created Matter from Nothing; WestBow Press: Bloomington, IN, USA, 2018. 4. Choudhury, D.C.; Kraft, D.W. Big Bang Nucleosynthesis and the Missing Hydrogen Mass in the Universe. Am. Inst. Phys. 2004 , 698, 345–348. 5. Williams, B.D.; Kurani, K.S. Commercializing light-duty plug-in/plug-out hydrogen-fuel-cell vehicles: “Mobile Electricity” technologies and opportunities. J. Power Sources 2007,166, 549–566. [CrossRef] 6. Verastegui, J.E.E.; Zamora Antuñano, M.A.; Resendiz, J.R.; García, R.; Kañetas, P.J.P.; Ordaz, D.L. Electrochemical Hydrogen Production Using Separated-Gas Cells for Soybean Oil Hydrogenation. Processes 2020,8, 832. [CrossRef] 7. Derbeli, M.; Barambones, O.; Ramos-Hernanz, J.A.; Sbita, L. Real-time implementation of a super twisting algorithm for PEM fuel cell power system. Energies 2019,12, 1594. [CrossRef] 8. Delgado, S.; Lagarteira, T.; Mendes, A. Air Bleeding Strategies to Increase the Efficiency of Proton Exchange Membrane Fuel Cell Stationary Applications Fuelled with CO ppm-Levels. Available online: https://hdl.handle.net/10216/138585 (accessed on 23 July 2022) . 9. Mardle, P.; Ji, X.; Wu, J.; Guan, S.; Dong, H.; Du, S. Thin film electrodes from Pt nanorods supported on aligned N-CNTs for proton exchange membrane fuel cells. Appl. Catal. B Environ. 2020,260, 118031. [CrossRef] 10. García-Olivares, A.; Solé, J.; Samsó, R.; Ballabrera-Poy, J. Sustainable European transport system in a 100% renewable economy. Sustainability 2020,12, 5091. [CrossRef] 11. Gaboriault, M.; Notman, A. A high efficiency, noninverting, buck-boost DC-DC converter. In Proceedings of the Nineteenth Annual IEEE Applied Power Electronics Conference and Exposition 2004, APEC’04, Anaheim, CA, USA, 22–26 February 2004; Volume 3, pp. 1411–1415. 12. Rodríguez-Abreo, O.; Rodríguez-Reséndiz, J.; Fuentes-Silva, C.; Hernández-Alvarado, R.; Falcón, M.D.P.T. Self-tuning neural network PID with dynamic response control. IEEE Access 2021,9, 65206–65215. [CrossRef] 13. Utkin, V.I.; Vadim, I. Sliding mode control. Var. Struct. Syst. Princ. Implement. 2004,66, 1–8. 14. García-Martínez, J.R.; Cruz-Miguel, E.E.; Carrillo-Serrano, R.V.; Mendoza-Mondragón, F.; Toledano-Ayala, M.; RodríguezReséndiz, J. A PID-type fuzzy logic controller-based approach for motion control applications. Sensors 2020 ,20, 5323. [CrossRef] 15. Dini, P. Saponara, S. Design of adaptive controller exploiting learning concepts applied to a BLDC-based drive system. Energies 2020,13, 2512. [CrossRef] 16. Villegas-Mier, C.G.; Rodriguez-Resendiz, J.; Álvarez-Alvarado, J.M.; Rodriguez-Resendiz, H.; Herrera-Navarro, A.M.; RodríguezAbreo, O. Artificial neural networks in MPPT algorithms for optimization of photovoltaic power systems: A review. Micromachines 2021,12, 1260. [CrossRef] 17. Derbeli, M.; Barambones, O.; Farhat, M.; Sbita, L. Efficiency boosting for proton exchange membrane fuel cell power system using new MPPT method. In Proceedings of the 10th International Renewable Energy Congress (IREC), Sousse, Tunisia, 26–28 March 2019; Volume 3, pp. 1–4. 18. Hu, P.; Cao, G.; Zhu, X.; Hu, M. Coolant circuit modeling and temperature fuzzy control of proton exchange membrane fuel cells. Int. J. Hydrogen Energy 2010,35, 9110–9123. [CrossRef] 19. Qi, Z.; Tang, J.; Pei, J.; Shan, L. Fractional controller design of a DC-DC converter for PEMFC. IEEE Access 2020 ,8, 120134–120144. [CrossRef] 20. Silaa, M.Y.; Derbeli, M.; Barambones, O.; Cheknane, A. Design and implementation of high order sliding mode control for PEMFC power system. Energies 2020,13, 4317. [CrossRef] 21. Ahmadi, S.; Abdi, S.; Kakavand, M.A. Maximum power point tracking of a proton exchange membrane fuel cell system using PSO-PID controller. Int. J. Hydrogen Energy 2017,42, 20430–20443. [CrossRef] 22. Ahmed, N.A.; Al-Othman, A.; AlRashidi, M.R. Development of an efficient utility interactive combined wind/photovoltaic/fuel cell power system with MPPT and DC bus voltage regulation. Electr. Power Syst. Res. 2011,81, 1096–1106. [CrossRef]
Electronics 2022,11, 2610 20 of 21 23. Derbeli, M.; Barambones, O.; Farhat, M.; Ramos-Hernanz, J.A.; Sbita, L. Robust high order sliding mode control for performance improvement of PEM fuel cell power systems. Int. J. Hydrogen Energy 2020,45, 29222–29234. [CrossRef] 24. Choe, S.; Lee, J.; Ahn, J.; Baek, S. Integrated modeling and control of a PEM fuel cell power system with a PWM DC/DC converter. J. Power Sources 2007,164, 614–623. [CrossRef] 25. Luta, D.N.; Raji, A.K. Fuzzy rule-based and particle swarm optimisation MPPT techniques for a fuel cell stack. Energies 2019 , 12, 936. [CrossRef] 26. Fan, L.; Liu, Y. Fuzzy logic based constant power control of a proton exchange membrane fuel cell. Methods 2012,2, 2. 27. Li, C.; Sun, Z.; Wang, Y.; Wu, X. Fuzzy sliding mode control of air supply flow of a PEM fuel cell system. Unifying Electr. Eng. Electron. Eng. 2014,2, 933–942. 28. Silaa, M.Y.; Barambones, O.; Derbeli, M.; Napole, C.; Bencherif, A. Fractional Order PID Design for a Proton Exchange Membrane Fuel Cell System Using an Extended Grey Wolf Optimizer. Processes 2022,10, 450. [CrossRef] 29. Derbeli, M.; Charaabi, A.; Barambones, O.; Napole, C. High-performance tracking for proton exchange membrane fuel cell system PEMFC using model predictive control. Mathematics 2021,9, 1158. [CrossRef] 30. Pushkarev, A.S.; Pushkareva, I.; Bessarabov, D.G. Supported Ir-Based Oxygen Evolution Catalysts for Polymer Electrolyte Membrane Water Electrolysis: A Minireview. Energy Fuels 2022,36, 6613–6625. [CrossRef] 31. Pourrahmani, H. Water management of the proton exchange membrane fuel cells: Optimizing the effect of microstructural properties on the gas diffusion layer liquid removal. Energy 2022,256, 124712. [CrossRef] 32. Derbeli, M.; Barambones, O.; Silaa, M.Y.; Napole, C. Real-time implementation of a new MPPT control method for a DC-DC boost converter used in a PEM fuel cell power system. Actuators 2020,9, 105. [CrossRef] 33. Qais, M.H.; Hasanien, H.M.; Turky, R.A.; Alghuwainem, S.; Loo, K.; Elgendy, M. Optimal PEM Fuel Cell Model Using a Novel Circle Search Algorithm. Electronics 2022,11, 1808. [CrossRef] 34. Sharma, A.; Khan, R.A.; Sharma, A.; Kashyap, D.; Rajput, S. A Novel Opposition-Based Arithmetic Optimization Algorithm for Parameter Extraction of PEM Fuel Cell. Electronics 2021,10, 2834. [CrossRef] 35. Trinh, H.; Truong, H.; Ahn, K.K. Development of Fuzzy-Adaptive Control Based Energy Management Strategy for PEM Fuel Cell Hybrid Tramway System. Appl. Sci. 2022,12, 3880. [CrossRef] 36. Belhaj, F.Z.; El Fadil, H.; Idrissi, Z.E.; Koundi, M.; Gaouzi, K. Modeling, analysis and experimental validation of the fuel cell association with DC-DC power converters with robust and anti-windup PID controller design. Electronics 2020 ,9, 1889. [CrossRef] 37. Kularatna, N. Dynamics, models, and management of rechargeable batteries. In Energy Storage Devices for Electronic Systems, Rechargeable Batteries and Supercapacitors; Hillcrest: Hamilton, New Zealand, 2015; pp. 63–135. 38. Outeiro, M.; Chibante, R.; Carvalho, A.; de Almeida, A.T. Dynamic modeling and simulation of an optimized proton exchange membrane fuel cell system. ASME Int. Mech. Eng. Congr. Expo. 2007,43092, 171–178. 39. Benchouia, N.; Hadjadj, A.; Derghal, A.; Khochemane, L.; Mahmah, B. Modeling and validation of fuel cell PEMFC. J. Renew. Energies 2013,16, 365–377. 40. Chakraborty, U.K. A new model for constant fuel utilization and constant fuel flow in fuel cells. Appl. Sci. 2019 ,9, 1066. [CrossRef] 41. Derbeli, M.; Farhat, M.; Barambones, O.; Sbita, L. Control of PEM fuel cell power system using sliding mode and super-twisting algorithms. Int. J. Hydrogen Energy 2017,42, 8833–8844. [CrossRef] 42. Tiwari, R.; Krishnamurthy, K.; Neelakandan, R.B.; Padmanaban, S.; Wheeler, P. Neural network based maximum power point tracking control with quadratic boost converter for PMSG—Wind energy conversion system. Electronics 2018,7, 20. [CrossRef] 43. Silaa, M.Y.; Derbeli, M.; Barambones, O.; Napole, C.; Cheknane, A.; Gonzalez De Durana, J.M. An efficient and robust current control for polymer electrolyte membrane fuel cell power system. Sustainability 2021,13, 2360. [CrossRef] 44. Prodic, A.; Maksimovic, D. Design of a digital PID regulator based on look-up tables for control of high-frequency DC-DC converters. In Proceedings of the 2002 IEEE Workshop on Computers in Power Electronics, Mayaguez, PR, USA, 3–4 June 2002; pp. 18–22. 45. Shyla, S.; Bhatnagar, V.; Bali, V.; Bali, S. Optimization of Intrusion Detection Systems Determined by Ameliorated HNADAM-SGD Algorithm. Electronics 2022,11, 507. [CrossRef] 46. Yaqub, M.; Feng, J.; Zia, M.S.; Arshid, K.; Jia, K.; Rehman, Z.U.; Mehmood, A. State-of-the-art CNN optimizer for brain tumor segmentation in magnetic resonance images. Brain Sci. 2020,10, 427. [CrossRef] 47. Sutskever, I.; Martens, J.; Dahl, G.; Hinton, G. On the importance of initialization and momentum in deep learning. Int. Conf. Mach. Learn. 2013, 1139–1147. 48. Sun, Y.; Liu, Y.; Zhou, H.; Hu, H. Plant diseases identification through a discount momentum optimizer in deep learning. Appl. Sci. 2021,11, 9468. 49. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016,95, 51–67. [CrossRef] 50. Jegha, A.G.; Subathra, M.; Kumar, N.M.; Ghosh, A. Optimally tuned interleaved Luo converter for PV array fed BLDC motor driven centrifugal pumps using whale optimization algorithm—A resilient solution for powering agricultural loads. Electronics 2020,9, 1445. [CrossRef] 51. Huang, W.; Zhang, G.; Jiao, S.; Wang, J. Bearing Fault Diagnosis Based on Stochastic Resonance and Improved Whale Optimization Algorithm. Electronics 2022,11, 2185. [CrossRef] 52. Gharehchopogh, F.S.; Gholizadeh, H. A comprehensive survey: Whale Optimization Algorithm and its applications. Swarm Evol. Comput. 2019,48, 1–24. [CrossRef]
Electronics 2022,11, 2610 21 of 21 53. Pereira, L.F.d.S.; Batista, E.; de Brito, M.A.; Godoy, R.B. A Robustness Analysis of a Fuzzy Fractional Order PID Controller Based on Genetic Algorithm for a DC-DC Boost Converter. Electronics 2022,11, 1894. [CrossRef] 54. Dini, P.; Saponara, S. Cogging torque reduction in brushless motors by a nonlinear control technique. Mathematics 2019 ,12, 2224. [CrossRef]