Vehicle-mounted simulation hydrogen leakage alarm method, device and equipment and storage medium
By acquiring real-time temperature and pressure data inside the hydrogen cylinder, calculating the hydrogen mass and comparing it with the engine injection volume, and dynamically detecting hydrogen leaks, the problems of false alarms and high costs of on-board hydrogen leak monitoring systems are solved, achieving efficient and reliable hydrogen leak alarm.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-01
- Publication Date
- 2026-03-31
AI Technical Summary
Existing vehicle-mounted hydrogen leak monitoring systems suffer from high hardware costs and are prone to false alarms due to the dispersed sensor layout and the strong diffusivity of hydrogen. They also fail to fully cover potential leak points, thus reducing system reliability.
By acquiring real-time temperature and pressure data inside the hydrogen cylinder, calculating the mass of hydrogen output from the cylinder, and comparing it with the hydrogen injection volume from the engine, hydrogen leakage can be dynamically detected. The detection results can be used to trigger system alarms, achieving low-cost and highly reliable hydrogen leakage monitoring.
It effectively avoids false alarms caused by interference with multi-point sensors, improves the overall reliability of the system, and achieves low-cost and efficient hydrogen leak monitoring.
Smart Images

Figure CN121761244A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of new energy vehicle technology, and in particular to on-board simulated hydrogen leak alarm methods, devices, equipment and storage media. Background Technology
[0002] Hydrogen, as a clean and efficient energy source, has great potential in achieving carbon neutrality in the transportation sector. However, hydrogen is flammable and explosive. When its volume concentration in the air is within a certain range, it can explode upon contact with an ignition source. Therefore, leakage monitoring of on-board hydrogen supply systems is necessary to ensure vehicle safety.
[0003] Currently, the existing practice is to directly install hydrogen leak sensors at each physical interface of the hydrogen supply system, from the hydrogen cylinder outlet to the engine fuel injector inlet, installing sensors at multiple potential leak points for direct monitoring. However, the current approach involves numerous interfaces and a scattered layout throughout the pipeline system. Since leak risk points are spread throughout the long pipeline, a large number of sensors are required, leading to a significant increase in hardware costs. Furthermore, hydrogen has strong diffusivity, which can easily cause cross-interference and false alarms between adjacent sensors, and it is difficult to ensure that all potential leak points are completely covered by sensors, further increasing the risk of failure. Therefore, how to conduct vehicle-mounted simulated hydrogen leak alarms more efficiently and reliably has become an urgent problem to be solved.
[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this application is to provide a vehicle-mounted simulated hydrogen leak alarm method, device, equipment, and storage medium, aiming to solve the technical problem of how to perform vehicle-mounted simulated hydrogen leak alarm more efficiently and reliably.
[0006] To achieve the above objectives, this application proposes an on-board simulated hydrogen leak alarm method, the method comprising: Acquire temperature and pressure data inside the hydrogen cylinder; The mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval is determined based on the temperature data and the pressure data. Based on the temperature data, the pressure data, and the hydrogen quality of the gas cylinder, a hydrogen leak is detected, and the hydrogen leak detection result is determined. Based on the hydrogen leak detection results, the system alarms and completes the vehicle-mounted simulated hydrogen leak alarm.
[0007] In one embodiment, the step of determining the mass of cylinder hydrogen output from the hydrogen cylinder within a predefined time interval based on the temperature data and the pressure data includes: Obtain the cylinder volume and hydrogen density; The compressibility of hydrogen is determined by consulting a predefined quick reference table of compressibility based on the temperature and pressure data. The volumetric equivalent of hydrogen is determined based on the compressibility factor, the cylinder volume, and the pressure data. The amount of gas output from the hydrogen cylinder within a predefined time interval is determined based on the volumetric equivalent and the hydrogen density.
[0008] In one embodiment, the step of determining the amount of gas output from the hydrogen cylinder within a predefined time interval based on the volumetric equivalent and the hydrogen density includes: Obtain initial time information, and determine target time information based on the initial time information and a predefined time interval; Based on the volumetric cubic equivalent and the hydrogen density, the real-time hydrogen mass in the hydrogen cylinder corresponding to the initial time information and the target time information is calculated to obtain the first real-time hydrogen mass and the second real-time hydrogen mass. The cylinder output gas volume is calculated based on the first real-time hydrogen mass and the second real-time hydrogen mass.
[0009] In one embodiment, the step of determining the hydrogen leak detection result based on the temperature data, the pressure data, and the hydrogen mass of the gas cylinder includes: The hydrogen injection quantity of the engine gas injector is predicted based on the temperature data and the pressure data input into the hydrogen quantity model. The hydrogen quantity model is obtained by constructing a corresponding objective function based on the temperature data and the pressure data. Hydrogen leakage is detected based on the hydrogen mass in the gas cylinder and the hydrogen injection volume, and the hydrogen leakage detection result is obtained.
[0010] In one embodiment, the step of detecting hydrogen leakage based on the hydrogen mass of the gas cylinder and the hydrogen injection volume, and obtaining the hydrogen leakage detection result, includes: Obtain the target leakage difference; Calculate the corresponding hydrogen difference based on the hydrogen mass in the gas cylinder and the hydrogen injection volume; Hydrogen leakage is detected based on the hydrogen difference and the target leakage difference, and the hydrogen leakage detection result is obtained.
[0011] In one embodiment, the step of detecting hydrogen leakage based on the hydrogen difference and the target leakage difference to obtain a hydrogen leakage detection result includes: When the hydrogen gas difference is less than the target leakage difference, the hydrogen gas leakage detection result is that no leakage has occurred; When the hydrogen gas difference is greater than the target leakage difference, the hydrogen leakage detection result is that a leak has occurred.
[0012] In one embodiment, the step of controlling the system to issue an alarm based on the hydrogen leak detection result and completing the on-board simulated hydrogen leak alarm includes: A corresponding alarm signal is generated based on the hydrogen leak detection results; The system alarms are controlled by at least one of the following control commands corresponding to the alarm signal: power reduction operation command, hydrogen injection rate limitation command, or safe shutdown command, thus completing the vehicle-mounted simulated hydrogen leak alarm.
[0013] Furthermore, to achieve the above objectives, this application also proposes an on-board simulated hydrogen leak alarm device, which includes: The acquisition module is used to acquire temperature and pressure data inside the hydrogen cylinder; The processing module is used to determine the mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval based on the temperature data and the pressure data. The processing module is also used to detect hydrogen leakage based on the temperature data, the pressure data, and the hydrogen quality of the gas cylinder, and to determine the hydrogen leakage detection result; The execution module is used to control the system alarm based on the hydrogen leak detection results and complete the vehicle-mounted simulated hydrogen leak alarm.
[0014] In addition, to achieve the above objectives, this application also proposes an in-vehicle simulated hydrogen leak alarm device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the in-vehicle simulated hydrogen leak alarm method described above.
[0015] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the vehicle-mounted simulated hydrogen leak alarm method described above.
[0016] One or more technical solutions proposed in this application have at least the following technical effects: This embodiment proposes an on-board simulated hydrogen leak alarm method, which acquires temperature and pressure data inside a hydrogen cylinder; determines the mass of hydrogen output from the cylinder within a predefined time interval based on the temperature and pressure data; detects hydrogen leaks based on the temperature, pressure, and hydrogen mass, and determines the hydrogen leak detection result; and controls the system to alarm based on the hydrogen leak detection result, thus completing the on-board simulated hydrogen leak alarm. This application acquires temperature and pressure data inside the hydrogen cylinder in real time, calculates the mass of hydrogen output from the cylinder within a specific time interval, compares it with the hydrogen injection volume from the engine, and dynamically detects hydrogen leaks by analyzing the difference between the two. The detection result triggers a system alarm, achieving low-cost, high-reliability hydrogen leak monitoring, effectively avoiding false alarms caused by interference with multi-point sensors, and improving the overall reliability of the system. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating an embodiment of the vehicle-mounted simulated hydrogen leak alarm method of this application. Figure 2 This is a quick reference diagram of the compressibility coefficient of the vehicle-mounted simulated hydrogen leak alarm method in this application; Figure 3 This is a flowchart illustrating Embodiment 2 of the vehicle-mounted simulated hydrogen leak alarm method of this application; Figure 4 This is a schematic diagram of the module structure of the vehicle-mounted simulated hydrogen leak alarm device according to an embodiment of this application; Figure 5 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the vehicle-mounted simulated hydrogen leak alarm method in this application embodiment.
[0020] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0021] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0022] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0023] The main solution of this application embodiment is: to acquire temperature and pressure data inside the hydrogen cylinder; to determine the mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval based on the temperature and pressure data; to detect hydrogen leakage based on the temperature, pressure, and mass of hydrogen gas in the cylinder, and to determine the hydrogen leakage detection result; and to control the system alarm based on the hydrogen leakage detection result to complete the vehicle-mounted simulated hydrogen leakage alarm.
[0024] In this embodiment, for ease of description, the following description will focus on identifying a vehicle-mounted simulated hydrogen leak alarm device.
[0025] Because existing technologies have numerous interfaces and a dispersed layout in the entire pipeline system, and because leakage risk points are spread throughout the long pipeline, a large number of sensors need to be configured, which significantly increases hardware costs. Furthermore, hydrogen has strong diffusivity, which can easily cause cross-interference and false alarms between adjacent sensors, and it is difficult to ensure that all potential leakage points are completely covered by sensors, further increasing the risk of failure.
[0026] This application provides a solution for acquiring temperature and pressure data inside a hydrogen cylinder; determining the mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval based on the temperature and pressure data; detecting hydrogen leakage based on the temperature, pressure, and hydrogen gas mass, and determining the hydrogen leakage detection result; and controlling an alarm system based on the hydrogen leakage detection result to complete a simulated vehicle hydrogen leakage alarm.
[0027] As can be seen from the above embodiments, this application acquires the temperature and pressure data inside the hydrogen cylinder in real time, calculates the mass of hydrogen output from the cylinder within a specific time interval, compares it with the hydrogen injection volume of the engine, and dynamically detects hydrogen leakage by analyzing the difference between the two. The detection result triggers a system alarm, achieving low-cost and highly reliable hydrogen leakage monitoring, effectively avoiding false alarms caused by interference of multi-point sensors, and improving the overall reliability of the system.
[0028] Based on this, this application provides an in-vehicle simulated hydrogen leak alarm method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the vehicle-mounted simulated hydrogen leak alarm method of this application.
[0029] In this embodiment, the vehicle-mounted simulated hydrogen leak alarm method includes steps S10 to S40: Step S10: Obtain temperature and pressure data inside the hydrogen cylinder; It should be noted that the temperature data is a physical quantity that characterizes the thermodynamic state of hydrogen inside the cylinder, collected in real time by a temperature sensor installed inside the hydrogen cylinder or on the cylinder valve. It is used to characterize the temperature of hydrogen, and its changes will significantly affect the density and compressibility of hydrogen.
[0030] It is understood that the pressure data is a physical quantity that characterizes the intensity of hydrogen pressure inside the cylinder, collected in real time by pressure sensors installed inside the hydrogen cylinder or on the cylinder valve, and is used to characterize the storage pressure of hydrogen.
[0031] In a specific embodiment, high-precision temperature and pressure sensors integrated on the hydrogen cylinder valve or cylinder body can be used to collect the thermodynamic state parameters of the hydrogen inside the cylinder in real time at a sampling frequency of no less than 1ms / frame. The collected analog signals are filtered and amplified by the signal conditioning circuit of the vehicle ECU, and then converted into digital signals by the analog-to-digital converter (ADC). The digital signals are then transmitted to the central controller via the CAN bus to obtain the temperature and pressure data inside the hydrogen cylinder.
[0032] Step S20: Determine the mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval based on the temperature data and the pressure data. It should be noted that the hydrogen mass in the gas cylinder is the net output hydrogen mass from the hydrogen cylinder within a predefined time interval, such as from time T1 to time T2, determined by calculating the decrease in the hydrogen mass in the gas cylinder during this time period.
[0033] In a specific embodiment, the cylinder volume and hydrogen density are obtained; the compressibility coefficient of hydrogen is determined by querying a predefined quick reference table based on the temperature and pressure data; the volumetric equivalent of hydrogen is determined based on the compressibility coefficient, the cylinder volume, and the pressure data; initial time information is obtained, and target time information is determined based on the initial time information and a predefined time interval; the real-time hydrogen mass in the cylinder corresponding to the initial time information and the target time information is calculated based on the volumetric equivalent and the hydrogen density, resulting in a first real-time hydrogen mass and a second real-time hydrogen mass; the cylinder output volume is calculated based on the first real-time hydrogen mass and the second real-time hydrogen mass, i.e., the pre-stored cylinder fixed volume value and standard state hydrogen density value can be retrieved from the memory. Since hydrogen is stored in the cylinder under high pressure, the compressibility coefficient of hydrogen needs to be calculated based on the cylinder volume, the real-time pressure and temperature inside the cylinder, and then the weight of hydrogen in the cylinder is calculated based on the hydrogen density. Figure 2 As shown, Figure 2The present application's vehicle-mounted simulated hydrogen leak alarm method uses a predefined quick reference representation of the compressibility coefficient. Based on real-time collected temperature and pressure data, it queries this representation to accurately determine the compressibility coefficient of hydrogen under the current operating conditions. Then, based on the cylinder volume, it calculates the gas volumetric equivalent, expressed as:
[0034] The volumetric equivalent is the volume of hydrogen gas under high pressure inside the hydrogen cylinder, converted to its volume under standard conditions (usually 0°C, 101.325 kPa) based on its actual temperature and pressure using a compressibility factor. Pressure is the absolute pressure of the hydrogen gas inside the cylinder, measured in real-time by a pressure sensor at a specific moment (e.g., T1 or T2). Volume is the internal geometric volume of the hydrogen cylinder, a pre-known physical constant determined by the cylinder's model and design. Compressibility factor is a parameter characterizing the deviation between the behavior of a real gas and an ideal gas; for hydrogen, a real gas, the compressibility factor varies at different temperatures and pressures. This value is obtained by consulting a predefined compressibility factor quick lookup table, with the input values being the real-time measured temperature and pressure.
[0035] Next, the mass of the gas is calculated. At this point, the system records the initial time T1, and after a predefined time interval Δt, marks the target time T2. Based on the volumetric equivalent at times T1 and T2, respectively, multiply by the hydrogen density to calculate the first real-time hydrogen mass M1 at time T1 and the second real-time hydrogen mass M2 at time T2. By calculating the mass difference between M1 and M2, the actual gas output from the hydrogen cylinder within the time interval Δt can be obtained. The formula can be expressed as: real-time hydrogen mass = volumetric equivalent × gas density, where the real-time hydrogen mass is the total mass of hydrogen stored in the hydrogen cylinder at a specific time (such as T1 or T2), and the hydrogen density is the mass density of hydrogen under standard conditions.
[0036] In one feasible implementation, step S20 may include steps A11 to A14: Step A11: Obtain the cylinder volume and hydrogen density; It should be noted that the cylinder volume is a fixed physical constant, that is, the maximum capacity of the internal geometric space determined during the design and manufacture of the hydrogen cylinder. It represents the size of the physical space that the cylinder can hold hydrogen and does not change with changes in internal pressure or temperature. Its value is uniquely determined by the cylinder model.
[0037] It is understood that the hydrogen density is the mass density of hydrogen under standard conditions, which is a known physical constant used to convert the calculated cubic equivalent volume under standard conditions into the corresponding mass.
[0038] Step A12: Determine the compressibility of hydrogen by consulting a predefined quick reference table based on the temperature and pressure data. It should be noted that for hydrogen stored under high pressure, the intermolecular forces and the volume occupied by the molecules themselves cannot be ignored, causing its physical behavior to deviate from the ideal gas law. Therefore, it can be represented by the compressibility factor, which is a parameter characterizing the degree of deviation between the behavior of the actual gas and the ideal gas. It is the ratio of the volume of the actual gas to the volume of the ideal gas at the same temperature and pressure, and needs to be obtained by consulting a predefined compressibility factor quick lookup table.
[0039] Step A13: Determine the corresponding volumetric equivalent of hydrogen gas based on the compressibility factor, the cylinder volume, and the pressure data; It should be noted that the volumetric equivalent is the equivalent volume of high-pressure hydrogen at a specific temperature and pressure inside the hydrogen cylinder, converted into its equivalent volume under standard conditions by correcting it using the actual gas law and the compressibility coefficient. This is used to eliminate the influence of different temperatures and pressures on the gas volume, thereby converting the changing actual volume into a uniform standard volume to accurately calculate the mass of hydrogen.
[0040] Step A14: Determine the amount of gas output from the hydrogen cylinder within a predefined time interval based on the volumetric equivalent and the hydrogen density.
[0041] Understandably, the total mass of hydrogen in the cylinder at the initial and final moments can be obtained based on the volumetric equivalent and hydrogen density. By calculating the mass difference between these two points in time, we can determine the amount of mass reduction in the cylinder due to hydrogen consumption within a predefined time interval. This reduction is numerically equal to the mass of hydrogen actually output from the hydrogen cylinder and supplied to the engine piping system during this period, i.e., the cylinder output volume.
[0042] In one feasible implementation, step A14 may include steps B11 to B13: Step B11: Obtain initial time information, and determine target time information based on the initial time information and a predefined time interval; It should be noted that the initial time information is a calculation cycle start point actively set by the system for calculating the gas cylinder output volume. This time point is triggered by the system controller according to a predefined sampling or calculation cycle, and records all temperature and pressure data collected by the sensors at that time point.
[0043] It is understood that the target time information is the end point reached by the system after a predefined time interval based on the initial time information. This time point, together with the initial time information, defines a specific time period for analysis and calculation. The system will also record all sensor data corresponding to this target time point.
[0044] Step B12: Calculate the real-time hydrogen mass in the hydrogen cylinder corresponding to the initial time information and the target time information based on the volumetric equivalent and the hydrogen density, and obtain the first real-time hydrogen mass and the second real-time hydrogen mass. It should be noted that the first real-time hydrogen mass is the instantaneous total mass of hydrogen stored in the hydrogen cylinder, calculated using the gas state equation at the moment corresponding to the initial time information, based on the temperature and pressure data collected at that time, combined with the cylinder volume, compressibility coefficient, and hydrogen density.
[0045] It is understandable that the second real-time hydrogen mass is the instantaneous total mass of hydrogen stored in the hydrogen cylinder, calculated using the gas state equation at the moment corresponding to the target time information, based on the temperature and pressure data collected at that moment, combined with the cylinder volume, compressibility coefficient, and hydrogen density.
[0046] Step B13: Calculate the cylinder output gas volume from the hydrogen cylinder based on the first real-time hydrogen mass and the second real-time hydrogen mass.
[0047] It is understood that the hydrogen mass in the cylinder is calculated by comparing the temperature and pressure data at two different time points, combined with the cylinder volume and compressibility coefficient, thereby dynamically calculating the actual hydrogen mass supplied from the cylinder to the pipeline system during this period.
[0048] Step S30: Based on the temperature data, the pressure data, and the hydrogen quality of the gas cylinder, detect hydrogen leakage and determine the hydrogen leakage detection result; It should be noted that the hydrogen leak detection result is status information for detecting whether there is a leak in the hydrogen supply system and the severity of the leak. It is obtained by comparing the gas output volume of the gas cylinder calculated from the cylinder status with the hydrogen injection volume predicted by the engine model, and comparing the difference between the two hydrogen values with a preset safety threshold, which is used to control system alarms.
[0049] In a specific embodiment, the hydrogen injection quantity of the engine gas injector is predicted based on the temperature data and pressure data input into a hydrogen quantity model. The hydrogen quantity model is obtained by constructing a corresponding objective function based on the temperature data and pressure data. Hydrogen leakage is detected based on the hydrogen mass in the gas cylinder and the hydrogen injection quantity, and a hydrogen leakage detection result is obtained. That is, the hydrogen quantity model is obtained by constructing an objective function based on the temperature data and pressure data, thereby predicting the instantaneous hydrogen mass that the gas injector should inject in each working cycle under the current intake state to meet the engine's target air-fuel ratio and torque requirements, and obtaining the hydrogen injection quantity. The hydrogen injection quantity is compared with the gas cylinder output quantity calculated from the gas cylinder state, and the difference between the two is calculated. By judging whether the difference exceeds a preset safety leakage threshold, the corresponding hydrogen leakage detection result is output, indicating whether a leakage has occurred or not.
[0050] Step S40: Based on the hydrogen leak detection results, control the system to issue an alarm and complete the vehicle-mounted simulated hydrogen leak alarm.
[0051] Understandably, the system can use the obtained hydrogen leak detection results to generate a corresponding digital alarm signal by the central controller. This signal is sent to the instrument panel via the vehicle's CAN bus to illuminate the warning light and issue an audible alarm. It can then immediately execute one or more control commands, such as reducing power operation, limiting the hydrogen injection rate, or forcing a safe shutdown, to realize the vehicle-mounted simulated hydrogen leak alarm.
[0052] In a specific embodiment, a corresponding alarm signal is generated based on the hydrogen leak detection result; the system alarm is controlled according to at least one of the following control commands: power reduction operation command, hydrogen injection rate limitation command, or safe shutdown command, to complete the vehicle-mounted simulated hydrogen leak alarm. That is, when the hydrogen leak detection result is determined to be a leak, a corresponding digital alarm signal is generated. This signal is broadcast to the vehicle network via the vehicle CAN bus, driving the instrument panel to issue an audible and visual alarm to warn the driver. At least one control command is automatically selected and executed from power reduction operation, hydrogen injection rate limitation, and safe shutdown. Power reduction operation can be achieved by reducing the throttle opening and ignition advance angle; hydrogen injection rate limitation can be achieved by directly reducing the pulse width of the gas injector; and safe shutdown can be achieved by closing the cylinder valve and cutting off the fuel supply, thereby achieving efficient and low-cost vehicle-mounted simulated hydrogen leak alarm and safety protection.
[0053] In one feasible implementation, step S40 may include steps C11-C12: Step C11: Generate a corresponding alarm signal based on the hydrogen leak detection results; It should be noted that the alarm signal is a digital command or status flag that is actively generated after a hydrogen leak is detected. Its internal encoding can be associated with a preset safety response level. It can be parsed through the vehicle bus and trigger the corresponding vehicle-level safety interlock control action, such as power reduction operation, injection restriction or safe shutdown, thereby achieving a seamless connection from virtual diagnosis to active safety protection.
[0054] Step C12: Control system alarm according to at least one of the following control commands corresponding to the alarm signal: power reduction operation command, hydrogen injection rate limit command, or safe shutdown command, to complete the vehicle-mounted simulated hydrogen leak alarm.
[0055] Understandably, the system can use the alarm signal to call the corresponding control command from the preset safety strategy library, such as a power reduction operation command to gradually reduce the engine output power, a hydrogen injection rate restriction command to directly intervene in the fuel supply, or a safety shutdown command, so as to achieve active restriction and intervention on the vehicle's power or fuel supply while triggering the audible and visual alarm.
[0056] This embodiment proposes a vehicle-mounted simulated hydrogen leak alarm method, which acquires temperature and pressure data inside a hydrogen cylinder; determines the mass of hydrogen output from the cylinder within a predefined time interval based on the temperature and pressure data; detects hydrogen leaks based on the temperature, pressure, and hydrogen mass, and determines the hydrogen leak detection result; and controls an alarm based on the hydrogen leak detection result, thus completing the vehicle-mounted simulated hydrogen leak alarm. This method solves the technical problem of how to perform vehicle-mounted simulated hydrogen leak alarms more efficiently and reliably. Compared to existing technologies, this application acquires temperature and pressure data inside the hydrogen cylinder in real time, calculates the mass of hydrogen output from the cylinder within a specific time interval, compares it with the hydrogen injection volume from the engine, and dynamically detects hydrogen leaks by analyzing the difference between the two. The detection result triggers a system alarm, achieving low-cost, high-reliability hydrogen leak monitoring, effectively avoiding false alarms caused by interference with multi-point sensors, and improving the overall reliability of the system.
[0057] Based on the first embodiment of this application, in the second embodiment of this application, the same or similar content as the first embodiment described above can be referred to the above description, and will not be repeated hereafter.
[0058] In this embodiment, refer to Figure 3 , Figure 3 This is a flowchart illustrating Embodiment 2 of the vehicle-mounted simulated hydrogen leak alarm method of this application. Step S30 specifically includes steps S31 to S32: Step S31: Based on the temperature data and pressure data, input the hydrogen quantity model to predict the hydrogen injection quantity of the engine gas injector. The hydrogen quantity model is obtained by constructing a corresponding objective function based on the temperature data and pressure data. It should be noted that the hydrogen injection quantity is calculated based on the current engine speed, load, intake air temperature and pressure, and through a pre-calibrated injection pulse pattern or hydrogen quantity model. It represents the actual mass of hydrogen injected into the engine cylinder by the gas injector within a specific time window, and characterizes the engine's real-time fuel consumption demand.
[0059] It is understood that the hydrogen volume model can be obtained by establishing an objective function, such as a high-order polynomial, that can accurately reflect the flow characteristics of the injector based on the temperature data and the pressure data, and then embedding this function in the controller to replace physical sensors.
[0060] In a specific embodiment, the system can use real-time collected temperature and pressure data from the engine intake manifold or air rail assembly as input parameters, and call the hydrogen quantity model preset in the engine control unit for real-time calculation. Based on the input temperature and pressure parameters, combined with the current engine speed and load signal, it can accurately predict the standard state hydrogen volume flow rate required by the engine to achieve the target air-fuel ratio under the current operating conditions. The output is the hydrogen mass injection quantity that the gas injector needs to perform in one working cycle. The working cycle is a complete working cycle of the engine, for example, the time required to complete the four piston strokes of intake, compression, power, and exhaust. The system can use this cycle as the basic time unit to calculate the mass of hydrogen that the gas injector should inject into a single cylinder in this cycle.
[0061] Step S32: Detect hydrogen leakage based on the hydrogen mass in the gas cylinder and the hydrogen injection volume, and obtain the hydrogen leakage detection result.
[0062] Understandably, hydrogen leakage occurs when hydrogen is released unexpectedly into the engine compartment or atmosphere outside the designed closed system, due to reasons such as seal failure, component damage, or vibration loosening, along the entire pipeline, joints, and component connections from the hydrogen cylinder outlet to the engine gas injector inlet in the vehicle's hydrogen supply system. This leakage not only wastes fuel but also creates a localized accumulation of flammable gas. When the concentration reaches the explosive limit, it may ignite or explode upon encountering an ignition source.
[0063] In a specific embodiment, a target leakage difference is obtained; a corresponding hydrogen difference is calculated based on the hydrogen mass of the gas cylinder and the hydrogen injection volume; when the hydrogen difference is less than the target leakage difference, the hydrogen leakage detection result is no leakage; when the hydrogen difference is greater than the target leakage difference, the hydrogen leakage detection result is leakage, i.e., the system calls the target leakage difference from the pre-stored safety parameters, and the controller calculates the absolute difference between the gas output volume of the gas cylinder and the hydrogen injection volume in the same time period, i.e., the hydrogen difference. If the hydrogen difference is less than or equal to the target leakage difference, it is determined that the system is fluctuating normally, and a detection result of no leakage is output; if the hydrogen difference is continuously greater than the target leakage difference, it is determined that there is an abnormal leakage, and a detection result of leakage is immediately output, thereby completing the leakage status diagnosis based on the mass balance principle.
[0064] In one feasible implementation, step S32 may include steps D11-D13: Step D11: Obtain the target leakage difference; It should be noted that the target leakage difference is a critical threshold that is pre-calibrated through experiments and stored in the system to determine whether a leakage exists.
[0065] It is understandable that the target leakage difference is the maximum allowable deviation value determined after comprehensively considering various inherent errors of the system under normal operating conditions, such as sensor measurement accuracy deviation, model calculation inherent error and pressure fluctuation, and leaving a certain safety redundancy. The system will only determine that a leak has occurred when the actual calculated hydrogen mass difference exceeds this threshold.
[0066] Step D12: Calculate the corresponding hydrogen difference based on the hydrogen mass of the gas cylinder and the hydrogen injection volume; It should be noted that the hydrogen difference is the absolute mass difference between the cylinder output volume calculated from the cylinder status and the hydrogen injection volume predicted by the engine model within the same predefined time interval. The cylinder output volume is the total mass of hydrogen supplied to the system, and the hydrogen injection volume is the total mass of hydrogen consumed by the engine. The hydrogen difference characterizes the mass balance between supply and consumption in the hydrogen flow path and is used to determine whether there is abnormal hydrogen loss, such as leakage.
[0067] Step D13: Detect hydrogen leakage based on the hydrogen difference and the target leakage difference, and obtain the hydrogen leakage detection result.
[0068] Understandably, the system can compare the hydrogen difference calculated in real time with the pre-calibrated target leakage difference. If the hydrogen difference is consistently less than or equal to the threshold, the system is considered normal and outputs no leakage. If the hydrogen difference significantly and consistently exceeds the threshold, it is considered an abnormal leakage and outputs leakage.
[0069] In one feasible implementation, step D13 may include steps E11-E12: Step E11: When the hydrogen difference is less than the target leakage difference, the hydrogen leakage detection result is no leakage. It is understandable that when the hydrogen difference calculated by the system is consistently less than the preset target leakage difference, it indicates that the quality deviation between the supply and consumption in the current hydrogen pipeline is within a safe and reasonable fluctuation range. This deviation can be attributed to inherent system noise such as sensor measurement error and model calculation accuracy. Therefore, the system determines that there is no abnormal leakage and outputs a detection result indicating that no leakage has occurred.
[0070] Step E12: When the hydrogen gas difference is greater than the target leakage difference, the hydrogen gas leakage detection result is that a leakage has occurred.
[0071] Understandably, when the hydrogen difference calculated by the system is consistently greater than the preset target leakage difference, it indicates that there is a continuous quality loss in the hydrogen pipeline that exceeds the normal fluctuation range and cannot be explained by the inherent error of the system. Therefore, there must be an actual physical leak in the pipeline. Thus, the system determines that there is a safety hazard and outputs a definitive detection result that a leak has occurred.
[0072] This embodiment proposes an on-board simulated hydrogen leak alarm method. Based on temperature and pressure data, a hydrogen quantity model is input to predict the hydrogen injection quantity of the engine's gas injector. The hydrogen quantity model is obtained by constructing a corresponding objective function based on the temperature and pressure data. Hydrogen leaks are detected based on the hydrogen mass in the gas cylinder and the hydrogen injection quantity, yielding the hydrogen leak detection result. This method solves the technical problem of how to perform on-board simulated hydrogen leak alarms more efficiently and reliably. Compared to existing technologies, this application inputs temperature and pressure data into the hydrogen quantity model to predict the hydrogen injection quantity of the gas injector in real time and accurately. Then, the hydrogen injection quantity is compared with the actual hydrogen mass in the gas cylinder in real time. By analyzing the mass difference between the two, the presence of a leak in the hydrogen pipeline is determined. This method achieves full-area leak detection without locating a specific leak point, effectively identifying leaks at any location in the hydrogen cylinder, and significantly improving the accuracy and reliability of the alarm system.
[0073] This application also provides a vehicle-mounted simulated hydrogen leak alarm device; please refer to... Figure 4 The vehicle-mounted simulated hydrogen leak alarm device includes: Module 10 is used to acquire temperature and pressure data inside the hydrogen cylinder; Processing module 20 is used to determine the mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval based on the temperature data and the pressure data. The processing module 20 is also used to detect hydrogen leakage based on the temperature data, the pressure data, and the hydrogen quality of the gas cylinder, and to determine the hydrogen leakage detection result; The execution module 30 is used to control the system alarm based on the hydrogen leak detection results and complete the vehicle-mounted simulated hydrogen leak alarm.
[0074] The processing module 20 is also used to obtain the cylinder volume and hydrogen density; The compressibility of hydrogen is determined by consulting a predefined quick reference table of compressibility based on the temperature and pressure data. The volumetric equivalent of hydrogen is determined based on the compressibility factor, the cylinder volume, and the pressure data. The amount of gas output from the hydrogen cylinder within a predefined time interval is determined based on the volumetric equivalent and the hydrogen density.
[0075] The processing module 20 is further configured to acquire initial time information and determine target time information based on the initial time information and a predefined time interval; Based on the volumetric cubic equivalent and the hydrogen density, the real-time hydrogen mass in the hydrogen cylinder corresponding to the initial time information and the target time information is calculated to obtain the first real-time hydrogen mass and the second real-time hydrogen mass. The cylinder output gas volume is calculated based on the first real-time hydrogen mass and the second real-time hydrogen mass.
[0076] The processing module 20 is also used to predict the hydrogen injection quantity of the engine gas injector based on the temperature data and the pressure data input into the hydrogen quantity model. The hydrogen quantity model is obtained by constructing a corresponding objective function based on the temperature data and the pressure data. Hydrogen leakage is detected based on the hydrogen mass in the gas cylinder and the hydrogen injection volume, and the hydrogen leakage detection result is obtained.
[0077] The processing module 20 is also used to obtain the target leakage difference; Calculate the corresponding hydrogen difference based on the hydrogen mass in the gas cylinder and the hydrogen injection volume; Hydrogen leakage is detected based on the hydrogen difference and the target leakage difference, and the hydrogen leakage detection result is obtained.
[0078] The processing module 20 is further configured to determine that no leakage has occurred when the hydrogen difference is less than the target leakage difference. When the hydrogen gas difference is greater than the target leakage difference, the hydrogen leakage detection result is that a leak has occurred.
[0079] The execution module 30 is also used to generate a corresponding alarm signal based on the hydrogen leak detection result; The system alarms are controlled by at least one of the following control commands corresponding to the alarm signal: power reduction operation command, hydrogen injection rate limitation command, or safe shutdown command, thus completing the vehicle-mounted simulated hydrogen leak alarm.
[0080] The vehicle-mounted simulated hydrogen leak alarm device provided in this application, employing the vehicle-mounted simulated hydrogen leak alarm method described in the above embodiments, can solve the technical problem of how to perform vehicle-mounted simulated hydrogen leak alarms more efficiently and reliably. Compared with the prior art, the beneficial effects of the vehicle-mounted simulated hydrogen leak alarm device provided in this application are the same as those of the vehicle-mounted simulated hydrogen leak alarm method provided in the above embodiments, and other technical features in the vehicle-mounted simulated hydrogen leak alarm device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0081] This application provides a vehicle-mounted simulated hydrogen leak alarm device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the vehicle-mounted simulated hydrogen leak alarm method in Embodiment 1 above.
[0082] The following is for reference. Figure 5 This document illustrates a structural schematic diagram suitable for implementing the vehicle-mounted simulated hydrogen leak alarm device according to embodiments of this application. The vehicle-mounted simulated hydrogen leak alarm device in embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), vehicle terminals (e.g., vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The vehicle-mounted simulated hydrogen leak alarm device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0083] like Figure 5As shown, the vehicle-mounted simulated hydrogen leak alarm device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in ROM (Read Only Memory) 1002 or a program loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the vehicle-mounted simulated hydrogen leak alarm device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. Input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the vehicle-mounted simulated hydrogen leak alarm device to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows a vehicle-mounted simulated hydrogen leak alarm device with various systems, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.
[0084] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0085] The vehicle-mounted simulated hydrogen leak alarm device provided in this application, employing the vehicle-mounted simulated hydrogen leak alarm method described in the above embodiments, can solve the technical problem of how to perform vehicle-mounted simulated hydrogen leak alarms more efficiently and reliably. Compared with the prior art, the beneficial effects of the vehicle-mounted simulated hydrogen leak alarm device provided in this application are the same as those of the vehicle-mounted simulated hydrogen leak alarm method provided in the above embodiments, and other technical features of this vehicle-mounted simulated hydrogen leak alarm device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0086] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0087] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0088] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the vehicle-mounted simulated hydrogen leak alarm method in the above embodiments.
[0089] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0090] The aforementioned computer-readable storage medium may be included in the vehicle-mounted simulated hydrogen leak alarm device; or it may exist independently and not be installed in the vehicle-mounted simulated hydrogen leak alarm device.
[0091] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by the vehicle-mounted simulated hydrogen leak alarm device, the device causes the following actions: acquires temperature and pressure data from the hydrogen cylinder; determines the mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval based on the temperature and pressure data; detects hydrogen leaks based on the temperature, pressure, and hydrogen gas mass, and determines the hydrogen leak detection result; and controls the system to issue an alarm based on the hydrogen leak detection result, thus completing the vehicle-mounted simulated hydrogen leak alarm.
[0092] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0093] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0094] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0095] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described vehicle-mounted simulated hydrogen leak alarm method, thereby solving the technical problem of how to perform vehicle-mounted simulated hydrogen leak alarms more efficiently and reliably. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the vehicle-mounted simulated hydrogen leak alarm method provided in the above embodiments, and will not be repeated here.
[0096] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A vehicle-mounted simulated hydrogen leak alarm method, characterized in that, The method includes: Acquire temperature and pressure data inside the hydrogen cylinder; The mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval is determined based on the temperature data and the pressure data. Based on the temperature data, the pressure data, and the hydrogen quality of the gas cylinder, a hydrogen leak detection result is determined. Based on the hydrogen leak detection results, the system alarms and completes the vehicle-mounted simulated hydrogen leak alarm.
2. The method as described in claim 1, characterized in that, The step of determining the mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval based on the temperature data and the pressure data includes: Obtain the cylinder volume and hydrogen density; The compressibility of hydrogen is determined by consulting a predefined quick reference table of compressibility based on the temperature and pressure data. The volumetric equivalent of hydrogen is determined based on the compressibility factor, the cylinder volume, and the pressure data. The amount of gas output from the hydrogen cylinder within a predefined time interval is determined based on the volumetric equivalent and the hydrogen density.
3. The method as described in claim 2, characterized in that, The step of determining the amount of gas output from the hydrogen cylinder within a predefined time interval based on the volumetric equivalent and the hydrogen density includes: Obtain initial time information, and determine target time information based on the initial time information and a predefined time interval; Based on the volumetric cubic equivalent and the hydrogen density, the real-time hydrogen mass in the hydrogen cylinder corresponding to the initial time information and the target time information is calculated to obtain the first real-time hydrogen mass and the second real-time hydrogen mass. The cylinder output gas volume is calculated based on the first real-time hydrogen mass and the second real-time hydrogen mass.
4. The method as described in claim 1, characterized in that, The step of determining the hydrogen leak detection result based on the temperature data, the pressure data, and the hydrogen quality of the gas cylinder includes: The hydrogen injection quantity of the engine gas injector is predicted based on the temperature data and the pressure data input into the hydrogen quantity model. The hydrogen quantity model is obtained by constructing a corresponding objective function based on the temperature data and the pressure data. Hydrogen leakage is detected based on the hydrogen mass in the gas cylinder and the hydrogen injection volume, and the hydrogen leakage detection result is obtained.
5. The method as described in claim 4, characterized in that, The step of detecting hydrogen leakage based on the hydrogen mass of the gas cylinder and the hydrogen injection volume, and obtaining the hydrogen leakage detection result, includes: Obtain the target leakage difference; Calculate the corresponding hydrogen difference based on the hydrogen mass in the gas cylinder and the hydrogen injection volume; Hydrogen leakage is detected based on the hydrogen difference and the target leakage difference, and the hydrogen leakage detection result is obtained.
6. The method as described in claim 5, characterized in that, The step of detecting hydrogen leakage based on the hydrogen difference and the target leakage difference, and obtaining the hydrogen leakage detection result, includes: When the hydrogen gas difference is less than the target leakage difference, the hydrogen gas leakage detection result is that no leakage has occurred; When the hydrogen gas difference is greater than the target leakage difference, the hydrogen leakage detection result is that a leak has occurred.
7. The method as described in claim 1, characterized in that, The steps for controlling the system to alarm based on the hydrogen leak detection results and completing the vehicle-mounted simulated hydrogen leak alarm include: A corresponding alarm signal is generated based on the hydrogen leak detection results; The system alarms are controlled by at least one of the following control commands corresponding to the alarm signal: power reduction operation command, hydrogen injection rate limitation command, or safe shutdown command, thus completing the vehicle-mounted simulated hydrogen leak alarm.
8. A vehicle-mounted simulated hydrogen leak alarm device, characterized in that, The device includes: The acquisition module is used to acquire temperature and pressure data inside the hydrogen cylinder; The processing module is used to determine the mass of hydrogen gas output from the hydrogen cylinder within a predefined time interval based on the temperature data and the pressure data. The processing module is also used to detect hydrogen leakage based on the temperature data, the pressure data, and the hydrogen quality of the gas cylinder, and to determine the hydrogen leakage detection result; The execution module is used to control the system alarm based on the hydrogen leak detection results and complete the vehicle-mounted simulated hydrogen leak alarm.
9. A vehicle-mounted simulated hydrogen leak alarm device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the vehicle-mounted simulated hydrogen leak alarm method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the vehicle-mounted simulated hydrogen leak alarm method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Hydrogen leakage detection method, hydrogen leakage detection system and hydrogen energy vehicle
CN113447212A
Pipeline hydrogen leakage identification method, device and equipment and storage medium
CN117525508A