Comprehensive control method of proton exchange membrane fuel cell

By establishing a proton exchange membrane fuel cell system model and applying linear time-varying MPC control theory, combining Cruise and Simulink for joint simulation, the problem that the existing fuel cell control method cannot effectively manage strong coupling and strong nonlinear systems is solved, and fuel is realized Optimized control of multiple targets of the battery significantly improves output efficiency and service life.

CN118943430APending Publication Date: 2024-11-12SOUTHWEST JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410721174.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing fuel cell control methods are mostly single-target control, and it is impossible to effectively manage strongly coupled and strong nonlinear proton exchange membrane fuel cell systems, resulting in unsatisfactory control effects, and it is difficult to reduce costs and improve the output performance and service life of fuel cells. .

Method used

Based on the law of conservation of mass and electrochemical reaction laws, a proton exchange membrane fuel cell system model is established, and the controller is constructed through linear time-varying MPC control theory, combined with Cruise and Simulink for joint simulation, and optimize the control objective function to achieve comprehensive control.

Benefits of technology

Comprehensive control of multiple targets of fuel cells is achieved, reducing the overshoot and convergence time of the system, improving the output efficiency and service life of the fuel cell, which is significantly better than the traditional PID control method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004877191170000021
    Figure BDA0004877191170000021
  • Figure BDA0004877191170000023
    Figure BDA0004877191170000023
  • Figure BDA0004877191170000031
    Figure BDA0004877191170000031
Patent Text Reader

Abstract

The invention discloses a comprehensive control method of a proton exchange membrane fuel cell, which specifically comprises the following steps: establishing a proton exchange membrane fuel cell system model based on the law of conservation of mass and the law of electrochemical reaction, and comparing, analyzing and verifying the accuracy of the model by using previous experimental data; integrating the established mathematical model to obtain a nonlinear state-space equation, and carrying out linearization and discretization processing on the nonlinear state-space equation; constructing a new state vector by combining a linear time-varying MPC control theory, establishing a prediction model, finally constructing an objective function, and solving the objective function through a QP algorithm to obtain an output quantity of the controller; the superiority of the controller is verified by adopting a Cruise and Simulink joint simulation mode, and the comprehensive control of the fuel cell is realized. According to the invention, all targets of the fuel cell can be comprehensively controlled at the same time, and the overshoot and convergence time of the system are greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of proton exchange membrane fuel cell (PEMFC) control, and in particular relates to a comprehensive control method for a proton exchange membrane fuel cell. Background Art

[0002] There are many existing studies on fuel cell control, such as PID control, sliding mode control, fuzzy logic control, etc. However, most of these studies only control a certain control target of the fuel cell separately, or the control effect is not ideal. Since the proton exchange membrane fuel cell system is a strongly coupled and strongly nonlinear system, the traditional controller may have poor control effect or even be uncontrollable. If the cost of fuel cells is further reduced and the economy and durability are improved. There are currently two main methods to improve the output performance of fuel cells. One is to develop new membrane materials or design new fuel cell structures; the other way is to optimize the control of fuel cells to improve the quality of their dynamic response, thereby achieving an increase in output efficiency and service life. Developing a controller with better control performance for proton exchange membrane fuel cell systems is of great significance to improving the output efficiency of fuel cells and extending the service life of fuel cells. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the present invention provides a comprehensive control method for a proton exchange membrane fuel cell.

[0004] A comprehensive control method for a proton exchange membrane fuel cell of the present invention comprises the following steps:

[0005] Step 1: Based on the law of conservation of mass and the law of electrochemical reaction, a proton exchange membrane fuel cell system model is established, and the accuracy of the model is verified by comparative analysis using previous experimental data; and through simulation analysis of the constructed model, the peroxygen ratio, anode and cathode pressure difference and operating temperature are determined as the control targets of the proton exchange membrane fuel cell controller.

[0006] Step 2: Integrate the constructed mathematical model to obtain the nonlinear state space equation, and linearize and discretize the nonlinear state space equation.

[0007] Step 3: Combine the linear time-varying MPC control theory, construct a new state vector, establish a prediction model, and finally construct the objective function. Solve the objective function through the QP algorithm to obtain the output of the controller.

[0008] Step 4: Use Cruise and Simulink co-simulation to verify the superiority of the controller and achieve comprehensive control of the fuel cell.

[0009] Furthermore, the calculation expression formula of the proton exchange membrane fuel cell system model in step 1 is as follows:

[0010]

[0011] Where: x1~x7 represent the air compressor motor speed, cathode supply manifold pressure, cathode oxygen partial pressure, cathode nitrogen partial pressure, cathode water vapor partial pressure, anode hydrogen pressure and fuel cell operating temperature respectively; C i is the modeling constant; parameter V cm ,d, m cw , P atm , P an , P ca 、T st etc. respectively represent the air compressor voltage, load current (externally measurable disturbance), anode hydrogen mass flow, cooling water mass flow into the stack, standard atmospheric pressure, anode pressure, cathode pressure and stack temperature; W CP Represents the outlet flow of the air compressor, and its calculation expression is as follows:

[0012]

[0013] Furthermore, step 2 is specifically as follows:

[0014] The state space equation obtained by modeling is linearized by using Taylor expansion to retain only the first-order terms;

[0015]

[0016] The Jacobian matrix is ​​obtained by calculating the partial derivatives of the state vector, control vector, and disturbance vector for each equation in the state space equation and integrating them together.

[0017] Calculate the partial derivative of the state vector, control vector and disturbance for each equation in the output equation, and then obtain the Jacobian matrix:

[0018]

[0019] The elements of the matrix are:

[0020]

[0021] a 32 =C9T st , a 42 =C 15 T st , a 52 =C 16 Tst ,

[0022]

[0023]

[0024]

[0025]

[0026] d 31 =-C 10 *T st , d 51 =C 17 *T st , d 61 =-C 18 *T st

[0027]

[0028] The linear state space equation obtained after linearization is discretized using the forward Euler method as follows:

[0029]

[0030]

[0031] Furthermore, step 3 is specifically as follows:

[0032] Reconstruct the state quantity and state space expression as follows:

[0033]

[0034] The objective function and constraints are established as follows:

[0035]

[0036] The beneficial technical effects of the present invention are:

[0037] Compared with the existing control methods, the linear time-varying MPC controller for proton exchange membrane fuel cells designed by the present invention can not only realize the comprehensive control of various objectives of the fuel cell at the same time, but also greatly reduce the overshoot and convergence time of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 Shown is a schematic diagram of a proton exchange membrane fuel cell system.

[0039] Figure 2Shown is a state quantity relationship diagram of a proton exchange membrane fuel cell system.

[0040] Figure 3 Shown is the topological structure diagram of the MPC controller.

[0041] Figure 4 Shown is the schematic diagram of the MPC controller.

[0042] Figure 5 Shown is a step steady-state load current graph.

[0043] Figure 6 The figure shows the comparison of steady-state MPC and PID overoxygen ratio control effects.

[0044] Figure 7 The figure shows the comparison of steady-state MPC and PID anode-cathode pressure difference control effects.

[0045] Figure 8 The figure shows the comparison of steady-state MPC and PID temperature control effects.

[0046] Fig. 9 The speed curve under NEDC conditions is shown.

[0047] Fig.10 The figure shows the schematic diagram of the joint simulation.

[0048] Fig.11 The figure shows the comparison of the MPC and PID overoxygen ratio control effects under actual working conditions.

[0049] Fig.12 The figure shows the comparison of MPC and PID anode and cathode pressure difference control effects.

[0050] Fig.13 The figure shows the comparison of MPC and PID temperature control effects. DETAILED DESCRIPTION

[0051] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0052] A comprehensive control method for a proton exchange membrane fuel cell of the present invention comprises the following steps:

[0053] Step 1: Based on the law of conservation of mass and the law of electrochemical reaction, a proton exchange membrane fuel cell system model is established, and the accuracy of the model is verified by comparative analysis using previous experimental data; and through simulation analysis of the built model, the peroxygen ratio, anode and cathode pressure difference and operating temperature are determined as the control targets of the proton exchange membrane fuel cell controller. Figure 1 As shown, the state quantity relationship is as follows Figure 2 shown.

[0054] The calculation formula of the proton exchange membrane fuel cell system model is as follows:

[0055]

[0056] Where: x1~x7 represent the air compressor motor speed, cathode supply manifold pressure, cathode oxygen partial pressure, cathode nitrogen partial pressure, cathode water vapor partial pressure, anode hydrogen pressure and fuel cell operating temperature air compressor outlet air mass flow; C i is the modeling constant.

[0057] C4=P atm , C8=k sm,out , C 22 =k conv,amb , C 23 =T atm , C 25 =T cw,in .

[0058] Other modeling constants are shown in Table 1.

[0059] Table 1 Modeling constants

[0060]

[0061]

[0062] Step 2: Integrate the constructed mathematical model to obtain the nonlinear state space equation, and then linearize and discretize the nonlinear state space equation. The MPC controller topology structure is as follows: Figure 3 As shown, the controller principle is as follows Figure 4 shown.

[0063] The state space equation obtained by modeling is linearized by using Taylor expansion to retain only the first-order terms;

[0064]

[0065] The Jacobian matrix is ​​obtained by calculating the partial derivatives of the state vector, control vector, and disturbance vector for each equation in the state space equation and integrating them together.

[0066] Calculate the partial derivative of the state vector, control vector and disturbance for each equation in the output equation, and then obtain the Jacobian matrix:

[0067]

[0068] The elements of the matrix are:

[0069]

[0070] a 32 =C9T st , a 42 =C 15 T st , a 52 =C 16 T st ,

[0071]

[0072]

[0073]

[0074]

[0075] b 11 =C1,b 62 =C 19 *T st , b 73 =C 20 *C 24 *(C 25 -T st ),

[0076]

[0077] d 31 =-C 10 *T st , d 51 =C 17 *T st , d 61 =-C 18 *T st

[0078]

[0079] The linear state space equation obtained after linearization is discretized using the forward Euler method as follows:

[0080]

[0081]

[0082] Step 3: Combine the linear time-varying MPC control theory, construct a new state vector, establish a prediction model, and finally construct the objective function. Solve the objective function through the QP algorithm to obtain the output of the controller.

[0083] Reconstruct the state quantity and state space expression as follows:

[0084]

[0085] The objective function and constraints are established as follows:

[0086]

[0087] The QP solver is used to solve the objective function.

[0088] Step 4: Use Cruise and Simulink co-simulation to verify the superiority of the controller and achieve comprehensive control of the fuel cell.

[0089] In order to verify the feasibility of the present invention, a steady-state step current condition is firstly adopted, such as Figure 5 As shown, the control effect is verified with the traditional PID controller control effect, such as Figure 6 , 7 , 8. The MPC controller parameters are shown in Table 2.

[0090] Table 2 MPC controller parameters

[0091]

[0092] from Figure 6It can be seen from the figure that under steady-state conditions, for the control of the overoxygen ratio, it can be seen from the local enlarged figure that when the load current changes stepwise at 50s, the overshoot of the MPC controller and the PID controller is basically the same, but the MPC controller stabilizes the overoxygen ratio at the ideal value in less than 52s, while the PID controller adjusts the overoxygen ratio to the steady-state value after more than 55s. The MPC controller shortens the adjustment time by about 60%, which plays a very important role in improving the economy of the proton exchange membrane fuel cell. Similarly, when the load current of the proton exchange membrane fuel cell decreases stepwise at 200s, the overoxygen ratio overshoot under MPC and PID control is basically the same, but the MPC controller adjusts the overoxygen ratio of the fuel cell to the ideal value of the overoxygen ratio in less than 202s, and the PID controller adjusts the overoxygen ratio to the ideal value after more than 206s. The adjustment time of the MPC controller is shortened by more than 70% compared with the adjustment time of the PID controller. Through the above analysis, it can be concluded that for the control of the excess oxygen ratio of proton exchange membrane fuel cells, although the overshoot of the two is roughly the same, the MPC controller can greatly shorten the adjustment time of the excess oxygen ratio, which plays a vital role in improving the economy of proton exchange membrane fuel cells.

[0093] The control effect of the pressure difference between the anode and cathode of the fuel cell is as follows: Figure 7As shown in the figure, it can be seen from the partial enlarged figure that at 50s, when the current changes stepwise, the air compressor will increase the cathode pressure of the fuel cell when adjusting the cathode air intake, and it is necessary to adjust the anode hydrogen intake flow to maintain the balance of the anode and cathode pressures. The overshoot of the anode and cathode pressure difference under the control of the MPC controller is less than 500Pa, while the overshoot of the anode and cathode pressure difference under the PID control exceeds 1700Pa. The MPC controller can reduce the overshoot by more than 1200Pa, which is very important for the control of the anode and cathode pressure and the prevention of the damage of the proton exchange membrane. The MPC controller adjusted the anode and cathode pressure difference to the target value of 0 in about 0.5s, while the PID controller took about 2s to adjust the pressure difference to 0. The MPC controller reduced the adjustment time by 75%. Similarly, at 200s, when the current drops stepwise, the cathode air intake decreases, and it is necessary to reduce the anode hydrogen intake to maintain the balance of the anode and cathode pressures. The overshoot of the anode-cathode pressure difference under the MPC controller is about 500Pa, while the overshoot of the anode-cathode pressure difference under the PID control exceeds 2300Pa. The MPC controller reduces the overshoot by about 1800Pa. The MPC controller takes about 0.5s to adjust the anode-cathode pressure difference to the target value of 0, while the PID controller takes more than 2s to adjust the anode-cathode pressure difference to the target value. MPC saves about 75% of the adjustment time. Through the above analysis, it can be concluded that the control effect of the anode-cathode pressure difference is far better than the PID controller in terms of overshoot and adjustment time.

[0094] The temperature control effect of the fuel cell is as follows Figure 8 As shown in the figure, both the MPC controller and the PID controller can control the operating temperature of the fuel cell at 353.15K, and the temperature fluctuation is very small. When the current rises in a step at 50s, the temperature of the fuel cell fluctuates slightly. The temperature fluctuation under the MPC controller is much smaller than that under PID control, and the adjustment time of the MPC controller is much shorter than that of the PID controller. The MPC stabilizes the temperature in about 1s. Similarly, at 200s, the load current drops in a step, and the cooling system still enters the stack with the original cooling water flow, and the temperature fluctuates downward. The temperature fluctuation under MPC control is still smaller than that under PID control. The MPC controller stabilizes the temperature to 353.15K in less than 2s, while the PID controller needs more than 10s of control time to stabilize the temperature. Through the above analysis, it can be concluded that the MPC controller has a better control effect on the operating temperature of the proton exchange membrane fuel cell than the PID controller.

[0095] In order to further verify the control effect of the designed controller under actual working conditions, the NEDC working condition is adopted, and its speed curve is as follows: Fig. 9As shown, a fuzzy logic power allocation strategy is designed, and its expert experience library is shown in Table 3. The joint simulation method is adopted, and the schematic diagram is shown in Fig.10 As shown in Figure 2, the control effect of the MPC controller under actual working conditions is verified. Fig.11 , 12 , as shown in 13.

[0096] Table 3 Expert experience database

[0097]

[0098] Under actual working conditions, the MPC controller has better control effects than the traditional PID controller. First, for the air intake flow control of the fuel cell, the MPC controller can achieve good tracking of the air intake volume under the optimal excess oxygen ratio, which is of great significance for improving the economy of the fuel cell system. Secondly, the operating temperature of the fuel cell under the control of the MPC controller has almost no fluctuations. Finally, for the control of the anode-cathode pressure difference of the fuel cell, the MPC controller also shows a good control effect. It can be seen from the local enlarged figure that even when the external load current changes drastically, the overshoot of the anode-cathode pressure difference of the fuel cell under the MPC controller is very small, which is of great significance for protecting the proton exchange membrane from damage and extending its service life.

Claims

1. A comprehensive control method for a proton exchange membrane fuel cell, characterized in that: The following steps are involved: Step 1: Based on the law of conservation of mass and the law of electrochemical reaction, a proton exchange membrane fuel cell system model is established, and the accuracy of the model is verified by comparative analysis using previous experimental data; and through simulation analysis of the built model, the peroxygen ratio, anode and cathode pressure difference and operating temperature are determined as the control targets of the proton exchange membrane fuel cell controller; Step 2: Integrate the constructed mathematical model to obtain the nonlinear state space equation, and linearize and discretize the nonlinear state space equation; Step 3: Combine the linear time-varying MPC control theory to construct a new state vector and establish a prediction model. Finally, construct the objective function and solve the objective function through the QP algorithm to obtain the output of the controller. Step 4: Use Cruise and Simulink co-simulation to verify the superiority of the controller and achieve comprehensive control of the fuel cell.

2. The comprehensive control method of a proton exchange membrane fuel cell according to claim 1, characterized in that: The calculation expression formula of the proton exchange membrane fuel cell system model in step 1 is as follows: Where: x1~x7 represent the air compressor motor speed, cathode supply manifold pressure, cathode oxygen partial pressure, cathode nitrogen partial pressure, cathode water vapor partial pressure, anode hydrogen pressure and fuel cell operating temperature respectively; C i is the modeling constant; parameter V cm ,d, m cw , P atm , P an , P ca , T st They represent air compressor voltage, load current, anode hydrogen mass flow, cooling water mass flow, standard atmospheric pressure, anode pressure, cathode pressure and stack temperature respectively; W CP Represents the outlet flow of the air compressor, and its calculation expression is as follows: Stack voltage V st The calculation formula is: V st =N·V cell V cell =E nernst -V act -V ohm -V conc V ohm =I st (ξ5+ξ6T st +ξ7I st ) 3. The comprehensive control method of a proton exchange membrane fuel cell according to claim 1, characterized in that: The step 2 is specifically as follows: The state space equation obtained by modeling is linearized by using Taylor expansion to retain only the first-order terms; Calculate the partial derivatives of the state vector, control vector, and disturbance vector for each equation in the state space equation, and integrate them together to obtain the Jacobian matrix; Calculate the partial derivative of the state vector, control vector and disturbance for each equation in the output equation, and then obtain the Jacobian matrix: The elements of the matrix are: a 32 =C9T st ,a 42 =C 15 T st ,a 52 =C 16 T st , b 11 =C1,b 62 =C 19 *T st ,b 73 =C 20 *C 24 *(C 25 -T st ), d 31 =-C 10 *T st ,d 51 =C 17 *T st ,d 61 =-C 18 *T st The linear state space equation obtained after linearization is discretized using the forward Euler method as follows:

4. The comprehensive control method of a proton exchange membrane fuel cell according to claim 3, characterized in that: The step 3 is specifically as follows: Reconstruct the state quantity and state space expression as follows: The objective function and constraints are established as follows: