Proton exchange membrane fuel cell temperature control method based on neural network

Through the sliding mode control method based on neural networks, combined with the improved power reaching law and hyperbolic tangent function, the temperature control problem of proton exchange membrane fuel cells when heat production changes is solved, and more efficient temperature tracking and robustness are achieved properties, improving the overall performance of the fuel cell.

CN118782841APending Publication Date: 2024-10-15韩晓

Patent Information

Application Number
CN202410802217.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

It is difficult to achieve stable temperature control of proton exchange membrane fuel cells when heat production changes, affecting their efficiency and life.

Method used

A proton exchange membrane fuel cell temperature control method based on neural networks is adopted. By analyzing the principles of heat generation and heat dissipation, a mathematical model is established, a sliding mode controller is designed, and an improved power reaching law and hyperbolic tangent function are introduced, combined with neural network estimation. The disturbance is compensated and an improved double-power sliding mode controller is obtained.

Benefits of technology

It improves the tracking accuracy and robustness of the fuel cell temperature, enhances the system's response to external interference, reduces the buffeting of temperature control, and improves the efficiency and service life of the fuel cell.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118782841A_ABST
    Figure CN118782841A_ABST
Patent Text Reader

Abstract

The invention discloses a proton exchange membrane fuel cell temperature control method based on a neural network, and belongs to the technical field of fuel cell temperature control. The method comprises the following steps: firstly, analyzing heat production and heat dissipation principles of the proton exchange membrane fuel cell, and establishing mathematical models of temperatures of the proton exchange membrane fuel cell, a water tank and a radiator according to a heat conservation equation; secondly, establishing a related nonlinear control system according to the mathematical model, and designing a sliding-mode controller of the battery temperature by using a sliding-mode control method; then, in combination with the sliding mode controller, introducing an improved power reaching law and a hyperbolic tangent function to obtain an improved double-power sliding mode controller for the temperature of the proton exchange membrane fuel cell; and finally, aiming at disturbance, estimating the disturbance by adopting a neural network, and compensating the improved double-power controller by utilizing an estimation result, so as to obtain the proton exchange membrane fuel cell temperature controller based on the neural network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fuel cell temperature control, and in particular to a proton exchange membrane fuel cell temperature control method based on a neural network. Background Art

[0002] With the development of science and technology, increasingly serious environmental problems and energy crises are also becoming more and more prominent. In order to protect the living environment of mankind and solve energy problems, technologies related to the replacement of traditional fossil energy with clean energy are also developing. Proton exchange membrane fuel cells are a highly efficient energy conversion device that converts hydrogen and oxygen into electrical energy through electrochemical reactions. Its byproduct is only water, which is very environmentally friendly. However, in order to ensure the optimal performance and long-term stability of the proton exchange membrane fuel cell system, temperature control is a key technical challenge.

[0003] The chemical reactions in proton exchange membrane fuel cells generate a lot of heat. The temperature of the stack directly affects the performance and life of the battery. If this heat cannot be effectively managed and discharged, the temperature of the fuel cell will rise, thereby affecting the ion conductivity of the proton exchange membrane and the overall efficiency of the fuel cell. Temperature control is designed to keep the stack in a suitable operating temperature range, usually between 70°C and 90°C. Within this range, the membrane electrode assembly can achieve the best ion transfer rate and catalytic activity, thereby improving conversion efficiency and response speed. Therefore, effective temperature control has become one of the key factors to ensure the stable operation of proton exchange membrane fuel cells.

[0004] In order to solve the temperature control problem of proton exchange membrane fuel cells when the heat generation changes, the present invention proposes a proton exchange membrane fuel cell temperature control method based on a neural network. The method aims to effectively improve the efficiency of the battery and extend its service life, thereby achieving stable tracking of the set temperature and improving the rapid response capability and robustness of the system. Summary of the invention

[0005] The present invention provides a proton exchange membrane fuel cell temperature control method based on a neural network, which is used to solve the above technical problems. First, the heat generation and heat dissipation principle of the proton exchange membrane fuel cell is analyzed, and a mathematical model of the temperature of the proton exchange membrane fuel cell, the water tank and the radiator is established according to the heat conservation equation; secondly, a related nonlinear control system is established according to the mathematical model, and a sliding mode controller of the battery temperature is designed using a sliding mode control method; then, in combination with the sliding mode controller, an improved power reaching law and a hyperbolic tangent function are introduced to obtain an improved double power sliding mode controller of the proton exchange membrane fuel cell temperature; finally, a neural network is used to estimate the disturbance, and the improved double power controller is compensated using the estimation result, thereby obtaining a proton exchange membrane fuel cell temperature controller based on a neural network.

[0006] A proton exchange membrane fuel cell temperature control method based on a neural network comprises the following steps:

[0007] S1. Analyze the heat generation and heat dissipation principle of the proton exchange membrane fuel cell, and establish a mathematical model of the temperature of the proton exchange membrane fuel cell, water tank and radiator based on the heat conservation equation;

[0008] S2. Establishing a nonlinear control system according to the mathematical model, and designing a sliding mode controller of the temperature of the proton exchange membrane fuel cell using a sliding mode control method;

[0009] S3. In combination with the sliding mode controller, an improved power reaching law and a hyperbolic tangent function are introduced to obtain an improved dual power sliding mode controller for the temperature of the proton exchange membrane fuel cell;

[0010] S4. Aiming at the disturbance, a neural network is used to estimate the disturbance, and the estimation result is used to compensate the improved dual-power controller, thereby obtaining a proton exchange membrane fuel cell temperature controller based on a neural network.

[0011] Furthermore, a mathematical model of the temperature of the proton exchange membrane fuel cell is established based on the heat conservation equation. The specific formula is:

[0012]

[0013] Among them, C st represents the specific heat capacity of the proton exchange membrane fuel cell stack, M st is the mass of the battery stack, T st is the temperature of the battery stack, Q st is the heat generated by the electrochemical reaction of the battery stack, P st Indicates the load power of the battery stack, Q c The heat dissipated by the coolant, Q rad is the power of thermal radiation of the battery stack;

[0014] Where Q st , P st , Q c and Q rad Respectively expressed as:

[0015]

[0016] P st =nU fc I st ;

[0017] Q c =Q w +Q sr ;

[0018] Qrad =K st S(T st -T0+d);

[0019] Where n is the number of cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, and I st is the load current of the battery stack, F is the Faraday constant; U fc is the voltage of a single cell in a fuel cell stack; Q w is the cooling power of the water tank, Q sr is the heat dissipation power of the radiator; K st is the heat exchange coefficient between the fuel cell stack and the environment, S is the fuel cell unit area, T0 is the ambient temperature, and d is the disturbance.

[0020] Furthermore, a mathematical model of the temperature of the water tank and the radiator is established, and the specific formula is:

[0021] Q w =C w W w (T st -T w +d)-K w S w (T w -T0);

[0022] Q sr =C w W w (T w -T sr )-C air W air (T sr -T0);

[0023] Among them, Q w is the cooling power of the water tank, Q sr is the heat dissipation power of the radiator; C w is the specific heat capacity of the water tank coolant, W w is the coolant flow rate, T st is the temperature of the battery stack, T w is the temperature of the water tank, T0 is the temperature of the environment, d is the disturbance, K w is the heat exchange coefficient between the water tank and the environment, S w is the water tank area; T sr is the temperature of the radiator, C air is the specific heat capacity of air, W air is the air flow rate.

[0024] Furthermore, a nonlinear control system is established according to the mathematical model, and the specific formula is:

[0025]

[0026] Where x(t) is the battery stack temperature T st , is the state variable, t is the time, is the first-order derivative of x(t), u(t) is the coolant flow rate W w , is the control variable, a i , i=1,2,…7 are the coefficients of the nonlinear control system. The specific formulas of the coefficients in the nonlinear control system are as follows:

[0027]

[0028] Among them, C st is the specific heat capacity of the battery stack, M st is the mass of the battery stack, n is the number of single cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, I st is the load current of the battery stack, F is the Faraday constant, U fc is the voltage of a single cell in a fuel cell stack; C w is the specific heat capacity of the water tank coolant; T sr is the temperature of the radiator, d is the disturbance; K w is the heat exchange coefficient between the water tank and the environment, S w is the water tank area, T w is the temperature of the water tank, T0 is the temperature of the environment; C air is the specific heat capacity of air, W air is the air flow rate; K st is the heat exchange coefficient between the fuel cell stack and the environment, and S is the area of ​​the fuel cell unit.

[0029] Furthermore, a nonlinear control system is established according to the mathematical model, and a sliding mode controller of the temperature of the proton exchange membrane fuel cell is designed using a sliding mode control method. The acquisition process of the sliding mode controller is as follows:

[0030] Define the system error e(t) as:

[0031] e(t)=x(t)-x d (t);

[0032] Where e(t) is the system error, x d (t) is the desired temperature;

[0033] The designed sliding surface s is:

[0034] s = ce(t);

[0035]

[0036] Where s is the sliding surface, c is the sliding surface coefficient, and is a positive constant. is the first-order derivative of s;

[0037] available:

[0038]

[0039] Substituting into the nonlinear control system:

[0040]

[0041] Then the specific formula of the sliding mode controller is:

[0042]

[0043] Among them, u(t) is the control variable, x(t) is the state variable, and a i , i=1,2,…7 are the coefficients of the nonlinear control system.

[0044] Furthermore, in S3, the improved power reaching law and hyperbolic tangent function are introduced to obtain an improved dual-power sliding mode controller for the temperature of the proton exchange membrane fuel cell; specifically:

[0045] The formula of the power reaching law is:

[0046]

[0047] Wherein, k1, k2, α are the power reaching law coefficients, k1, k2>0, 0<α<1, s is the sliding surface, sgn(s) is the sign function, specifically:

[0048]

[0049] Introducing a continuous and smooth hyperbolic tangent function to replace the sign function, the improved power reaching law is:

[0050]

[0051] Where tanh(s) is the hyperbolic tangent function;

[0052] Combined with the sliding mode controller, the improved dual-power sliding mode controller of the proton exchange membrane fuel cell temperature is obtained as follows:

[0053]

[0054] Among them, u(t) is the control variable, x(t) is the state variable, c is the sliding surface coefficient, a i , i=1,2,…7 are the coefficients of the nonlinear control system.

[0055] Furthermore, the improved power reaching law and hyperbolic tangent function are introduced to establish an improved dual-power sliding mode controller for the temperature of a proton exchange membrane fuel cell. The acquisition process of the improved dual-power sliding mode controller is as follows:

[0056] The specific formula of the power reaching law is:

[0057]

[0058] Wherein, k1, k2, α are the power reaching law coefficients, k1, k2>0, 0<α<1, s is the sliding surface, sgn(s) is the sign function, and the specific formula is:

[0059]

[0060] A continuous and smooth hyperbolic tangent function is introduced to replace the sign function. The specific formula of the improved power reaching law is:

[0061]

[0062] Among them, tanh(s) is the hyperbolic tangent function;

[0063] Combined with the sliding mode controller, the improved dual-power sliding mode controller is obtained, and the specific formula is:

[0064]

[0065] Among them, u(t) is the control variable, x(t) is the state variable, c is the sliding surface coefficient, a i , i=1,2,…7 are the coefficients of the nonlinear control system.

[0066] Furthermore, due to the approximation characteristics of the neural network, the neural network is used to approximate the external disturbance d, and the algorithm is:

[0067]

[0068] Where, d is the disturbance, W T is the ideal weight of the neural network, x is the input of the neural network, P(x) is the output of the neural network, and ε(x) is the approximation error of the neural network;

[0069] P(x) selects Gaussian function, the formula is:

[0070]

[0071] Among them, c j is the center value of the Gaussian function, b j is the width of the Gaussian function; the disturbance estimate is:

[0072]

[0073] in, is the estimated value of d, for The estimated value of; the adaptive law of the neural network is designed as:

[0074]

[0075] in, for The first-order derivative of , f1 and f2 are the controller parameters to be designed, which are positive constants.

[0076] Furthermore, the disturbance term in the sliding mode controller of the improved power reaching law is replaced by the disturbance estimation value to obtain a proton exchange membrane fuel cell temperature controller based on a neural network. The specific formula is:

[0077]

[0078] Among them, u(t) is the control variable, x(t) is the state variable, c is the sliding surface coefficient, a i , i=1,4,5,6 are the coefficients of the nonlinear control system; C st is the specific heat capacity of the battery stack, M st is the mass of the battery stack, C w is the specific heat capacity of the tank coolant, T sr is the temperature of the radiator, T0 is the temperature of the environment, K st is the heat exchange coefficient between the fuel cell stack and the environment, S is the area of ​​the fuel cell unit; W T is the ideal weight of the neural network in the temperature measurement, for , P(x) is the Gaussian function; k1, k2, α are the power reaching law coefficients, k1, k2>0, 0<α<1, s is the sliding surface, and tanh(s) is the hyperbolic tangent function.

[0079] Compared with the prior art, the present invention has the following beneficial effects:

[0080] 1. The sliding mode control strategy is adopted, which not only has a good control effect on nonlinear systems and uncertain systems, has good robustness, but also has a good resistance to changes in model parameters and disturbances. The physical implementation in practical applications is relatively simple, reducing the complexity and cost of implementation.

[0081] 2. An improved power approaching law is designed, which can make the system state quickly approach the sliding mode when it is far away from the sliding mode. When the system state is close to the sliding mode, the chattering is reduced, and a faster convergence speed can be obtained, which increases the response speed of temperature tracking, improves the system performance of fuel cell temperature control, and has a good inhibitory effect on the chattering problem that is common in sliding mode control;

[0082] 3. A neural network is introduced to address the disturbance problem that exists during temperature measurement. It can accurately estimate the impact of external disturbances through real-time learning and dynamic adjustment of control strategies, improve the system's rapid response and adaptability to external disturbances, reduce tracking errors, achieve stable tracking of the desired temperature, and improve the system's speed and robustness. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] Figure 1 It is a schematic diagram of the process of the present invention;

[0084] Figure 2 is the temperature variation curve of the proton exchange membrane fuel cell when the expected value is a constant;

[0085] Figure 3 is the coolant flow rate variation curve of the proton exchange membrane fuel cell when the expected value is a constant;

[0086] Figure 4 is the load current variation curve of the proton exchange membrane fuel cell when the expected value is a constant;

[0087] Figure 5 The expected value is a constant, and the temperature change curve of the proton exchange membrane fuel cell when the load current changes stepwise;

[0088] Figure 6 The expected value is a constant, and the coolant flow rate change curve when the load current of the proton exchange membrane fuel cell changes step by step. DETAILED DESCRIPTION

[0089] 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.

[0090] Commonly used proton exchange membrane fuel cells generate energy and a large amount of heat through electrochemical reactions in the stack, causing the stack temperature to rise. If this heat cannot be effectively managed and discharged, it will directly affect the overall performance and life of the battery, thereby affecting the ion conductivity of the proton exchange membrane and the overall efficiency of the fuel cell. An effective temperature control system is one of the factors to ensure the stable operation of the battery. In addition, the prior art is not good at dealing with interference in temperature measurement, which can easily affect the stability of temperature control and the accuracy of tracking. In order to improve the temperature tracking accuracy and robustness of proton exchange membrane fuel cells, the present invention provides a proton exchange membrane fuel cell temperature sliding mode control method based on a neural network. In order to illustrate the feasibility of the present invention, two specific embodiments will be described below.

[0091] Embodiment 1

[0092] In the present application example, a sliding mode control method for proton exchange membrane fuel cell temperature based on neural network is adopted; the specific implementation process is as follows Figure 1 As shown in the figure, firstly, the heat generation and heat dissipation principle of the proton exchange membrane fuel cell is analyzed, and the mathematical model of the temperature of the proton exchange membrane fuel cell, water tank and radiator is established according to the heat conservation equation; secondly, the relevant nonlinear control system is established according to the mathematical model, and the sliding mode controller of the battery temperature is designed by using the sliding mode control method; then, combined with the sliding mode controller, the improved last reaching law and hyperbolic tangent function are introduced to obtain the improved double power sliding mode controller of the proton exchange membrane fuel cell temperature; finally, for the disturbance, the functional neural network is used to estimate the disturbance, and the estimated result is used to compensate the improved double power controller to obtain the proton exchange membrane fuel cell temperature controller based on the neural network. This method effectively improves the temperature control performance and robustness of the proton exchange membrane fuel cell.

[0093] Furthermore, the specific implementation process of the embodiment of the present application is as follows: In the embodiment of the present application, the parameters of the proton exchange membrane fuel cell are selected as follows: C st =600J / (kg·K), M st =1.5kg; n=60, ΔH=285.5kJ / mol, I st =8A, F = 96487 c / mol, U fc =0.625V, K st =20W / (m 2 K), S = 0.025m 2 , T0=298.15K, d=0.1sin(0.02t)K; where C st is the specific heat capacity of the proton exchange membrane fuel cell stack, M stis the mass of the battery stack; n is the number of single cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, I st is the load current of the battery stack, F is the Faraday constant; U fc is the voltage of a single cell in a fuel cell stack; Q w is the cooling power of the water tank, Q sr is the heat dissipation power of the radiator; K st is the heat exchange coefficient between the fuel cell stack and the environment, S is the area of ​​the fuel cell, T0 is the temperature of the environment, and d is the disturbance; the expected battery temperature is set as the optimal operating temperature, that is, T d =353.15K;

[0094] Furthermore, a mathematical model of the temperature of the proton exchange membrane fuel cell is established based on the heat conservation equation. The specific formula is:

[0095]

[0096] Among them, T st is the temperature of the battery stack, Q st is the heat generated by the electrochemical reaction of the battery stack, P st Indicates the load power of the battery stack, Q c The heat dissipated by the coolant, Q rad is the power of thermal radiation of the battery stack;

[0097] Where Q st , P st , Q c and Q rad Can be expressed as:

[0098]

[0099] P st =nU fc I st =300;

[0100] Q c =Q w +Q sr ;

[0101] Q rad =K st S(T st -T0+d)=0.5(T st -298.15+0.1sin(0.02t));

[0102] Where n is the number of cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, and I st is the load current of the battery stack, F is the Faraday constant; Ufc is the voltage of a single cell in a fuel cell stack; Q w is the cooling power of the water tank, Q sr is the heat dissipation power of the radiator; K st is the heat exchange coefficient between the fuel cell stack and the environment, S is the fuel cell unit area, T0 is the ambient temperature, and d is the disturbance.

[0103] In the embodiment of the present application, the heat generation and heat dissipation principle of the proton exchange membrane fuel cell is analyzed, and a mathematical model of the temperature of the proton exchange membrane fuel cell is established according to the heat conservation equation. In view of the influence of external interference on temperature measurement, a mathematical model of disturbance is established. The establishment of this model provides an effective mathematical basis for the precise control of the battery temperature, which is conducive to improving the effectiveness and reliability of the system.

[0104] Furthermore, the parameters are selected as follows: C w =4186J / (kg·K), T w =350.15K, K w =10W / (m 2 ·K),S w =0.5m 2 ,T sr =348.15K, C air =1.005J / (kg·K), W air =0.05kg / s; where, C w is the specific heat capacity of the tank coolant, T w is the temperature of the water tank, K w is the heat exchange coefficient between the water tank and the environment, S w is the water tank area, T sr is the temperature of the radiator, C air is the specific heat capacity of air, W air is the air flow rate;

[0105] Furthermore, a mathematical model of the temperature of the water tank and the radiator is established, and the specific formula is:

[0106] Q w =C w W w (T st -T w +d)-K w S w (T w -T0)

[0107] =4186W w (T st -350.15+0.1sin(0.02t))-260;

[0108] Q sr =C w W w (T w -T sr )-C air W air (T sr -T0)

[0109] =8372W w -2.5125;

[0110] Among them, Q w is the cooling power of the water tank, Q sr is the heat dissipation power of the radiator, W w is the coolant flow rate, T st is the temperature of the battery stack.

[0111] In the embodiments of the present application, the principle of heat conservation of the water tank and the radiator outside the fuel cell stack is further analyzed, a mathematical model of the temperature of the water tank and the radiator is established, and a water-cooled heat dissipation model and a smaller constant air flow rate are selected, so that the established mathematical model is more consistent with actual engineering applications, which is conducive to achieving the expected control effect and improving the performance and adaptability of the system.

[0112] Furthermore, a nonlinear control system is established according to the mathematical model, and the specific formula is:

[0113]

[0114] Where x(t) is the battery stack temperature T st , is the state variable, t is the time, is the first-order derivative of x(t), u(t) is the coolant flow rate W w , is the control variable, a i , i=1,2,…7 are the coefficients of the nonlinear control system. The specific formulas of the coefficients in the nonlinear control system are as follows:

[0115]

[0116]

[0117] Among them, C st is the specific heat capacity of the battery stack, M st is the mass of the battery stack, n is the number of single cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, I st is the load current of the battery stack, F is the Faraday constant, U fc is the voltage of a single cell in a fuel cell stack; C w is the specific heat capacity of the water tank coolant; T sris the temperature of the radiator, d is the disturbance; K w is the heat exchange coefficient between the water tank and the environment, S w is the water tank area, T w is the temperature of the water tank, T0 is the temperature of the environment; C air is the specific heat capacity of air, W air is the air flow rate; K st is the heat exchange coefficient between the fuel cell stack and the environment, and S is the area of ​​the fuel cell unit.

[0118] That is, the nonlinear control system is:

[0119]

[0120] In the embodiment of the present application, a nonlinear control system is established to meet the needs of tracking temperature control, and the mathematical model is simplified, which provides an important basis for the analysis of the control system and facilitates the design of the temperature controller, thereby achieving accurate regulation and control of the fuel cell temperature and improving control accuracy and system stability.

[0121] Furthermore, a nonlinear control system is established according to the mathematical model, and a sliding mode controller of the temperature of the proton exchange membrane fuel cell is designed using a sliding mode control method. The acquisition process of the sliding mode controller is as follows:

[0122] Define the system error e(t) as:

[0123] e(t) = x(t) - 353.15K;

[0124] The designed sliding surface s is:

[0125] s = ce(t);

[0126]

[0127] Where s is the sliding surface, is the first-order derivative of s, c is the sliding surface coefficient, which is a positive constant; c = 1, that is, the sliding surface is:

[0128] s = e(t);

[0129]

[0130] Substituting into the nonlinear control system:

[0131]

[0132] Then the sliding mode controller is designed as:

[0133]

[0134] Among them, u(t) is the control variable, x(t) is the state variable, and ai,i=1,2,…7 are the coefficients of the nonlinear control system.

[0135] In the embodiment of the present application, a sliding mode control method is adopted. First, the sliding surface is set, and the fuel cell temperature controller is designed according to the sliding surface. It has good control effects on both nonlinear systems and uncertain systems, has good robustness, and has good resistance to changes in model parameters and disturbances. The physical implementation in practical applications is relatively simple, which reduces the complexity and cost of implementation.

[0136] Furthermore, the improved power reaching law and hyperbolic tangent function are introduced to establish an improved dual-power sliding mode controller for the temperature of a proton exchange membrane fuel cell. The acquisition process of the improved dual-power sliding mode controller is as follows:

[0137] The specific formula of the power reaching law is:

[0138]

[0139] Wherein, k1, k2, α are the power reaching law coefficients, k1, k2>0, 0<α<1, s is the sliding surface, sgn(s) is the sign function, and the specific formula is:

[0140]

[0141] Introducing a continuous and smooth hyperbolic tangent function to replace the sign function, selecting k1=k2=1, α=0.5, the specific formula of the improved power reaching law is:

[0142]

[0143] Where tanh(s) is the hyperbolic tangent function;

[0144] Combined with the sliding mode controller, the improved dual-power sliding mode controller is obtained, and the specific formula is:

[0145]

[0146] Among them, u(t) is the control variable, x(t) is the state variable, and a i , i=1,2,…7 are the coefficients of the nonlinear control system.

[0147] In the example of the present application, an improved power convergence law is designed, which can enable the system state to quickly approach the sliding mode when it is far away from the sliding mode. When the system state is close to the sliding mode, the jitter is reduced, a faster convergence speed can be obtained, the response speed of temperature tracking is increased, and the system performance of fuel cell temperature control is improved. It has a better inhibitory effect on the jitter problem that is common in sliding mode control.

[0148] Furthermore, due to the approximation characteristics of the neural network, the neural network is used to approximate the external interference d, and the algorithm is:

[0149]

[0150] Where d is the disturbance, W T is the ideal weight of the neural network in temperature measurement, x is the input of the neural network, P(x) is the output of the neural network, and ε(x) is the approximation error of the neural network in temperature measurement;

[0151] P(x) selects Gaussian function, the formula is:

[0152]

[0153] Among them, c j is the center value of the Gaussian function, b j is the width of the Gaussian function; the disturbance estimate is:

[0154]

[0155] in, is the estimated value of d, for The estimated value of , the adaptive law is designed as:

[0156]

[0157] in, for The first-order derivative of , f1 and f2 are the controller parameters to be designed, which are positive constants; select f1 = 15, f2 = 0.5, that is, the adaptive law is:

[0158]

[0159] In the embodiment of the present application, since the neural network can approximate any smooth function with arbitrary accuracy, a neural network is used to estimate the interference of temperature measurement. This technology has a simple structure, is easy to maintain and implement, and can accurately estimate the impact of interference through real-time learning and dynamic adjustment of control strategies, thereby improving the robustness of the control system and better completing temperature tracking control.

[0160] Furthermore, the disturbance term in the sliding mode controller of the improved power reaching law is replaced by the disturbance estimation value to obtain a proton exchange membrane fuel cell temperature controller based on a neural network. The specific formula is:

[0161]

[0162] Among them, u(t) is the control variable, x(t) is the state variable, and a i , i=1,4,5,6 are the coefficients of the nonlinear control system, W T is the ideal weight of the neural network in the temperature measurement, for , P(x) is the Gaussian function, s is the sliding surface, and tanh(s) is the hyperbolic tangent function.

[0163] In an embodiment of the present application, the temperature measurement interference term in the improved power reaching law sliding mode controller is replaced with the estimated value of the neural network, and a fuel cell temperature sliding mode controller based on a neural network is obtained. This controller combines the estimation ability of the neural network, reduces the dependence on precise mathematical models, improves the system's rapid response capability and adaptability to external interference, reduces tracking errors, achieves stable tracking of the set temperature, and has good rapidity and robustness.

[0164] At this time, the control effect can be obtained as Figure 2 , Figure 3 shown. Figure 2 is the temperature variation curve of the proton exchange membrane fuel cell when the expected value is a constant; Figure 3 This is the coolant flow variation curve of the proton exchange membrane fuel cell when the expected value is a constant. Figure 2 It shows that the controller designed in this paper can enable the proton exchange membrane fuel cell to accurately track the desired temperature value under the influence of disturbance; Figure 3 The controller designed in this article allows the coolant flow to change dynamically with time and temperature, so that the fuel cell stack meets the desired temperature.

[0165] Embodiment 2

[0166] In this application example, the parameters of the proton exchange membrane fuel cell are selected to be the same as those in the first embodiment. The expected battery temperature is set to be the optimal operating temperature, that is, T d =353.15K;I st is the load current of the battery stack, which is I at t = 0 st =8A, t=50s when the step is I st =12A;

[0167] Furthermore, a mathematical model of the temperature of the proton exchange membrane fuel cell is established based on the heat conservation equation. The specific formula is:

[0168]

[0169] Among them, T st is the temperature of the battery stack, Q st is the heat generated by the electrochemical reaction of the battery stack, P stis the rated load power of the stack, P st =300W, Q c The heat dissipated by the coolant, Q rad is the power of thermal radiation of the battery stack.

[0170] Furthermore, the parameters are selected as follows: C w =4186J / (kg·K), T w =350.15K, K w =10W / (m 2 ·K),S w =0.5m 2 ,T sr =348.15K, C air =1.005J / (kg·K), W air =0.05kg / s; where, C w is the specific heat capacity of the tank coolant, T w is the temperature of the water tank, K w is the heat exchange coefficient between the water tank and the environment, S w is the water tank area, T sr is the temperature of the radiator, C air is the specific heat capacity of air, W air is the air flow rate;

[0171] Furthermore, d is the disturbance, and d = 0.1sin(0.02t)K; Q st , P st , Q c and Q rad Can be expressed as:

[0172]

[0173] P st =nU fc I st =300;

[0174] Q c =Q w +Q sr ;

[0175] Q rad =K st S(T st -T0+d)=0.5(T st -298.15+0.1sin(0.02t));

[0176] Where n is the number of cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, and F is the Faraday constant; U fcis the voltage of a single cell in a fuel cell stack; Q w is the cooling power of the water tank, Q sr is the heat dissipation power of the radiator; K st is the heat exchange coefficient between the fuel cell stack and the environment, S is the fuel cell area, T0 is the ambient temperature, and d is the disturbance.

[0177] Furthermore, a mathematical model of the temperature of the water tank and the radiator is established, and the specific formula is:

[0178] Q w =C w W w (T st -T w +d)-K w S w (T w -T0)

[0179] =4186W w (T st -350.15+0.1sin(0.02t))-260;

[0180] Q sr =C w W w (T w -T sr )-C air W air (T sr -T0)

[0181] =8372W w -2.5125;

[0182] Among them, W w is the coolant flow rate, C sr is the specific heat capacity of the radiator, M sr For the quality of the radiator.

[0183] Furthermore, a nonlinear control system is established according to the mathematical model, and the specific formula is:

[0184]

[0185] Where x(t) is the battery stack temperature T st , is the state variable, t is the time, is the first-order derivative of x(t), u(t) is the coolant flow rate W w , is the control variable, a i , i=1,2,…7 are the coefficients of the nonlinear control system. The specific formulas of the coefficients in the nonlinear control system are as follows:

[0186]

[0187] Among them, C st is the specific heat capacity of the battery stack, M st is the mass of the battery stack, n is the number of single cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, I st is the load current of the battery stack, F is the Faraday constant, U fc is the voltage of a single cell in a fuel cell stack; C w is the specific heat capacity of the water tank coolant; T sr is the temperature of the radiator, d is the disturbance; K w is the heat exchange coefficient between the water tank and the environment, S w is the water tank area, T w is the temperature of the water tank, T0 is the temperature of the environment; C air is the specific heat capacity of air, W air is the air flow rate; K st is the heat exchange coefficient between the fuel cell stack and the environment, and S is the area of ​​the fuel cell unit.

[0188] That is, the nonlinear control system is:

[0189]

[0190] Furthermore, a nonlinear control system is established according to the mathematical model, and a sliding mode controller of the temperature of the proton exchange membrane fuel cell is designed using a sliding mode control method. The acquisition process of the sliding mode controller is as follows:

[0191] Define the system error e(t) as:

[0192] e(t) = x(t) - 353.15K;

[0193] The designed sliding surface s is:

[0194] s = ce(t);

[0195]

[0196] Where s is the sliding surface, is the first-order derivative of s, c is the sliding surface coefficient, which is a positive constant; c = 1, that is, the sliding surface is:

[0197] s = e(t);

[0198]

[0199] Substituting into the nonlinear control system:

[0200]

[0201] Then the sliding mode controller is designed as:

[0202]

[0203] Among them, u(t) is the control variable, x(t) is the state variable, and a i , i=1,2,…7 are the coefficients of the nonlinear control system.

[0204] Furthermore, the improved power reaching law and hyperbolic tangent function are introduced to establish an improved dual-power sliding mode controller for the temperature of a proton exchange membrane fuel cell. The acquisition process of the improved dual-power sliding mode controller is as follows:

[0205] The specific formula of the power reaching law is:

[0206]

[0207] Wherein, k1, k2, α are the power reaching law coefficients, k1, k2>0, 0<α<1, s is the sliding surface, sgn(s) is the sign function, and the specific formula is:

[0208]

[0209] Introduce a continuous and smooth hyperbolic tangent function to replace the sign function, select k1=k2=1, α=0.5, and the specific formula of the improved power reaching law is:

[0210]

[0211] Where tanh(s) is the hyperbolic tangent function;

[0212] Combined with the sliding mode controller, the improved dual-power sliding mode controller is obtained, and the specific formula is:

[0213]

[0214] Among them, u(t) is the control variable, x(t) is the state variable, and a i , i=1,2,…7 are the coefficients of the nonlinear control system.

[0215] Furthermore, due to the approximation characteristics of the neural network, the interference term in the controller is replaced by the estimated value of the neural network to obtain the actual control quantity, and the tracking control of the temperature of the proton exchange membrane fuel cell is realized. The neural network is used to approximate the external interference d, and the algorithm is:

[0216]

[0217] Where, d is the error of temperature measurement, W Tis the ideal weight of the neural network in temperature measurement, x is the input of the neural network, P(x) is the output of the neural network, and ε(x) is the approximation error of the neural network in temperature measurement;

[0218] P(x) selects Gaussian function, the formula is:

[0219]

[0220] Among them, c j is the center value of the Gaussian function, b j is the width of the Gaussian function; the disturbance estimate is:

[0221]

[0222] in, is the estimated value of d, for The estimated value of; the neural network adaptive law is designed as:

[0223]

[0224] in, for The first-order derivative of , f1 and f2 are the controller parameters to be designed, which are positive constants; select f1 = 15, f2 = 0.5, that is, the adaptive law is:

[0225]

[0226] Furthermore, the disturbance term in the sliding mode controller of the improved power reaching law is replaced by the disturbance estimation value to obtain a proton exchange membrane fuel cell temperature controller based on a neural network. The specific formula is:

[0227]

[0228] Among them, u(t) is the control variable, x(t) is the state variable, and a i , i=1,4,5,6 are the coefficients of the nonlinear control system; W T is the ideal weight of the neural network in the temperature measurement, for The estimated value of P(x) is the Gaussian function; tanh(s) is the hyperbolic tangent function, I st is the load current of the battery stack.

[0229] At this time, the control effect can be obtained as Figure 5 , Figure 6 shown. Figure 4 is the load current step change curve of the proton exchange membrane fuel cell; Figure 5The expected value is a constant, and the temperature change curve of the proton exchange membrane fuel cell when the load current changes stepwise; Figure 6 The expected value is a constant, and the coolant flow rate change curve when the load current of the proton exchange membrane fuel cell changes step by step. Figure 5 It is shown that the controller designed in this paper can accurately track the expected temperature value when the load current of the proton exchange membrane fuel cell changes step and under the influence of temperature measurement disturbance; Figure 6 It shows that when the load current changes stepwise, the controller designed in this paper makes the coolant flow rate change dynamically with time and temperature so that the fuel cell stack meets the desired temperature.

[0230] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A proton exchange membrane fuel cell temperature control method based on neural network, characterized in that: The following steps are involved: S1. Analyze the heat generation and heat dissipation principle of the proton exchange membrane fuel cell, and establish a mathematical model of the temperature of the proton exchange membrane fuel cell, water tank and radiator based on the heat conservation equation; S2. Establishing a nonlinear control system according to the mathematical model, and designing a sliding mode controller of the temperature of the proton exchange membrane fuel cell using a sliding mode control method; S3. In combination with the sliding mode controller, an improved power reaching law and a hyperbolic tangent function are introduced to obtain an improved dual power sliding mode controller for the temperature of the proton exchange membrane fuel cell; S4. Aiming at the disturbance, a neural network is used to estimate the disturbance, and the estimation result is used to compensate the improved dual-power controller, thereby obtaining a proton exchange membrane fuel cell temperature controller based on a neural network.

2. A proton exchange membrane fuel cell temperature control method based on a neural network according to claim 1, characterized in that: The mathematical model of the temperature of the proton exchange membrane fuel cell is established according to the heat conservation equation. The specific formula is: Among them, C st represents the specific heat capacity of the proton exchange membrane fuel cell stack, M st is the mass of the battery stack, T st is the temperature of the battery stack, Q st is the heat generated by the electrochemical reaction of the battery stack, P st Indicates the load power of the battery stack, Q c The heat dissipated by the coolant, Q rad is the power of thermal radiation of the battery stack; Where Q st , P st , Q c and Q rad Respectively expressed as: P st =nU fc and st ; Q c =Q w +Q sr ; Q rad =K st S(T st -T0+d); Where n is the number of cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, and I st is the load current of the battery stack, F is the Faraday constant; U fc is the voltage of a single cell in a fuel cell stack; Q w is the cooling power of the water tank, Q sr is the heat dissipation power of the radiator; K st is the heat exchange coefficient between the fuel cell stack and the environment, S is the fuel cell unit area, T0 is the ambient temperature, and d is the disturbance.

3. A proton exchange membrane fuel cell temperature control method based on a neural network according to claim 2, characterized in that: A mathematical model of the temperature of the water tank and radiator is established. The specific formula is: Q w =C w W w (T st -T w +d)-K w S w (T w -T0); Q sr =C w W w (T w -T sr )-C air W air (T sr -T0); Among them, Q w is the cooling power of the water tank, Q sr is the heat dissipation power of the radiator; C w is the specific heat capacity of the water tank coolant, W w is the coolant flow rate, T st is the temperature of the battery stack, T w is the temperature of the water tank, T0 is the temperature of the environment, d is the disturbance, K w is the heat exchange coefficient between the water tank and the environment, S w is the water tank area; T sr is the temperature of the radiator, C air is the specific heat capacity of air, W air is the air flow rate.

4. The method for controlling the temperature of a proton exchange membrane fuel cell based on a neural network according to claim 1, characterized in that: A nonlinear control system is established according to the mathematical model, and the specific formula is: Where x(t) is the battery stack temperature T st , is the state variable, t is the time, is the first-order derivative of x(t), u(t) is the coolant flow rate W w , is the control variable, a i , i=1,2,…7 are the coefficients of the nonlinear control system. The specific formulas of the coefficients in the nonlinear control system are as follows: Among them, C st is the specific heat capacity of the battery stack, M st is the mass of the battery stack, n is the number of single cells in the fuel cell stack, ΔH is the enthalpy change of the electrochemical reaction of the stack, I st is the load current of the battery stack, F is the Faraday constant, U fc is the voltage of a single cell in a fuel cell stack; C w is the specific heat capacity of the water tank coolant; T sr is the temperature of the radiator, d is the disturbance; K w is the heat exchange coefficient between the water tank and the environment, S w is the water tank area, T w is the temperature of the water tank, T0 is the temperature of the environment; C air is the specific heat capacity of air, W air is the air flow rate; K st is the heat exchange coefficient between the fuel cell stack and the environment, and S is the area of ​​the fuel cell unit.

5. A method for controlling the temperature of a proton exchange membrane fuel cell based on a neural network according to claim 4, characterized in that: A nonlinear control system is established according to the mathematical model, and a sliding mode controller of the temperature of the proton exchange membrane fuel cell is designed using a sliding mode control method. The acquisition process of the sliding mode controller is as follows: Define the system error e(t) as: e(t)=x(t)-x d (t); Where e(t) is the system error, x d (t) is the desired temperature; The designed sliding surface s is: s = ce(t); Where s is the sliding surface, c is the sliding surface coefficient, and is a positive constant. is the first-order derivative of s; available: Substituting into the nonlinear control system: Then the specific formula of the sliding mode controller is: Among them, u(t) is the control variable, x(t) is the state variable, and a i , i=1,2,…7 are the coefficients of the nonlinear control system.

6. The method for controlling the temperature of a proton exchange membrane fuel cell based on a neural network according to claim 1, characterized in that: The improved power reaching law and hyperbolic tangent function are introduced to establish an improved dual-power sliding mode controller for the temperature of a proton exchange membrane fuel cell. The acquisition process of the improved dual-power sliding mode controller is as follows: The specific formula of the power reaching law is: Wherein, k1, k2, α are the power reaching law coefficients, k1, k2>0, 0<α<1, s is the sliding surface, sgn(s) is the sign function, and the specific formula is: A continuous and smooth hyperbolic tangent function is introduced to replace the sign function. The specific formula of the improved power reaching law is: Wherein, tanh(s) is the hyperbolic tangent function; Combined with the sliding mode controller, the improved dual-power sliding mode controller is obtained, and the specific formula is: Among them, u(t) is the control variable, x(t) is the state variable, c is the sliding surface coefficient, a i , i=1,2,…7 are the coefficients of the nonlinear control system.

7. The method for controlling the temperature of a proton exchange membrane fuel cell based on a neural network according to claim 1, characterized in that: Due to the approximation characteristics of the neural network, the neural network is used to approximate the external disturbance d, and the algorithm is: Where, d is the disturbance, W T is the ideal weight of the neural network, x is the input of the neural network, P(x) is the output of the neural network, and ε(x) is the approximation error of the neural network; P(x) selects Gaussian function, the formula is: Among them, c j is the center value of the Gaussian function, b j is the width of the Gaussian function; the disturbance estimate is: in, is the estimated value of d, for The estimated value of; the adaptive law of the neural network is designed as: in, for The first-order derivative of , where f1 and f2 are controller parameters to be designed and are positive constants.

8. A method for controlling the temperature of a proton exchange membrane fuel cell based on a neural network according to claim 7, characterized in that: The disturbance term in the sliding mode controller of the improved power reaching law is replaced by the disturbance estimation value to obtain a proton exchange membrane fuel cell temperature controller based on a neural network. The specific formula is: Among them, u(t) is the control variable, x(t) is the state variable, c is the sliding surface coefficient, a i , i=1,4,5,6 are the coefficients of the nonlinear control system; C st is the specific heat capacity of the battery stack, M st is the mass of the battery stack, C w is the specific heat capacity of the water tank coolant, T sr is the temperature of the radiator, T0 is the temperature of the environment, K st is the heat exchange coefficient between the fuel cell stack and the environment, S is the area of ​​the fuel cell unit; W T is the ideal weight of the neural network in the temperature measurement, for , P(x) is the Gaussian function; k1, k2, α are the power reaching law coefficients, k1, k2>0, 0<α<1, s is the sliding surface, and tanh(s) is the hyperbolic tangent function.

Citation Information

Patent Citations

  • Sliding mode control method based on two approaching laws

    CN108958042A

  • Temperature active fault-tolerant control method for proton exchange membrane fuel cell system

    CN111244509A

  • MPPT (Maximum Power Point Tracking) method of fuel cell based on double-sliding-mode surface adaptive equivalent sliding-mode control

    CN115328263A

Cited By

  • Fuel cell oxygen supply system control method based on BP neural network and active disturbance rejection control

    CN119481170A