## Solving Engineering and Science Problems Using Complex Bio-inspired Computation Approaches

View this Special IssueResearch Article | Open Access

Yashan Xing, Ramon Costa-Castelló, Jing Na, "Temperature Control for a Proton-Exchange Membrane Fuel Cell System with Unknown Dynamic Compensations", *Complexity*, vol. 2020, Article ID 8822835, 14 pages, 2020. https://doi.org/10.1155/2020/8822835

# Temperature Control for a Proton-Exchange Membrane Fuel Cell System with Unknown Dynamic Compensations

**Academic Editor:**Zhile Yang

#### Abstract

Numerous control strategies of temperature regulation have been carried out for proton-exchange membrane fuel cell systems including a cooling fan in order to ensure operation at the desired condition and extend the lifetime of the fuel cell stack. However, most existing control strategies are developed without considering the efficiency limitation of the cooling system such that the cooling fan may be unable to eliminate the additional heat. Moreover, there are unknown modelling errors, external disturbance and noise during modelling and experiment processes for fuel cells. Due to those unknown dynamics, the conventional control strategies may fail to achieve the expectant results. To address this issue, an alternative control strategy is proposed in this paper, which consists of a composite proportional-integral (PI) controller with an unknown system dynamics estimator. First, the control strategy is developed by reducing the temperature of input air through the humidifier and simultaneously increasing the mass flow of air in order to eliminate the excess heat that a cooling fan cannot remove. Moreover, an unknown system dynamics estimator is proposed in order to compensate the effect of the unknown dynamics. The construction of the estimator is designed through finding an invariant manifold which implies the relation between known variables and the unknown manifold. The invariant manifold is derived by applying a simple low-pass filter to the system which is beneficial to avoid the requirement of the unmeasurable state derivative. Furthermore, the proposed estimator is easily merged into the proposed PI control strategy and ensures the exponential convergence of estimated errors. Besides, the estimator is further modified such that the derivative of the desired temperature is not required in the controller. Finally, numerical simulations of the PEMFC system are provided and the results illustrate the efficacy of the proposed control strategy.

#### 1. Introduction

Proton-exchange membrane fuel cell (PEMFC) is regarded as one of the cleanest alternative energy conversions which is promising to replace traditional power generation technologies [1]. The energy conversion principle of PEMFC is to transform chemical energy into electricity, thermal energy, and water without requiring any moving part. Due to its properties of low operation temperature and fast start-up compared with other types of fuel cells, it has drawn wide attention in the fields of power station systems and vehicle systems [2, 3]. However, there are numerous stumbling blocks for widely commercial applications [4, 5].

PEMFC involves a multiphysics coupling process which leads to some difficulties for control strategy design and implementation. Among those, temperature regulation of PEMFC stack is essential to ensure the high operation efficiency, avoid the thermal fatigue, and prolong the stack lifespan [6, 7]. Several control strategies regarding the temperature regulation have been carried out in recent years. In [8], an extremum seeking control with a proportional-integral (PI) controller was proposed in order to achieve the optimal temperature regulation. In [9], the temperature control strategy was proposed for a PEMFC system with a water cooling system, where the voltage of a water circulation pump was manipulated through a PI controller, and a water cooling fan was under the on/off modes. In [10], a more advanced fuzzy logic controller was applied to regulate the speed of the cooling fan and increase the convection ratio between PEMFC and atmosphere. However, the proposed control strategy is validated for a low-power PEMFC. Thus, the limitation of cooling capacity is not considered in those aforementioned control strategies [8–10]. When the generated heat from PEMFC is higher than the dissipated heat from the cooling system, the temperature of PEMFC will keep increasing. Recently, Chen et al. [11] considered the limited capacity of a water cooling system and current constraint in the PEMFC system and proposed three temperature control strategies, which developed a constrained model predictive control (MPC) strategy, and designed duty ratio split controller and current governor both based on the proportiona-integral-derivative (PID) control in order to implement the trade-off between cooling capacity and power demand.

On the other hand, most control strategies mainly depend on a reliable mathematical model while more accurate models with multiple dimensions can introduce mathematical complexities. Due to those complexities, many control design methodologies cannot be applied. Moreover, the control-oriented model contains unmodelled dynamics and modelling errors due to model simplification process. Besides, external disturbances and noise from the experiment cannot be avoided. Those unknown dynamics may result in unexpected control results and even cause system unstable. Thus, it is significant to develop an estimator or an observer to eliminate the unknown disturbance and enhance the controller performance.

In this line, the disturbance observer (DOB) was first proposed to address the unknown dynamics [12, 13]. Furthermore, the modified DOB for nonlinear system was designed in [14]. Moreover, the extended state observer (ESO) [15, 16] as an alternative method was developed, where the extended states of the unknown dynamics and the initial states were observed simultaneously. In [17], the ESO incorporated into a sliding mode control was used to achieve the temperature regulation in PEMFC. More recently, a modified ESO based on the Kalman-Bucy filter was incorporated into PID control to implement the temperature management for PEMFC in [18]. Besides, a new framework of unknown system dynamics estimator (USDE) [19] was proposed to deal with the unknown dynamics. It has been incorporated in many control strategies and applied in many industrial fields, such as hydraulic servo systems [20], nonlinear robotic systems [21], and spark ignition engines [22]. However, designing a proper control strategy with consideration of unknown dynamics remains as an open and interesting problem for PEMFC.

This paper aims to propose an alternative control strategy of temperature regulation for a PEMFC system with consideration of the cooling fan limitation. Moreover, the unknown dynamic compensation is developed in order to enhance the performance for the proposed controller. To be specific, we first consider the limitation of the fan efficiency, where the maximum energy generated from a cooling fan is not enough to force the stack temperature into the desired value. Due to this limitation, the control strategy is proposed through increasing the mass flow of the input air and reducing the temperature of the humidifier to implement PEMFC temperature management. By considering the practical application, this control strategy is developed based on the PI controller. Furthermore, an unknown system dynamics estimator (USDE) is used in order to compensate the effect of the unknown dynamics. The construction of this estimator is through generating an invariant manifold in order to ensure the exponential convergence of the estimation errors, where the invariant manifold provides the information between known variables and the unknown dynamics. It is noticed that the derived estimator is easily merged into the proposed PI control strategy without introducing any complexity. Since the derivative of the desired temperature is not measurable, the estimator is further modified such that the derivative of the desired temperature is not required in the proposed controller. To summarize, the main contributions of the proposed control strategy are as follows:(1)The proposed estimator for unknown dynamics is simple and easy to incorporate into the controller through finding an invariant manifold. It is significant for practical application that the construction of the invariant manifold is based on a simple low-pass filter operation without introducing the unmeasurable state derivative. Moreover, only one parameter of the bandwidth for the low-pass filter is required to be tuned.(2)With consideration of the limited operation property of the cooling fan, the control strategy is proposed through increasing air mass flow and reducing the temperature of input air such that the voltage change is affected less and the desired temperature can be guaranteed simultaneously.

The rest of the paper is organised as follows. In Section 2, the model description of the PEMFC system and the relevant problem formulation are presented. Section 3 and Section 4 illustrate the control strategy for the PEMFC system with respect to the USDE and the composite PI controller. The numerical results of the proposed controller for the PEMFC system are provided in Section 5. Finally, the conclusions are given in Section 6.

#### 2. Model Description of PEMFC System

##### 2.1. Model Description

In this section, a PEMFC system is first introduced, and its schematic diagram is depicted in Figure 1. The PEMFC system mainly consists of two humidifiers, two line heaters, a cooling fan, and a fuel cell stack. To begin with, the fuel cell stack is a low-temperature PEMFC with 8 cells with an active area of 50 . The combination of anode, cathode, and electrolyte layer constitutes the core of PEMFC in the sandwich structure, as depicted in Figure 2. With respect to gas transport processes in the PEMFC system, the compressed air is first fed into the cathode channel through a humidifier and a line heater. Due to the material property of electrolyte, the PEMFC stack requires enough humidity for the electrolyte layer. Before entering into the fuel cell stack, the supplied gases need to pass through the humidifier and the line heater in order to guarantee the required humidity and maintain the gas temperature in the pipelines simultaneously. In the anode channel, the pure hydrogen is provided by a hydrogen tank and goes through another humidifier and another line heater such that the hydrogen is injected with some required water vapor. Furthermore, the hydrogen ions can pass through the electrolyte to cathode layer and react with oxygen. During this process, there is some generated water which can affect the humidity in each channel. When the relative humidity of each channel exceeds 100%, the vapor condenses into the liquid form. In this paper, we assume the liquid water cannot leave the stack until it evaporates into a gas form. Finally, the unreacted gases will be exhausted to atmosphere, and the output water vapor will be cooled down and stored in the outside vessel.

For the cooling system, there is a fan (Fan 1 in Figure 1) which works for regulating the PEMFC temperature. In practice, this fan is not efficient enough to regulate the PEMFC temperature when PEMFC operates at the high power condition. Moreover, the humidifier contains internal resistances to heat the injected liquid water and the input gases, while the cooling system is not included in the internal structure of the humidifier. Due to the constraint of this structure, the cooling dynamics of the humidifier is extremely slow. The outside fan (fan 2 in Figure 2) is used to help reduce the humidifier temperature at the cathode side. Therefore, the relevant modelling of the humidifier, the line heater, and PEMFC stack including cooling process of the fan will be presented in the following.

###### 2.1.1. Auxiliary Components

The humidifier is used to ensure the desired relative humidity of input gases. Its main process is that the water in the vapor form is injected into input gases. Thus, the total mass flow of output gases from the humidifier is expressed aswhere represents the anode or cathode channel in PEMFC and is the input gas flow for the humidifier at the side . In order to achieve the desired relative humidity, the required vapor water injected into the input gases can be computed aswhere is the desired relative humidity of output gases; is the molar mass of water; The average molar mass of gases for the channel is denoted as ; represents the pressure of input gases. And is the pressure of vapor saturation at the humidifier temperature . Moreover, the saturation pressure related to the relevant temperature is approximately calculated as [23]

The output gases from the humidifier enter into PEMFC stack through a pipeline. The temperature of this pipeline has some effect on the gas pressure and relative humidity. In order to avoid vapor condensation and maintain desired relative humidify of input gases, the line heater is installed on the pipe. Based on Dalton’s law, the partial pressure of vapor water at the line heater is calculated aswhere is the temperature of the line heater. The partial pressure of injected vapor is denoted as . Moreover, the relative humidity of gases at the line heater is expressed aswhere *P*_{sat}is the saturation pressure of vapor at the line heater temperature , which can be calculated by (3).

###### 2.1.2. PEMFC Stack

For control design purpose, we assume that the temperature of gases in the stack is the same as the electrolyte structure. The temperature variation along the structure dimension is not considered in this paper. Based on the energy conservation principle, the thermal energy balance of PEMFC is built as follows:where and are the mass and the temperature of PEMFC, respectively. The specific heat capacity of PEMFC is denoted as ; is the output voltage of PEMFC; is regarded as the unknown disturbance. The input energy values of cathode and anode layers generated by the input gases calculated bywhere denotes as each species of gases in the cathode or anode layer and is the molar mass of the gas . The mass flow rate of gas is represented as ; is the reference temperature. The specific heat capacity of gas is denoted as . It can be computed as , where the heat capacity coefficients , , , and can be found in [24].

Furthermore, the output energy of cathode , anode , and the generated energy from chemical reaction are expressed as [25]where represents the mass flow rate of gas . The mass flow rate of reacted hydrogen is denoted as ; is the molar mass of hydrogen. And the specific heat of chemical reaction is represented as .

There is a fan (Fan 1 in Figure 1) close to the PEMFC stack which is used to regulate the stack temperature. The operation principle is that when the stack temperature is higher than the desired temperature, the fan turns on in order to reduce the stack temperature. Otherwise, it turns off. This procedure is expressed as the following mathematical expression:where is the surface area of PEMFC; is the heat transfer constant; and is the desired temperature of the stack.

In the PEMFC, the potential difference is generated by ion flow transports from the electrochemical reaction. The theoretical voltage of PEMFC can change reversibly, which is affected by the variation of partial pressures for reactants and products. Thus, the theoretical voltage at the nonstandard condition can be determined by the Nernst equation, that is,where is the theoretical voltage at the standard condition; and are partial pressures of hydrogen and oxygen, respectively; is the correction coefficient related to the entropy of chemical reaction; is Faraday’s constant; and denotes the gas constant.

Moreover, there are three types of voltage losses which can affect the voltage variation irreversibly during operation processes. Considering those voltage losses, the output voltage of PEMFC is expressed by [23]where is the number of cells for PEMFC; is the activation losses; denotes the ohmic losses; and represents the concentration losses. They are calculated as follows:where is the initial activation voltage drop; The membrane thickness is denoted as Δ*m*; , , , and are the empirical constants, which depend on gas partial pressure and temperature; *I*_{max} is the maximum current; and denotes the membrane conductivity, which is related to the membrane water content and stack temperature. It can be calculated aswhere K is the reference temperature for membrane conductivity test. The empirical value related to the membrane water content is represented as and constants , , and are determined empirically. Those empirical constants have been discussed in [23].

For the mass flow transports, the detailed model can be found in [23]. The reacted mass flows of hydrogen and oxygen and the generated mass flow of water are calculated based on the electrochemical relationship:where and are the molar mass of oxygen and water. It is noticed that the reacted mass flows are directly related to the current . Moreover, the input mass flows are computed aswhere and are the stoichiometric ratios. Thus, the input mass flows can be determined by the desired stoichiometric ratio and the current.

##### 2.2. Problem Formulation

For the PEMFC system shown in Figure 1, it has been well recognized that the fan 1 can be used to regulate the temperature of the fuel cell stack. However, the fan 1 has not enough power to regulate the fuel cell temperature when it operates at relative high power. Without introducing extra cooling systems, reducing the temperature and increasing mass flows of input gases are possible ways to achieve the PEMFC temperature regulation. Besides, some parameters in the mathematical model are empirical values which can lead to some modelling errors. Furthermore, there are unmodelled dynamics derived from the model simplification during the modelling procedure and external disturbances resulted from the experiment measurement. However, ignoring those unknown dynamics and modelling errors may cause the system performance degradation or even instability when the controllers apply to the PEMFC system. Thus, this paper will develop a novel control strategy in order to address both temperature regulation problem and the unknown dynamic compensations.

In the mathematical model of the PEMFC system, there are many empirically determined variables. The value of those variables may change during the fuel cell operation such that the real performance cannot be precisely presented in the mathematical model. One of the most important variables for the thermal energy balance model is the empirical specific heat of chemical reaction , which affects the generated energy in the PEMFC. Moreover, there are some noises or disturbances from the experiment. Due to those facts, we consider the reacted heat and disturbances as the unknown dynamics , which can be expressed as follows:

From the thermal energy balance of PEMFC in (6), reducing the input energy and increasing the output energy can further achieve the temperature regulation when the energy of the cooling fan reaches the maximum. Those energies are mainly related to the input mass flow rates and the temperature of input flows, which can be adjusted by the humidifier and the mass flow controller. Without the internal cooling system, the dynamics of reducing the humidifier temperature is extremely slow. The fan 2 is used to improve the cooling process of the humidifier. However, the cooling performance of the humidifier with the fan 2 is still slow. Due to the slow dynamics, increasing the input mass flow is considered to extract the excess heat from the PEMFC stack. Furthermore, considering the economic costs, the input mass flow and the input temperature of air are chosen to regulate the temperature of PEMFC in this paper. For the control design purpose, the total extract heat by employing the additional mass flow of air is calculated as follows:where is the additional mass flow of air and is an ideal operation point for the temperature of cathode humidifier. Therefore, the extracted heat is considered as the control input. By the simple algebraic calculus, the total mass flow of the air is the sum of the initial mass flow and the additional mass flow, which is the real control input in practice. Thus, the thermal energy balance of PEMFC with the control input is expressed aswhere and are the initial heat of input and output energy for the cathode layer. Furthermore, (20) is rewritten as follows for analysis purpose:where is the known nonlinear function.

To summarize, this paper aims to propose an alternative control strategy for a high-power PEMFC, where the cooling system cannot regulate the PEMFC temperature. The control strategy is available when the cooling fan turns on, which consists of a composite PI controller with unknown system dynamic estimator (USDE) in order to achieve the temperature regulation and eliminate the effect of the unknown dynamics through the measurable output and the known functions . The schematic block of the proposed control strategy is shown in Figure 3.

Before we illustrate the control strategy with the USDE, the following assumptions are given with respect to the thermal energy balance of PEMFC (21).

*Assumption 1. *The temperature and the control input are measurable and bounded. And the function is computable and bounded.

*Assumption 2. *The unknown dynamics of is continuous and its derivative is bounded such that .

*Remark 1. *It is easy to measure the variables of stack temperature , the current , the voltage , and the input mass flows for each channel. Thus, the PEMFC can fulfill the aforementioned Assumption 1 trivially. Besides, the derivative of unknown dynamics in Assumption 2 is not required to be known, which is used for the stability analysis of the proposed controller.

#### 3. Controller Design of PEMFC System

In this section, we first present the USDE for . Then, it will be incorporated into the PI controller. The stability analysis for USDE and the composite PI controller will be provided separately.

##### 3.1. Estimator of Unknown Dynamics

In order to derive an invariant manifold, a low-pass filter operation is applied to the variables , and . The filtered variables , and are expressed as follows:where is a filter constant, which is the only parameter that needs to be tuned for USDE.

Then, the invariant manifold is provided in the following lemma, which illustrates the relation between the unknown dynamics with the measurable parameter and the filtered variables , , and .

Lemma 1. *From the thermal energy balance of PEMFC in (21) and filtered vectors in (22), we can derive the following manifold:*

For any small constant , it is invariant and exponentially attractive for the derived manifold (23).

*Proof. *The auxiliary coordinate for analyzing the manifold invariant is defined asBy differentiating (24), we can derive thatThen, we select as Lyapunov function to show the bound of . Thus, the time derivative of isFrom Assumption 2 and Young’s inequality, (26) can be further be derived asFurthermore, we apply the integration into (27) and we can obtain . Thus, it is concluded that converges exponentially to a small compact around zero, which is expressed asBased on Assumption 2, the upper bound of is . Due to this fact, (28) implies that . Then, we can further obtain that and as . Thus, will converge to zero for and/or . Finally, the manifold in (23) is invariant and exponentially attractive.

Based on the rendered manifold in (23), the estimator for unknown dynamics can be designed asThe following theorem is summarized the convergence of the estimator errors for the proposed estimator in (29).

Theorem 1. *The estimator (29) is used to obtain the unknown dynamics in the thermal energy balance of PEMFC (21). The estimation error will exponentially converge to a small compact set around zero.*

*Proof. *To avoid requiring the information of temperature derivative , we first apply a low-pass filter to the equation (21). Then, we getwhere is the exponentially vanishing term from the filtered initial value of state , which can be neglected.

Moreover, the filtered variable is defined asSince the effect of the exponentially vanishing term is not considered, the equation (30) can be rewritten as the following form based on (22) and (31):From the comparison between (24) and (32), it is implied that . Hence, we compute the derivative of the estimation error , that is,To show the boundedness of the estimation error , we choose Lyapunov function as . Its derivative is computed asConsidering Young’s inequality and Assumption 2, we getThen, the integration of (35) is . Based on this, it can be derived that the estimation error will exponentially converge to a small compact:Finally, will converge to zero when and

*Remark 2. *For the unknown system dynamics estimator (29), there are two main advantages in comparison with other estimation (i.e., [14, 26]). First, only one parameter is required to be tuned. From (22) and (31), determines the bandwidth of the low-pass filter such that it has an impact on robustness. Moreover, the boundedness of the unknown dynamics derivative can affect the estimation performance while the constant can be used to reduce the effect of this boundedness . Besides, the convergence speed of the estimation error is related to this constant , which can be found in the proof of Theorem 1. Hence, the selection of this parameter need to consider the trade-off between the convergence speed of the estimation error and the robustness against disturbance. Moreover, the information of the state derivative is not required due to the low-pass filter operations. The discontinuities and chattering phenomena can be avoided compared with the sliding mode-based estimator.

##### 3.2. Composite PI Controller with Unknown Dynamic Compensation

In this section, a composite PI controller based on the USDE is presented. From Theorem 1, the estimator (29) will exponentially converge to a small compact, even to zero when . Hence, it can be used to compensate the unknown dynamics and enhance the control performance. Based on the framework of controller in Figure 3, a composite PI control is designed aswhere denotes the desired temperature of PEMFC; is the control error; and the proportional and integral gains are represented as and , respectively. Since the dynamics of PEMFC temperature is slow, the desired temperature is usually considered as a constant or slow-varying value. Thus, the derivative of the desired temperature can be neglected.

*Remark 3. *The proposed control (37) is combined with the estimator of unknown dynamics (29), which has the function to compensate the unknown dynamics. The PI controller is widely used for the PEMFC system in practice. Hence, the proposed control strategy has an advantage to enhance the predesigned PI controller for practical applications.

Moreover, the convergence of the tracking error and the estimation error for the proposed controller are summarized in the following theorem.

Theorem 2. *To regulate the temperature of the PEMFC system, the control strategy of the composite PI controller (37) combined with an unknown dynamic compensation is proposed as depicted in Figure 3. The control error and the estimation will exponentially converge to a small compact set around zero.*

*Proof. *Based on the thermal balance equation (21) and the controller (37), the derivative of control error is calculated aswhere denotes the integral error. To analyze the stability of the controller, the error including the control error and the integral error is defined as . Thus, the equation (38) is reformulated asIn the matrix , parameters and and control gains and are positive constants. In order to guarantee the stability of the control system, the control gains and are chosen such that the matrix is a Hurwitz matrix. According to the Lyapunov theory, there are symmetric and positive definite matrices and such that the matrix satisfies the equation . Moreover, we choose the Lyapunov function as . Then, its derivative is expressed asBased on Young’s inequality with a positive constant , we can further derive thatwhere there are positive constants of and when constants and are satisfied, and ; the maximum eigenvalue of the matrix is denoted as ; And is the minimum eigenvalue of the matrix . Then, we can further derive that , which implies that the control error and the estimation error will exponentially converge to the following small compact set around zero.

#### 4. Alternative Controller Design of PEMFC System

In Section 3.2, the controller requires the information of the desired temperature derivative . Since the desired temperature of the PEMFC system is usually a constant or slow time-varying value, the influence of the desired temperature derivative has a small impact on the proposed controller. In order to further eliminate this small impact, an alternative composite PI controller is proposed to further avoid requiring the derivation of the desired temperature in this section.

##### 4.1. Alternative Estimator of Unknown Dynamics

Before we present the USDE, we first calculate the derivative of control error in order to find the relation containing the derivative of the desired temperature. Thus, the derivative of control error is computed aswhere , including and , is considered as a new unknown dynamics in this section. For analysis, we assume this unknown dynamics is continuous and its derivative is bounded such that . Therefore, and as unknown dynamics will be estimated in this subsection though the feedback control error , control input , and known function .

Following the previous procedure of designing the estimator in Section 3, we define the filtered variable with respect to in order to avoid requiring the information of derivative of control error in the USDE. We obtain

Then, we can find the following invariant manifold.

Lemma 2. *Based on the equation of control error (43), the filtered variables , , and defined in (22) and (44), the manifold is derived as follows:*

This manifold is invariant and exponentially attractive for any small positive constant .

*Proof. *we define the auxiliary coordinate for analyzing the manifold invariant:Then, we differentiate (46) with respect to time, that is,Moreover, we select as Lyapunov function to show the bound of . Thus, the time derivative of isFurthermore, (48) is integrated such that we can get . Thus, it is concluded that converges exponentially to a small compact around zero, which is expressed asFollowing the same analysis in Lemma 1, we can draw the conclusion that will converge to zero for and/or along the time. Finally, the manifold in (45) is invariant and exponentially attractive.

Therefore, the estimator is provided based on the invariant manifold in (45)

Theorem 3. *Based on the proposed estimator (50) and the derivative equation of control error (43), the estimation error will exponentially converge to a small compact set around zero.*

*Proof. *for the analysis purpose, the filtered variable is defined asThen, a low-pass filter is applied to the equation (43). We getwhere the exponentially vanishing term from the filtered initial value of state is neglected.

By substituting (22) and (51), the equation (52) is reformulated asBy the comparison of (46) and (53), we can get the fact . Before we provide the bound of the estimation error , the derivative of the estimation error is first computed as follows:Furthermore, we choose Lyapunov function as . The derivative of this function isThen, the integration of (55) is . Based on this, it can be derived that the estimation error will exponentially converge to a small compact:Finally, will converge to zero when and .

##### 4.2. Alternative Composite PI Controller with Unknown Dynamic Compensation

In this section, an alternative composite PI controller is proposed without requiring the derivative of the desired temperature. Since the alternative estimator is designed based on the equation (43), the derivative of the desired temperature and the unknown dynamics are estimated by estimator (56). Thus, the composite PI controller can be designed as

Then, the following theorem illustrates the convergence of the tracking error and the estimation error for the proposed controller (57).

Theorem 4. *To regulate the temperature of the PEMFC system, the control strategy of the composite PI controller (57) is combined with an unknown dynamic compensation (50). The control error and the estimation will exponentially converge to a small compact set around zero.*

*Proof. *by substituting (57) into (43), we can getwhere denotes the integral error. To analyze the stability of the controller, the errors including the control error and the integral error are defined as . Thus, the equation (58) is reformulated as Moreover, there are symmetric and positive definite matrices and such that the matrix fulfills the equation . Then, we choose the Lyapunov function as . Its derivative is expressed asBased on Young’s inequality with a positive constant , we can further derive thatwhere there are positive constants of and when constants and are satisfied, and ; the maximum eigenvalue of the matrix is denoted as and is the minimum eigenvalue of the matrix . Then, we can further derive , which implies that the control error and the estimation error will exponentially converge to the following small compact set around zero:

#### 5. Simulation Results

In this section, the proposed control strategy for the PEMFC system is conducted in the MATLAB/Simulink environment. For the simulation of PEMFC, the stoichiometric ratios of oxygen and hydrogen are set as and , respectively. And the current of fuel cell is set as , where the cooling fan cannot remove enough heat to maintain the temperature of PEMFC. Moreover, the disturbance is set as a bounded signal . The temperature of the humidifier at the anode side is set as C. The initial temperature of the cathode humidifier is C. The ideal operation temperature of the humidifier at the cathode side is set as C. The temperature profile of the cathode humidifier in the simulation is depicted in Figure 4. It is illustrated that the humidifier performs a slow dynamics of reducing its temperature to reach the idea operation temperature. Due to lack of the effective cooling system, the humidifier takes almost 2000 s to reduce its temperature, which implies that reducing the temperature of input gases is not effective enough to regulate PEMFC temperature. The temperature of line heaters is chosen as the average value between the humidifier temperature with the desired PEMFC temperature, which fulfills the purpose of line heaters to maintain the gas temperature in the pipelines.

Based on the USDE in (29) and (50), only one tuning constant is set as . For the PI controller, the gain coefficients are and , which are determined based on the tuning rule in the frequency domain [27] in order to maintain the stable performance. The comparison of temperature profiles regulated by the proposed composite PI controllers ((37) and (57)) and the classical PI is shown in Figure 5. It is illustrated that the controllers ((37) and (57)) and the classical PI can achieve the temperature regulation. In the steady-state, the PEMFC temperature can reach to the desired value by the controllers. However, it is noted that the composite PI control performs much better than the classical PI control in the transient performance. The control errors in the composite PI controllers are small and bounded. Moreover, the convergence speed of the composite PI controllers is faster than that of the classical PI controller.

Before the control input enters into the system, the anti-windup scheme is used to avoid the input mass flows in the negative value or over the system bounds. The control input of the total energy is given in Figure 6. In practice, the additional mass flow of the air is considered as a practical control input. Based on the relation in (19), the additional mass flow of the air can be obtained and the profile of the additional air mass flow is depicted in Figure 7. It is shown that the anti-windup has a good performance such that the additional mass flow of the air cannot exceed the system constraint.

Since the mass flow of the air is changed during the control process, the partial pressure of oxygen will be changed which has an impact on the PEMFC voltage of (10). Moreover, there are many variables in the PEMFC voltage related to the temperature, which has been discussed in (12)–(15). The voltage profile affected by the proposed composite PI controllers ((37) and (57)) and the classical PI is depicted in Figure 8, which implies that the proposed control strategy has a small impact to the PEMFC voltage. Besides, the profile of the cooling energy generated by fan 1 is shown in Figure 9. It is noticed that the fan turns on when the PEMFC temperature reduces. Thus, there are no coupling effects between the controller and the fan operation mode. Figure 10 shows the result profile of estimated unknown dynamics and . It is illustrated that the USDE can achieve accurate estimation. There are some sharp transient peaks in , which are affected by the change of the desired temperature and the fan operation condition.

**(a)**

**(b)**

For the presented simulation results above, the anti-windup scheme plays an important role in the proposed control strategy. In order to further show the efficacy of composite PI controllers, the amplitude of the desired temperature is set as a small variation. The control input for this case is given in Figure 11. It is shown that the unknown system dynamics estimators ((29) and (50)) can compensate the unknown dynamics in the composite PI controllers ((37) and (57)). The regulated temperature profiles by the proposed composite PI controllers ((37) and (57)) and the classic PI controller are depicted in Figure 12. It is shown that the temperature errors by the composite PI controllers ((37) and (57)) are always small while the result by the classic PI controller is affected by the unknown dynamics and such that the temperature cannot be regulated to the desired temperature.

#### 6. Conclusions

In this paper, a composite PI control with the USDE is proposed for a PEMFC system. Considering the limitation of the cooling fan system, an alternative control strategy is developed by reducing the temperature of input air through the humidifier and simultaneously increasing the mass flow of air in order to eliminate the excess heat that a cooling fan cannot remove. Then, a low-pass filter is applied to the system in order to obtain an invariant manifold. This invariant manifold contains the information between the unknown dynamics with the known variables, which can be directly used to construct the estimator. Moreover, the requirement of the state derivative can be avoided which is suitable for practical application. The derived estimator can ensure the exponential convergence and is easily incorporated into the proposed control strategy such that the performance of the PI control is improved and the effect of unknown dynamics can be eliminated. Finally, numerical simulations of the PEMFC system are provided. The simulation results demonstrate the efficacy of the proposed control strategy and the improvement of control performance.

#### Data Availability

The data used in this paper are available from the corresponding author upon request.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

#### Acknowledgments

This work was partially funded by the Spanish National Project DOVELAR (ref. RTI2018-096001-B-C32), the AGAUR of Generalitat de Catalunya through the Advanced Control Systems (SAC) group grant (2017 SGR 482), and the Spanish State Research Agency through the María de Maeztu Seal of Excellence to IRI (MDM-2016-0656). This work was partially funded by the Chinese Scholarship Council (CSC) under grant (201808390007). This work was partially funded by National Natural Science Foundation of China under Grants 61922037 and 61873115.

#### References

- F. Barbir,
*PEM Fuel Cells: Theory and Practice*, Academic Press, Cambridge, MA, USA, 2012. - J.-L. Casteleiro-Roca, A. J. Barragán, F. Segura, J. L. Calvo-Rolle, and J. M. Andújar, “Fuel cell output current prediction with a hybrid intelligent system,”
*Complexity*, vol. 2019, Article ID 6317270, 10 pages, 2019. View at: Publisher Site | Google Scholar - M. H. Khooban, N. Vafamand, and J. Boudjadar, “Tracking control for hydrogen fuel cell systems in zero-emission ferry ships,”
*Complexity*, vol. 2019, Article ID 5358316, 9 pages, 2019. View at: Publisher Site | Google Scholar - J. Wu, X. Z. Yuan, J. J. Martin et al., “A review of pem fuel cell durability: degradation mechanisms and mitigation strategies,”
*Journal of Power Sources*, vol. 184, no. 1, pp. 104–119, 2008. View at: Publisher Site | Google Scholar - A. Cecilia and R. Costa-Castelló, “Observador de alta ganancia con zona muerta ajustable para estimar la saturación de agua líquida en pilas de combustible tipo PEM,”
*Revista Iberoamericana de Automática e Informática industrial*, vol. 17, no. 2, pp. 169–180, 2020. View at: Publisher Site | Google Scholar - S. G. Kandlikar and Z. Lu, “Thermal management issues in a PEMFC stack - a brief review of current status,”
*Applied Thermal Engineering*, vol. 29, no. 7, pp. 1276–1280, 2009. View at: Publisher Site | Google Scholar - R. Banerjee and S. G. Kandlikar, “Two-phase flow and thermal transients in proton exchange membrane fuel cells - a critical review,”
*International Journal of Hydrogen Energy*, vol. 40, no. 10, pp. 3990–4010, 2015. View at: Publisher Site | Google Scholar - S. Strahl, A. Husar, P. Puleston, and J. Riera, “Performance improvement by temperature control of an open-cathode pem fuel cell system,”
*Fuel Cells*, vol. 14, no. 3, pp. 466–478, 2014. View at: Publisher Site | Google Scholar - Y. Saygili, I. Eroglu, and S. Kincal, “Model based temperature controller development for water cooled pem fuel cell systems,”
*International Journal of Hydrogen Energy*, vol. 40, no. 1, pp. 615–622, 2015. View at: Publisher Site | Google Scholar - Y.-X. Wang, F.-F. Qin, K. Ou, and Y.-B. Kim, “Temperature control for a polymer electrolyte membrane fuel cell by using fuzzy rule,”
*IEEE Transactions on Energy Conversion*, vol. 31, no. 2, pp. 667–675, 2016. View at: Publisher Site | Google Scholar - F. Chen, Y. Yu, and Y. Gao, “Temperature control for proton exchange membrane fuel cell based on current constraint with consideration of limited cooling capacity,”
*Fuel Cells*, vol. 17, no. 5, pp. 662–670, 2017. View at: Publisher Site | Google Scholar - S. Komada, M. Ishida, K. Ohnishi, and T. Hori, “Disturbance observer-based motion control of direct drive motors,”
*IEEE Transactions on Energy Conversion*, vol. 6, no. 3, pp. 553–559, 1991. View at: Publisher Site | Google Scholar - Y. Oh and W. K. Chung, “Disturbance-observer-based motion control of redundant manipulators using inertially decoupled dynamics,”
*IEEE/ASME Transactions on Mechatronics*, vol. 4, no. 2, pp. 133–146, 1999. View at: Publisher Site | Google Scholar - W.-H. Chen, “Disturbance observer based control for nonlinear systems,”
*IEEE/ASME Transactions on Mechatronics*, vol. 9, no. 4, pp. 706–710, 2004. View at: Publisher Site | Google Scholar - J. Q. Han, “The extended state observer of a class of uncertain systems,”
*Control and Decision*, vol. 10, no. 1, pp. 85–88, 1995. View at: Google Scholar - B.-Z. Guo and Z.-l. Zhao, “On the convergence of an extended state observer for nonlinear systems with uncertainty,”
*Systems & Control Letters*, vol. 60, no. 6, pp. 420–430, 2011. View at: Publisher Site | Google Scholar - D. Li, C. Li, Z. Gao, and Q. Jin, “On active disturbance rejection in temperature regulation of the proton exchange membrane fuel cells,”
*Journal of Power Sources*, vol. 283, pp. 452–463, 2015. View at: Publisher Site | Google Scholar - W. Xue, X. Zhang, L. Sun, and H. Fang, “Extended state filter based disturbance and uncertainty mitigation for nonlinear uncertain systems with application to fuel cell temperature control,”
*IEEE Transactions on Industrial Electronics*, vol. 67, no. 12, pp. 10682–10692, 2020. View at: Publisher Site | Google Scholar - J. Na, J. Yang, S. Wang, G. Gao, and C. Yang, “Unknown dynamics estimator-based output-feedback control for nonlinear pure-feedback systems,” in
*IEEE Transactions on Systems, Man, and Cybernetics: Systems*, IEEE, Piscataway, NJ, USA, 2019. View at: Publisher Site | Google Scholar - J. Na, Y. Li, Y. Huang, G. Gao, and Q. Chen, “Output feedback control of uncertain hydraulic servo systems,”
*IEEE Transactions on Industrial Electronics*, vol. 67, no. 1, pp. 490–500, 2019. View at: Google Scholar - J. Na, B. Jing, Y. Huang, G. Gao, and C. Zhang, “Unknown system dynamics estimator for motion control of nonlinear robotic systems,”
*IEEE Transactions on Industrial Electronics*, vol. 67, no. 5, pp. 3850–3859, 2019. View at: Publisher Site | Google Scholar - J. Na, A. S. Chen, Y. Huang et al., “Air-fuel ratio control of spark ignition engines with unknown system dynamics estimator: theory and experiments,” in
*IEEE Transactions on Control Systems Technology*, IEEE, Piscataway, NJ, USA, 2019. View at: Publisher Site | Google Scholar - J. T. Pukrushpan, A. G. Stefanopoulou, and H. Peng,
*Control of Fuel Cell Power Systems: Principles, Modeling, Analysis and Feedback Design*, Springer Science & Business Media, Berlin, Germany, 2004. - R. M. Felder, R. W. Rousseau, and L. G. Bullard,
*Elementary Principles of Chemical Processes*, Wiley, Hoboken, NJ, USA, 4th edition, 2015. - C. Kunusch, P. F. Puleston, M. A. Mayosky, and A. P. Husar, “Control-oriented modeling and experimental validation of a pemfc generation system,”
*IEEE Transactions on Energy Conversion*, vol. 26, no. 3, pp. 851–861, 2011. View at: Publisher Site | Google Scholar - J. Liu, Y. Gao, X. Su, M. Wack, and L. Wu, “Disturbance-observer-based control for air management of pem fuel cell systems via sliding mode technique,”
*IEEE Transactions on Control Systems Technology*, vol. 27, no. 3, pp. 1129–1138, 2018. View at: Publisher Site | Google Scholar - K. J. Åström and R. M. Murray,
*Feedback Systems: An Introduction for Scientists and Engineers*, Princeton university press, Princeton, NJ, USA, 2010.

#### Copyright

Copyright © 2020 Yashan Xing et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.