Control method, device and computer equipment of hydrogen fuel cell power generation system
By determining the target demand power in the hydrogen fuel cell power generation system, calculating the compensation current and updating the current parameter curve, the problem of slowing response speed in the traditional method caused by aging of hydrogen fuel cell is solved, and the effect of rapid response and stable output is achieved.
Patent Information
- Application Number
- CN202411412224.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-10-11
AI Technical Summary
During the aging of hydrogen fuel cell, the traditional closed-loop regulation method causes the hydrogen fuel cell to be unable to respond quickly or achieve the desired power.
By determining the target demand power of the hydrogen fuel cell, a adjustment algorithm is used to calculate the compensation current, and the current parameter curve is updated to obtain the feedforward current, thereby controlling the actual power generation power of the hydrogen fuel cell power generation system so that it can quickly reach the desired power.
The rapid response and stable output of the hydrogen fuel cell power generation system to the desired power is achieved, improving the performance and efficiency of the system.
Smart Images

Figure CN118919773B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of hydrogen fuel cell technology, and in particular to a control method, device, computer equipment, storage medium and computer program product for a hydrogen fuel cell power generation system. Background Art
[0002] With the vigorous development of the new energy industry, the hydrogen fuel cell power generation system, as the foundation of new energy power generation performance and the "heart" of operation guarantee, has become increasingly important. The stable and reliable operation of the hydrogen fuel cell power generation system is inseparable from a good hydrogen fuel cell power generation system control method. As the hydrogen fuel cell operation time increases, the hydrogen fuel cell ages, and the power value emitted by the same hydrogen pressure and flow will gradually change, causing the hydrogen fuel cell to fail to reach the appropriate expected power. In traditional technology, closed-loop regulation is used to adjust the hydrogen fuel cell power generation system.
[0003] However, in the traditional method, when closed-loop regulation is used to adjust the hydrogen fuel cell power generation system, as the hydrogen fuel cell ages, the power generation system's response speed to the desired power becomes slower, resulting in the hydrogen fuel cell being unable to quickly reach, or even unable to reach, the desired power. Summary of the invention
[0004] Based on this, it is necessary to provide a control method, device, computer equipment, computer-readable storage medium and computer program product for a hydrogen fuel cell power generation system that can quickly respond to the desired power of the hydrogen fuel cell in order to address the above technical problems.
[0005] In a first aspect, the present application provides a control method for a hydrogen fuel cell power generation system, comprising:
[0006] Determine the target power demand of the hydrogen fuel cell according to the actual power demand and power consumption of the hydrogen fuel cell;
[0007] The target required power and the actual output power of the hydrogen fuel cell are adjusted by using a regulation algorithm to obtain a compensation current of the hydrogen fuel cell;
[0008] An updating algorithm is used to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; a feedforward current is obtained according to the updated current parameter curve and the target required power;
[0009] According to the compensation current and the feedforward current, the actual power generation power of the hydrogen fuel cell power generation system is controlled so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0010] In one embodiment, the target required power and the actual output power of the hydrogen fuel cell are adjusted by using an adjustment algorithm to obtain a compensation current of the hydrogen fuel cell, which includes:
[0011] Performing a difference processing on the target required power and the actual output power to obtain the power difference between the target required power and the actual output power;
[0012] According to a plurality of preset difference thresholds, the power difference is processed in sections to determine a plurality of adjustment parameters of the adjustment algorithm;
[0013] The compensation current of the hydrogen fuel cell is determined according to the power difference and a plurality of adjustment parameters.
[0014] In one embodiment, an update algorithm is used to update a pre-acquired current parameter curve of a hydrogen fuel cell, and the updated current parameter curve includes:
[0015] When the actual output power is within a preset range, a plurality of actual output power data and output current data corresponding to each actual output power within a preset time period are acquired;
[0016] The actual output power data with the same actual output power data value are recorded as a group of actual output power data.
[0017] In one embodiment, the method further comprises:
[0018] For each group of actual output power data, determine the output current data corresponding to each actual output power data in the actual output power data group, and perform average processing on the output current data corresponding to each actual output power data to obtain average current data corresponding to the actual output power data group;
[0019] According to the pre-acquired current parameter curve of the hydrogen fuel cell, determining the original current data corresponding to the actual output power data value of the actual output power data group in the pre-acquired current parameter curve of the hydrogen fuel cell;
[0020] Performing difference processing on the average current data and the original current data to obtain a current difference, and comparing the current difference with a preset current threshold;
[0021] When the current difference is greater than the current threshold, the pre-acquired current parameter curve of the hydrogen fuel cell is updated using the average current data.
[0022] In one embodiment, determining the target required power of the hydrogen fuel cell according to the actual required power and consumed power of the hydrogen fuel cell includes:
[0023] Preprocessing the power consumption of the hydrogen fuel cell to obtain the preprocessed power consumption;
[0024] The pre-processed consumed power and the actual required power are summed to obtain summed power data;
[0025] According to the fault level limit and the preset boundary power value, the power data after the summation process is processed to obtain the target required power of the hydrogen fuel cell.
[0026] In one embodiment, controlling the actual power generation power of the hydrogen fuel cell power generation system according to the compensation current and the feedforward current so that the actual output power of the hydrogen fuel cell reaches the expected power includes:
[0027] Perform numerical processing on the compensation current and the feedforward current to obtain the set current value;
[0028] According to the set current value, determine the target hydrogen air pressure flow data;
[0029] According to the target hydrogen air pressure flow data, the actual power generation power of the hydrogen fuel cell power generation system is controlled so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0030] In a second aspect, the present application also provides a control device for a hydrogen fuel cell power generation system, comprising:
[0031] A determination module, used to determine the target required power of the hydrogen fuel cell according to the actual required power and consumed power of the hydrogen fuel cell;
[0032] A compensation module, used to adjust the target required power and the actual output power of the hydrogen fuel cell using an adjustment algorithm to obtain a compensation current of the hydrogen fuel cell;
[0033] An updating module is used to update the pre-acquired current parameter curve of the hydrogen fuel cell using an updating algorithm to obtain an updated current parameter curve; and to obtain a feedforward current according to the updated current parameter curve and the target required power;
[0034] The control module is used to control the actual power generation power of the hydrogen fuel cell power generation system according to the compensation current and the feedforward current, so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0035] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0036] Determine the target power demand of the hydrogen fuel cell according to the actual power demand and power consumption of the hydrogen fuel cell;
[0037] The target required power and the actual output power of the hydrogen fuel cell are adjusted by using a regulation algorithm to obtain a compensation current of the hydrogen fuel cell;
[0038] An updating algorithm is used to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; a feedforward current is obtained according to the updated current parameter curve and the target required power;
[0039] According to the compensation current and the feedforward current, the actual power generation power of the hydrogen fuel cell power generation system is controlled so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0041] Determine the target power demand of the hydrogen fuel cell according to the actual power demand and power consumption of the hydrogen fuel cell;
[0042] The target required power and the actual output power of the hydrogen fuel cell are adjusted by using a regulation algorithm to obtain a compensation current of the hydrogen fuel cell;
[0043] An updating algorithm is used to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; a feedforward current is obtained according to the updated current parameter curve and the target required power;
[0044] According to the compensation current and the feedforward current, the actual power generation power of the hydrogen fuel cell power generation system is controlled so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0045] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0046] Determine the target power demand of the hydrogen fuel cell according to the actual power demand and power consumption of the hydrogen fuel cell;
[0047] The target required power and the actual output power of the hydrogen fuel cell are adjusted by using a regulation algorithm to obtain a compensation current of the hydrogen fuel cell;
[0048] An updating algorithm is used to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; a feedforward current is obtained according to the updated current parameter curve and the target required power;
[0049] According to the compensation current and the feedforward current, the actual power generation power of the hydrogen fuel cell power generation system is controlled so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0050] The control method, device, computer equipment, storage medium and computer program product of the above-mentioned hydrogen fuel cell power generation system determine the target demand power of the hydrogen fuel cell based on the actual demand power and consumption power of the hydrogen fuel cell; use an adjustment algorithm to adjust the target demand power and the actual output power of the hydrogen fuel cell to obtain the compensation current of the hydrogen fuel cell; use an update algorithm to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; obtain a feedforward current based on the updated current parameter curve and the target demand power; control the actual power generation power of the hydrogen fuel cell power generation system based on the compensation current and the feedforward current, and can quickly respond to the desired power of the hydrogen fuel cell, so that the hydrogen fuel cell can quickly reach the appropriate power. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 An application environment diagram of a control method for a hydrogen fuel cell power generation system in one embodiment;
[0053] Figure 2 It is a flow chart of a control method of a hydrogen fuel cell power generation system in one embodiment;
[0054] Figure 3 A schematic flow chart of a step of obtaining a compensation current of a hydrogen fuel cell in one embodiment;
[0055] Figure 4 It is a schematic diagram of a process of updating a pre-acquired current parameter curve of a hydrogen fuel cell in one embodiment;
[0056] Figure 5 is a structural block diagram of a control device for a hydrogen fuel cell power generation system in one embodiment;
[0057] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0059] The control method of the hydrogen fuel cell power generation system provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network, and uploads the updated current curve, actual output current, actual output voltage and other key data to the server 104. The server 104 can use an update algorithm to obtain an updated current parameter curve according to the received data, and update the lookup curve of the terminal 102 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 receives a control request for the hydrogen fuel cell power generation system, determines the target demand power of the hydrogen fuel cell; uses an adjustment algorithm to adjust the target demand power and the actual output power of the hydrogen fuel cell to obtain the compensation current of the hydrogen fuel cell; the terminal 102 itself can also use an update algorithm to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; according to the updated current parameter curve and the target demand power, the feedforward current is obtained; according to the compensation current and the feedforward current, the actual power generation power of the hydrogen fuel cell power generation system is controlled. The terminal 102 may be, but is not limited to, various personal computers, car controllers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0060] In an exemplary embodiment, Figure 2 As shown, a control method for a hydrogen fuel cell power generation system is provided, and the method is applied to Figure 1 The server in the example is used to illustrate, including the following steps 202 to 208. Among them:
[0061] Step 202: Determine the target required power of the hydrogen fuel cell according to the actual required power and consumed power of the hydrogen fuel cell.
[0062] The actual power demand of hydrogen fuel cells refers to the power that the hydrogen fuel cell power generation system currently needs to provide to meet the demand for power load. The power consumption refers to the power consumed by the hydrogen fuel cell power generation system itself, including the sum of the power consumption of key components such as air compressors, heaters, and water pumps.
[0063] Specifically, during the operation of the hydrogen fuel cell power generation system, the total power consumption of the hydrogen fuel cell power generation system will fluctuate. Directly adding the power consumption to the actual power demand as the target power demand will lead to instability in the power generation of the hydrogen fuel cell power generation system. Therefore, the power consumption needs to be preprocessed. The target power demand of the battery is determined based on the preprocessed power consumption and the actual power demand.
[0064] Step 204 , using an update algorithm to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; and obtaining a feedforward current according to the updated current parameter curve and the target required power.
[0065] The current parameter curve of a hydrogen fuel cell refers to a curve describing the relationship between the actual output power and current of a hydrogen fuel cell, namely, a power-current curve (PI curve), where P is the target required power. The pre-acquired current parameter curve of a hydrogen fuel cell is determined based on the polarization curve of the hydrogen fuel cell.
[0066] Optionally, a polarization curve of the hydrogen fuel cell is obtained, and a PI curve of the hydrogen fuel cell is obtained according to the polarization curve of the hydrogen fuel cell. The actual output power and output current of the hydrogen fuel cell power generation system are actually measured to obtain multiple sets of measured actual output power and output current data. According to the multiple sets of measured actual output power and output current data, an update algorithm is used to update the current data in the PI curve to obtain an updated current parameter curve (PI curve). According to the updated PI curve and the target demand power, the feedforward current is determined.
[0067] Step 206: Use a regulation algorithm to regulate the target required power and the actual output power of the hydrogen fuel cell to obtain a compensation current of the hydrogen fuel cell.
[0068] Among them, the compensation current refers to the fact that in the hydrogen fuel cell power generation system, when the feedforward current is used as the set current, the control system cannot make the actual output power reach the target output power. In order to ensure the normal operation of the hydrogen fuel cell, the output power reaches the target power by adding the set current on the basis of the feedforward current. The actual output power of the hydrogen fuel cell refers to the electric power actually output by the hydrogen fuel cell power generation system, that is, the electric energy generated during actual operation. Specifically, the actual output power of the hydrogen fuel cell refers to the electric power actually output by the power generation system before the next control of the hydrogen fuel cell power generation system.
[0069] Exemplarily, the difference between the target power demand and the actual output power is processed using a segmented processing strategy and an adjustment algorithm to obtain multiple adjustment parameters. The adjustment parameters corresponding to the difference between the target power demand and the actual output power are determined according to the difference, thereby determining the compensation current of the hydrogen fuel cell.
[0070] Step 208, controlling the actual power generation of the hydrogen fuel cell power generation system according to the compensation current and the feedforward current, so that the actual output power of the hydrogen fuel cell reaches the desired power.
[0071] The actual power generation of the hydrogen fuel cell power generation system refers to the electric power actually output by the power generation system after the hydrogen fuel cell power generation system is controlled next time.
[0072] According to the compensation current and the feedforward current, the air hydrogen pressure flow of the hydrogen fuel cell power generation system is controlled so that the hydrogen fuel cell can generate appropriate power and maintain good working performance during the working cycle of the hydrogen fuel cell.
[0073] In the control method of the above hydrogen fuel cell power generation system, the target power demand of the hydrogen fuel cell is determined according to the actual power demand and power consumption of the hydrogen fuel cell, the target power demand and the actual output power of the hydrogen fuel cell are adjusted by a regulation algorithm to obtain the compensation current of the hydrogen fuel cell, and the pre-acquired current parameter curve of the hydrogen fuel cell is updated by an update algorithm to obtain an updated current parameter curve; the feedforward current is obtained according to the updated current parameter curve and the target power demand. According to the compensation current and the feedforward current, the actual power generation of the hydrogen fuel cell power generation system is controlled, so that the hydrogen fuel cell can generate appropriate power and maintain good working performance during the working cycle of the hydrogen fuel cell.
[0074] In an exemplary embodiment, Figure 3 As shown, the target required power and the actual output power of the hydrogen fuel cell are adjusted by using the adjustment algorithm to obtain the compensation current of the hydrogen fuel cell, including steps 302 to 306. Among them:
[0075] Step 302: Perform a difference process on the target required power and the actual output power to obtain a power difference between the target required power and the actual output power.
[0076] Step 304: According to a plurality of preset difference thresholds, the power difference is processed in sections to determine a plurality of adjustment parameters of the adjustment algorithm.
[0077] Step 306: Determine the compensation current of the hydrogen fuel cell according to the power difference and multiple adjustment parameters.
[0078] Optionally, the target required power and the actual output power are subjected to difference processing to obtain the power difference between the target required power and the actual output power. , using the adjustment algorithm to adjust the power difference For example, the regulation algorithm may adopt a proportional integral differential (PID) control algorithm. To enhance the applicability of the regulation algorithm, the power difference Perform segmentation processing.
[0079] The multiple adjustment parameters of the adjustment algorithm include a proportional coefficient and an integral coefficient. When determining the proportional adjustment output of the adjustment algorithm according to the proportional coefficient, the multiple difference thresholds are set, including and .when When the proportional regulation algorithm is used, the output for:
[0080]
[0081] when When the proportional regulation algorithm is used, the output for:
[0082]
[0083] like If it does not belong to the above two situations, the proportional regulation output of the regulation algorithm for:
[0084]
[0085] In the above formula, and is the preset difference threshold, , and They are all proportional coefficients of the adjustment algorithm.
[0086] In the integral adjustment part of the adjustment algorithm, multiple difference thresholds are set, including and .when When the integral coefficient of the regulation algorithm is obtained for:
[0087]
[0088] when When the integral coefficient of the regulation algorithm is obtained for:
[0089]
[0090] In the integral adjustment part of the adjustment algorithm, if If it does not belong to the above two situations, the integral coefficient of the adjustment algorithm is for:
[0091]
[0092] in, , and They are all integral coefficients of the adjustment algorithm, and their specific values are set according to actual conditions.
[0093] According to the proportional regulation output and integral coefficient obtained above, the compensation current of the hydrogen fuel cell can be obtained.
[0094] In this embodiment, by processing the power difference in sections and using an adjustment algorithm to obtain corresponding compensation currents according to different power differences, the applicability of the adjustment algorithm can be enhanced, and the accuracy of control of the hydrogen fuel cell power generation system can be further enhanced.
[0095] In an exemplary embodiment, an update algorithm is used to update a pre-acquired current parameter curve of a hydrogen fuel cell, and the updated current parameter curve includes: when the actual output power is within a preset range, obtaining multiple actual output power data and output current data corresponding to each actual output power within a preset time period; and recording actual output power data with equal actual output power data values as a group of actual output power data groups.
[0096] In the traditional hydrogen fuel cell power generation system control method, as the hydrogen fuel cell operation time increases, the aging degree of the battery also deepens, which makes the hydrogen fuel cell stack polarization curve deviation too large, thereby increasing the deviation of the traditional PID regulation, which is a great test for the robustness of the traditional PID regulation, and also affects the response speed of the power generation system to the expected power. Therefore, in this embodiment, the current parameter curve of the hydrogen fuel cell is updated, and the hydrogen fuel cell power generation system is controlled according to the updated current parameter curve.
[0097] Specifically, the previously acquired current parameter curve (PI curve) of the hydrogen fuel cell is updated as follows: Figure 4 As shown, the actual output power and output current of the hydrogen fuel cell power generation system are monitored in real time. When the actual output power of the hydrogen fuel cell power generation system is monitored to be within the threshold range and maintained for a period of time, the actual output power and output current of the hydrogen fuel cell power generation system within a preset time period are actually measured to obtain multiple measured actual output power and each Corresponding output current data .in, i =1, 2, 3... n .
[0098] The actual output power measured in multiple In the embodiment, each actual output power data having the same actual output power data value is identified, and each actual output power data having the same actual output power data value is recorded as a group of actual output power data. If the values of Recorded as a set of actual output power data.
[0099] In the previous exemplary embodiment, the method also includes: for each group of actual output power data groups, determining the output current data corresponding to each actual output power data in the actual output power data group, averaging the output current data corresponding to each actual output power data to obtain the average current data corresponding to the actual output power data group; determining the original current data corresponding to the actual output power data value of the actual output power data group in the pre-acquired current parameter curve of the hydrogen fuel cell based on the pre-acquired current parameter curve of the hydrogen fuel cell; performing difference processing on the average current data and the original current data to obtain a current difference, and comparing the current difference with a preset current threshold; when the current difference is greater than the current threshold, using the average current data to update the pre-acquired current parameter curve of the hydrogen fuel cell.
[0100] The actual output power measured in multiple In the embodiment, multiple groups of actual output power data sets whose actual output power data values remain equal are identified. For example, for one group of actual output power data sets, , the actual output power data set is recorded as Group, get The output current data corresponding to each actual output power data in the group ,right Perform mean processing to obtain The average current data corresponding to the group In the previously acquired PI curve of the hydrogen fuel cell, determine The current data corresponding to the actual output power data value of the group is recorded as the original current data . The raw current data and The average current data corresponding to the group Perform difference processing to obtain the current difference between the two. With average current data If the current difference is greater than the current threshold, the original current data in the current parameter curve Replaced with average current data That is, the current difference is compared with the preset current threshold. If the current difference is greater than the current threshold, the PI curve of the hydrogen fuel cell obtained in advance is compared with the current threshold. The actual output power data value of the group corresponds to the original current data Replace with The average current data corresponding to the group .
[0101] Specifically, for each set of actual output power data groups, the above method is used for judgment, and the judgment results include: if the current difference corresponding to the actual output power data group is greater than the current threshold, the original current data corresponding to the actual output power data group in the pre-acquired PI curve of the hydrogen fuel cell is replaced with the average current data corresponding to the actual output power data group; if the current difference corresponding to the actual output power data group is less than or equal to the current threshold, it is not replaced. According to the judgment results of multiple sets of actual output power data groups, the pre-acquired PI curve of the hydrogen fuel cell is updated to obtain an updated PI curve.
[0102] In this embodiment, the pre-acquired current parameter curve of the hydrogen fuel cell is updated by acquiring the actual output power data and the corresponding output current data in real time, so that the working state of the hydrogen fuel cell power generation system can be determined, and then the parameter settings in the hydrogen fuel cell power generation system can be optimized, so that the hydrogen fuel cell power generation system can respond quickly and accurately to the expected power of the hydrogen fuel cell, and improve the performance and efficiency of the hydrogen fuel cell power generation system.
[0103] In an exemplary embodiment, the actual power generation power of the hydrogen fuel cell power generation system is controlled based on the compensation current and the feedforward current so that the actual output power of the hydrogen fuel cell reaches the expected power, including: numerically processing the compensation current and the feedforward current to obtain a set current value; determining target hydrogen air pressure and flow data based on the set current value; and controlling the actual power generation power of the hydrogen fuel cell power generation system based on the target hydrogen air pressure and flow data so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0104] In the hydrogen fuel cell power generation system, the air hydrogen pressure flow and the appropriate stack temperature are mainly controlled so that the hydrogen fuel cell power generation system can reach the appropriate power. Therefore, in this embodiment, the compensation current of the hydrogen fuel cell is determined according to the adjustment algorithm, and the feedforward current is determined using the updated current parameter curve, and the compensation current and the feedforward current are summed to obtain the set current value. According to the set current value, the hydrogen air pressure flow demand of the hydrogen fuel cell power generation system is obtained, and the actual power generation power of the hydrogen fuel cell power generation system is controlled according to the hydrogen air pressure flow demand, so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0105] In this embodiment, the set current value is determined based on the updated current parameter curve and adjustment algorithm, and then the hydrogen air pressure flow demand of the hydrogen fuel cell power generation system is determined. The hydrogen air pressure flow demand of the power generation system can be adjusted in time according to different set current values, so that the hydrogen fuel cell power generation system can respond to the needs of the hydrogen fuel cell more quickly, and the actual power generation power of the hydrogen fuel cell power generation system can be controlled, so that the actual output power of the hydrogen fuel cell can quickly reach the expected power.
[0106] In an exemplary embodiment, determining the target power demand of the hydrogen fuel cell based on the actual power demand and power consumption of the hydrogen fuel cell includes: preprocessing the power consumption of the hydrogen fuel cell to obtain the preprocessed power consumption; summing the preprocessed power consumption and the actual power demand to obtain the summed power data; and processing the summed power data according to the fault level limit and the preset boundary power value to obtain the target power demand of the hydrogen fuel cell.
[0107] Preprocessing the power consumption of the hydrogen fuel cell includes: when the actual power demand of the hydrogen fuel cell changes within a period of time less than the calibration threshold, limiting the rate of change of the power consumption of the hydrogen fuel cell to a smaller rate of change, and the smaller rate of change is recorded as D1; otherwise, limiting the rate of change of the power consumption of the hydrogen fuel cell to a larger rate of change, and the larger rate of change is recorded as D2. It can ensure that when the actual power demand of the hydrogen fuel cell changes greatly, the larger rate of change of the power consumption can quickly respond to the needs of the hydrogen fuel cell. When the actual power demand of the hydrogen fuel cell changes less, limiting the rate of change of the power consumption can avoid causing operational shocks in the hydrogen fuel cell power generation system. Among them, the calibration threshold, change rates D1 and D2 are set according to actual conditions.
[0108] Optionally, taking hydrogen-hydrogen fuel cells as an example, the faults of hydrogen-hydrogen fuel cell power generation systems can be divided into different fault levels according to the severity, and different fault levels correspond to different processing methods, including: warning (level 1), limited power operation, shutdown (level 5) and emergency shutdown (level 6). The limited power operation is divided into 75% (level 2), 50% (level 3), and 25% (level 4) power limit levels according to the actual fault. If there is a minor abnormal level 1 fault, only a warning is issued. If there is a serious level 6 fault, such as a hydrogen leak, an emergency shutdown is performed. If the fault affects the operation of the hydrogen-hydrogen fuel cell power generation system, such as the voltage of the battery stack is too low, the voltage difference between the voltage cells is too large, the air flow is too large, etc., which do not have a serious impact on the entire hydrogen-hydrogen fuel cell power generation system, it can be divided into different power limit operation levels according to the specific situation. The power data after summation is processed according to the fault level limit, including: first, taking the highest level fault among all faults of the hydrogen hydrogen fuel cell power generation system, if the highest level fault is a level 2 fault, the final power data after summation is set to 0.75 times the original power data after summation; if the highest level fault is a level 3 fault, the final power data after summation is set to 0.5 times the original power data after summation; if the highest level fault is a level 4 fault, the final power data after summation is set to 0.25 times the original power data after summation.
[0109] The power data after summation is processed according to the preset boundary power value, including: if the final power data after summation is greater than the maximum power generation power of the hydrogen-hydrogen fuel cell, the target demand power is set to the maximum power generation power of the hydrogen-hydrogen fuel cell; if the final power data after summation is less than the maximum power generation power of the hydrogen-hydrogen fuel cell, the target demand power is set to the minimum power generation power of the hydrogen-hydrogen fuel cell.
[0110] In this embodiment, the power consumption of the hydrogen fuel cell is preprocessed, and the power data after summation is processed using fault level limits and preset boundary power values, which can improve the stability of the hydrogen fuel cell power generation system.
[0111] In another embodiment, a method for controlling a hydrogen fuel cell power generation system is provided, the method comprising:
[0112] The power consumption of the hydrogen fuel cell is preprocessed to obtain the preprocessed power consumption; the preprocessed power consumption and the actual required power are summed to obtain the summed power data; according to the fault level limit and the preset boundary power value, the summed power data is processed to obtain the target required power of the hydrogen fuel cell.
[0113] The target demand power and the actual output power are subjected to difference processing to obtain the power difference between the target demand power and the actual output power; the power difference is segmented according to multiple pre-set difference thresholds to determine multiple adjustment parameters of the adjustment algorithm; and the compensation current of the hydrogen fuel cell is determined according to the power difference and the multiple adjustment parameters.
[0114] When the actual output power is within a preset range, multiple actual output power data and output current data corresponding to each actual output power are obtained within a preset time period; actual output power data with equal actual output power data values are recorded as a group of actual output power data groups.
[0115] For each group of actual output power data, determine the output current data corresponding to each actual output power data in the actual output power data group, and perform average processing on the output current data corresponding to each actual output power data to obtain average current data corresponding to the actual output power data group;
[0116] According to a pre-acquired current parameter curve of a hydrogen fuel cell, original current data corresponding to the actual output power data value of the actual output power data group in the pre-acquired current parameter curve of the hydrogen fuel cell is determined; the average current data and the original current data are subjected to difference processing to obtain a current difference, and the current difference is compared with a preset current threshold value; when the current difference is greater than the current threshold value, the pre-acquired current parameter curve of the hydrogen fuel cell is updated using the average current data.
[0117] The feedforward current is obtained according to the target required power and the updated current parameter curve.
[0118] The compensation current and the feedforward current are numerically processed to obtain a set current value; based on the set current value, the target hydrogen air pressure flow data is determined; based on the target hydrogen air pressure flow data, the actual power generation power of the hydrogen fuel cell power generation system is controlled so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0119] In this embodiment, the power consumption of the hydrogen fuel cell is preprocessed, and the power data after summation is processed using fault level limits and preset boundary power values, which can improve the stability of the hydrogen fuel cell power generation system. By segmenting the power difference, the corresponding compensation current is obtained by using the adjustment algorithm according to different power differences, which can enhance the applicability of the adjustment algorithm and further enhance the accuracy of the control of the hydrogen fuel cell power generation system. By updating the current parameter curve of the pre-acquired hydrogen fuel cell through the actual output power data and the corresponding output current data obtained in real time, the working state of the hydrogen fuel cell power generation system can be determined, and the updated current parameter curve can be obtained. The original parameters in the hydrogen fuel cell power generation system are optimized, so that the hydrogen fuel cell power generation system can adaptively adjust the working parameters, improve the adaptability of the hydrogen fuel cell power generation system, and at the same time, the power generation system of the hydrogen fuel cell can respond to the needs of the hydrogen fuel cell more quickly, and the actual power generation power of the hydrogen fuel cell power generation system is controlled to ensure that the hydrogen fuel cell can quickly reach the expected power.
[0120] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0121] Based on the same inventive concept, the embodiment of the present application also provides a control device for a hydrogen fuel cell power generation system for implementing the control method of the hydrogen fuel cell power generation system involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the control device for one or more hydrogen fuel cell power generation systems provided below can refer to the limitations of the control method for the hydrogen fuel cell power generation system above, and will not be repeated here.
[0122] In an exemplary embodiment, Figure 5 As shown, a control device for a hydrogen fuel cell power generation system is provided, comprising: a determination module 502, a compensation module 504, an update module 506 and a control module 508, wherein:
[0123] The determination module 502 is used to determine the target required power of the hydrogen fuel cell according to the actual required power and consumed power of the hydrogen fuel cell;
[0124] The compensation module 504 is used to adjust the target required power and the actual output power of the hydrogen fuel cell by using an adjustment algorithm to obtain a compensation current of the hydrogen fuel cell;
[0125] The updating module 506 is used to update the pre-acquired current parameter curve of the hydrogen fuel cell using an updating algorithm to obtain an updated current parameter curve; and obtain a feedforward current according to the updated current parameter curve and the target required power;
[0126] The control module 508 is used to control the actual power generation of the hydrogen fuel cell power generation system according to the compensation current and the feedforward current, so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0127] In an exemplary embodiment, the compensation module 504 is also used to perform difference processing on the target demand power and the actual output power to obtain the power difference between the target demand power and the actual output power; segment the power difference according to multiple pre-set difference thresholds to determine multiple adjustment parameters of the adjustment algorithm; determine the compensation current of the hydrogen fuel cell according to the power difference and multiple adjustment parameters.
[0128] In an exemplary embodiment, the update module 506 is also used to obtain multiple actual output power data and output current data corresponding to each actual output power within a preset time period when the actual output power is within a preset range; and record the actual output power data with equal actual output power data values as a group of actual output power data groups.
[0129] In an exemplary embodiment, the update module 506 is also used to determine, for each group of actual output power data groups, the output current data corresponding to each actual output power data in the actual output power data group, and to average the output current data corresponding to each actual output power data to obtain the average current data corresponding to the actual output power data group; determine, based on a pre-acquired current parameter curve of a hydrogen fuel cell, the original current data corresponding to the actual output power data value of the actual output power data group in the pre-acquired current parameter curve of the hydrogen fuel cell; perform difference processing between the average current data and the original current data to obtain a current difference, and compare the current difference with a preset current threshold; when the current difference is greater than the current threshold, use the average current data to update the pre-acquired current parameter curve of the hydrogen fuel cell.
[0130] In an exemplary embodiment, the determination module 502 is also used to pre-process the power consumption of the hydrogen fuel cell to obtain the pre-processed power consumption; sum the pre-processed power consumption and the actual required power to obtain the summed power data; and perform data processing on the summed power data according to the fault level limit and the preset boundary power value to obtain the target required power of the hydrogen fuel cell.
[0131] In an exemplary embodiment, the control module 508 is also used to numerically process the compensation current and the feedforward current to obtain a set current value; determine the target hydrogen air pressure flow data based on the set current value; and control the actual power generation power of the hydrogen fuel cell power generation system based on the target hydrogen air pressure flow data so that the actual output power of the hydrogen fuel cell reaches the expected power.
[0132] Each module in the control device of the above hydrogen fuel cell power generation system can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0133] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store target demand power data, compensation current data and feedforward current data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a control method for a hydrogen fuel cell power generation system is implemented.
[0134] Those skilled in the art will understand that Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0135] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0136] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0137] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0138] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0139] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0140] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0141] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A control method for a hydrogen fuel cell power generation system, characterized in that: The method comprises: Determine the target power demand of the hydrogen fuel cell according to the actual power demand and power consumption of the hydrogen fuel cell; The target demand power and the actual output power of the hydrogen fuel cell are regulated by a regulating algorithm to obtain a compensation current of the hydrogen fuel cell, including: performing a difference process on the target demand power and the actual output power to obtain a power difference between the target demand power and the actual output power; performing segmented processing on the power difference according to a plurality of pre-set difference thresholds to determine a plurality of regulating parameters of the regulating algorithm; determining the compensation current of the hydrogen fuel cell according to the power difference and a plurality of the regulating parameters; wherein the regulating algorithm is a proportional-integral-differential control algorithm, and the plurality of regulating parameters of the regulating algorithm refer to proportional coefficients and integral coefficients corresponding to each power difference segment respectively; The updated algorithm is used to update the current parameter curve of the hydrogen fuel cell obtained in advance to obtain an updated current parameter curve, including: when the actual output power is within the threshold range, obtaining a plurality of the actual output power data and the output current data corresponding to each actual output power within a preset time period; recording the actual output power data with equal actual output power data values as a group of actual output power data groups; for each group of actual output power data groups, determining the output current data corresponding to each actual output power data in the actual output power data group, averaging the output current data corresponding to each actual output power data, and obtaining the average value corresponding to the actual output power data group. average current data; according to the pre-acquired current parameter curve of the hydrogen fuel cell, determine the original current data corresponding to the actual output power data value of the actual output power data group in the pre-acquired current parameter curve of the hydrogen fuel cell; perform difference processing on the average current data and the original current data to obtain a current difference, and compare the current difference with a preset current threshold; when the current difference is greater than the current threshold, use the average current data to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; obtain a feedforward current according to the updated current parameter curve and the target required power; The actual power generation power of the hydrogen fuel cell power generation system is controlled according to the compensation current and the feedforward current, so that the actual output power of the hydrogen fuel cell reaches the expected power.
2. The method according to claim 1, characterized in that Determining the target power demand of the hydrogen fuel cell according to the actual power demand and power consumption of the hydrogen fuel cell includes: Preprocessing the power consumption of the hydrogen fuel cell to obtain the preprocessed power consumption; The pre-processed consumed power and the actual required power are summed to obtain summed power data; According to the fault level limit and the preset boundary power value, the power data after the summation process is processed to obtain the target required power of the hydrogen fuel cell.
3. The method according to claim 1, characterized in that The controlling the actual power generation power of the hydrogen fuel cell power generation system according to the compensation current and the feedforward current so that the actual output power of the hydrogen fuel cell reaches the expected power comprises: Numerically processing the compensation current and the feedforward current to obtain a set current value; Determining target hydrogen air pressure flow data according to the set current value; According to the target hydrogen air pressure flow data, the actual power generation power of the hydrogen fuel cell power generation system is controlled so that the actual output power of the hydrogen fuel cell reaches the expected power.
4. A control device for a hydrogen fuel cell power generation system, characterized in that: The device comprises: A determination module, used to determine the target required power of the hydrogen fuel cell according to the actual required power and consumed power of the hydrogen fuel cell; A compensation module, used for adjusting the target demand power and the actual output power of the hydrogen fuel cell by adopting an adjustment algorithm to obtain a compensation current of the hydrogen fuel cell, including: performing a difference process on the target demand power and the actual output power to obtain a power difference between the target demand power and the actual output power; performing segmented processing on the power difference according to a plurality of pre-set difference thresholds to determine a plurality of adjustment parameters of the adjustment algorithm; determining the compensation current of the hydrogen fuel cell according to the power difference and a plurality of the adjustment parameters; wherein the adjustment algorithm is a proportional-integral-differential control algorithm, and the plurality of adjustment parameters of the adjustment algorithm refer to proportional coefficients and integral coefficients corresponding to each power difference segment respectively; The updating module is used to update the current parameter curve of the hydrogen fuel cell acquired in advance by using an updating algorithm to obtain an updated current parameter curve, including: when the actual output power is within a threshold range, obtaining a plurality of the actual output power data and the output current data corresponding to each actual output power within a preset time period; recording the actual output power data with equal actual output power data values as a group of actual output power data groups; for each group of actual output power data groups, determining the output current data corresponding to each actual output power data in the actual output power data group, and averaging the output current data corresponding to each actual output power data to obtain the actual output power data group corresponding average current data; according to the pre-acquired current parameter curve of the hydrogen fuel cell, determine the original current data corresponding to the actual output power data value of the actual output power data group in the pre-acquired current parameter curve of the hydrogen fuel cell; perform difference processing on the average current data and the original current data to obtain a current difference, and compare the current difference with a preset current threshold; when the current difference is greater than the current threshold, use the average current data to update the pre-acquired current parameter curve of the hydrogen fuel cell to obtain an updated current parameter curve; obtain a feedforward current according to the updated current parameter curve and the target required power; The control module is used to control the actual power generation power of the hydrogen fuel cell power generation system according to the compensation current and the feedforward current, so that the actual output power of the hydrogen fuel cell reaches the expected power.
5. The device according to claim 4, characterized in that The control module is also used to numerically process the compensation current and the feedforward current to obtain a set current value; determine the target hydrogen air pressure flow data based on the set current value; and control the actual power generation power of the hydrogen fuel cell power generation system based on the target hydrogen air pressure flow data so that the actual output power of the hydrogen fuel cell reaches the expected power.
6. The device according to claim 4, characterized in that The determination module is also used to pre-process the power consumption of the hydrogen fuel cell to obtain the pre-processed power consumption; sum the pre-processed power consumption and the actual required power to obtain the summed power data; and perform data processing on the summed power data according to the fault level limit and the preset boundary power value to obtain the target required power of the hydrogen fuel cell.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Feedback control method, device and equipment of hydrogen fuel cell system
CN115763911A
Characteristic curve compensation control method, system and equipment of hydrogen fuel cell and medium
CN115832371A