Fuel cell anode control method and fuel cell system
Through the combination of PI controller and extended Kalman filter algorithm, the nitrogen concentration and hydrogen pressure in the fuel cell system are monitored and controlled in real time, which solves the problems of low hydrogen utilization and pressure fluctuation in the existing technology and achieves more efficient hydrogen production. Utilization and system stability.
Patent Information
- Application Number
- CN202410578348.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing fuel cell system lacks real-time gas component monitoring and pressure stability control, resulting in low hydrogen utilization, fuel starvation, and anode pressure fluctuations, which affects the operating life of the system.
The PI controller and extended Kalman filter algorithm are used to monitor the anode nitrogen concentration and hydrogen pressure in real time. The proportional valve is used to adjust the hydrogen flow and the exhaust valve for precise control to ensure hydrogen utilization and pressure stability.
It improves hydrogen utilization, stabilizes the anode pressure, extends the operating life of the fuel cell system, and adapts to various dynamic working conditions.
Smart Images

Figure CN118538963A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fuel cells, and in particular to a fuel cell anode control method and a fuel cell system. Background Art
[0002] At present, the automotive industry is moving towards green energy. Fuel cell vehicles will rely on the electrochemical reaction of hydrogen and oxygen to drive the vehicle system. This technology can provide clean power support for vehicles and avoid harmful pollutant emissions. Automotive proton exchange membrane fuel cell systems usually use dead-end anodes. During operation, nitrogen on the cathode side will penetrate into the anode through the drive of concentration gradient, causing nitrogen accumulation on the anode side and reducing the hydrogen concentration at the anode. If the exhaust valve cannot perform exhaust operation in time, it may cause fuel starvation in the fuel cell. In severe cases, it may also cause catalyst dissolution and carbon corrosion, thereby affecting the operating life of the fuel cell system. When the exhaust valve performs exhaust operation and lacks appropriate anode pressure stabilization control measures, the proportional valve cannot quickly supply enough hydrogen, which will cause pressure fluctuations in the anode stack. Long-term large-scale pressure fluctuations will significantly increase the mechanical stress on the membrane, and in severe cases, it will also cause perforation and cracking of the membrane. Therefore, the determination of the exhaust timing of the fuel cell anode system and the pressure stabilization control algorithm of the intake proportional valve are two important links in the control of the anode system.
[0003] For the control of the anode exhaust valve of a high-power fuel cell system, due to the lack of a suitable gas component analysis device for real-time component monitoring, most systems mainly use fixed exhaust valve working intervals and working times to perform periodic exhaust operations. Although this method can meet the system working needs under steady-state conditions, it cannot be flexibly adjusted under variable working conditions. At the same time, due to the lack of real-time observation of gas components, in order to avoid fuel starvation, the exhaust interval is generally set short, which causes a large amount of hydrogen to be discharged directly before reacting, reducing fuel utilization and reducing economic benefits.
[0004] For the current fuel cell system anode stack proportional valve control, since the exhaust action will cause an instantaneous pressure drop, reasonable feedforward compensation is required to increase the proportional valve opening at the exhaust moment to alleviate the pressure fluctuation. However, due to the limitation that the internal state of the fuel cell cannot be obtained, it is also a difficult problem to determine the feedforward value under different operating conditions. Too large a feedforward value may aggravate the pressure fluctuation, and too small a feedforward value may not be able to suppress the pressure fluctuation. Summary of the invention
[0005] The object of the present invention is to provide a fuel cell anode control method and a fuel cell system, which improves the hydrogen utilization rate and ensures the stability of the feedforward compensation process.
[0006] To achieve the above object, the present invention provides the following solutions:
[0007] In a first aspect, the present invention provides a fuel cell anode control method, comprising:
[0008] Obtaining the current actual anode stack pressure of the fuel cell system;
[0009] Calculating a current pressure difference according to the set anode stack pressure and the current actual anode stack pressure;
[0010] Based on the PI controller, according to the current pressure difference, the current opening value of the stack pressure control proportional valve of the fuel cell system is determined; the stack pressure control proportional valve is used to adjust the pressure of hydrogen entering the fuel cell stack according to the current opening value;
[0011] Based on the extended Kalman filter algorithm, the anode nitrogen concentration is estimated by taking the proportional valve input gas flow, load current and exhaust valve working state of the fuel cell system as input;
[0012] When the anode nitrogen concentration meets a preset threshold condition, opening the exhaust valve in the fuel cell system and determining an exhaust flow compensation value;
[0013] Based on the PI controller, the current input gas flow rate of the stack pressure control proportional valve is determined according to the exhaust flow rate compensation value and the current opening value.
[0014] In a second aspect, the present invention provides a fuel cell system, including a hydrogen storage tank, a hydrogen pressure reducing valve, a stack pressure control proportional valve, an ejector, a water separator, an exhaust valve, a fuel cell stack and a controller;
[0015] The hydrogen storage tank, the hydrogen pressure reducing valve, the stack inlet pressure control proportional valve, the ejector and the input end of the stack are connected in sequence, and a stack inlet temperature sensor and a stack inlet pressure sensor are arranged on the flow channel between the ejector and the stack; the output end of the stack, the water distributor and the exhaust valve are arranged in sequence, and a stack outlet temperature sensor and a stack outlet pressure sensor are arranged on the flow channel between the stack and the water distributor;
[0016] The stack entry pressure sensor is used to detect the current actual anode stack entry pressure; the stack exit pressure sensor is used to detect the current actual anode stack exit pressure;
[0017] The inlet pressure control proportional valve is used to adjust the hydrogen pressure entering the fuel cell stack by changing the opening; the water separator is used to separate the liquid water component in the anode outlet gas; the exhaust valve is used to discharge the anode gas;
[0018] The controller is electrically connected to the stack pressure control proportional valve and the exhaust valve respectively, and the controller is used to implement the fuel cell anode control method.
[0019] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0020] According to the anode set stack pressure and the current anode actual stack pressure of the fuel cell system, the current pressure difference is calculated, and then feedback control is realized through the PI controller to determine the current opening value of the stack pressure control proportional valve, wherein the stack pressure control proportional valve adjusts the hydrogen pressure entering the stack according to the current opening value, so as to achieve precise control of the intake. Based on the extended Kalman filter algorithm, the anode nitrogen concentration is estimated with the proportional valve input gas flow, load current and exhaust valve working state of the fuel cell system as input. So far, the online monitoring of the anode gas components of the fuel cell is realized through the extended Kalman filter algorithm. When the preset threshold condition is met, the exhaust valve is opened for exhaust, and the preset threshold condition set therein can accurately guide the exhaust, and while fully adapting to various dynamic working conditions, the hydrogen utilization rate is improved. In addition, feedback control is also performed according to the exhaust flow compensation value and the current opening value to determine the current input gas flow of the stack pressure control proportional valve, that is, the present invention realizes the estimation of the exhaust flow compensation value, thereby accurately controlling the intake proportional valve for feedforward compensation and stabilizing the anode pressure at the exhaust time. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0022] Figure 1 It is a schematic flow chart of the fuel cell anode control method of the present invention;
[0023] Figure 2 Schematic diagram of an algorithm example of a fuel cell anode control method of the present invention;
[0024] Figure 3 It is a schematic structural diagram of the fuel cell system of the present invention.
[0025] Explanation of symbols:
[0026] 1-Hydrogen storage tank, 2-Hydrogen pressure reducing valve, 3-Stack entry pressure control proportional valve, 4-Ejector, 5-Stack entry temperature sensor, 6-Stack entry pressure sensor, 7-Stack exit temperature sensor, 8-Stack exit pressure sensor, 9-Water separator, 10-Exhaust valve, 11-Stack. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0029] Example 1
[0030] like Figure 1 As shown, the present invention provides a fuel cell anode control method, comprising:
[0031] Step 100, obtaining the current actual anode stack pressure of the fuel cell system.
[0032] Step 200, calculating the current pressure difference according to the set anode stack pressure and the current actual anode stack pressure.
[0033] Step 300, based on the PI controller, determine the current opening value of the stack pressure control proportional valve in the fuel cell system according to the current pressure difference; the stack pressure control proportional valve is used to adjust the hydrogen pressure entering the fuel cell stack according to the current opening value.
[0034] The calculation formula of the current opening value is:
[0035] α PI =k p ·P err +k i ∫P err .
[0036] Among them, α PI is the current opening value, k p is the proportionality coefficient, k i is the integral coefficient, P err is the current pressure difference.
[0037] Step 400 , based on an extended Kalman filter algorithm, the anode nitrogen concentration is estimated by taking the proportional valve input gas flow, load current and exhaust valve working state of the fuel cell system as inputs.
[0038] Step 400 specifically includes:
[0039] (1) A state space equation is constructed using the anode stack pressure, anode hydrogen partial pressure, anode water vapor partial pressure and anode nitrogen partial pressure in the fuel cell system as state variables.
[0040] Among them, the system input, that is, the input u of the fuel cell system is:
[0041]
[0042] The observation input z of the system is selected as:
[0043]
[0044] The state variable x of the state observer is selected as:
[0045]
[0046] Based on the above settings, the state space equation constructed is as follows:
[0047]
[0048] Among them, p sm is the anode stack pressure, p H2 is the anode hydrogen partial pressure, p vapor is the anode water vapor partial pressure, p N2 is the anode nitrogen partial pressure; T st is the stack temperature, R H2 is the gas constant of hydrogen, V sm is the volume of the intake duct, k an,in is the anode air intake flow coefficient, V an is the anode channel volume, is the molar mass of hydrogen, n is the number of cells in the battery stack, F is the Faraday constant, k an,out is the anode exhaust flow coefficient. Assuming the relative humidity of the anode is 100%, the water vapor concentration of the anode will not change. N2 is the gas constant of nitrogen, p atm is atmospheric pressure, γ per is the total nitrogen permeability coefficient; W in is the gas flow rate input to the proportional valve, I is the load current, HDV st is the exhaust valve working state. To simplify the model, it is assumed that the cathode nitrogen concentration ratio remains constant at β, p ca is the total pressure in the cathode chamber.
[0049] (2) Determine the output equation of the state space equation; the output equation is:
[0050]
[0051] Among them, z is the output matrix, pom Anode stack pressure.
[0052] (3) Based on the state space equation and the output equation, the proportional valve input gas flow, load current and exhaust valve working state of the fuel cell system are used as inputs to initialize the state, and then iteration and updating are performed to obtain the estimated value of the state variable. The calculation process is as follows:
[0053] 30) When the number of iterations k = 0, execute the following steps.
[0054] 31) Initialize the state matrix x0, covariance matrix P, and observation noise matrix R c , process noise matrix Q c .
[0055] 32) When k = 1, 2, 3..., execute the following steps 33)-39) in sequence.
[0056] 33) Prior state update:
[0057] 34) Calculate the Jacobian matrix:
[0058] 35) Prior covariance matrix update: P k - =A k P k-1 A k-1 T +Q c .
[0059] 36) Calculate the Jacobian matrix:
[0060] 37) Calculate the Kalman gain:
[0061] 38) Posterior estimate update:
[0062] 39) Update of the posterior covariance matrix:
[0063] (4) Based on the estimated value of the state variable, the anode nitrogen concentration is calculated. The extended Kalman observer achieves the optimal estimate of the system state variable by prediction and updating in each time step. The calculation formula of the anode nitrogen concentration is:
[0064]
[0065] Step 500, when the anode nitrogen concentration meets the preset threshold condition, the exhaust valve in the fuel cell system is opened, and the exhaust flow compensation value is determined; the calculation formula of the exhaust flow compensation value is:
[0066]
[0067] in, is the anode nitrogen concentration, is the exhaust flow compensation value, and x is the state variable.
[0068] Step 600 : determining the current input gas flow rate of the stack pressure control proportional valve based on the PI controller, according to the exhaust flow rate compensation value and the current opening value.
[0069] Step 600 specifically includes:
[0070] (1) When the exhaust valve is opened, the feedforward controller based on flow compensation will calculate an exhaust gas flow value, which will cooperate with the PI main controller to increase the opening of the stack proportional valve. Specifically, the compensation opening value is calculated based on the exhaust flow compensation value, and the calculation formula is as follows:
[0071]
[0072] Among them, k p is the adjustment coefficient, α purge To compensate the opening value, is the exhaust flow compensation value.
[0073] (2) Add the current opening value and the compensation opening value to obtain a total opening value.
[0074] (3) According to the total opening value, the current input gas flow rate of the stack pressure control proportional valve is calculated, and the calculation formula is as follows:
[0075]
[0076] Among them, W prein is the current input gas flow rate of the stack pressure control proportional valve, α is the total opening value, T is the gas temperature, ρ is the gas density, K v is the flow coefficient of the proportional valve, P in It is the gas pressure at the front end of the proportional valve. It should be noted that the gas pressure at the front end of the proportional valve is the pressure when the gas enters the pressure control proportional valve, which is measured in real time.
[0077] In a specific algorithm example, Figure 2As shown in the figure, the anode stack pressure control proportional valve is adjusted by the opening, and the adjustment of the opening mainly depends on a proportional-integral (PI) main controller and a feedforward controller based on state estimation flow compensation. After the stack pressure control proportional valve is opened, the nitrogen concentration in the anode flow channel is estimated in real time based on the extended Kalman filter algorithm. When the nitrogen concentration reaches the set threshold, an exhaust operation will be performed to maintain the stability of the anode hydrogen concentration. When the exhaust valve is opened, the feedforward controller based on state estimation flow compensation calculates a flow value of the exhaust gas based on the extended Kalman filter algorithm. This value is combined with the PI main controller to increase the opening of the stack pressure control proportional valve to accurately compensate for the current pressure loss in the anode flow channel. That is, the state estimation feedback comes from the output state value of an extended Kalman filter algorithm.
[0078] Compared with the prior art, the present invention also has the following advantages:
[0079] (1) The present invention realizes online monitoring of the anode gas components of the fuel cell, making up for the shortcomings of the current system sensors, accurately guiding the exhaust through the nitrogen concentration threshold, adapting to dynamic working conditions, and improving the hydrogen utilization rate.
[0080] (2) The present invention realizes the estimation of the exhaust flow rate of the fuel cell, thereby providing accurate control feedforward compensation for the intake proportional valve and suppressing the anode pressure fluctuation at the exhaust time.
[0081] Example 2
[0082] like Figure 3 As shown, the present invention also provides a fuel cell system, including a hydrogen storage tank 1, a hydrogen pressure reducing valve 2, a stack pressure control proportional valve 3, an ejector 4, a water separator 9, an exhaust valve 10, a fuel cell stack 11 and a controller.
[0083] The hydrogen storage tank 1, the hydrogen pressure reducing valve 2, the stack entry pressure control proportional valve 3, the ejector 4 and the input end of the fuel cell stack 11 are connected in sequence, and a stack entry temperature sensor 5 and a stack entry pressure sensor 6 are arranged on the flow channel between the ejector 4 and the fuel cell stack 11; the output end of the fuel cell stack 11, the water separator 9 and the exhaust valve 10 are arranged in sequence, and a stack exit temperature sensor 7 and a stack exit pressure sensor 8 are arranged on the flow channel between the fuel cell stack 11 and the water separator 9.
[0084] The stack entry pressure sensor 6 is used to detect the current actual anode stack entry pressure; the stack exit pressure sensor 8 is used to detect the current actual anode stack exit pressure.
[0085] The stack pressure control proportional valve 3 is used to adjust the hydrogen pressure entering the fuel cell stack 11 by changing the opening; the water separator 9 is used to separate the liquid water component in the anode outflow gas; the exhaust valve 10 is used to discharge the anode gas; the ejector 4 is used to ensure the hydrogen flow rate; the fuel cell stack 11 is used to generate electricity and heat.
[0086] The controller is electrically connected to the stack pressure control proportional valve 3 and the exhaust valve 10, respectively, and is used to implement the fuel cell anode control method as described in Example 1. That is, in the present invention, there are two executors of the controller's instructions, namely, the stack pressure control proportional valve 3 and the exhaust valve 10 out of the stack, and the feedback control of the stack pressure is completed by adjusting the opening of the proportional valve, and the exhaust operation is performed by adjusting the switch of the exhaust valve 10.
[0087] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0088] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A fuel cell anode control method, Characterized in that the method include: Obtaining the current actual anode stack pressure of the fuel cell system; Calculating a current pressure difference according to the set anode stack pressure and the current actual anode stack pressure; Based on the PI controller, according to the current pressure difference, the current opening value of the stack pressure control proportional valve of the fuel cell system is determined; the stack pressure control proportional valve is used to adjust the pressure of hydrogen entering the fuel cell stack according to the current opening value; Based on the extended Kalman filter algorithm, the anode nitrogen concentration is estimated by taking the proportional valve input gas flow, load current and exhaust valve working state of the fuel cell system as input; When the anode nitrogen concentration meets a preset threshold condition, opening the exhaust valve in the fuel cell system and determining an exhaust flow compensation value; Based on the PI controller, the current input gas flow rate of the stack pressure control proportional valve is determined according to the exhaust flow rate compensation value and the current opening value.
2. The fuel cell anode control method according to claim 1, It is characterized in that The calculation formula of the current opening value is: α PI =k p ·P err +k i ∫P err ; Among them, α PI is the current opening value, k p is the proportionality coefficient, k i is the integral coefficient, P err is the current pressure difference.
3. The fuel cell anode control method according to claim 1, It is characterized in that Based on the extended Kalman filter algorithm, the anode nitrogen concentration is estimated by taking the proportional valve input gas flow, load current and exhaust valve working state of the fuel cell system as input, specifically including: The state space equation is constructed by taking the anode stack pressure, the anode hydrogen partial pressure, the anode water vapor partial pressure and the anode nitrogen partial pressure in the fuel cell system as state variables; determining an output equation of the state-space equation; Based on the state space equation and the output equation, after initializing the state with the proportional valve input gas flow, load current and exhaust valve working state of the fuel cell system as input, iterate and update to obtain the estimated value of the state variable; Based on the estimated value of the state variable, the anode nitrogen concentration is calculated.
4. The fuel cell anode control method according to claim 3, It is characterized in that The state space equation is as follows: Among them, p sm is the anode stack pressure, p H2 is the anode hydrogen partial pressure, p vapor is the anode water vapor partial pressure, p N2 is the anode nitrogen partial pressure, T st is the stack temperature, R H2 is the gas constant of hydrogen, V sm is the volume of the intake duct, k an,in is the anode air intake flow coefficient, V an is the anode channel volume, is the molar mass of hydrogen, n is the number of cells in the battery stack, F is the Faraday constant, k an,out is the anode exhaust flow coefficient, R N2 is the gas constant of nitrogen, p atm is atmospheric pressure, γ per is the total nitrogen permeability coefficient, W in is the gas flow rate input to the proportional valve, I is the load current, HDV st is the working state of the exhaust valve, β is the proportion of cathode nitrogen concentration, p ca is the total pressure in the cathode chamber.
5. The fuel cell anode control method according to claim 4, It is characterized in that The output equation is: Among them, z is the output matrix, p om Anode stack pressure.
6. The fuel cell anode control method according to claim 3, It is characterized in that The calculation formula of the anode nitrogen concentration is: The calculation formula of the exhaust flow compensation value is: in, is the anode nitrogen concentration, is the exhaust flow compensation value, x is the state variable, p sm is the anode stack pressure, p H2 is the anode hydrogen partial pressure, p vapor is the anode water vapor partial pressure, p N2 is the anode nitrogen partial pressure, k an,out is the anode exhaust flow coefficient, p atm is atmospheric pressure.
7. The fuel cell anode control method according to claim 1, It is characterized in that Based on the PI controller, according to the exhaust flow compensation value and the current opening value, determining the current input gas flow of the stack pressure control proportional valve specifically includes: The compensation opening value is calculated according to the exhaust flow compensation value, and the calculation formula is as follows: Among them, k p is the adjustment coefficient, α purge To compensate the opening value, is the exhaust flow compensation value; Adding the current opening value to the compensation opening value to obtain a total opening value; According to the total opening value, the current input gas flow rate of the stack pressure control proportional valve is calculated, and the calculation formula is as follows: Among them, W prein is the current input gas flow rate of the stack pressure control proportional valve, α is the total opening value, T is the gas temperature, ρ is the gas density, K v is the flow coefficient of the proportional valve, P in is the gas pressure at the front end of the proportional valve.
8. A fuel cell system, It is characterized in that The system includes a hydrogen storage tank, a hydrogen pressure reducing valve, a proportional valve for controlling the inlet pressure, an ejector, a water separator, an exhaust valve, a fuel cell stack and a controller; The hydrogen storage tank, the hydrogen pressure reducing valve, the stack inlet pressure control proportional valve, the ejector and the input end of the stack are connected in sequence, and a stack inlet temperature sensor and a stack inlet pressure sensor are arranged on the flow channel between the ejector and the stack; the output end of the stack, the water distributor and the exhaust valve are arranged in sequence, and a stack outlet temperature sensor and a stack outlet pressure sensor are arranged on the flow channel between the stack and the water distributor; The stack entry pressure sensor is used to detect the current actual anode stack entry pressure; the stack exit pressure sensor is used to detect the current actual anode stack exit pressure; The inlet pressure control proportional valve is used to adjust the hydrogen pressure entering the fuel cell stack by changing the opening; the water separator is used to separate the liquid water component in the anode outlet gas; the exhaust valve is used to discharge the anode gas; The controller is electrically connected to the stack pressure control proportional valve and the exhaust valve respectively, and the controller is used to implement the fuel cell anode control method according to any one of claims 1 to 7.
Citation Information
Cited By
Fuel cell engine anode nitrogen content estimation method
CN119050422A
Fuel cell anode hydrogen discharge valve control method, equipment, medium and product
CN119092760A
An optimized control method and system for hydrogen fuel cells
CN122907678A
