Air flow detection method and system under fault condition, storage medium and equipment
By calculating the air flow rate and density between the intercooler and humidifier, we can solve the problem of stack shutdown caused by air flow sensor failure, provide accurate air mass flow, ensure stable battery operation and enhance stack reliability.
Patent Information
- Application Number
- CN202410811693.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-11-22
AI Technical Summary
The air flow sensor failure causes the battery to run stably, and the output is incorrect flow value or no output, causing the stack to shut down.
Using Darcy-Weisbach equation and gas state equation, combined with existing sensor data, calculate the air flow rate and average density between the intercooler and humidifier, thereby determining the air mass flow rate, providing accurate air flow value, and avoiding Pile shutdown due to sensor failure.
Without adding additional sensors, the required air mass flow is calculated to maintain stable battery operation and enhance stack reliability.
Smart Images

Figure CN118999714A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery control technology, and in particular to an air flow detection method, system, storage medium and device under fault conditions. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] During operation, the proton exchange membrane battery needs to use an air compressor to deliver air at a certain pressure into the battery, and use a back-pressure valve to maintain the pressure in the air line. Therefore, an air flow sensor is used to detect the air flow entering the battery, and the obtained air flow is used as the input condition to control the opening of the air compressor and the back-pressure valve, thereby ensuring that the battery can perform stably.
[0004] When the air flow sensor fails, it will output an incorrect flow value or no output, causing the battery to be unable to perform stably, or the battery will stop running and no longer output current due to a protection mechanism. Summary of the invention
[0005] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides an air flow detection method, system, storage medium and device under fault conditions. When the air flow sensor fails (for example: open circuit or short circuit to ground, short circuit to power supply, etc.), it can provide an accurate value of the air flow, thereby avoiding fuel cell shutdown caused by sensor failure and enhancing the reliability of the fuel cell.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] A first aspect of the present invention provides a method for detecting air flow under fault conditions, comprising the following steps:
[0008] Obtain the length and diameter of the pipe from the intercooler to the humidifier and determine the cross-sectional area of the pipe;
[0009] Using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier, and the obtained duct cross-sectional area, determine the flow rate of the air flowing in the duct between the intercooler and the humidifier;
[0010] Using the gas state equation, the air pressure difference between the intercooler and the humidifier, and the compression ratio of the air compressor, determine the average density of the air flowing in the pipe between the intercooler and the humidifier;
[0011] Based on the obtained pipe cross-sectional area, air flow rate and average air density, the mass flow rate of air before entering the air compressor is obtained.
[0012] Further, using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier and the obtained pipe cross-sectional area, the flow rate of the air flowing in the pipe between the intercooler and the humidifier is determined, including:
[0013]
[0014] in λ is the flow coefficient, R e is the Reynolds coefficient, D is the pipe diameter, A is the cross-sectional area of the pipe from the intercooler to the humidifier, L is the pipe length, v is the air flow rate, Δp is the pressure difference between the intercooler and the humidifier, U is the pipe circumference, and ρ is the average density of the air in the pipe.
[0015] Further, using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier and the obtained pipe cross-sectional area, the flow rate of the air flowing in the pipe between the intercooler and the humidifier is determined, which also includes:
[0016]
[0017] In the formula, λ is the flow coefficient, R e is the Reynolds coefficient, D is the pipe diameter, ρ is the average density of air in the pipe, L is the pipe length, v is the air flow rate, Δp is the air pressure difference between the intercooler and the humidifier, and η is the current air viscosity coefficient.
[0018] Furthermore, the current air viscosity coefficient is as shown in the following formula:
[0019]
[0020] Where T0 is the initial temperature, T is the pipe temperature between the intercooler and the humidifier, and η0 is the initial air viscosity coefficient.
[0021] Furthermore, the average density of the air flowing in the pipe between the intercooler and the humidifier is determined by using the gas state equation, the air pressure difference between the intercooler and the humidifier, and the compression ratio of the air compressor, including:
[0022] ρ=P1 / R g T;
[0023] Where ρ is the average density of air in the pipeline, P1 is the outlet pressure of the air compressor, the compression ratio is obtained by the flow rate and the air compressor speed, and the air compressor outlet pressure P1 is obtained by multiplying the compression ratio according to the standard atmospheric pressure at the air compressor inlet. g is the molar gas constant, and T is the pipe temperature between the intercooler and the humidifier.
[0024] Furthermore, the air pressure difference Δp between the intercooler and the humidifier is P1-P2, P1 is the air compressor outlet pressure, P2 is the pressure before the humidifier, P2=m*R*T / V, m is the air mass, R is the specific heat capacity, T is the pipe temperature between the intercooler and the humidifier, and V is the pipe volume between the intercooler and the humidifier.
[0025] Furthermore, based on the obtained pipeline cross-sectional area, air flow rate and average air density, the mass flow rate of air before entering the air compressor is obtained, specifically:
[0026]
[0027] In the formula, is the mass flow rate, A is the cross-sectional area of the pipe between the intercooler and the humidifier, v is the air flow rate, ρ is the average density of the air in the pipe, T is the pipe temperature between the intercooler and the humidifier, P1 is the air compressor outlet pressure, and P2 is the pressure before the humidifier.
[0028] A second aspect of the present invention provides an air flow detection system under fault conditions, comprising:
[0029] The pipeline cross-sectional area calculation module is configured to: obtain the length and diameter of the pipeline between the intercooler and the humidifier, and determine the pipeline cross-sectional area;
[0030] The air flow rate calculation module is configured to: determine the flow rate of the air when it flows in the pipeline between the intercooler and the humidifier using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier, and the obtained pipeline cross-sectional area;
[0031] The air average density calculation module is configured to: determine the average density of the air when it flows in the pipeline between the intercooler and the humidifier by using the gas state equation, the air pressure difference between the intercooler and the humidifier, and the compression ratio of the air compressor;
[0032] The air flow output module is configured to obtain the mass flow of air before it enters the air compressor based on the obtained pipeline cross-sectional area, air flow velocity and air average density.
[0033] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-mentioned method for detecting air flow under fault conditions.
[0034] A fourth aspect of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned method for detecting air flow under fault conditions when executing the program.
[0035] Compared with the prior art, one or more of the above technical solutions have the following beneficial effects:
[0036] Through the combination of various equations in fluid mechanics, the mass flow rate of air before entering the air compressor is calculated. When the air flow sensor fails, the required air mass flow rate is calculated. Without adding additional sensors, it can continue to provide data support for battery control, thereby maintaining stable operation of the battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0038] Figure 1 It is a schematic diagram of the air pipeline structure provided by one or more embodiments of the present invention. DETAILED DESCRIPTION
[0039] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0040] It should be noted that the following detailed descriptions are exemplary and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0041] Terminology explanation:
[0042] FCU, the fuel cell management system, collects and processes various pressure, temperature, flow and other sensor signals to control the corresponding pumps and valves, so that the entire system can work stably.
[0043] Air flow sensor: Usually installed before the air compressor, it measures the air flow and feeds the value back to the FCU. The FCU controls the air compressor speed and back pressure valve opening, etc., to accurately control the air flow.
[0044] It should be noted that the terms herein are only intended to describe specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0045] As described in the background art, when the air flow sensor fails, it will output an erroneous flow value or no output, so that the battery cannot exert stable performance, or the battery stops running and no longer outputs current due to a protection mechanism.
[0046] Therefore, the following embodiments provide an air flow detection method, system, storage medium and device under fault conditions, which can provide an accurate value of the air flow when the air flow sensor fails (for example: open circuit or short circuit to ground, short circuit to power supply, etc.), thereby avoiding battery stack shutdown caused by sensor failure and enhancing battery stack reliability.
[0047] Embodiment 1:
[0048] The method for detecting air flow under fault conditions comprises the following steps:
[0049] Obtain the length and diameter of the pipe from the intercooler to the humidifier and determine the cross-sectional area of the pipe;
[0050] Using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier, and the obtained duct cross-sectional area, determine the flow rate of the air flowing in the duct between the intercooler and the humidifier;
[0051] Using the gas state equation, the air pressure difference between the intercooler and the humidifier, and the compression ratio of the air compressor, determine the average density of the air flowing in the pipe between the intercooler and the humidifier;
[0052] Based on the obtained pipe cross-sectional area, air flow rate and average air density, the mass flow rate of air before entering the air compressor is obtained.
[0053] The battery in this embodiment uses a proton exchange membrane as a main component, uses hydrogen and oxygen as input raw materials, and obtains output current through a series of reactions.
[0054] The air circuit structure of the battery is as follows Figure 1 As shown, the outside air passes through the air flow sensor and enters the air compressor (abbreviated as: air compressor) for pressurization to obtain compressed air with a certain temperature and pressure, which is cooled by the intercooler in turn, and then sent to the fuel cell stack to react and generate current after the humidity is adjusted by the humidifier. The humidifier is provided with a back-pressure valve to maintain a certain pressure in the air pipeline. The air flow obtained by detecting the air flow sensor is used to control the speed of the air compressor to obtain the required intake flow and the opening of the back-pressure valve to obtain the pressure maintained in the air pipeline, thereby ensuring that the fuel cell stack can perform stable performance.
[0055] Among them, the intercooler is a device that reduces the temperature of compressed air. When the battery is working, the input compressed air needs to be maintained below a certain temperature.
[0056] Among them, the humidifier is a device for increasing the humidity of compressed air. When the battery is working, the input compressed air needs to have a certain humidity to obtain reliable performance.
[0057] In most cases, the air flow sensor is arranged on the pipeline from the intercooler to the humidifier. Therefore, when the air flow sensor fails (for example, the circuit is open, the value is obviously too large or too small), the pipeline from the intercooler to the humidifier is regarded as a container, and the air mass flow through this part of the container is obtained based on the following formula:
[0058]
[0059] In the formula, is the mass flow rate, A is the cross-sectional area of the pipe between the intercooler and the humidifier, v is the air flow velocity, and ρ is the average density of the air in the pipe.
[0060] Therefore, this embodiment uses the above formula to calculate the air mass flow rate, wherein the density ρ needs to be determined by the influence of pressure, and the flow velocity v is determined by the loss along the way when the air flows in the pipeline.
[0061] According to the Dracy-Weisbach equation (Dracy-Weisbach equation, a mathematical formula in fluid mechanics used to calculate the loss along the way when a viscous fluid flows in a pipe):
[0062]
[0063] in
[0064] Where λ is the flow coefficient, R e is the Reynolds coefficient, D is the pipe diameter, A is the cross-sectional area of the pipe from the intercooler to the humidifier, L is the pipe length, v is the air flow rate, Δp is the pressure difference from the intercooler to the humidifier, U is the pipe circumference, and ρ is the average density of the air in the pipe.
[0065] Therefore, the Dracy-Weisbach equation can be used to deduce the flow rate of air in the pipe between the intercooler and the humidifier, as shown in the following formula:
[0066]
[0067] Combined with the Reynolds coefficient calculation equation:
[0068]
[0069] Where η is the current air viscosity coefficient.
[0070] Inferred:
[0071] Combined with the equation for estimating the temperature-dependent dynamic viscosity: Where T0 is the initial temperature, T is the current temperature, and η0 is the initial air viscosity coefficient. Substitute into the reference equation
[0072] available:
[0073]
[0074] The thermal conductivity
[0075] k Conductivity The variables involved are all known, P1 is the inlet pressure of the cavity, and P2 is the outlet pressure of the cavity.
[0076] When the air flows in the pipe between the intercooler and the humidifier, it is affected by the pressure, and the average density ρ is obtained according to the gas state equation:
[0077] ρ=P1 / R g T
[0078] P1 is the outlet pressure of the air compressor. The compression ratio can be obtained based on the characteristics of the air compressor itself, the flow rate and the speed of the air compressor. The air compressor outlet pressure P1 can be obtained by multiplying the compression ratio by the standard atmospheric pressure at the air compressor inlet. g is the molar gas constant, and T is the cavity temperature.
[0079] The pressure before P2 enters the humidifier can be obtained by the ideal gas equation, as shown below:
[0080] P2=m*R*T / V
[0081] m is the air mass, R is the specific heat capacity, T is the cavity temperature, and V is the volume of this cavity. The air mass can be obtained by integrating the mass flow rate and the corresponding components, and the cavity temperature can be obtained by dividing the increased energy of the cavity by the air mass and the specific heat capacity.
[0082] Through the combination of the above equations, the average density and flow rate of the air flowing in the pipe between the intercooler and the humidifier are obtained, and the cross-sectional area of the pipe can be calculated through the pipe size, so as to calculate the mass flow rate of the air before it enters the air compressor. When the air flow sensor fails, the required air mass flow rate can be calculated based on the above method, which can continue to provide data support for battery control when the air flow sensor fails and no additional sensors are added.
[0083] There are also some methods in the prior art for calculating the air flow after an air flow sensor fails. For example, in 202211278897.5, the air flow is calculated by calculating the exhaust mass flow and the consumed oxygen mass flow. This technology requires the installation of additional pressure and temperature sensors in front of the back pressure valve, which will increase additional costs. The parameters involved in the method given in this solution do not require additional sensors to detect. They can be calculated using the various instruments already in the battery system. There is no need for additional modification to the battery system. It can be installed in the battery controller (such as FCU) in the form of an algorithm. It can also be combined with a mature fault detection algorithm to switch to the method of this solution to maintain stable battery operation after an air flow sensor fails.
[0084] Embodiment 2:
[0085] Air flow detection system under fault conditions, including:
[0086] The pipeline cross-sectional area calculation module is configured to: obtain the length and diameter of the pipeline between the intercooler and the humidifier, and determine the pipeline cross-sectional area;
[0087] The air flow rate calculation module is configured to: determine the flow rate of the air when it flows in the pipeline between the intercooler and the humidifier using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier, and the obtained pipeline cross-sectional area;
[0088] The air average density calculation module is configured to: determine the average density of the air when it flows in the pipeline between the intercooler and the humidifier by using the gas state equation, the air pressure difference between the intercooler and the humidifier, and the compression ratio of the air compressor;
[0089] The air flow output module is configured to obtain the mass flow of air before it enters the air compressor based on the obtained pipeline cross-sectional area, air flow velocity and air average density.
[0090] Through the combination of various equations in fluid mechanics, the mass flow rate of air before entering the air compressor is calculated. When the air flow sensor fails, the required air mass flow rate is calculated based on the above method. This can continue to provide data support for battery control when the air flow sensor fails and no additional sensors are added.
[0091] Embodiment three:
[0092] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the method for detecting air flow under a fault condition as described in the second embodiment above are implemented.
[0093] Embodiment 4:
[0094] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the air flow detection method under fault conditions as described in the above-mentioned embodiment 2 are implemented.
[0095] The steps involved in the above embodiments 2 to 4 correspond to those in embodiment 1. For the specific implementation, please refer to the relevant description of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.
[0096] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for detecting air flow under fault conditions, characterized in that: The steps include: Obtain the length and diameter of the pipe from the intercooler to the humidifier and determine the cross-sectional area of the pipe; Using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier, and the obtained duct cross-sectional area, determine the flow rate of the air flowing in the duct between the intercooler and the humidifier; Using the gas state equation, the air pressure difference between the intercooler and the humidifier, and the compression ratio of the air compressor, determine the average density of the air flowing in the pipe between the intercooler and the humidifier; Based on the obtained pipe cross-sectional area, air flow rate and average air density, the mass flow rate of air before entering the air compressor is obtained.
2. The method for detecting air flow under fault conditions according to claim 1, characterized in that: Using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier, and the obtained duct cross-sectional area, determine the velocity of the air flowing in the duct between the intercooler and the humidifier, including: in λ is the flow coefficient, R e is the Reynolds coefficient, D is the pipe diameter, A is the cross-sectional area of the pipe from the intercooler to the humidifier, L is the pipe length, v is the air flow rate, Δp is the pressure difference between the intercooler and the humidifier, U is the pipe circumference, and ρ is the average density of the air in the pipe.
3. The method for detecting air flow under fault conditions according to claim 1, characterized in that: Using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier, and the obtained duct cross-sectional area, determine the flow rate of the air flowing in the duct between the intercooler and the humidifier, including: In the formula, λ is the flow coefficient, R e is the Reynolds coefficient, D is the pipe diameter, ρ is the average density of air in the pipe, L is the pipe length, v is the air flow rate, Δp is the air pressure difference between the intercooler and the humidifier, and η is the current air viscosity coefficient.
4. The method for detecting air flow under fault conditions as claimed in claim 3, characterized in that: The current air viscosity coefficient is shown in the following formula: Where T0 is the initial temperature, T is the pipe temperature between the intercooler and the humidifier, and η0 is the initial air viscosity coefficient.
5. The method for detecting air flow under fault conditions according to claim 1, characterized in that: Using the gas state equation, the air pressure difference between the intercooler and the humidifier, and the compression ratio of the air compressor, determine the average density of the air flowing in the pipe between the intercooler and the humidifier, including: ρ=P1 / R g T; Where ρ is the average density of air in the pipeline, P1 is the outlet pressure of the air compressor, the compression ratio is obtained by the flow rate and the air compressor speed, and the air compressor outlet pressure P1 is obtained by multiplying the compression ratio according to the standard atmospheric pressure at the air compressor inlet. g is the molar gas constant, and T is the pipe temperature between the intercooler and the humidifier.
6. The method for detecting air flow under fault conditions as claimed in claim 1, characterized in that: The air pressure difference Δp between the intercooler and the humidifier is P1-P2, P1 is the air compressor outlet pressure, P2 is the pressure before the humidifier, P2=m*R*T / V, m is the air mass, R is the specific heat capacity, T is the pipe temperature between the intercooler and the humidifier, and V is the pipe volume between the intercooler and the humidifier.
7. The method for detecting air flow under fault conditions as claimed in claim 1, characterized in that: Based on the obtained pipe cross-sectional area, air velocity and average air density, the mass flow rate of air before entering the air compressor is obtained, specifically: In the formula, is the mass flow rate, A is the cross-sectional area of the pipe between the intercooler and the humidifier, v is the air flow rate, ρ is the average density of the air in the pipe, T is the pipe temperature between the intercooler and the humidifier, P1 is the air compressor outlet pressure, and P2 is the pressure before the humidifier.
8. An air flow detection system under fault conditions, characterized in that: include: The pipeline cross-sectional area calculation module is configured to: obtain the length and diameter of the pipeline between the intercooler and the humidifier, and determine the pipeline cross-sectional area; The air flow rate calculation module is configured to: determine the flow rate of the air when it flows in the pipeline between the intercooler and the humidifier using the Darcy-Weisbach equation, the air pressure difference between the intercooler and the humidifier, and the obtained pipeline cross-sectional area; The air average density calculation module is configured to: determine the average density of the air when it flows in the pipeline between the intercooler and the humidifier by using the gas state equation, the air pressure difference between the intercooler and the humidifier, and the compression ratio of the air compressor; The air flow output module is configured to obtain the mass flow of air before it enters the air compressor based on the obtained pipeline cross-sectional area, air flow velocity and air average density.
9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, the steps in the method for detecting air flow under a fault condition as described in any one of claims 1 to 7 are implemented.
10. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the method for detecting air flow under fault conditions as described in any one of claims 1 to 7 are implemented.
