Drainage control method, device, computer equipment and storage medium

By detecting the driving voltage duty cycle of the hydrogen injector and the water storage tank liquid level, the dynamic control drain valve is opened, which solves the problem of low drainage control efficiency in the prior art and improves the drainage efficiency and stability of the fuel cell.

CN115763910BActive Publication Date: 2025-08-15FAW JIEFANG AUTOMOTIVE CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211434645.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-16
Publication Date
2025-08-15
Estimated Expiration
2042-11-16

AI Technical Summary

Technical Problem

The existing drainage control methods are inefficient, resulting in excessive water accumulation in fuel cell systems, affecting output power and possibly leading to fuel scarcity, and posing safety hazards.

Method used

By periodically detecting the driving voltage duty cycle of the hydrogen injector, combining the water storage tank level and preset threshold, the opening of the drain valve is dynamically controlled to ensure that the driving voltage duty cycle changes within the preset range and the water storage conditions meet the conditions.

Benefits of technology

It improves drainage control efficiency, reduces the risk of overflow and flooding of the water storage tank, and improves the operating stability and efficiency of the fuel cell.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115763910B_ABST
    Figure CN115763910B_ABST
Patent Text Reader

Abstract

The present application relates to a drainage control method, device, computer equipment, storage medium, and computer program product, which are applied to fuel cells. The fuel cell includes a hydrogen injector, a fuel cell stack, a drain valve, a water tank, and a control unit. The hydrogen injector is connected to the fuel cell stack to provide hydrogen to the fuel cell stack. The drain valve is connected to the fuel cell stack through the water tank to discharge the liquid to be discharged generated by the fuel cell stack. The drainage control method is executed by the control unit. The method includes: periodically detecting the driving voltage duty cycle of the hydrogen injector; determining the driving voltage duty cycle change based on the current detected driving voltage duty cycle and the driving voltage duty cycle detected the previous time; determining the water storage status of the water tank based on the liquid level in the water tank and a preset liquid level threshold; and controlling the drain valve to open when the driving voltage duty cycle change is within a preset range and the water storage status meets preset conditions. The use of this method can improve drainage control efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile engine electronic control technology, and in particular to a drainage control method, device, computer equipment, storage medium and computer program product. Background Art

[0002] In the new energy sector, fuel cell vehicles use hydrogen as fuel, and the drain valve is a key control actuator in the hydrogen system. When a fuel cell is operating, hydrogen and oxygen in the air undergo an electrochemical reaction to produce water. As the fuel cell operates, more and more water accumulates at the anode. Improper control of the drain valve's opening duration and frequency can result in the discharged water containing an excessive mixture of nitrogen and hydrogen, or if drainage is not timely, the stack may fail to reach rated power.

[0003] The current drainage control method often realizes drainage control by controlling the opening and closing of the drain valve with a fixed opening duration and a fixed opening frequency. However, with this control method, when the opening duration of the drain valve is long and the opening frequency is too high, the drain valve will be frequently opened for a long time, and the liquid water and gas cannot be fully separated. The mixture of liquid water, nitrogen and hydrogen will be directly discharged, and the hydrogen concentration on the drainage side will be too high, which has low safety. When the opening duration of the drain valve is short and the opening frequency is too low, the drain valve will be opened at a low frequency and for a short time, which will cause the water accumulated in the fuel cell system to be unable to be effectively discharged, resulting in overflow of the water storage tank and failure of water-gas separation. As the amount of water and gas generated by the fuel cell stack increases, the proportion of hydrogen in the circulating gas becomes lower and lower, which will eventually cause the fuel cell output power to decrease, or even stop working due to fuel starvation. Therefore, the existing drainage control method has the problem of low drainage control efficiency. Summary of the Invention

[0004] Based on this, it is necessary to provide a drainage control method, device, computer equipment, computer-readable storage medium and computer program product that can improve the drainage control efficiency to address the problem of low efficiency of traditional drainage control.

[0005] In a first aspect, the present application provides a drainage control method. This method is applied to a fuel cell, wherein the fuel cell includes a hydrogen injector, a fuel cell stack, a drainage valve, a water tank, and a control unit. The hydrogen injector is connected to the fuel cell stack to supply hydrogen to the fuel cell stack. The drainage valve is connected to the fuel cell stack via the water tank to drain liquid to be drained from the fuel cell stack. The method is executed by the control unit and includes:

[0006] Performing periodic detection on the duty cycle of the driving voltage of the hydrogen injector;

[0007] Determine a change in the driving voltage duty cycle based on the currently detected driving voltage duty cycle and the previously detected driving voltage duty cycle;

[0008] Determine the water storage condition of the water tank according to the liquid level of the liquid in the water tank and a preset liquid level threshold;

[0009] When the duty cycle of the driving voltage changes within a preset range and the water storage condition meets the preset conditions, the drain valve is controlled to open.

[0010] In one embodiment, the step of obtaining the liquid level of the liquid in the water tank includes:

[0011] The liquid level in the water tank is obtained by a liquid level sensor installed in the water tank. The installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship based on the power of the battery stack and the steady-state working cycle of the drain valve.

[0012] In one embodiment, the hydrogen injector is connected to the anode inlet of the fuel cell stack, and the step of obtaining the steady-state working cycle of the drain valve includes:

[0013] Get the drain valve temperature;

[0014] Obtain the number of cells in the stack and the hydrogen inlet pressure at the anode inlet;

[0015] Determine the current value of the converter connected to the stack based on the currently detected driving voltage duty cycle, hydrogen inlet pressure at the anode inlet, and the number of batteries;

[0016] According to the current value of the converter connected to the battery stack and the temperature of the drain valve, the steady-state working cycle of the drain valve is obtained by looking up the table in the second mapping relationship.

[0017] In one embodiment, determining the current value of the converter connected to the stack based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of cells includes:

[0018] The hydrogen consumption is obtained by looking up a table in a third mapping relationship according to the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet;

[0019] Determine the current value of the converter connected to the stack based on the hydrogen consumption and the number of batteries.

[0020] In one embodiment, the drainage control method further includes:

[0021] closing the drain valve when the currently detected driving voltage duty cycle exceeds a preset threshold;

[0022] Alternatively, based on the steady-state working cycle of the drain valve and the drain valve temperature, the opening duration of the drain valve is obtained by looking up the table in the fourth mapping relationship; based on the opening time and opening duration of the drain valve, the closing time is determined, and the drain valve is closed when the closing time is reached.

[0023] In a second aspect, the present application also provides a drainage control device. The device comprises:

[0024] A detection module, used for periodically detecting the duty cycle of the driving voltage of the hydrogen injector;

[0025] A first determining module is used to determine a change in the driving voltage duty cycle according to a currently detected driving voltage duty cycle and a previously detected driving voltage duty cycle;

[0026] A second determining module is used to determine the water storage condition of the water tank according to the liquid level of the liquid in the water tank and a preset liquid level threshold;

[0027] The control module is used to control the drain valve to open when the change in the duty cycle of the driving voltage is within a preset range and the water storage condition meets the preset conditions.

[0028] On the third aspect, the present application also provides a fuel cell, which includes a hydrogen injector, a fuel cell stack, a drain valve, a water tank and a control unit. The hydrogen injector is connected to the fuel cell stack for providing hydrogen to the fuel cell stack. The drain valve is connected to the fuel cell stack through the water tank for discharging the liquid to be discharged generated by the fuel cell stack. The control unit is used to execute the steps of the drainage control method.

[0029] In a fourth aspect, the present application further provides a computer device. The computer device includes 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:

[0030] Performing periodic detection on the duty cycle of the driving voltage of the hydrogen injector;

[0031] Determine a change in the driving voltage duty cycle based on the currently detected driving voltage duty cycle and the previously detected driving voltage duty cycle;

[0032] Determine the water storage condition of the water tank according to the liquid level of the liquid in the water tank and a preset liquid level threshold;

[0033] When the duty cycle of the driving voltage changes within a preset range and the water storage condition meets the preset conditions, the drain valve is controlled to open.

[0034] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0035] Performing periodic detection on the duty cycle of the driving voltage of the hydrogen injector;

[0036] Determine a change in the driving voltage duty cycle based on the currently detected driving voltage duty cycle and the previously detected driving voltage duty cycle;

[0037] Determine the water storage condition of the water tank according to the liquid level of the liquid in the water tank and a preset liquid level threshold;

[0038] When the duty cycle of the driving voltage changes within a preset range and the water storage condition meets the preset conditions, the drain valve is controlled to open.

[0039] In a sixth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0040] Performing periodic detection on the duty cycle of the driving voltage of the hydrogen injector;

[0041] Determine a change in the driving voltage duty cycle based on the currently detected driving voltage duty cycle and the previously detected driving voltage duty cycle;

[0042] Determine the water storage condition of the water tank according to the liquid level of the liquid in the water tank and a preset liquid level threshold;

[0043] When the duty cycle of the driving voltage changes within a preset range and the water storage condition meets the preset conditions, the drain valve is controlled to open.

[0044] The aforementioned drainage control method, apparatus, computer device, storage medium, and computer program product periodically detect the duty cycle of the hydrogen injector's driving voltage, determining the change in the driving voltage duty cycle based on the current detected duty cycle and the previously detected duty cycle. The method also determines the water level in the water tank based on the liquid level in the water tank and a preset liquid level threshold. When the change in the driving voltage duty cycle is within a preset range and the water level meets preset conditions, the drainage valve is controlled to open. This drainage control method dynamically controls the opening of the drainage valve based on the actual change in the hydrogen injector's driving voltage duty cycle and the actual water level in the water tank, thereby improving the drainage control efficiency of the drainage valve. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A diagram showing an application environment of a drainage control method in one embodiment;

[0046] Figure 2 Schematic diagram of a flow chart of a drainage control method in one embodiment;

[0047] Figure 3 is a flow chart of a drainage control method in another embodiment;

[0048] Figure 4Schematic diagram of a sub-process of S306 in one embodiment;

[0049] Figure 5 is a flow chart of a drainage control method in another embodiment;

[0050] Figure 6 A schematic diagram of a fuel cell stack drainage control structure in one embodiment;

[0051] Figure 7 A schematic diagram of the reaction principle of a fuel cell in one embodiment;

[0052] Figure 8 is a structural block diagram of a drainage control device in one embodiment;

[0053] Figure 9 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0055] The drainage control method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the drainage control method is applied to a fuel cell 101. The fuel cell 101 includes a hydrogen injector 102, a fuel cell stack 103, a drain valve 104, a water tank 105, and a control unit 106. The hydrogen injector 102 is connected to the fuel cell stack 103 and is used to supply hydrogen to the fuel cell stack 103. The drain valve 104 is connected to the fuel cell stack 103 via the water tank 105 and is used to drain the liquid to be drained from the fuel cell stack 103. The control unit 106 is connected to the hydrogen injector 102, the drain valve 104, and the water tank 105, respectively, and the method is executed by the control unit 106. Control unit 106 periodically detects the duty cycle of the driving voltage of hydrogen injector 102; determines the change in the driving voltage duty cycle based on the currently detected driving voltage duty cycle and the previously detected driving voltage duty cycle; determines the water level in water tank 105 based on the liquid level in water tank 105 and a preset liquid level threshold; and controls drain valve 104 to open when the change in the driving voltage duty cycle is within a preset range and the water level meets preset conditions. Control unit 106 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. Portable wearable devices can include smart watches, smart bracelets, and head-mounted devices.

[0056] In one embodiment, Figure 2 As shown, a drainage control method is provided, which is applied to Figure 1 The control unit 106 in FIG. 1 is taken as an example to illustrate, including the following steps:

[0057] S202 , periodically detecting the duty cycle of the driving voltage of the hydrogen injector.

[0058] Among them, the hydrogen injector is a core component for providing hydrogen to the fuel cell stack. The hydrogen injector is connected to the fuel cell stack. The fuel cell stack includes an anode inlet and a cathode inlet, the anode inlet is used to input hydrogen, and the cathode inlet is used to input air. The hydrogen injector is connected to the anode inlet of the fuel cell stack. The driving voltage of the hydrogen injector is controlled by PWM. The driving voltage duty cycle is obtained by pulse width modulation of a voltage signal of a certain frequency loaded on the hydrogen injector using a PWM control method. The driving voltage duty cycle is used to indicate the proportion of the effective voltage loaded on the hydrogen injector. In some embodiments, the driving voltage duty cycle of the hydrogen injector is used to ensure that the difference between the anode pressure and the cathode pressure of the fuel cell stack is within a preset difference range.

[0059] Specifically, the control unit periodically detects the duty cycle of the driving voltage of the hydrogen injector. Periodic detection means that the control unit detects the duty cycle of the driving voltage of the hydrogen injector once every preset time period. In some embodiments, the duty cycle of the driving voltage of the hydrogen injector changes in real time.

[0060] S204 , determining a change in the driving voltage duty cycle according to the currently detected driving voltage duty cycle and the previously detected driving voltage duty cycle.

[0061] The currently detected driving voltage duty cycle refers to the driving voltage duty cycle of the hydrogen injector detected by the control unit in the current cycle. The previously detected driving voltage duty cycle refers to the driving voltage duty cycle of the hydrogen injector detected by the control unit in the cycle before the current cycle.

[0062] Specifically, the control unit determines a change in the driving voltage duty cycle based on a currently detected driving voltage duty cycle and a previously detected driving voltage duty cycle. The currently detected driving voltage duty cycle may differ from the previously detected driving voltage duty cycle. The change in the driving voltage duty cycle is used to characterize the rate of change of the driving voltage duty cycle of the hydrogen injector.

[0063] S206: Determine the water storage condition of the water tank according to the liquid level of the liquid in the water tank and a preset liquid level threshold.

[0064] The fuel cell stack includes a water outlet, to which a water separator is connected. The water separator is used to separate water from the gas mixture. Hydrogen in the fuel cell stack reacts with oxygen in the air to produce water, creating a mixed gas containing hydrogen, nitrogen, and water vapor. The mixed gas is first dried by the water separator, and the water vapor is then output to a water storage tank connected to the water separator, forming liquid water. The liquid in the water storage tank is liquid water.

[0065] The control unit determines the water storage status of the water tank based on the liquid level in the water tank and a preset liquid level threshold. The water storage status is used to indicate whether the liquid level in the water tank has reached the preset liquid level threshold.

[0066] S208 , when the duty cycle of the driving voltage is within a preset range and the water storage condition meets the preset conditions, controlling the drain valve to open.

[0067] The drain valve is connected to the fuel cell stack via a water tank. Alternatively, the drain valve can be connected to a water separator via the water tank. The drain valve is used to remove liquid from the fuel cell stack. Specifically, the liquid is discharged from the stack through the water outlet. The mixed gas at the outlet is first dried by the water separator, and the water vapor is output to a water tank connected to the water separator, forming liquid water. The drain valve is controlled by opening and closing the drain valve to discharge the liquid.

[0068] The driving voltage duty cycle change condition being within a preset range indicates that the rate of change of the driving voltage duty cycle is within the preset range, that is, the rate of change of the driving voltage duty cycle is small. The water storage condition meeting the preset condition indicates that the liquid level in the water tank has reached a preset liquid level threshold, that is, there is too much liquid in the water tank and drainage is required.

[0069] When the change in the duty cycle of the driving voltage is within a preset range and the water storage condition meets the preset conditions, the control unit controls the drain valve to open.

[0070] In the above-mentioned drainage control method, the driving voltage duty cycle of the hydrogen injector is periodically detected, and the change in the driving voltage duty cycle is determined based on the current detected driving voltage duty cycle and the previous detected driving voltage duty cycle. The water level in the water tank is determined based on the liquid level in the water tank and a preset liquid level threshold. When the change in the driving voltage duty cycle is within a preset range and the water level meets preset conditions, the drain valve is controlled to open. This drainage control method can dynamically control the opening of the drain valve based on the actual change in the driving voltage duty cycle of the hydrogen injector and the actual water level in the water tank, thereby improving the drainage control efficiency of the drain valve.

[0071] In one embodiment, the step of obtaining the liquid level of the liquid in the water tank includes:

[0072] The liquid level in the water tank is obtained by a liquid level sensor installed in the water tank. The installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship based on the power of the battery stack and the steady-state working cycle of the drain valve.

[0073] The liquid level sensor is installed in the water tank. When the liquid level sensor detects that the liquid in the water tank has reached the sensor's mounting location, it issues a liquid level alarm signal. Specifically, the control unit obtains the liquid level in the water tank via the liquid level sensor. When the liquid level is above the sensor's mounting location, the sensor detects the liquid level. When the liquid level is below the sensor's mounting location, the sensor fails to detect the liquid level.

[0074] The installation position of the water tank level sensor significantly impacts the drainage control method. The lower the level sensor is installed, the more effectively it can detect lower liquid levels, preventing the mixed gas from being discharged through the drain valve. If the level sensor is installed higher, the liquid level can only be detected after it reaches the installation position, indicating that there may be too much liquid in the water tank. For example, in a 100ml water tank, if the level sensor is installed 10ml from the bottom of the tank, the level sensor will detect the water level whenever the liquid level exceeds 10ml. If there is 60ml of liquid left in the stack to be drained, and 10ml is drained at a time, the stack can be drained five times, with the level sensor detecting water each time, thus ensuring that the mixed gas is not discharged. If the level sensor is installed 80ml from the bottom of the tank, the level sensor will not detect the presence of liquid even when there is 60ml of liquid in the tank, indicating that there is too much liquid.

[0075] In some embodiments, when the drain valve is affected by the exhaust valve and the control is delayed, there is a risk of overflowing the water tank. Therefore, the liquid level sensor needs to be installed in a suitable position in the water tank.

[0076] The stack power refers to the stack's operating power. The steady-state duty cycle represents the opening and closing cycle of the drain valve under stable operating conditions of the hydrogen injector. The first mapping relationship indicates the correspondence between the stack power, the steady-state duty cycle of the drain valve, and the installation position of the liquid level sensor in the water tank.

[0077] Specifically, the installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship according to the power of the battery stack and the steady-state working cycle of the drain valve.

[0078] In this embodiment, the liquid level in the water tank is determined by a liquid level sensor installed in the water tank. The installation position of the liquid level sensor in the water tank is determined by looking up the first mapping relationship based on the power of the fuel cell stack and the steady-state duty cycle of the drain valve. This method for determining the installation position of the liquid level sensor facilitates accurate liquid level determination by the liquid level sensor while preventing excessive hydrogen from being discharged outside the fuel cell stack and preventing overflow of liquid in the water tank, thereby improving drainage control efficiency.

[0079] In one embodiment, Figure 3 As shown, the hydrogen injector is connected to the anode inlet of the fuel cell stack, and the steps for obtaining the steady-state working cycle of the drain valve include:

[0080] S302, obtaining the drain valve temperature.

[0081] The drain valve temperature refers to the temperature of the liquid flowing through the drain valve. The control unit obtains the drain valve temperature through a temperature sensor.

[0082] S304, obtaining the number of cells in the stack and the hydrogen inlet pressure at the anode inlet.

[0083] A fuel cell stack is composed of multiple cells stacked in series. The control unit obtains the number of cells in the stack. The hydrogen inlet pressure refers to the pressure of hydrogen injected into the anode inlet of the stack via the hydrogen injector. The control unit obtains the hydrogen inlet pressure at the anode inlet.

[0084] S306 , determining the current value of the converter connected to the fuel cell stack based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries.

[0085] Among them, the converter refers to a DC-DC (DC-DC converter) converter. The DC-DC converter includes two input terminals, namely a high-end input terminal and a low-end input terminal, and two output terminals. The low-end current of the fuel cell stack is input into the DC-DC converter through the low end of the DC-DC converter. The current value of the converter connected to the stack refers to the low-end input current of the DC-DC converter. The control unit determines the current value of the converter connected to the stack based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries.

[0086] S308 , according to the current value of the converter connected to the fuel cell stack and the temperature of the drain valve, look up the table in the second mapping relationship to obtain the steady-state working cycle of the drain valve.

[0087] The second mapping relationship represents the correspondence between the current value of the converter connected to the stack, the drain valve temperature, and the steady-state duty cycle of the drain valve. The control unit obtains the steady-state duty cycle of the drain valve by looking up the table in the second mapping relationship based on the current value of the converter connected to the stack and the drain valve temperature.

[0088] In this embodiment, the current value of the inverter connected to the stack is determined based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of cells. Based on the current value of the inverter connected to the stack and the drain valve temperature, the steady-state duty cycle of the drain valve is obtained by looking up the table in a second mapping relationship. This method for calculating the steady-state duty cycle of the drain valve can be dynamically adjusted based on the actual conditions of the currently detected driving voltage duty cycle, the drain valve temperature, the number of cells, and the hydrogen inlet pressure, thereby improving the drainage control efficiency of the drain valve.

[0089] In one embodiment, Figure 4 As shown, the current value of the converter connected to the stack is determined based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries, including:

[0090] S402 , according to the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet, obtain the hydrogen consumption by looking up the table in the third mapping relationship.

[0091] The third mapping relationship represents the correspondence between the driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the hydrogen consumption. This third mapping relationship is an empirical value obtained from historical experiments. The control unit obtains the hydrogen consumption by looking up the third mapping relationship based on the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet.

[0092] S404: Determine the current value of the converter connected to the fuel cell stack based on the hydrogen consumption and the number of batteries.

[0093] The control center determines the current value of the converter connected to the stack based on the hydrogen consumption and the number of batteries. Specifically, the control center substitutes the hydrogen consumption and the number of batteries into the current value calculation formula to obtain the current value of the converter connected to the stack. The current value calculation formula is: I = M fH2 *F*N apm / (M H2 *N cellstack ), where M fH2 is the hydrogen consumption, F is the Faraday constant, which is the product of Avogadro number and elementary charge, generally 96485.33 C / mol, N apm is the number of atoms in a hydrogen molecule. Hydrogen is a diatomic molecule, so N apm =2,M H2is the molar mass of hydrogen, generally 2.016 g / mol; N cellstack is the number of batteries in the stack.

[0094] In this embodiment, hydrogen consumption is calculated by looking up a table in a third mapping relationship based on the drive voltage duty cycle and the hydrogen inlet pressure at the anode inlet. The current value of the inverter connected to the stack is then determined based on the hydrogen consumption and the number of cells. This table-based lookup of hydrogen consumption improves the efficiency of hydrogen consumption acquisition. The calculated current value of the inverter connected to the stack is used to determine the steady-state duty cycle of the drain valve, which helps improve drainage control efficiency.

[0095] In one embodiment, Figure 5 As shown, the drainage control method further includes:

[0096] S502: When the duty cycle of the currently detected driving voltage exceeds a preset threshold, the drain valve is closed.

[0097] The detected driving voltage duty cycle exceeds a preset threshold, indicating a sudden increase in driving voltage and a sudden increase in hydrogen injection volume. The control unit needs to close the drain valve. This drain valve closure control method is beneficial for closing the drain valve when the driving voltage duty cycle increases abnormally, thereby improving fuel cell utilization efficiency.

[0098] S504, or, according to the steady-state working cycle of the drain valve and the drain valve temperature, look up the table in the fourth mapping relationship to obtain the opening duration of the drain valve; determine the closing time according to the opening time and opening duration of the drain valve, and close the drain valve when the closing time is reached.

[0099] Among them, the moment when another drain valve is closed can be obtained by the following method. Among them, the fourth mapping relationship is used to characterize the correspondence between the steady-state working cycle of the drain valve, the drain valve temperature and the opening duration of the drain valve. The control unit looks up the table in the fourth mapping relationship according to the steady-state working cycle of the drain valve and the drain valve temperature to obtain the opening duration of the drain valve. The control unit adds the opening moment of the drain valve and the opening duration to obtain the closing moment of the drain valve. The drain valve is closed when the closing moment is reached. This control method for closing the drain valve is beneficial to driving the voltage duty cycle in a stable state, controlling the drain valve to close according to the steady-state working cycle and the opening duration corresponding to the drain valve temperature, thereby improving the drainage control efficiency.

[0100] In this embodiment, closing the drain valve when the currently detected driving voltage duty cycle exceeds a preset threshold facilitates closing the drain valve when the driving voltage duty cycle suddenly increases, thereby improving fuel cell utilization efficiency. Alternatively, the drain valve's steady-state duty cycle and drain valve temperature are used to look up the drain valve's open duration in a fourth mapping relationship, thereby determining the closing time and closing the drain valve when the closing time arrives. This facilitates controlling the drain valve's closing according to the steady-state duty cycle and the open duration corresponding to the drain valve temperature when the driving voltage duty cycle is stable, thereby improving drainage control efficiency.

[0101] To illustrate the drainage control method and effect in this solution in detail, the following is a detailed example:

[0102] The drainage control method is applied to fuel cells, such as Figure 6 The figure shows the structure of the fuel cell stack drainage control. The fuel cell includes a hydrogen injector, a stack, a drainage valve, a water tank and a control unit. The hydrogen injector is connected to the stack to provide hydrogen to the stack. The drainage valve is connected to the stack through the water tank to discharge the liquid to be discharged from the stack. The hydrogen injector is connected to the anode inlet of the stack. The method is executed by the control unit. Figure 7 Shown is a schematic diagram of the reaction principle of a fuel cell.

[0103] The control unit periodically detects the driving voltage duty cycle of the hydrogen injector and determines a change in the driving voltage duty cycle based on the currently detected driving voltage duty cycle and the previously detected driving voltage duty cycle. In some embodiments, the change in the driving voltage duty cycle can be represented by a duty cycle change flag. For example, the currently detected driving voltage duty cycle is subtracted from the previously detected driving voltage duty cycle to obtain a duty cycle difference. If the duty cycle difference is less than a preset difference threshold, the duty cycle change flag is set to 1. If the duty cycle difference is greater than or equal to the preset threshold, the duty cycle change flag is set to 0.

[0104] The water level of the water tank is determined based on the liquid level in the water tank and a preset liquid level threshold. In some embodiments, the water level of the water tank can be indicated by a water level change flag. For example, if the liquid level in the water tank is greater than the preset liquid level threshold, the water level change flag is set to 1. If the liquid level in the water tank is less than or equal to the preset liquid level threshold, the water level change flag is set to 0.

[0105] A duty cycle change flag is used to indicate the change in the duty cycle of the driving voltage of the hydrogen injector, and a water storage change flag is used to indicate the water storage status in the water tank. The flag bit is only a simple 1 or 1. By detecting the flag bit, it is helpful to improve the efficiency of drainage control.

[0106] The step of obtaining the liquid level of the liquid in the water tank includes obtaining the liquid level of the liquid in the water tank using a liquid level sensor installed in the water tank. The installation position of the liquid level sensor in the water tank is determined by looking up a table in a first mapping relationship based on the power of the fuel cell stack and the steady-state duty cycle of the drain valve. In some embodiments, the installation position of the liquid level sensor in the water tank is located at a distance of two-thirds of the height of the water tank from the bottom of the water tank.

[0107] Among them, the step of obtaining the steady-state working cycle of the drain valve includes: obtaining the drain valve temperature, the number of batteries in the stack, and the hydrogen inlet pressure at the anode inlet. According to the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet, the hydrogen consumption is obtained by looking up the table in the third mapping relationship, and the current value of the converter connected to the stack is determined according to the hydrogen consumption and the number of batteries. The control center determines the current value of the converter connected to the stack based on the hydrogen consumption and the number of batteries. Specifically, the control center substitutes the hydrogen consumption and the number of batteries into the current value calculation formula to obtain the current value of the converter connected to the stack. Among them, the current value calculation formula is: I = M fH2 *F*N apm / (M H2 *N cellstack ), where M fH2 is the hydrogen consumption, F is the Faraday constant, which is the product of Avogadro number and elementary charge, generally 96485.33 C / mol, N apm is the number of atoms in a hydrogen molecule. Hydrogen is a diatomic molecule, so N apm =2,M H2 is the molar mass of hydrogen, generally 2.016 g / mol; N cellstack is the number of batteries in the stack.

[0108] Based on the current value of the inverter connected to the battery stack and the temperature of the drain valve, the steady-state duty cycle of the drain valve is obtained by looking up the table in the second mapping relationship. When the change in the driving voltage duty cycle is within a preset range and the water storage meets the preset conditions, the drain valve is controlled to open.

[0109] In some embodiments, the drain valve is closed when the currently detected driving voltage duty cycle exceeds a preset threshold. For example, the drain valve is closed when the driving voltage duty cycle exceeds 2% / ms.

[0110] In other embodiments, the drain valve opening duration is obtained by looking up the table in the fourth mapping relationship based on the steady-state duty cycle of the drain valve and the drain valve temperature. The closing time is determined based on the opening time and the opening duration of the drain valve, and the drain valve is closed when the closing time is reached.

[0111] The drainage control method described above periodically detects the duty cycle of the hydrogen injector's driving voltage, determines the change in the driving voltage duty cycle based on the current detected duty cycle and the previously detected duty cycle, and determines the water level in the water tank based on the liquid level in the water tank and a preset liquid level threshold. When the change in the driving voltage duty cycle is within a preset range and the water level meets preset conditions, the drain valve is controlled to open. This drainage control method dynamically controls the opening of the drain valve based on the actual change in the hydrogen injector's driving voltage duty cycle and the actual water level in the water tank, improving the drainage control efficiency of the drain valve. Furthermore, compared to the prior art method of directly controlling the drain valve through a fixed opening duration and opening frequency, which has a certain probability of water tank overflow, stack flooding, and reduced fuel cell efficiency, the drainage control method of the present application can reduce the problem of water tank overflow caused by untimely drain valve drainage, and reduce the slow mass transfer and concentration polarization in the fuel cell caused by flooding. If the fuel cell stack continues to operate in a stable condition, the current of the converter can be calculated by calculating the hydrogen consumption. At the system level, the sensor selection can be optimized, that is, sensors without current collection can be used.

[0112] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed 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 portion of steps or stages in other steps.

[0113] Based on the same inventive concept, embodiments of the present application also provide a drainage control device for implementing the aforementioned drainage control method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more drainage control device embodiments provided below can be found in the above-described limitations of the drainage control method and will not be further elaborated here.

[0114] In one embodiment, Figure 8 As shown, a drainage control device 100 is provided, comprising: a detection module 120, a first determination module 140, a second determination module 160 and a control module 180, wherein:

[0115] The detection module 120 is used to periodically detect the duty cycle of the driving voltage of the hydrogen injector.

[0116] The first determining module 140 is configured to determine a change in the driving voltage duty cycle according to a currently detected driving voltage duty cycle and a previously detected driving voltage duty cycle.

[0117] The second determining module 160 is configured to determine the water storage condition of the water tank according to the liquid level of the liquid in the water tank and a preset liquid level threshold.

[0118] The control module 180 is used to control the drain valve to open when the change in the duty cycle of the driving voltage is within a preset range and the water storage condition meets the preset conditions.

[0119] The drainage control device periodically detects the duty cycle of the hydrogen injector's driving voltage and determines the change in the driving voltage duty cycle based on the current detected duty cycle and the previously detected duty cycle. It also determines the water level in the water tank based on the liquid level in the tank and a preset liquid level threshold. If the change in the driving voltage duty cycle is within a preset range and the water level meets preset conditions, the drain valve is controlled to open. This drainage control method dynamically controls the opening of the drain valve based on the actual change in the hydrogen injector's driving voltage duty cycle and the actual water level in the water tank, improving the drainage control efficiency of the drain valve.

[0120] In one embodiment, in terms of obtaining the liquid level of the liquid in the water tank, the second determination module 160 is also used to: obtain the liquid level of the liquid in the water tank through a liquid level sensor installed in the water tank, and the installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship based on the power of the battery stack and the steady-state working cycle of the drain valve.

[0121] In one embodiment, in terms of the connection between the hydrogen injector and the anode inlet of the fuel cell stack and the acquisition of the steady-state working cycle of the drain valve, the second determination module 160 is further used to: obtain the temperature of the drain valve; obtain the number of batteries in the fuel cell stack and the hydrogen inlet pressure at the anode inlet; determine the current value of the converter connected to the fuel cell stack based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries; and obtain the steady-state working cycle of the drain valve by looking up the table in the second mapping relationship based on the current value of the converter connected to the fuel cell stack and the temperature of the drain valve.

[0122] In one of the embodiments, in terms of determining the current value of the converter connected to the fuel cell stack based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries, the second determination module 160 is further used to: obtain the hydrogen consumption by looking up a table in a third mapping relationship based on the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet; and determine the current value of the converter connected to the fuel cell stack based on the hydrogen consumption and the number of batteries.

[0123] In one embodiment, the control module 180 is also used to: close the drain valve when the currently detected driving voltage duty cycle exceeds a preset threshold; or, based on the steady-state working cycle of the drain valve and the drain valve temperature, look up the table in the fourth mapping relationship to obtain the opening duration of the drain valve; determine the closing time based on the opening time and opening duration of the drain valve, and close the drain valve when the closing time is reached.

[0124] Each module in the aforementioned drainage control device may be implemented in whole or in part through software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor within a computer device in the form of hardware, or may be stored in a computer device memory in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0125] In one embodiment, a fuel cell is provided, which includes a hydrogen injector, a fuel cell stack, a drain valve, a water tank and a control unit. The hydrogen injector is connected to the fuel cell stack and is used to provide hydrogen to the fuel cell stack. The drain valve is connected to the fuel cell stack through the water tank and is used to discharge the liquid to be discharged generated by the fuel cell stack. The control unit is used to execute the steps of the drainage control method.

[0126] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. 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 in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a drainage control method is implemented.

[0127] Those skilled in the art will understand that Figure 9 The 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 shown in the figure, or combine certain components, or have a different component arrangement.

[0128] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0129] The driving voltage duty cycle of the hydrogen injector is periodically detected; the driving voltage duty cycle change is determined based on the current detected driving voltage duty cycle and the driving voltage duty cycle detected last time; the water storage condition of the water tank is determined based on the liquid level in the water tank and a preset liquid level threshold; when the driving voltage duty cycle change is within a preset range and the water storage condition meets the preset conditions, the drain valve is controlled to open.

[0130] In one embodiment, when the processor executes the computer program, it also implements the following steps: obtaining the liquid level of the liquid in the water tank through a liquid level sensor installed in the water tank, and the installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship based on the power of the battery stack and the steady-state working cycle of the drain valve.

[0131] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0132] The hydrogen injector is connected to the anode inlet of the fuel cell stack to obtain the drain valve temperature; the number of batteries in the fuel cell stack and the hydrogen inlet pressure at the anode inlet are obtained; the current value of the inverter connected to the fuel cell stack is determined based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries; and the steady-state working cycle of the drain valve is obtained by looking up the table in the second mapping relationship based on the current value of the inverter connected to the fuel cell stack and the drain valve temperature.

[0133] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0134] According to the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet, the hydrogen consumption is obtained by looking up the table in the third mapping relationship; according to the hydrogen consumption and the number of batteries, the current value of the converter connected to the stack is determined.

[0135] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0136] The drain valve is closed when the currently detected driving voltage duty cycle exceeds a preset threshold; or, the drain valve opening duration is obtained by looking up the table in the fourth mapping relationship based on the steady-state working cycle of the drain valve and the drain valve temperature; the closing time is determined based on the opening time and opening duration of the drain valve, and the drain valve is closed when the closing time is reached.

[0137] 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 following steps are implemented:

[0138] The driving voltage duty cycle of the hydrogen injector is periodically detected; the driving voltage duty cycle change is determined based on the current detected driving voltage duty cycle and the driving voltage duty cycle detected last time; the water storage condition of the water tank is determined based on the liquid level in the water tank and a preset liquid level threshold; when the driving voltage duty cycle change is within a preset range and the water storage condition meets the preset conditions, the drain valve is controlled to open.

[0139] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0140] The liquid level in the water tank is obtained by a liquid level sensor installed in the water tank. The installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship based on the power of the battery stack and the steady-state working cycle of the drain valve.

[0141] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0142] The hydrogen injector is connected to the anode inlet of the fuel cell stack to obtain the drain valve temperature; the number of batteries in the fuel cell stack and the hydrogen inlet pressure at the anode inlet are obtained; the current value of the inverter connected to the fuel cell stack is determined based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries; and the steady-state working cycle of the drain valve is obtained by looking up the table in the second mapping relationship based on the current value of the inverter connected to the fuel cell stack and the drain valve temperature.

[0143] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0144] According to the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet, the hydrogen consumption is obtained by looking up the table in the third mapping relationship; according to the hydrogen consumption and the number of batteries, the current value of the converter connected to the stack is determined.

[0145] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0146] The drain valve is closed when the currently detected driving voltage duty cycle exceeds a preset threshold; or, the drain valve opening duration is obtained by looking up the table in the fourth mapping relationship based on the steady-state working cycle of the drain valve and the drain valve temperature; the closing time is determined based on the opening time and opening duration of the drain valve, and the drain valve is closed when the closing time is reached.

[0147] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0148] The driving voltage duty cycle of the hydrogen injector is periodically detected; the driving voltage duty cycle change is determined based on the current detected driving voltage duty cycle and the driving voltage duty cycle detected last time; the water storage condition of the water tank is determined based on the liquid level in the water tank and a preset liquid level threshold; when the driving voltage duty cycle change is within a preset range and the water storage condition meets the preset conditions, the drain valve is controlled to open.

[0149] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0150] The liquid level in the water tank is obtained by a liquid level sensor installed in the water tank. The installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship based on the power of the battery stack and the steady-state working cycle of the drain valve.

[0151] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0152] The hydrogen injector is connected to the anode inlet of the fuel cell stack to obtain the drain valve temperature; the number of batteries in the fuel cell stack and the hydrogen inlet pressure at the anode inlet are obtained; the current value of the inverter connected to the fuel cell stack is determined based on the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries; and the steady-state working cycle of the drain valve is obtained by looking up the table in the second mapping relationship based on the current value of the inverter connected to the fuel cell stack and the drain valve temperature.

[0153] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0154] According to the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet, the hydrogen consumption is obtained by looking up the table in the third mapping relationship; according to the hydrogen consumption and the number of batteries, the current value of the converter connected to the stack is determined.

[0155] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0156] The drain valve is closed when the currently detected driving voltage duty cycle exceeds a preset threshold; or, the drain valve opening duration is obtained by looking up the table in the fourth mapping relationship based on the steady-state working cycle of the drain valve and the drain valve temperature; the closing time is determined based on the opening time and opening duration of the drain valve, and the drain valve is closed when the closing time is reached.

[0157] 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 the relevant laws, regulations and standards of relevant countries and regions.

[0158] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented 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 memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of 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 the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0159] The technical features of the above embodiments can 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.

[0160] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A drainage control method, characterized in that: Applied to a fuel cell, the fuel cell includes a hydrogen injector, a fuel cell stack, a drain valve, a water tank, and a control unit. The hydrogen injector is connected to the fuel cell stack to provide hydrogen to the fuel cell stack. The drain valve is connected to the fuel cell stack through the water tank to discharge the liquid to be discharged generated by the fuel cell stack. The method is executed by the control unit and includes: performing periodic detection on a duty cycle of a driving voltage of the hydrogen injector; Determine a change in the driving voltage duty cycle based on the currently detected driving voltage duty cycle and the previously detected driving voltage duty cycle; determining a water storage condition of the water tank according to a liquid level of the liquid in the water tank and a preset liquid level threshold; When the duty cycle of the driving voltage changes within a preset range and the water storage condition meets a preset condition, controlling the drain valve to open; The step of obtaining the liquid level of the liquid in the water tank comprises: The liquid level of the liquid in the water tank is obtained by a liquid level sensor installed in the water tank. The installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship based on the power of the battery stack and the steady-state working cycle of the drain valve; the steady-state working cycle of the drain valve is obtained by looking up the table in the second mapping relationship based on the current value of the inverter connected to the battery stack and the temperature of the drain valve.

2. The method according to claim 1, characterized in that The hydrogen injector is connected to the anode inlet of the fuel cell stack, and the step of obtaining the steady-state working cycle of the drain valve includes: Get the drain valve temperature; Obtaining the number of cells in the battery stack and the hydrogen inlet pressure at the anode inlet; Determining a current value of a converter connected to the stack based on a currently detected driving voltage duty cycle, a hydrogen inlet pressure at the anode inlet, and the number of batteries; According to the current value of the converter connected to the battery stack and the temperature of the drain valve, the steady-state working cycle of the drain valve is obtained by looking up the table in the second mapping relationship.

3. The method according to claim 2, characterized in that The determining of the current value of the converter connected to the stack according to the currently detected driving voltage duty cycle, the hydrogen inlet pressure at the anode inlet, and the number of batteries includes: Obtaining hydrogen consumption by looking up a table in a third mapping relationship according to the driving voltage duty cycle and the hydrogen inlet pressure at the anode inlet; A current value of a converter connected to the battery stack is determined according to the hydrogen consumption and the number of batteries.

4. The method according to claim 2, characterized in that The method further comprises: closing the drain valve when the duty cycle of the currently detected driving voltage exceeds a preset threshold; Alternatively, based on the steady-state working cycle of the drain valve and the drain valve temperature, the opening duration of the drain valve is obtained by looking up the table in the fourth mapping relationship; based on the opening time of the drain valve and the opening duration, the closing time is determined, and the drain valve is closed when the closing time is reached.

5. A drainage control device, characterized in that: The device comprises: A detection module, used for periodically detecting the duty cycle of the driving voltage of the hydrogen injector; A first determining module is used to determine a change in the driving voltage duty cycle according to a currently detected driving voltage duty cycle and a previously detected driving voltage duty cycle; a second determining module, configured to determine a water storage condition of the water tank according to a liquid level of the liquid in the water tank and a preset liquid level threshold; A control module, configured to control the drain valve to open when the duty cycle of the driving voltage is within a preset range and the water storage condition meets a preset condition; The second determination module is also used to obtain the liquid level of the liquid in the water tank through a liquid level sensor installed in the water tank. The installation position of the liquid level sensor in the water tank is obtained by looking up the table in the first mapping relationship based on the power of the battery stack and the steady-state working cycle of the drain valve; the steady-state working cycle of the drain valve is obtained by looking up the table in the second mapping relationship based on the current value of the inverter connected to the battery stack and the temperature of the drain valve.

6. A fuel cell, characterized in that: The fuel cell includes a hydrogen injector, a fuel cell stack, a drain valve, a water tank and a control unit. The hydrogen injector is connected to the fuel cell stack and is used to provide hydrogen to the fuel cell stack. The drain valve is connected to the fuel cell stack through the water tank and is used to discharge the liquid to be discharged generated by the fuel cell stack. The control unit is used to perform the steps of the method described in any one of claims 1 to 4.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 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 4 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 4 are implemented.

Citation Information

Patent Citations

  • Fuel cell system drainage control method, fuel cell system and electric vehicle

    CN113193214A

  • Method and device for controlling water content of fuel cell system

    CN113206274A