Control method and device of fuel cell system

By using a strategy model in a fuel cell system to determine the adjustment strategy of control parameters, the accuracy of gas flow, pressure and temperature regulation in the system is solved, and the efficiency and stability of the system are improved.

CN119542475APending Publication Date: 2025-02-28CRRC INDUSTRAIL ACADEMY (QINGDAO) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411783412.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the control of air systems, hydrogen systems and thermal management systems, it is difficult to achieve accurate regulation of gas flow, pressure and temperature, resulting in low system efficiency.

Method used

By determining the adjustment indicators and target amount of the currently controlled system, input it into the strategy model to obtain the control strategy of increasing, decreasing or unchanging control parameters, and then adjust the control parameters to achieve the target amount.

Benefits of technology

It realizes precise control of the adjustment indicators of each system in the fuel cell system, and improves the working efficiency and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119542475A_ABST
    Figure CN119542475A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device for a fuel cell system, and relates to the field of feedback control, and the method comprises the steps: determining an adjustment index of a current to-be-controlled system which is one of an air system, a hydrogen system and a thermal management system in the fuel cell system, the regulation indexes comprise pressure and flow of gas in an air system and a hydrogen system and inlet temperature and outlet temperature of a galvanic pile in a thermal management system; determining a target quantity of an adjustment index; inputting the adjustment index and the target quantity into a strategy model of the current to-be-controlled system to obtain a control strategy that control parameters output by the strategy model of the current to-be-controlled system are increased, decreased or unchanged; the control parameter is adjusted based on the control strategy so that the adjustment index reaches the target amount of the adjustment index. The strategy model can directly output a control strategy for increasing, decreasing or keeping control parameters unchanged, and based on the control strategy, an adjusting index can be more conveniently controlled to reach the target quantity of the adjusting index.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of feedback control, and in particular to a control method and device for a fuel cell system. Background Art

[0002] The fuel cell system includes an air system, a hydrogen system and a thermal management system. The air system inputs air into the reactor, the hydrogen system inputs hydrogen into the reactor, and the thermal management system dissipates heat from the reactor. When controlling the air system and the hydrogen system, it is often necessary to control the flow and pressure of the gas to reach the target flow and target pressure. When controlling the thermal management system, the heat dissipation of the stack is controlled so that the inlet and outlet temperatures of the stack reach the target inlet and target outlet temperatures. Therefore, the temperature and gas control of the fuel cell system need to be accurately controlled so that the fuel cell can achieve the best working efficiency. Summary of the invention

[0003] The purpose of the present invention is to provide a control method and device for a fuel cell system, wherein a strategy model can directly output a control strategy for increasing, decreasing or keeping unchanged a control parameter, and based on the control strategy, the adjustment index can be more conveniently controlled to reach the target amount of the adjustment index.

[0004] In order to solve the above technical problems, the present invention provides a control method for a fuel cell system, comprising:

[0005] Determine the adjustment index of the current control system to be controlled, the current control system to be controlled is one of the air system, hydrogen system and thermal management system in the fuel cell system, the adjustment index includes the pressure and flow of the gas in the air system and the hydrogen system and the inlet temperature and outlet temperature of the stack in the thermal management system;

[0006] Determining a target amount of the adjustment indicator;

[0007] Inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, wherein the control parameters include the rotation speed of the gas pumps in the air system and the hydrogen system and the opening of the pressure regulating device and the efficiency of the heat dissipation device in the thermal management system;

[0008] The control parameter is adjusted based on the control strategy so that the adjustment indicator reaches the target amount of the adjustment indicator.

[0009] On the other hand, when the currently controlled system is an air system, determining the adjustment index of the currently controlled system includes:

[0010] Determining the regulation index of the air system as the actual flow rate and actual pressure of the air input to the fuel cell stack;

[0011] Determining the target amount of the adjustment indicator includes:

[0012] Determining the target amount of the regulation index of the air system as the target flow rate and target pressure of the air input to the fuel cell stack;

[0013] Inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, and obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, including:

[0014] Input the actual flow rate and actual pressure of the air input to the fuel cell stack and the target flow rate and target pressure of the air input to the fuel cell stack into the strategy model of the air system, and obtain the control strategy output by the strategy model to increase, decrease or keep unchanged the speed of the air compressor and the opening of the pressure regulating device;

[0015] Among them, there are eight control strategies.

[0016] On the other hand, the training process of the strategy model of the air system includes:

[0017] Inputting a first historical actual flow rate, a first historical actual pressure, a first historical target flow rate, a first historical target pressure, a historical control strategy of the air input to the fuel cell stack of the air system, and a second historical actual flow rate and a second historical actual pressure after the air system adjusts the speed of the air compressor and the opening of the pressure regulating device based on the historical control strategy into a strategy model of the air system;

[0018] Determining a first initial flow error, a first initial pressure error, a first post-control flow error, and a first post-control pressure error;

[0019] Wherein, the first initial flow error is the difference between the first historical actual flow and the first historical target flow, the first initial pressure error is the difference between the first historical actual pressure and the first historical target pressure, the first post-control flow error is the difference between the second historical actual flow and the first historical target flow, and the first post-control pressure error is the difference between the second historical actual pressure and the first historical target pressure;

[0020] The strategy model of the air system is trained according to the first initial flow error, the first initial pressure error, the first post-control flow error, the first post-control pressure error and a historical control strategy.

[0021] On the other hand, training the strategy model of the air system according to the first initial flow error, the first initial pressure error, the first post-control flow error, the first post-control pressure error and the historical control strategy includes:

[0022] If the first post-control flow error is less than the first initial flow error and the first post-control pressure error is less than the first initial pressure error, add a point;

[0023] If the first post-control flow error is greater than the first initial flow error and the first post-control pressure error is less than the first initial pressure error, add b points;

[0024] If the first post-control flow error is less than the first initial flow error and the first post-control pressure error is greater than the first initial pressure error, add b points;

[0025] If the first post-control flow error is greater than the first initial flow error and the first post-control pressure error is greater than the first initial pressure error, subtract a points;

[0026] Among them, a>b, a and b are both positive numbers;

[0027] Output the control strategy with the highest score.

[0028] On the other hand, when the currently controlled system is a hydrogen system, determining the adjustment index of the currently controlled system includes:

[0029] Determining the regulation index of the hydrogen system as the actual flow rate and actual pressure of the hydrogen input to the fuel cell stack;

[0030] Determining the target amount of the adjustment indicator includes:

[0031] Determining the target amount of the regulation index of the hydrogen system as the target flow rate and target pressure of the hydrogen input to the fuel cell stack;

[0032] Inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, and obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, including:

[0033] Inputting the actual flow rate and actual pressure of the hydrogen input to the fuel cell stack and the target flow rate and target pressure of the hydrogen input to the fuel cell stack into the strategy model of the hydrogen system, obtaining a control strategy output by the strategy model to increase, decrease or keep unchanged the speed of the hydrogen circulation pump and the opening time of the pressure regulating device;

[0034] Among them, there are eight control strategies.

[0035] On the other hand, the training process of the strategy model of the hydrogen system includes:

[0036] The third historical actual flow rate, the third historical actual pressure, the second historical target flow rate, the second historical target pressure, the historical control strategy of the hydrogen gas input to the fuel cell stack of the hydrogen system, and the fourth historical actual flow rate and the fourth historical actual pressure after the hydrogen system adjusts the speed of the hydrogen circulation pump and the opening of the pressure regulating device based on the historical control strategy are input into the strategy model of the hydrogen system;

[0037] Determining a second initial flow error, a second initial pressure error, a second post-control flow error, and a second post-control pressure error;

[0038] Wherein, the second initial flow error is the difference between the third historical actual flow and the second historical target flow, the second initial pressure error is the difference between the third historical actual pressure and the second historical target pressure, the second post-control flow error is the difference between the fourth historical actual flow and the second historical target flow, and the second post-control pressure error is the difference between the fourth historical actual pressure and the second historical target pressure;

[0039] The strategy model of the hydrogen system is trained according to the second initial flow error, the second initial pressure error, the second post-control flow error, the second post-control pressure error and the historical control strategy.

[0040] On the other hand, when the current control system to be controlled is a thermal management system, determining the adjustment index of the current control system to be controlled includes:

[0041] Determining that the regulation index of the thermal management system is the inlet temperature and the outlet temperature of the fuel cell stack;

[0042] Determining the target amount of the adjustment indicator includes:

[0043] Determining the target amount of the regulation index of the thermal management system as the target inlet temperature and the target outlet temperature of the fuel cell stack;

[0044] Inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, and obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, including:

[0045] Inputting the inlet temperature and outlet temperature of the fuel cell stack and the target inlet temperature and target outlet temperature of the fuel cell stack into the strategy model of the thermal management system, and obtaining a control strategy output by the strategy model to control the fan speed and the water pump speed to increase, decrease or keep unchanged respectively;

[0046] Among them, there are eight control strategies.

[0047] On the other hand, the training process of the strategy model of the thermal management system includes:

[0048] Inputting the first historical inlet temperature, the first historical outlet temperature, the historical target inlet temperature, the historical target outlet temperature and the historical control strategy of the fuel cell stack, and the second historical inlet temperature and the second historical outlet temperature after the thermal management system adjusts the fan speed and the water pump speed based on the historical control strategy into the strategy model of the thermal management system;

[0049] Determine an initial inlet temperature error, an initial outlet temperature error, a controlled inlet temperature error, and a controlled outlet temperature error;

[0050] Wherein, the initial inlet temperature error is the difference between the first historical inlet temperature and the historical target inlet temperature, the initial outlet temperature error is the difference between the first historical outlet temperature and the historical target outlet temperature, the post-control inlet temperature error is the difference between the second historical inlet temperature and the historical target inlet temperature, and the post-control outlet temperature error is the difference between the second historical outlet temperature and the historical target outlet temperature;

[0051] The strategy model of the thermal management system is trained according to the initial inlet temperature error, the initial outlet temperature error, the post-control inlet temperature error, the post-control outlet temperature error and the historical control strategy.

[0052] On the other hand, training a strategy model of the thermal management system according to the initial inlet temperature error, the initial outlet temperature error, the inlet temperature error after control, the outlet temperature error after control and the historical control strategy includes:

[0053] If the outlet temperature error after control is less than the initial outlet temperature error and the stack inlet temperature error after control is less than the initial inlet temperature error, add a point;

[0054] If the outlet temperature error after control is greater than the initial outlet temperature error and the stack inlet temperature error after control is less than the initial inlet temperature error, subtract b points;

[0055] If the outlet temperature error after control is less than the initial outlet temperature error and the stack inlet temperature error after control is greater than the initial inlet temperature error, add b points;

[0056] If the outlet temperature error after control is greater than the initial outlet temperature error and the stack inlet temperature error after control is greater than the initial inlet temperature error, subtract a points;

[0057] Among them, a>b, a and b are both positive numbers;

[0058] Output the control strategy with the highest score.

[0059] In order to solve the above technical problems, the present invention further provides a control device for a fuel cell system, comprising:

[0060] Memory for storing computer programs;

[0061] A processor is used to implement the steps of the above-mentioned fuel cell system control method when executing the computer program.

[0062] The present application provides a control method and device for a fuel cell system, which relates to the field of feedback control, including: determining the regulation index of the current control system to be controlled, the current control system to be controlled is one of the air system, hydrogen system and thermal management system in the fuel cell system, and the regulation index includes the pressure and flow of the gas in the air system and the hydrogen system and the inlet temperature and outlet temperature of the stack in the thermal management system; determining the target amount of the regulation index; inputting the regulation index and the target amount into the strategy model of the current control system to be controlled, and obtaining the control strategy of increasing, decreasing or keeping unchanged the control parameter output by the strategy model of the current control system to be controlled; adjusting the control parameter based on the control strategy so that the regulation index reaches the target amount of the regulation index. The strategy model can directly output the control strategy of increasing, decreasing or keeping unchanged the control parameter, and based on the control strategy, the regulation index can be more conveniently controlled to reach the target amount of the regulation index. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are 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 creative work.

[0064] Figure 1 A flow chart of a control method for a fuel cell system provided by the present invention;

[0065] Figure 2 A schematic diagram of a control strategy output by a strategy model provided by the present invention;

[0066] Figure 3 A schematic structural diagram of a control device for a fuel cell system provided by the present invention. DETAILED DESCRIPTION

[0067] The core of the present invention is to provide a control method and device for a fuel cell system. The strategy model can directly output a control strategy for increasing, decreasing or keeping unchanged the control parameters. Based on the control strategy, the adjustment index can be more conveniently controlled to reach the target amount of the adjustment index.

[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0069] Figure 1 A flow chart of a control method of a fuel cell system provided by the present invention, the control method of the fuel cell system comprising:

[0070] S11: determining a regulation index of a current control system to be controlled, where the current control system to be controlled is one of an air system, a hydrogen system and a thermal management system in a fuel cell system, and the regulation index includes the pressure and flow of gas in the air system and the hydrogen system and the inlet temperature and outlet temperature of a stack in the thermal management system;

[0071] S12: Determine the target amount of the adjustment indicator;

[0072] S13: inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, and obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, wherein the control parameters include the rotation speed of the gas pumps in the air system and the hydrogen system and the opening of the pressure regulating device and the efficiency of the heat dissipation device in the thermal management system;

[0073] S14: Adjust the control parameters based on the control strategy so that the adjustment index reaches the target amount of the adjustment index.

[0074] For the air system, the input control quantities are: target flow, actual flow, actual pressure, target pressure; the output control quantities are the speed of the air compressor and the opening of the pressure regulating device.

[0075] For the hydrogen system, the input control quantities are: target flow, actual flow, actual hydrogen concentration, actual pressure, target pressure, and the outputs are: hydrogen pump speed, opening of the pressure regulating device.

[0076] For the thermal management system, the input control quantities are: target flow, actual flow, target temperature, actual temperature, and the outputs are: water pump speed, fan speed.

[0077] For the strategy model of the air system, the input control quantities are: initial target flow, initial actual flow, initial target pressure, initial actual pressure, actual flow after completion, actual pressure after completion, and the state number in progress (8 different combinations of adjustments for air compressors and pressure regulating devices); the output quantity is: the control strategy with the highest score.

[0078] For the strategy model of the hydrogen system, the input control quantities are: initial hydrogen concentration, initial target flow, initial actual flow, initial target pressure, initial actual pressure, actual flow after completion, actual pressure after completion, and the state number in progress (8 different combinations of adjustments for the hydrogen circulation pump and pressure regulating device); the output quantity is: the control strategy with the highest score.

[0079] For the strategy model of the thermal management system, the input control quantities are: initial target stack inlet temperature, initial actual stack inlet temperature, initial target stack outlet temperature, initial actual stack outlet temperature, actual stack inlet temperature after completion, actual stack outlet temperature after completion, and the state number in progress (8 different combinations of adjustments for fans and water pumps); the output quantity is: the control strategy with the highest score.

[0080] The higher the speed of the air compressor in the air system, the greater the flow rate of air input to the fuel cell stack; the smaller the opening of the pressure regulating device in the air system, the greater the pressure of the air input to the fuel cell stack.

[0081] The higher the speed of the hydrogen circulation pump in the hydrogen system, the higher the pressure of the hydrogen input to the fuel cell stack; the larger the opening of the pressure regulating device in the hydrogen system, the higher the pressure of the hydrogen input to the fuel cell stack.

[0082] The higher the speed of the fan of the thermal management system and the higher the speed of the water pump, the better the cooling effect.

[0083] The present application provides a control method for a fuel cell system, which relates to the field of feedback control, including: determining the regulation index of the current control system to be controlled, the current control system to be controlled is one of the air system, hydrogen system and thermal management system in the fuel cell system, and the regulation index includes the pressure and flow of the gas in the air system and the hydrogen system and the inlet temperature and outlet temperature of the stack in the thermal management system; determining the target amount of the regulation index; inputting the regulation index and the target amount into the strategy model of the current control system to be controlled, and obtaining the control strategy of increasing, decreasing or keeping unchanged the control parameter output by the strategy model of the current control system to be controlled; adjusting the control parameter based on the control strategy so that the regulation index reaches the target amount of the regulation index. The strategy model can directly output the control strategy of increasing, decreasing or keeping unchanged the control parameter, and based on the control strategy, the regulation index can be more conveniently controlled to reach the target amount of the regulation index.

[0084] Based on the above embodiments:

[0085] Figure 2 A schematic diagram of a control strategy output by a strategy model provided by the present invention;

[0086] In some embodiments, when the current control system to be controlled is an air system, determining the adjustment index of the current control system to be controlled includes:

[0087] Determine the regulation index of the air system as the actual flow rate and actual pressure of the air input to the fuel cell stack;

[0088] Determine the target amount of the adjustment indicator, including:

[0089] Determine the target quantity of the regulation index of the air system as the target flow rate and target pressure of the air input to the fuel cell stack;

[0090] Input the adjustment index and target quantity into the strategy model of the current control system to obtain the control strategy of increasing, decreasing or keeping the control parameters output by the strategy model of the current control system, including:

[0091] Input the actual flow rate and actual pressure of the air input to the fuel cell stack and the target flow rate and target pressure of the air input to the fuel cell stack into the strategy model of the air system, and obtain the control strategy output by the strategy model to increase, decrease or keep unchanged the speed of the air compressor and the opening of the pressure regulating device;

[0092] Among them, there are eight control strategies.

[0093] The strategy model of the air system will generate eight states: State 0: the air compressor speed increases, and the opening of the pressure regulating device remains unchanged; State 1: the air compressor speed increases, and the opening of the pressure regulating device increases; State 2: the air compressor speed increases, and the opening of the pressure regulating device decreases; State 3: the air compressor speed decreases, and the opening of the pressure regulating device remains unchanged; State 4: the air compressor speed decreases, and the opening of the pressure regulating device increases; State 5: the air compressor speed decreases, and the opening of the pressure regulating device decreases; State 6: the air compressor speed remains unchanged, and the opening of the pressure regulating device increases; State 7: the air compressor speed remains unchanged, and the opening of the pressure regulating device decreases.

[0094] Based on the target flow, actual flow, target pressure and actual pressure, one of the eight states can be executed. Since it is not known which state has the best effect, a scoring method is introduced to output the control strategy with the highest score.

[0095] In some embodiments, the training process of the policy model of the air system includes:

[0096] A strategy model is input into the air system of a first historical actual flow rate, a first historical actual pressure, a first historical target flow rate, a first historical target pressure, a historical control strategy, and a second historical actual flow rate and a second historical actual pressure of the air input to the fuel cell stack after the air system adjusts the speed of the air compressor and the opening of the pressure regulating device based on the historical control strategy;

[0097] Determining a first initial flow error, a first initial pressure error, a first post-control flow error, and a first post-control pressure error;

[0098] Wherein, the first initial flow error is the difference between the first historical actual flow and the first historical target flow, the first initial pressure error is the difference between the first historical actual pressure and the first historical target pressure, the first post-control flow error is the difference between the second historical actual flow and the first historical target flow, and the first post-control pressure error is the difference between the second historical actual pressure and the first historical target pressure;

[0099] The strategy model of the air system is trained according to the first initial flow error, the first initial pressure error, the first post-control flow error, the first post-control pressure error and the historical control strategy.

[0100] For air systems:

[0101] Initial flow error = absolute value (initial target flow - initial actual flow);

[0102] Initial pressure error = absolute value (initial target pressure - initial actual pressure);

[0103] After the completion state, the flow error = absolute value (after the completion state, actual flow - initial target flow);

[0104] After the state is completed, the pressure error = the absolute value (after the state is completed, the actual pressure - the initial target pressure).

[0105] In some embodiments, training a strategy model of the air system according to the first initial flow error, the first initial pressure error, the first post-control flow error, the first post-control pressure error and the historical control strategy includes:

[0106] If the flow error after the first control is less than the first initial flow error and the pressure error after the first control is less than the first initial pressure error, add a point;

[0107] If the flow error after the first control is greater than the first initial flow error and the pressure error after the first control is less than the first initial pressure error, add b points;

[0108] If the flow error after the first control is less than the first initial flow error and the pressure error after the first control is greater than the first initial pressure error, add b points;

[0109] If the flow error after the first control is greater than the first initial flow error and the pressure error after the first control is greater than the first initial pressure error, subtract a points;

[0110] Among them, a>b, a and b are both positive numbers;

[0111] Output the control strategy with the highest score.

[0112] For air systems:

[0113] If: after the completion state, the flow error is less than the initial flow error and after the completion state, the pressure error is less than the initial pressure error. Add 15 points;

[0114] If: after the completion state, the flow error is greater than the initial flow error and after the completion state, the pressure error is less than the initial pressure error. Add 3 points;

[0115] If: after the completion state, the flow error is less than the initial flow error and after the completion state, the pressure error is greater than the initial pressure error. Add 3 points;

[0116] If: after the completion state, the flow error is greater than the initial flow error and after the completion state, the pressure error is greater than the initial pressure error. Subtract 15 points;

[0117] The initial 7 parameters are used as input x_train, and the scores are used as output y_train to generate a sample set.

[0118] Input the sample set into the neural network model, define the model's input dimension, layer parameters, number of iterations and other parameters, and conduct training.

[0119] Export and save the trained model parameters, and then flash them to the controller for use.

[0120] In actual use, the controller Figure 2 The judgment is made in the manner shown, the target flow, actual flow, target pressure, and actual pressure are input, the scores of states 0 to 7 are judged by the neural network model, and the state with the highest score is selected for execution.

[0121] In some embodiments, when the current control system to be controlled is a hydrogen system, determining the adjustment index of the current control system to be controlled includes:

[0122] Determine the regulation index of the hydrogen system as the actual flow rate and actual pressure of the hydrogen input to the fuel cell stack;

[0123] Determine the target amount of the adjustment indicator, including:

[0124] Determine the target amount of the regulation index of the hydrogen system as the target flow rate and target pressure of the hydrogen input to the fuel cell stack;

[0125] Input the adjustment index and target quantity into the strategy model of the current control system to obtain the control strategy of increasing, decreasing or keeping the control parameters output by the strategy model of the current control system, including:

[0126] The actual flow rate and actual pressure of hydrogen input to the fuel cell stack and the target flow rate and target pressure of hydrogen input to the fuel cell stack are input to the strategy model of the hydrogen system, and the control strategy output by the strategy model is obtained to increase, decrease or keep unchanged the speed of the hydrogen circulation pump and the opening time of the solenoid valve;

[0127] Among them, there are eight control strategies.

[0128] Similarly, the combination of increasing, decreasing or keeping the speed of the hydrogen circulation pump and the opening of the pressure regulating device unchanged constitutes eight different control strategies. The best output is selected.

[0129] In some embodiments, the training process of the strategy model of the hydrogen system includes:

[0130] A strategy model for inputting the third historical actual flow rate, the third historical actual pressure, the second historical target flow rate, the second historical target pressure, the historical control strategy of the hydrogen gas input to the fuel cell stack of the hydrogen system, and the fourth historical actual flow rate and the fourth historical actual pressure after the hydrogen system adjusts the speed of the hydrogen circulation pump and the opening of the pressure regulating device based on the historical control strategy into the hydrogen system;

[0131] Determining a second initial flow error, a second initial pressure error, a second post-control flow error, and a second post-control pressure error;

[0132] Wherein, the second initial flow error is the difference between the third historical actual flow and the second historical target flow, the second initial pressure error is the difference between the third historical actual pressure and the second historical target pressure, the second post-control flow error is the difference between the fourth historical actual flow and the second historical target flow, and the second post-control pressure error is the difference between the fourth historical actual pressure and the second historical target pressure;

[0133] The strategy model of the hydrogen system is trained according to the second initial flow error, the second initial pressure error, the second post-control flow error, the second post-control pressure error and the historical control strategy.

[0134] For hydrogen systems:

[0135] Initial flow error = absolute value (initial target flow - initial actual flow);

[0136] Initial pressure error = absolute value (initial target pressure - initial actual pressure);

[0137] After the completion state, the flow error = absolute value (after the completion state, actual flow - initial target flow);

[0138] After the state is completed, the pressure error = the absolute value (after the state is completed, the actual pressure - the initial target pressure).

[0139] For hydrogen systems:

[0140] If: after the completion state, the flow error is less than the initial flow error and after the completion state, the pressure error is less than the initial pressure error. Add 15 points;

[0141] If: after the completion state, the flow error is greater than the initial flow error and after the completion state, the pressure error is less than the initial pressure error. Add 3 points;

[0142] If: after the completion state, the flow error is less than the initial flow error and after the completion state, the pressure error is greater than the initial pressure error. Add 3 points;

[0143] If: after the completion state, the flow error is greater than the initial flow error and after the completion state, the pressure error is greater than the initial pressure error. Subtract 15 points.

[0144] In some embodiments, when the current control system to be controlled is a thermal management system, determining the adjustment index of the current control system to be controlled includes:

[0145] Determine the regulation index of the thermal management system as the inlet temperature and outlet temperature of the fuel cell stack;

[0146] Determine the target amount of the adjustment indicator, including:

[0147] Determine the target quantities of the regulation index of the thermal management system as the target inlet temperature and the target outlet temperature of the fuel cell stack;

[0148] Input the adjustment index and target quantity into the strategy model of the current control system to obtain the control strategy of increasing, decreasing or keeping the control parameters output by the strategy model of the current control system, including:

[0149] Inputting the inlet temperature and outlet temperature of the fuel cell stack and the target inlet temperature and outlet temperature of the fuel cell stack into the strategy model of the thermal management system, and obtaining the control strategy output by the strategy model to increase, decrease or keep unchanged the speed of the fan and the speed of the water pump;

[0150] Among them, there are eight control strategies.

[0151] In some embodiments, the training process of the strategy model of the thermal management system includes:

[0152] Inputting the first historical inlet temperature, the first historical outlet temperature, the historical target inlet temperature, the historical target outlet temperature, the historical control strategy, and the second historical inlet temperature and the second historical outlet temperature after the thermal management system adjusts the fan speed and the water pump speed based on the historical control strategy into the strategy model of the thermal management system;

[0153] Determine an initial inlet temperature error, an initial outlet temperature error, a controlled inlet temperature error, and a controlled outlet temperature error;

[0154] Among them, the initial inlet temperature error is the difference between the first historical inlet temperature and the historical target inlet temperature, the initial outlet temperature error is the difference between the first historical outlet temperature and the historical target outlet temperature, the inlet temperature error after control is the difference between the second historical inlet temperature and the historical target inlet temperature, and the outlet temperature error after control is the difference between the second historical outlet temperature and the historical target outlet temperature;

[0155] The strategy model of the thermal management system is trained based on the initial inlet temperature error, the initial outlet temperature error, the inlet temperature error after control, the outlet temperature error after control and the historical control strategy.

[0156] For thermal management systems:

[0157] Initial stack inlet temperature error = absolute value (initial target stack inlet temperature - initial actual stack inlet temperature);

[0158] Initial stack outlet temperature error = absolute value (initial target stack outlet temperature - initial actual stack outlet temperature);

[0159] After the completion state, the stack inlet temperature error = absolute value (after the completion state, the actual stack inlet temperature - initial target temperature);

[0160] After the completion state, the stack outlet temperature error = absolute value (after the completion state, actual stack outlet temperature - initial target pressure).

[0161] In some embodiments, training a strategy model of a thermal management system according to an initial inlet temperature error, an initial outlet temperature error, a controlled inlet temperature error, a controlled outlet temperature error, and a historical control strategy includes:

[0162] If the outlet temperature error after control is less than the initial outlet temperature error and the stack inlet temperature error after control is less than the initial inlet temperature error, add a point;

[0163] If the outlet temperature error after control is greater than the initial outlet temperature error and the stack inlet temperature error after control is less than the initial inlet temperature error, subtract b points;

[0164] If the outlet temperature error after control is less than the initial outlet temperature error and the stack inlet temperature error after control is greater than the initial inlet temperature error, add b points;

[0165] If the outlet temperature error after control is greater than the initial outlet temperature error and the stack inlet temperature error after control is greater than the initial inlet temperature error, a point will be deducted;

[0166] Among them, a>b, a and b are both positive numbers;

[0167] Output the control strategy with the highest score.

[0168] For thermal management systems:

[0169] If: after the completion state, the stack outlet temperature error is less than the initial stack outlet temperature error and after the completion state, the stack inlet temperature error is less than the initial stack inlet temperature error. Add 15 points;

[0170] If: after the completion state, the stack outlet temperature error is greater than the initial stack outlet temperature error and after the completion state, the stack inlet temperature error is less than the initial stack inlet temperature error. 3 points will be deducted;

[0171] If: after the completion state, the stack outlet temperature error is less than the initial stack outlet temperature error and after the completion state, the stack inlet temperature error is greater than the initial stack inlet temperature error. Add 3 points;

[0172] If: after the completion state, the stack outlet temperature error is greater than the initial stack outlet temperature error and after the completion state, the stack inlet temperature error is greater than the initial stack inlet temperature error. Subtract 15 points.

[0173] Figure 3 A schematic diagram of the structure of a control device for a fuel cell system provided by the present invention, the control device for the fuel cell system comprises:

[0174] A memory 31, used for storing computer programs;

[0175] The processor 32 is used to implement the steps of the above-mentioned fuel cell system control method when executing the computer program.

[0176] For an introduction to the control device of the fuel cell system provided in the present application, please refer to the above-mentioned embodiments, which will not be described in detail here.

[0177] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0178] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0179] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A control method for a fuel cell system, characterized in that: include: Determine the adjustment index of the current control system to be controlled, the current control system to be controlled is one of the air system, hydrogen system and thermal management system in the fuel cell system, the adjustment index includes the pressure and flow of the gas in the air system and the hydrogen system and the inlet temperature and outlet temperature of the stack in the thermal management system; Determining a target amount of the adjustment indicator; Inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, wherein the control parameters include the rotation speed of the gas pumps in the air system and the hydrogen system and the opening of the pressure regulating device and the efficiency of the heat dissipation device in the thermal management system; The control parameter is adjusted based on the control strategy so that the adjustment indicator reaches the target amount of the adjustment indicator.

2. The control method of the fuel cell system according to claim 1, characterized in that: When the currently controlled system is an air system, determining the adjustment index of the currently controlled system includes: Determining the regulation index of the air system as the actual flow rate and actual pressure of the air input to the fuel cell stack; Determining a target amount of the adjustment indicator includes: Determining the target amount of the regulation index of the air system as the target flow rate and target pressure of the air input to the fuel cell stack; Inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, and obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, including: Input the actual flow rate and actual pressure of the air input to the fuel cell stack and the target flow rate and target pressure of the air input to the fuel cell stack into the strategy model of the air system, and obtain the control strategy output by the strategy model to increase, decrease or keep unchanged the speed of the air compressor and the opening of the pressure regulating device; Among them, there are eight control strategies.

3. The control method of the fuel cell system according to claim 2, characterized in that: The training process of the air system strategy model includes: Inputting a first historical actual flow rate, a first historical actual pressure, a first historical target flow rate, a first historical target pressure, a historical control strategy of the air input to the fuel cell stack of the air system, and a second historical actual flow rate and a second historical actual pressure after the air system adjusts the speed of the air compressor and the opening of the pressure regulating device based on the historical control strategy into a strategy model of the air system; Determining a first initial flow error, a first initial pressure error, a first post-control flow error, and a first post-control pressure error; Wherein, the first initial flow error is the difference between the first historical actual flow and the first historical target flow, the first initial pressure error is the difference between the first historical actual pressure and the first historical target pressure, the first post-control flow error is the difference between the second historical actual flow and the first historical target flow, and the first post-control pressure error is the difference between the second historical actual pressure and the first historical target pressure; The strategy model of the air system is trained according to the first initial flow error, the first initial pressure error, the first post-control flow error, the first post-control pressure error and a historical control strategy.

4. The control method of the fuel cell system according to claim 3, characterized in that: Training the strategy model of the air system according to the first initial flow error, the first initial pressure error, the first post-control flow error, the first post-control pressure error and the historical control strategy includes: If the first post-control flow error is less than the first initial flow error and the first post-control pressure error is less than the first initial pressure error, add a point; If the first post-control flow error is greater than the first initial flow error and the first post-control pressure error is less than the first initial pressure error, add b points; If the first post-control flow error is less than the first initial flow error and the first post-control pressure error is greater than the first initial pressure error, add b points; If the first post-control flow error is greater than the first initial flow error and the first post-control pressure error is greater than the first initial pressure error, subtract a points; Among them, a>b, a and b are both positive numbers; Output the control strategy with the highest score.

5. The control method of the fuel cell system according to claim 1, characterized in that: When the currently controlled system is a hydrogen system, determining the adjustment index of the currently controlled system includes: Determining the regulation index of the hydrogen system as the actual flow rate and actual pressure of the hydrogen input to the fuel cell stack; Determining a target amount of the adjustment indicator includes: Determining the target amount of the regulation index of the hydrogen system as the target flow rate and target pressure of the hydrogen input to the fuel cell stack; Inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, and obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, including: The actual flow rate and actual pressure of the hydrogen input to the fuel cell stack and the target flow rate and target pressure of the hydrogen input to the fuel cell stack are input into the strategy model of the hydrogen system, and a control strategy output by the strategy model is obtained to increase, decrease or keep unchanged the speed of the hydrogen circulation pump and the opening time of the solenoid valve; Among them, there are eight control strategies.

6. The control method of the fuel cell system according to claim 5, characterized in that: The training process of the strategy model of the hydrogen system includes: The third historical actual flow rate, the third historical actual pressure, the second historical target flow rate, the second historical target pressure, the historical control strategy of the hydrogen gas input to the fuel cell stack of the hydrogen system, and the fourth historical actual flow rate and the fourth historical actual pressure after the hydrogen system adjusts the speed of the hydrogen circulation pump and the opening of the pressure regulating device based on the historical control strategy are input into the strategy model of the hydrogen system; Determining a second initial flow error, a second initial pressure error, a second post-control flow error, and a second post-control pressure error; Wherein, the second initial flow error is the difference between the third historical actual flow and the second historical target flow, the second initial pressure error is the difference between the third historical actual pressure and the second historical target pressure, the second post-control flow error is the difference between the fourth historical actual flow and the second historical target flow, and the second post-control pressure error is the difference between the fourth historical actual pressure and the second historical target pressure; The strategy model of the hydrogen system is trained according to the second initial flow error, the second initial pressure error, the second post-control flow error, the second post-control pressure error and the historical control strategy.

7. The control method of the fuel cell system according to claim 1, characterized in that: When the current control system to be controlled is a thermal management system, determining the adjustment index of the current control system to be controlled includes: Determining that the regulation index of the thermal management system is the inlet temperature and the outlet temperature of the fuel cell stack; Determining the target amount of the adjustment indicator includes: Determining the target amount of the thermal management regulation index as the target inlet temperature and the target outlet temperature of the fuel cell stack; Inputting the adjustment index and the target amount into the strategy model of the current control system to be controlled, and obtaining a control strategy of increasing, decreasing or keeping unchanged the control parameters output by the strategy model of the current control system to be controlled, including: Inputting the inlet temperature and outlet temperature of the fuel cell stack and the target inlet temperature and target outlet temperature of the fuel cell stack into the strategy model of the thermal management system, and obtaining a control strategy output by the strategy model to control the fan speed and the water pump speed to increase, decrease or keep unchanged respectively; Among them, there are eight control strategies.

8. The control method of the fuel cell system according to claim 7, characterized in that: The training process of the strategy model of the thermal management system includes: Inputting the first historical inlet temperature, the first historical outlet temperature, the historical target inlet temperature, the historical target outlet temperature and the historical control strategy of the fuel cell stack, and the second historical inlet temperature and the second historical outlet temperature after the thermal management system adjusts the fan speed and the water pump speed based on the historical control strategy into the strategy model of the thermal management system; Determine an initial inlet temperature error, an initial outlet temperature error, a controlled inlet temperature error, and a controlled outlet temperature error; Wherein, the initial inlet temperature error is the difference between the first historical inlet temperature and the historical target inlet temperature, the initial outlet temperature error is the difference between the first historical outlet temperature and the historical target outlet temperature, the post-control inlet temperature error is the difference between the second historical inlet temperature and the historical target inlet temperature, and the post-control outlet temperature error is the difference between the second historical outlet temperature and the historical target outlet temperature; The strategy model of the thermal management system is trained according to the initial inlet temperature error, the initial outlet temperature error, the post-control inlet temperature error, the post-control outlet temperature error and the historical control strategy.

9. The control method of the fuel cell system according to claim 8, characterized in that: The strategy model of the thermal management system is trained according to the initial inlet temperature error, the initial outlet temperature error, the inlet temperature error after control, the outlet temperature error after control and the historical control strategy, including: If the outlet temperature error after control is less than the initial outlet temperature error and the stack inlet temperature error after control is less than the initial inlet temperature error, add a point; If the outlet temperature error after control is greater than the initial outlet temperature error and the stack inlet temperature error after control is less than the initial inlet temperature error, subtract b points; If the outlet temperature error after control is less than the initial outlet temperature error and the stack inlet temperature error after control is greater than the initial inlet temperature error, add b points; If the outlet temperature error after control is greater than the initial outlet temperature error and the stack inlet temperature error after control is greater than the initial inlet temperature error, subtract a points; Among them, a>b, a and b are both positive numbers; Output the control strategy with the highest score.

10. A control device for a fuel cell system, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the control method of the fuel cell system as claimed in any one of claims 1 to 9 when executing the computer program.