Next Article in Journal
The Academic Development Trajectories of the Lean Production Based on Main Path Analysis Method
Previous Article in Journal
Recent Advances in Catalytic Pyrolysis of Municipal Plastic Waste for the Production of Hydrocarbon Fuels
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Control Algorithm of the Air Supply Subsystem: Based on Dynamic Modeling of Proton Exchange Membrane Fuel Cell

1
State Key Laboratory of Automotive Simulation and Control, Jilin University, Changchun 130012, China
2
College of Automotive Engineering, Jilin University, Changchun 130012, China
*
Author to whom correspondence should be addressed.
Processes 2022, 10(8), 1499; https://doi.org/10.3390/pr10081499
Submission received: 24 June 2022 / Revised: 22 July 2022 / Accepted: 26 July 2022 / Published: 29 July 2022

Abstract

:
In this paper, a novel second-order active disturbance rejection control (2-ADRC) algorithm is proposed to optimize the control of the air supply subsystem for Proton Exchange Membrane Fuel Cell (PEMFC). To improve the optimal control effect of the air supply subsystem for PEMFC, the modeling theory of the air supply subsystem considering dynamic characteristics of the PEMFC system is first studied, and the dynamic Simulink model of the PEMFC system is established and verified. Then, the optimal oxygen excess ratio (OER) parameters under different load currents are obtained, and the optimal OER parameters are also used as the OER control reference for the designed algorithms. In addition, a 2-ADRC algorithm is designed and proposed to make the actual OER parameters close to the optimal OER in real time. Furthermore, compared with PID and MPC algorithms, the 2-ADRC algorithm can comprehensively consider the two parameters of mass flow and pressure ratio to make the compressor work in the high-efficiency zone and improve the net power and efficiency of the PEMFC system.

1. Introduction

Fuel cell vehicles (FCVs) have the advantages of zero emissions during driving, no anxiety in driving mileage and smooth operation without noise [1]. FCVs have gradually become the mainstream development direction of new energy vehicles, attracting the attention of governments and research institutes around the world. As the main component and key technology of FCVs [2], the selection of fuel cell system (FCS) is crucial to improve the comprehensive performance of FCVs. Proton exchange membrane fuel cell (PEMFC) has been considered as the most suitable energy source for FCVs because of its superior performance such as high efficiency, zero emission and modularity [3].
PEMFC is composed of a fuel cell stack, air supply subsystem, hydrogen supply subsystem and cooling subsystem, etc. [4]. The air supply subsystem is very significant to the dynamic response performance of PEMFC. Lower oxygen supply will lead to “Oxygen Starvation” in PEMFC and reduce the output voltage of the stack. A higher oxygen supply will greatly increase the power consumed by the compressor and reduce the net power of PEMFC, which leads to “Oxygen Saturation” [5]. As an important component of the air supply subsystem, the compressor can ensure that the air supply subsystem can supply appropriate oxygen to the PEMFC stack [6]. Therefore, researchers often optimize oxygen supply and reduce compressor power consumption by quickly and accurately controlling the compressor to improve the dynamic response performance of PEMFC.
As the main parameters of the compressor, mass flow and intake pressure are often used as the control parameters of the compressor optimization algorithm. The oxygen excess ratio (OER) is commonly used to describe the air mass flow provided by the air supply subsystem [7,8,9]. The OER is the ratio of the oxygen mass flow actually provided by the compressor to the fuel cell stack under the current request and the oxygen mass flow theoretically required by the electrochemical reaction. The research in references [10,11,12] shows that appropriately increasing the OER can avoid the stack reaction water blocking the gas channel and gas diffusion layer, and reduce the parasitic power consumption of the compressor, which is beneficial to improving the net power of PEMFC in general. At the same time, the inlet pressure provided by the air supply subsystem also has a very important impact on the voltage output characteristics of the stack. The inlet air pressure is usually characterized by the pressure ratio of the compressor, that is, the ratio of the outlet pressure of the compressor to the inlet pressure (atmospheric pressure) of the compressor [13]. A lower pressure ratio will affect the diffusion and supply of reactive gas in the stack, which makes it difficult for the stack to improve its voltage output performance and dynamic response performance. A higher pressure ratio will lead to the destruction of the proton exchange membrane (PEM) structure and the increase in compressor parasitic power, which will directly affect the improvement of the net power of FCS [14]. In references [15,16,17], researchers study the influence of stack pressure on the output power of FCS.
Aiming at the optimal control of the PEMFC air supply subsystem, researchers have proposed the control methods of OER [18]. Due to its simple structure and low cost, PID (Proportion Integration Differentiation) controller has become a more classical OER control algorithm. Zhao et al. proposed a fractional order PID controller based on a nonlinear observer to adjust the OER to the expected value. However, the PID control algorithm relies on engineering experience and lacks control accuracy [19]. Tang, X. et al. [20] reported an improved algorithm, coupled fuzzy logic and PID controller, and proposed an AFPID (Adaptive Fuzzy PID) control algorithm. However, the rules of fuzzy control are limited, and the control effect of OER still needs to be improved. MPC (Model Predictive Control) algorithm is also used in the optimal control of OER [21,22], but the MPC control model obtained by identifying and simplifying the controlled system is often difficult to obtain the optimal model accuracy and control effect.
However, the above studies did not fully consider the dynamic characteristics of the PEMFC system, nor how to obtain the optimal net output power of the PEMFC system. Therefore, this paper proposes an optimal control algorithm for the air supply subsystem to improve the net power output and dynamic response ability of the PEMFC system. Specifically, this paper has the following innovations: (1) The dynamic response model of the PEMFC system is established, and the optimal OER parameters with the highest net power of PEMFC under different load currents are determined. (2) A novel second-order active disturbance rejection control (2-ADRC) algorithm is proposed to make the OER parameters of PEMFC close to the optimal OER in real time, and at the same time, the two parameters of mass flow and pressure ratio of the air supply subsystem are considered comprehensively to make the compressor work in the high-efficiency zone.
This paper is organized as follows: In Section 2, the dynamic model of PEMFC is established and verified. In Section 3, a 2-ADRC algorithm is proposed and compared with PID and MPC algorithms, verifying the effectiveness and rationality of the 2-ADRC algorithm. Finally, the conclusions are drawn in Section 4.

2. PEMFC System Dynamic Model

The PEMFC system architecture adopted in this paper is shown in Figure 1. This paper mainly studies the control optimization of the air supply subsystem. Therefore, the air supply subsystem and PEMFC stack are described in detail in Figure 1.
The PEMFC dynamic model is established under the following assumptions: (1) gases conform to the ideal gas law and there is no interaction between gas molecules; (2) the water condensation, its saturation or two-phase flow in the cathode are not being considered; (3) the oxygen diffusion are ideal processes, and pressure changes will not affect the effective transport coefficients, mass transfer in the diffusing and catalytic layers.

2.1. Stack Model

2.1.1. Voltage Model

The output voltage V f c of the fuel cell can be based on Srinivasan’s empirical formula, and the following Formula (1) can be obtained [23]:
V f c = E n e n s t V a c t i v e V o h m V c o n c
where E n e n s t is the Nernst voltage, V a c t i v e is the activation polarization loss, V o h m is the ohmic polarization loss and V c o n c is the concentration polarization loss. Nernst voltage can be obtained from Formula (2):
E n e n s t = 1.229 0.85 × 10 3 T s t 298.15 + 4.3085 × 10 5 T s t ln p H 2 + 1 2 ln p O 2
where T s t is the temperature of the fuel cell stack, P H 2 and P O 2 is the partial pressure of hydrogen and oxygen in the stack.
V a c t = v 0 + v a 1 e 1 c 1 i d V o h m = i d R o h m = i d × t m σ m V c o n c = i d c 2 i d i d _ max c 3
where i d is the current density, v 0 is the voltage drop when the current density is zero, v a and c 1 are constants, and the values of v 0 , v a and c 1 can be obtained by nonlinear regression fitting of PEMFC stack test data. R o h m is the equivalent resistance inside the stack, which can be obtained from the ratio of membrane thickness t m to membrane conductivity σ m . i d _ max is the maximum current density of the stack, c 2 and c 3 are constants, closely related to the stack temperature and the partial pressure of the reaction gas.
σ m = b 1 exp ( b 2 ( 1 303 1 T s t ) ) b 1 = ( b 11 λ m b 12 )
where b 11 , b 12 , b 1 and b 2 are all empirical constants, and this paper estimates the ohm resistance in the stack according to the parameters in reference [24]. λ m is the water content of the membrane.

2.1.2. Cathode Flow Model

According to the law of conservation of mass, the differential equations of oxygen, nitrogen and vapor on the cathode can be obtained as follows:
d m O 2 , c a d t = W O 2 , i n , c a W O 2 , o u t , c a W O 2 , r e a c t , c a
d m N 2 , c a d t = W N 2 , i n , c a W N 2 , o u t , c a
d m v , c a d t = W v , i n , c a W v , o u t , c a + W v , g e n , c a + W v , m e m
where m O 2 , c a , m N 2 , c a and m v , c a are the mass of oxygen, nitrogen and vapor at the cathode, respectively, W O 2 , i n , c a , W N 2 , i n , c a and W v , i n , c a are the mass flow of oxygen, nitrogen and vapor flowing into the cathode, respectively, W O 2 , o u t , c a , W N 2 , o u t , c a and W v , o u t , c a are the mass flow of oxygen, nitrogen and vapor flowing out of the cathode, respectively, W O 2 , r e a c t , c a is the mass flow of oxygen consumed by cathode reaction, W v , g e n , c a is the mass flow of vapor generated by cathode reaction, W v , m e m is the mass flow of vapor flowing to the anode through the PEM.
The mass flow of oxygen consumed and vapor generated in the cathode reaction can be expressed by the following formula:
W O 2 , r e a c t , c a = M O 2 × I s t 4 F
W v , g e n , c a = M H 2 O × I s t 2 F
where M O 2 and M H 2 O are the molar mass of oxygen and vapor, respectively, I s t is the stack current and F is the Faraday constant.
The mass flow of oxygen, nitrogen and water vapor flowing into the cathode can be expressed as:
W O 2 , i n , c a = x O 2 × W a i r , i n , c a
W N 2 , i n , c a = 1 x O 2 × W a i r , i n , c a
W v , i n , c a = W i n , c a W O 2 , i n , c a W N 2 , i n , c a
where W a i r , i n , c a is the mass flow of dry air passing through the cathode, W i n , c a is the total mass flow of gas passing through the cathode, and the relationship between the two is as follows:
W a i r , i n , c a = 1 1 + ω i n , c a   W i n , c a
ω i n , c a = p v , i n , c a p a i r , i n , c a M H 2 O M a i r
where ω i n , c a is the cathode air humidity ratio, p a i r , i n , c a is the cathode dry air partial pressure, p v , i n , c a is the cathode vapor partial pressure, M a i r is the molar mass of the dry air.
In Formulas (10) and (11), x O 2 is the mass fraction of oxygen in the dry air, which can be expressed as follows:
x O 2 = m O 2 m O 2 + m N 2
According to the General Gas Law, the partial pressure of each gas in the cathode can be expressed by the following formulas:
P i , c a = m i , c a R T s t V c a
P c a = m O 2 + m N 2 + m v R T s t V c a
where i = O 2 , N 2 , v , R are the ideal gas constant, V c a is the volume of the stack cathode. There is a pressure drop between the cathode inlet and outlet, which is assumed to be uniform in this paper. Therefore, the cathode pressure can be considered as the average of the cathode inlet pressure p i n , c a and cathode outlet pressure p o u t , c a .

2.1.3. Anode Flow Model

The anode needs sufficient hydrogen supply during operation. Before hydrogen enters the stack, the gas pressure needs to be adjusted through the hydrogen injection valve to ensure the pressure difference between anode and cathode gas and protect the PEM. The anode side flow model can be obtained in a similar way to cathode side modeling:
d m H 2 , a n d t = W H 2 , i n , a n W H 2 , o u t , a n W H 2 , r e a c t , a n
d m v , a n d t = W v , i n , a n W v , o u t , a n + W v , m e m
where m H 2 , a n and m v , a n are the mass of hydrogen and vapor at the anode, respectively, W H 2 , i n , a n and W v , i n , a n are the mass flow of hydrogen and vapor flowing into the anode, respectively, W H 2 , o u t , a n and W v , o u t , a n are the mass flow of hydrogen and vapor flowing out of the anode, respectively, W H 2 , r e a c t , a n is the mass flow of hydrogen consumed by anode reaction, W v , m e m is the mass flow of vapor flowing to the cathode through the PEM.
The hydrogen mass flow consumed in the anode reaction can be obtained by Formula (20):
W H 2 , r e a c t , a n = M H 2 × I s t 2 F
where M H 2 is the molar mass of hydrogen.
The mass flow of hydrogen and vapor into the anode can be expressed as:
W H 2 , i n , a n = 1 1 + ω i n , a n W i n , a n
ω i n , a n = p v , i n , a n p v , i n , a n + p H 2 , i n , a n M H 2 O M H 2 + M H 2 O
W v , i n , a n = W i n , a n W H 2 , i n , a n
where ω i n , a n is the anode air humidity ratio, W i n , a n is the total mass flow of gas passing through the anode, p H 2 , i n , a n is the partial pressure of hydrogen entering the anode, and p v , i n , a n is the partial pressure of vapor entering the anode.
According to the General Gas Law, the partial pressure of hydrogen and vapor in the anode can be expressed by the following formulas:
P i , a n = m i , a n R T s t V a n
P a n = m H 2 + m v R T s t V a n
where i = H 2 , v , V a n is the volume of stack anode.

2.1.4. Membrane Hydration Model

The model established in this paper is used to simulate the change of water content in PEM and the change of water mass flow through PEM. The mass flow of water through PEM W v , m e m is mainly composed of two parts. The first part is electroosmosis, in which hydrogen ions at the anode drag water molecules to the cathode. The other part is the reverse diffusion phenomenon, due to the water concentration gradient between cathode and anode, some water molecules diffuse reversely from cathode to anode through PEM.
The water flow of electroosmosis N v , o s m o t i c can be expressed as [25]:
N v , o s m o t i c = n d i d F = ( 0.0029 λ m 2 + 0.05 λ m 3.4 × 10 19 ) × i d F
where the water content of the membrane λ m is related to the average water activity of anode and cathode α m , as shown in Formula (27).
λ m = 0.043 + 17.81 α m 39.85 α m 2 + 36.0 α m 3 , 0 < α m 1 14 + 1.4 ( α m 1 ) , 1 < α m 3 16.8 , α m 3
The water flow of reverse diffusion N v , d i f f can be expressed as:
N v , d i f f = D w d c v d y = D w C v , c a C v , a n t m
where C v is the vapor concentration, y is approximately equal to the thickness of the membrane t m , C v , c a and C v , a n represent the concentration of cathode and anode vapor, respectively, which can be expressed by Formula (29):
c v , i = ρ m e m , d r y M m e m , d r y λ m
where i = c a , a n , ρ m e m , d r y is the density of dry membrane, M m e m , d r y is the dry membrane equivalent weight.
D w in Formula (28) is the diffusion coefficient, which can be expressed by the following Formula (30):
D w = 10 6 × exp [ 2416 ( 1 303 1 T s t ) ] , λ m < 2 10 6 [ 1 + 2 ( λ m 2 ) ] × exp [ 2416 ( 1 303 1 T s t ) ] , 2 λ m 3 10 6 [ 3 1.67 ( λ m 3 ) ] × exp [ 2416 ( 1 303 1 T s t ) ] , 3 < λ m < 4.5 1.25 × 10 6 × exp [ 2416 ( 1 303 1 T s t ) ] , λ m 4.5
Combined with the above two water transfer modes, the overall mass flow of water transfer can be obtained:
W v , m e m = N v , o s m o t i c N v , d i f f × M H 2 O × A f c × n = n d i d F D w C v , c a C v , a n t m × M H 2 O × A f c × n
where A f c is the reaction area of the single cell, and n is the number of cells in the stack.

2.2. Air Supply Subsystem Model

2.2.1. Compressor Model

The traditional compressor modeling and simulation is usually based on the static MAP of the compressor. Through the pressure ratio and speed of the compressor, the difference method is used to determine the air mass flow, but this method is not suitable for the dynamic simulation analysis of the compressor, so the nonlinear difference fitting method is adopted in this paper. In the compressor model, the motor driving torque equations are used to simulate the dynamic characteristics, and the relevant Formulas are as follows [26]:
J c p d ω c p d t = τ c m τ c p
where J c p is the moment of inertia of the motor, ω c p is the speed of the compressor, τ c m is the driving torque of the motor, τ c p is the resistance torque of the motor. The driving torque and resistance torque of the compressor drive motor are, respectively:
τ c m = η c m k t R c m u c m k v ω c p τ c p = c p ω c p T a t m η c p p s m p a t m γ 1 γ 1 W c p
where k t , R c m and k v are motor-related constants, η c m is the mechanical efficiency of the motor, u c m is the driving motor voltage, C p is the specific heat of air, T a t m is the atmospheric temperature, η c p is the compressor efficiency, p s m is the pressure of the air supply manifold, which is related to the model of air supply manifold, p a t m is atmospheric pressure, γ is the specific heat ratio of air, W c p is the mass flow of the compressor outlet gas.

2.2.2. Intercooler Model

Due to the high temperature of the air flowing out of the compressor, it must be cooled to protect the PEM. In this paper, it is assumed that the intercooler is an ideal intercooler, the change of temperature is not considered, and there is no pressure drop, so the flow in the intercooler does not change. At the same time, because the change of temperature will affect the humidity of the gas, the humidity leaving the intercooler ϕ c l can be expressed by Formula (34):
ϕ c l = p c l ϕ a t m p s a t T a t m p a t m p s a t T c l = p s m ϕ a t m p s a t T a t m p a t m p s a t T c l
where p c l is the air pressure in the intercooler, p s m is the pressure in the supply manifold, and p c l = p s m . ϕ a t m is the atmospheric humidity, T c l is the temperature of the air cooled by the intercooler, and p s a t is the saturation pressure of the vapor.

2.2.3. Supply Manifold Model

The supply manifold includes the total volume of the manifold connecting the compressor, intercooler, humidifier and other components with the stack [27]. For the mass m s m and pressure p s m in the supply manifold, the Formula (35) can be obtained from the Law of Conservation of Mass and the General Gas Law.
d m s m d t = W c p W s m , o u t d p s m d t = γ R a V s m W c p T c p W s m , o u t T s m
where W c p is the mass flow at the inlet of the supply manifold, which is equal to the mass flow at the outlet of the compressor, W s m , o u t is the outlet flow of the supply manifold, R a is the air gas constant, V s m is the volume of the supplied manifold. Due to the high temperature of the gas at the outlet of the compressor, the temperature will change when flowing through the supply manifold. T c p is the compressor outlet gas temperature, and T s m is the temperature of the gas inside the manifold.
Because the pressure difference between the supply manifold and the cathode inlet is relatively small, the outlet flow W s m , o u t of the supply manifold can be calculated by the linear function of the pressure difference between the supply manifold and the cathode inlet.
W s m , o u t = k s m , o u t ( p s m p c a )
where k s m , o u t is the supply manifold flow constant, and p c a is the pressure at the cathode inlet.

2.2.4. Return Manifold Model

The air temperature in the return manifold is low, which can be assumed to be constant and equal to the outflow temperature of the cathode [28]. According to the Law of Conservation of Mass and the General Gas Law, the return manifold pressure p r m can be obtained as follows:
d p r m d t = R a T r m V r m W c a , o u t W r m , o u t
where k s m , o u t is the internal gas temperature of the return manifold, V r m is the volume of the return manifold, W c a , o u t is the mass flow at the inlet of the return manifold, and W r m , o u t is the mass flow at the outlet of the return manifold, which can be expressed by Formula (38):
W r m , o u t = α C D , r m A T , r m p r m R T r m p a t m p r m 1 γ 2 γ γ 1 1 p a t m p r m γ 1 γ 1 2 , p a t m p r m > 2 γ + 1 γ γ 1 α C D , r m A T , r m p r m R T r m γ 1 2 2 γ + 1 γ + 1 2 ( γ 1 ) , p a t m p r m 2 γ + 1 γ γ 1
where C D , r m is the flow coefficient of the return manifold, A T , r m is the area when the back pressure valve is fully open, and the value range α is 0~1, which is used to adjust the opening of the back pressure valve.

2.3. Model Validation

In order to verify the rationality of the PEMFC system model established in this paper, the main parameters in Table 1 are used to verify the output characteristics of the fuel cell stack, and the simulation verification results of the PEMFC system model shown in Figure 2 are obtained.
There are always three kinds of polarization losses in the PEMFC stack. The activation polarization loss is the main factor at low current density, and the concentration polarization loss is the main factor at high current density, and because of the stack equivalent resistance, the ohmic polarization loss exists during the operation of the stack. The output characteristic curve of PEMFC is shown in Figure 2. The increasing current density inside the stack (see Figure 2a), the output voltage of the stack decreases, and the output power increases. Moreover, due to the influence of activation polarization loss and concentration polarization loss, the output voltage decreases significantly at the beginning and end of the output characteristic curve.
Figure 2b,c show the influence of stack temperature and cathode pressure on the output characteristic curve of a PEMFC single cell. In Figure 2b, with the increase in stack temperature, the reaction in the stack intensifies, and the output voltage of a single cell increases accordingly. In Figure 2c, with the increase in cathode pressure, the air supply in the reactor is timely, and the output voltage of a single cell is also increased accordingly. However, considering the stack materials, the stack internal sealing performance and the power consumption of the accessory system, the stack temperature and cathode pressure cannot be increased without limit. The above analysis proves the rationality and effectiveness of the established PEMFC model.

3. Optimal Control Algorithms of Air Supply Subsystem

3.1. Determination of Optimal Oxygen Excess Ratio

In the process of formulating the control algorithms for the air supply subsystem of the PEMFC, its dynamic characteristics should be considered. In other words, the power consumption of the compressor should be considered to optimize the net power and efficiency of PEMFC. The oxygen excess ratio represents the actual amount of air entering the stack, which has a great impact on the adequacy of the chemical reaction in the stack. By analyzing the test data of the fuel cell system, it is found that there exists an optimal oxygen excess ratio under a certain fixed current request, which maximizes the net power of the PEMFC system. The optimal oxygen excess ratio parameters of the PEMFC system are shown in Figure 3. Under the fixed current request of 180 A (see Figure 3a), when the oxygen excess ratio is 2.495, the net power of the fuel cell system reaches the maximum value of 47.30 kw. Therefore, 2.495 is the optimal oxygen excess ratio parameter of the PEMFC system at 180 A.
Under different load current requests, the oxygen excess ratio is changed by controlling the compressor driving motor voltage, and the curve of the change of PEMFC net power with oxygen excess ratio can be obtained, and then find the optimal oxygen excess ratio under the fixed current request, as shown in Figure 3b. The load current is controlled to change from 80 A to 420 A (see Figure 3b), the step is 20 A, and the oxygen excess ratio is controlled to change between 1.5 and 3.5. The variation curve of the PEMFC net power with the oxygen excess ratio under each fixed current request is obtained. Under different load current requests, there exists an optimal oxygen excess ratio, which maximizes the PEMFC net power. The optimal oxygen excess ratio parameters of the PEMFC system are shown in Table 2.

3.2. Air Supply Subsystem Optimization Control Algorithms

In order to achieve better dynamic response and higher net power and efficiency of PEMFC, it is necessary to ensure that the actual oxygen excess ratio of PEMFC in the working process is close to the optimal oxygen excess ratio shown in Table 2. In order to improve the optimal control effect of the PEMFC air supply subsystem, a second-order active disturbance rejection control (2-ADRC) algorithm is proposed in this paper. At the same time, in order to verify the rationality and effectiveness of the 2-ADRC algorithm, it is compared with the PID algorithm and MPC algorithm. The control structure is shown in Figure 4 in this paper. Moreover, Figure 5a is the simulation condition (load current change condition) of the PID algorithm, MPC algorithm and 2-ADRC algorithm, and Figure 5b is the curve of optimal oxygen excess ratio variation under load current variation, which can be called the reference optimal oxygen excess ratio.

3.2.1. PID Algorithm

The PID algorithm is a classical control algorithm for oxygen excess ratio in the PEMFC air supply subsystem [29]. The PID algorithm designed in this paper takes the error between the optimal oxygen excess ratio λ r e f and the actual oxygen excess ratio λ O 2 as the PID controller input, and the control voltage v c m of the compressor driving motor is the PID controller output. By changing the voltage of the driving motor, the compressor speed can be further adjusted to change the airflow into the stack. The PID controller is designed as PI type, and P = 85, I = 3200. The simulation results of the PID control algorithm designed in this paper are shown in Figure 6.
In Figure 5a, the load current changes step at 4 s and 7 s, and in Figure 5b, the optimal oxygen excess ratio changes step at 2 s, 6 s and 8 s. Therefore, at 2 s, 4 s, 6 s, 7 s and 8 s in Figure 6a, the actual oxygen excess ratio changes, and the oxygen excess ratio can be adjusted to the target value under the regulation of the PID control algorithm, but there is a certain amount of overshoot. In the overshoot condition, the compressor will deviate from the stable operating point under the fixed current request. In Figure 6b, the compressor mass flow and pressure ratio curve deviates from the set optimal working curve, and at the same time, due to the overshoot of the oxygen excess ratio during the control process, the compressor efficiency will decrease.

3.2.2. MPC Algorithm

The Simulink model of the PEMFC established in this paper is a complex nonlinear system model. In this paper, the LTI linear toolbox of MATLAB is used to linearize the model and obtain the linearized state-space model of the PEMFC system, which is used as the predictive model of the MPC algorithm. In the specific MPC algorithm design process, the compressor drive motor voltage v c m is selected as the algorithm control variable, and the oxygen excess ratio λ O 2 is selected as the algorithm output variable [30], and the air supply manifold pressure p s m , the compressor speed ω c p , the return manifold pressure p r m , the cathode air mass m a i r , c a , the cathode nitrogen mass m N 2 , c a and the cathode oxygen mass m O 2 , c a are used as algorithm state variables. The following formulas can be obtained.
x . = A x + B u y = C x
where u is the control variable, y is the output variable, and x is the state variable, which can be expressed as:
u = v c m y = λ o 2 x = [ p s m , ω c p , p r m , m a i r , c a , m N 2 , c a , m o 2 , c a ] T
The load current 260 A, the compressor drive motor voltage 226 V, and the oxygen excess ratio 2.18 are selected as the equilibrium operating points of the linear MPC model. After the model is balanced and stable, the values of state variables are shown in Table 3.
At the same time, the eigenvalues of matrix A in Formula (39) can be obtained: eig ( A ) = [ 20.43   23.6   1.09   4.13   98.55   119.36 ] . The simulation results of the MPC algorithm designed in this paper are shown in Figure 7.
In Figure 7a, with the change of the optimal reference value of the oxygen excess ratio at 2 s and 6 s and the step change of the current request at 4 s, the oxygen excess ratio can quickly reach the optimal reference value with almost no overshoot under the adjustment of the MPC algorithm. However, when the load current changes step at 7 s, the oxygen excess ratio cannot quickly adjust to the optimal reference value under the control of the MPC algorithm, and there is a certain degree of overshoot. The prediction model used by the MPC controller in this paper is a linearized model obtained under a fixed current operating point. Therefore, this linearized model is not suitable for controlling the optimization of the oxygen excess ratio under various currents of the complex PEMFC system. In Figure 7b, the compressor mass flow and pressure ratio curve deviates from the set optimal working curve, but it is better than the control result of the PID algorithm.

3.2.3. 2-ADRC Algorithm

Under the step load current request, the compressor drive motor input voltage is selected as the input variable, and the oxygen excess ratio is selected as the output variable to obtain the PEMFC sample data. Then, using the identification toolbox of MATLAB for parameter identification, the sample time interval is 0.01 s, and the relationship between the input voltage of the compressor drive motor of the air supply subsystem and the excess oxygen ratio can be obtained.
y . . = 1027 y . 3.007 y + 3.586 u + 0.01521 u .
where u is the compressor drive motor voltage, which is used as the algorithm input, and y is the oxygen excess ratio, which is used as the algorithm output. Furthermore, the Formula (41) can be transformed into the Formula (42).
y . . = 1027 y . 3.007 y + 0.01521 u . + ( 3.586 b 0 ) u + b 0 u = f + b 0 u
where f is regarded as the “total disturbance” of the controlled system, including modeled and external disturbances.
In the specific design of the 2-ADRC algorithm, reducing the influence of the total disturbance is of great significance to the algorithm’s control effect and the estimator f ^ of total disturbance f is introduced in the design of 2-ADRC. In order to obtain the f ^ correctly, an extended state observer is designed. According to Formula (41), the system state space equation can be obtained.
x . = A x + B u + E h y = C z x . 1 = x 2 x . 2 = x 3 + b 0 u x . 3 = h y = x 1
where x 3 = f and h = f . , which extends the f to a new state variable that can be observed by the state observer and A, B, C and E are represented as follows.
A = 0 1 0 0 0 1 0 0 0 , B = 0 b 0 0 , C = 1 0 0 , E = 0 0 1
Then, the state space equation of the second-order LESO extended state observer can be shown as follows:
z . = A z + B u + L ( y y ^ ) y ^ = C z
z . 1 = β 1 ( y z 1 ) + z 2 z . 2 = β 2 ( y z 1 ) + b 0 u + z 3 z . 3 = β 3 ( y z 1 )
z . = β 1 1 0 β 2 0 1 β 3 0 0 z + 0 β 1 b 0 β 2 0 β 3 u y
where L = β 1 β 2 β 3 T and z 3 = f ^ . The algorithm input u can be converted to u = ( z 3 + u 0 ) / b 0 , and combined with Formula (42), while ignoring the influence of z 3 , the following Formula (48) can be obtained.
y . . = ( f z 3 ) + u 0 u 0
For the simplified model, the PD-type controller is adopted to control the error, and the following Formula (49) can be obtained.
u ( t ) = K p e ( t ) + d e ( t ) d t u 0 = k p ( r z 1 ) k d z 2
where r is the reference and the closed-loop transfer function of 2-ADRC can be obtained in Formula (50), which characterizes the relationship between input voltage of compressor driving motor and oxygen excess ratio of air supply subsystem. The simulation results of the 2-ADRC algorithm designed in this paper are shown in Figure 8.
G c l = y ( s ) r ( s ) = k p s 2 + k d s + k p
In Figure 8a, when the load current request and the reference oxygen excess ratio change, the PEMFC air supply subsystem can quickly adjust the oxygen excess ratio to reach the optimal reference value. Compared with the PID algorithm and MPC algorithm, the 2-ADRC algorithm can quickly adjust the oxygen excess ratio to the optimal reference value without overshoot and achieve a better control effect of the oxygen excess ratio in the PEMFC air supply subsystem. In Figure 8b, when adjusting the oxygen excess ratio of the air supply subsystem, the compressor speed will be quickly adjusted to improve the air mass flow into the FCS. Therefore, the power consumption of the compressor will rise instantaneously, and the mass flow and pressure ratio curve of the compressor will also deviate from the set optimal working curve. Compared with the PID algorithm and MPC algorithm, the 2-ADRC algorithm can make the compressor work in the high-efficiency zone.
In order to verify the effectiveness of the proposed 2-ADRC algorithm more comprehensively, the power and efficiency curves of the PEMFC system under the control of the PID algorithm, MPC algorithm and 2-ADRC algorithm are also obtained. The stack power, compressor power and net power of the PEMFC system are shown in Figure 9, and the PEMFC system efficiency and compressor efficiency are shown in Figure 10.
In Figure 9a, the PID algorithm, MPC algorithm and 2-ADRC algorithm can ensure the stack output power meets the requirements. In Figure 9b, the power consumption of the compressor under the control of the PID algorithm is significantly higher than that of the MPC algorithm and the 2-ADRC algorithm, and the power consumption of the compressor under the control of the MPC algorithm is also slightly higher than that of the 2-ADRC algorithm. In Figure 9c, the net power of the PEMFC system controlled by the PID algorithm is significantly lower than that of the MPC algorithm and 2-ADRC algorithm, and the net power of the PEMFC system controlled by the MPC algorithm is also slightly lower than the 2-adrc algorithm. In Figure 10a, the efficiency of the PEMFC system controlled by the PID algorithm is significantly lower than the MPC algorithm and 2-ADRC algorithm, and the efficiency of the PEMFC system controlled by the MPC algorithm is also slightly lower than the 2-ADRC algorithm. Furthermore, similar conclusions can be obtained from the simulation results of compressor efficiency in Figure 10b. Based on the above discussion, it can be concluded that the 2-ADRC algorithm proposed in this paper is superior to the PID algorithm and MPC algorithm. The 2-ADRC algorithm can make the compressor work in the high-efficiency zone and improve the net power and efficiency of the PEMFC system.

4. Conclusions

This paper analyzes the dynamic characteristics of the PEMFC system, and the dynamic Simulink model of the PEMFC system is established and verified. In order to propose the optimal control algorithms for the PEMFC air supply subsystem, the OER parameters with the highest net power of PEMFC under different load currents are determined, and the OER parameters are regarded as the control target of the algorithms. A 2-ADRC algorithm is further proposed to optimize air supply subsystem control of the PEMFC system, and the 2-ADRC algorithm can quickly adjust the OER of the air supply subsystem to reach the optimal reference value and make the actual OER parameters close to the optimal OER in real time. Compared with the PID algorithm and MPC algorithm, the 2-ADRC algorithm can comprehensively consider the two parameters of mass flow and pressure ratio to make the compressor work in the high-efficiency zone and improve the net power and efficiency of the PEMFC system.

Author Contributions

Conceived the structure and research direction of the paper, P.W. and Y.M.; wrote the paper and provided algorithms, Y.M. and Y.G.; software, data curation and project administration, J.L.; formal analysis and validation, Y.G. and Y.Z.; validation and writing—original draft preparation, Y.M., Y.G. and D.M. All authors have read and agreed to the published version of the manuscript.

Funding

The work was supported by the National Key R&D Program of China (grant no. 2021YFB2500700).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data may be available after request from corresponding authors.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kendall, M. Fuel cell development for New Energy Vehicles (NEVs) and clean air in China. Prog. Nat. Sci. Mater. Int. 2018, 28, 113–120. [Google Scholar] [CrossRef]
  2. Ahmadi, P.; Torabi, S.H.; Afsaneh, H.; Sadegheih, Y.; Ganjehsarabi, H.; Ashjaee, M. The effects of driving patterns and PEM fuel cell degradation on the lifecycle assessment of hydrogen fuel cell vehicles. Int. J. Hydrogen Energy 2020, 45, 3595–3608. [Google Scholar] [CrossRef]
  3. Wang, G.J.; Yu, Y.; Liu, H.; Gong, C.L.; Wen, S.; Wang, X.H.; Tu, Z.K. Progress on design and development of polymer electrolyte membrane fuel cell systems for vehicle applications: A review. Fuel Process. Technol. 2018, 179, 203–228. [Google Scholar] [CrossRef]
  4. Yuan, H.; Dai, H.F.; Wei, X.Z.; Ming, P.W. Model-based observers for internal states estimation and control of proton exchange membrane fuel cell system: A review. J. Power Sources 2020, 468, 228376. [Google Scholar] [CrossRef]
  5. Liu, J.X.; Gao, Y.B.; Su, X.J.; Wack, M.; Wu, L.G. Disturbance-observer-based control for air management of PEM fuel cell systems via sliding mode technique. IEEE Trans. Control Syst. Technol. 2019, 27, 1129–1138. [Google Scholar] [CrossRef]
  6. Li, J.W.; Yu, T. Intelligent controller based on distributed deep reinforcement learning for PEMFC air supply system. IEEE Access 2021, 9, 7496–7507. [Google Scholar] [CrossRef]
  7. Pukrushpan, J.T.; Stefanopoulou, A.G.; Peng, H. Control of fuel cell breathing. IEEE Control Syst. Mag. 2004, 24, 30–46. [Google Scholar]
  8. Chen, J.; Liu, Z.Y.; Wang, F.; Ouyang, Q.; Su, H.Y. Optima Oxygen Excess Ratio Control for PEM Fuel Cells. IEEE Trans. Control Syst. Technol. 2018, 26, 1711–1721. [Google Scholar] [CrossRef]
  9. Hou, J.B.; Yang, M.; Ke, C.C.; Zhang, J.L. Control logics and strategies for air supply in PEM fuel cell engines. Appl. Energy 2020, 269, 115059. [Google Scholar] [CrossRef]
  10. Kim, B.M.; Choi, Y.H.; Yoo, S.J. Adaptive control of proton exchange membrane fuel cell air supply systems with asymmetric oxygen excess ratio constraints. IEEE Access 2020, 8, 5537–5549. [Google Scholar] [CrossRef]
  11. Zhang, H.K.; Wang, Y.F.; Wang, D.H.; Wang, Y.L. Adaptive robust control of oxygen excess ratio for PEMFC system based on type-2 fuzzy logic system. Inf. Sci. 2020, 511, 1–17. [Google Scholar] [CrossRef]
  12. Tian, Y.; Zou, Q.; Liu, J.Q.; Han, J. Novel hybrid control scheme of a proton exchange membrane fuel cell air supply system. Energy Technol. 2022, 10, 2100906. [Google Scholar] [CrossRef]
  13. Luna, J.; Usai, E.; Husar, A.; Serra, M. Enhancing the efficiency and lifetime of a proton exchange membrane fuel cell using nonlinear model-predictive control with nonlinear observation. IEEE Trans. Ind. Electron. 2017, 64, 6649–6659. [Google Scholar] [CrossRef] [Green Version]
  14. Hoeflinger, J.; Hofmann, P. Air mass flow and pressure optimisation of a PEM fuel cell range extender system. Int. J. Hydrogen Energy 2020, 45, 29246–29258. [Google Scholar] [CrossRef]
  15. Tafaoli-Masoule, M.; Shakeri, M.; Esmaili, Q.; Bahrami, A. PEM fuel cell modeling and pressure investigation. Energy Sources Part A 2011, 33, 2291–2302. [Google Scholar] [CrossRef]
  16. Ogungbemi, E.; Wilberforce, T.; Ijaodola, O.; Thompson, J.; Olabi, A.G. Review of operating condition, design parameters and material properties for proton exchange membrane fuel cells. Int. J. Energy Res. 2020, 45, 1227–1245. [Google Scholar] [CrossRef]
  17. Ahmadi, N.; Dadvand, A.; Rezazadeh, S.; Mirzaee, I. Analysis of the operating pressure and GDL geometrical configuration effect on PEM fuel cell performance. J. Braz. Soc. Mech. Sci. Eng. 2016, 38, 2311–2325. [Google Scholar] [CrossRef]
  18. Daud, W.; Rosli, R.; Majlan, E.; Hamid, S.; Mohamed, R.; Husaini, T. PEM fuel cell system control: A review. Renew. Energy 2017, 113, 620–638. [Google Scholar] [CrossRef]
  19. Zhao, D.D.; Li, F.; Ma, R.; Zhao, G.S.; Huangfu, Y.G. An unknown input nonlinear observer based fractional order PID control of fuel cell air supply system. IEEE Trans. Ind. Appl. 2021, 56, 5523–5532. [Google Scholar] [CrossRef]
  20. Tang, X.; Wang, C.S.; Hu, Y.K.; Liu, Z.J.; Li, F.L. Adaptive fuzzy PID based on granular function for proton exchange membrane fuel cell oxygen excess ratio control. Energies 2021, 14, 1140. [Google Scholar] [CrossRef]
  21. Ouyang, Q.; Chen, J.; Wang, F.; Su, H.Y. Nonlinear MPC controller design for AIR supply of PEM fuel cell based power systems. Asian J. Control 2017, 19, 929–940. [Google Scholar] [CrossRef]
  22. Danzer, M.A.; Wittmann, S.J.; Hofer, E.P. Prevention of fuel cell starvation by model predictive control of pressure, excess ratio, and current. J. Power Sources 2009, 190, 86–91. [Google Scholar] [CrossRef]
  23. Srinivasan, S.; Ticianelli, E.A.; Derouin, C.R.; Redondo, A. Advances in solid polymer electrolyte fuel cell technology with low platinum loading electrodes. J. Power Sources 1988, 22, 359–375. [Google Scholar] [CrossRef]
  24. Springer, T.; Rockward, R.; Zawodzinski, T.; Gottesfeld, S. Model for polymer electrolyte fuel cell operation on reformate feed—Effects of CO, H2 dilution, and high fuel utilization. J. Electrochem. Soc. 2001, 148, A11–A23. [Google Scholar] [CrossRef]
  25. Rowe, A.; Li, X.G. Mathematical modeling of proton exchange membrane fuel cells. J. Power Sources 2001, 102, 82–96. [Google Scholar] [CrossRef] [Green Version]
  26. Sun, L.; Shen, J.; Hua, Q.S.; Lee, K.Y. Data-driven oxygen excess ratio control for proton exchange membrane fuel cell. Appl. Energy 2018, 231, 866–875. [Google Scholar] [CrossRef]
  27. Hames, Y.; Kaya, K.; Baltacioglu, E.; Turksoy, A. Analysis of the control strategies for fuel saving in the hydrogen fuel cell vehicles. Int. J. Hydrogen Energy 2018, 43, 10810–10821. [Google Scholar] [CrossRef]
  28. Biyikoglu, A. Review of proton exchange membrane fuel cell models. Int. J. Hydrogen Energy 2005, 30, 1181–1212. [Google Scholar] [CrossRef]
  29. Benchouia, N.E.; Derghal, A.; Mahmah, B.; Madi, B.; Khochemane, L.; Aoul, E.H. An Adaptive Fuzzy Logic Controller (AFLC) for PEMFC fuel cell. Int. J. Hydrogen Energy 2015, 40, 13806–13819. [Google Scholar] [CrossRef]
  30. Vrlic, M.; Ritzberger, D.; Jakubek, S. Safe and efficient polymer electrolyte membrane fuel cell control using successive linearization based model predictive control validated on real vehicle data. Energies 2020, 13, 5353. [Google Scholar] [CrossRef]
Figure 1. PEMFC system architecture.
Figure 1. PEMFC system architecture.
Processes 10 01499 g001
Figure 2. PEMFC model simulation and verification results: (a) Output characteristic curve; (b) Stack temperature; (c) Cathode pressure.
Figure 2. PEMFC model simulation and verification results: (a) Output characteristic curve; (b) Stack temperature; (c) Cathode pressure.
Processes 10 01499 g002
Figure 3. Optimal oxygen excess ratio parameters of the PEMFC system: (a) 180 A; (b) 180~240 A.
Figure 3. Optimal oxygen excess ratio parameters of the PEMFC system: (a) 180 A; (b) 180~240 A.
Processes 10 01499 g003
Figure 4. Control structure of air supply subsystem.
Figure 4. Control structure of air supply subsystem.
Processes 10 01499 g004
Figure 5. The simulation condition: (a) Load current change condition; (b) Reference optimal oxygen excess ratio.
Figure 5. The simulation condition: (a) Load current change condition; (b) Reference optimal oxygen excess ratio.
Processes 10 01499 g005
Figure 6. PID algorithm simulation results: (a) Oxygen excess ratio following curve; (b) Compressor mass flow and pressure ratio curve.
Figure 6. PID algorithm simulation results: (a) Oxygen excess ratio following curve; (b) Compressor mass flow and pressure ratio curve.
Processes 10 01499 g006
Figure 7. MPC algorithm simulation results: (a) oxygen excess ratio following curve; (b) Compressor mass flow and pressure ratio curve.
Figure 7. MPC algorithm simulation results: (a) oxygen excess ratio following curve; (b) Compressor mass flow and pressure ratio curve.
Processes 10 01499 g007
Figure 8. 2-ADRC algorithm simulation results: (a) Oxygen excess ratio following curve; (b) Compressor mass flow and pressure ratio curve.
Figure 8. 2-ADRC algorithm simulation results: (a) Oxygen excess ratio following curve; (b) Compressor mass flow and pressure ratio curve.
Processes 10 01499 g008
Figure 9. Power simulation results: (a) Stack power; (b) Compressor power; (c) Net power.
Figure 9. Power simulation results: (a) Stack power; (b) Compressor power; (c) Net power.
Processes 10 01499 g009
Figure 10. Efficiency simulation results: (a) PEMFC efficiency; (b) Compressor efficiency.
Figure 10. Efficiency simulation results: (a) PEMFC efficiency; (b) Compressor efficiency.
Processes 10 01499 g010
Table 1. Main parameters of PEMFC system.
Table 1. Main parameters of PEMFC system.
DescriptionParameters Value
Structural parameters of the PEMFCmembrane thickness/cm0.13
active area of cells/cm2280
cathode total volume/cm30.01
Operating parameters of the PEMFCnumber of cells381
temperature of the stack/K353.15
cathode air pressure/bar1.78
Table 2. Optimal oxygen excess ratio parameters of the PEMFC system.
Table 2. Optimal oxygen excess ratio parameters of the PEMFC system.
Load Current RequestOptimal Oxygen Excess RatioLoad Current RequestOptimal Oxygen Excess Ratio
80 A2.958200 A2.387
100 A2.856220 A2.284
120 A2.732240 A2.218
140 A2.624260 A2.180
160 A2.549280 A2.097
180 A2.495300 A2.054
Table 3. Values of state variables in MPC algorithm.
Table 3. Values of state variables in MPC algorithm.
p s m ω c p p r m m a i r , c a m N 2 , c a m O 2 , c a
3.003 × 1051.696 × 1042.439 × 1059.818 × 10−41.938 × 10−20.971 × 10−3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, P.; Ma, Y.; Li, J.; Gao, Y.; Zhang, Y.; Ma, D. A Novel Control Algorithm of the Air Supply Subsystem: Based on Dynamic Modeling of Proton Exchange Membrane Fuel Cell. Processes 2022, 10, 1499. https://doi.org/10.3390/pr10081499

AMA Style

Wang P, Ma Y, Li J, Gao Y, Zhang Y, Ma D. A Novel Control Algorithm of the Air Supply Subsystem: Based on Dynamic Modeling of Proton Exchange Membrane Fuel Cell. Processes. 2022; 10(8):1499. https://doi.org/10.3390/pr10081499

Chicago/Turabian Style

Wang, Pengyu, Yangyang Ma, Jianhua Li, Yukun Gao, Yunrui Zhang, and Denghui Ma. 2022. "A Novel Control Algorithm of the Air Supply Subsystem: Based on Dynamic Modeling of Proton Exchange Membrane Fuel Cell" Processes 10, no. 8: 1499. https://doi.org/10.3390/pr10081499

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