Leakage detection method and device for vehicle-mounted gas cylinder and electronic equipment
By calculating the estimated volume and weighted average of the vehicle-mounted gas cylinder before hydrogen filling, the problem of difficulty in detecting leakage during hydrogen filling in the prior art is solved, early detection and accurate judgment of the gas cylinder status are achieved, and the safety of the hydrogen fuel cell vehicle is ensured.
Patent Information
- Application Number
- CN202510819928.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-06-19
AI Technical Summary
In the prior art, vehicle-mounted gas cylinder leakage detection can only be carried out during hydrogen filling, resulting in the discovery of problems late and it is difficult to ensure safety.
Before hydrogen filling, by injecting hydrogen with test mass flow, the cylinder data is collected to calculate the first estimated volume, and the weighted average value is calculated using the volume difference between the standard volume and the historical calculated data to determine the cylinder status.
It realizes the timely detection of gas cylinder leakage before hydrogen filling, reduces the risk of misjudgment, and ensures safety and detection accuracy.
Smart Images

Figure CN120332658A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this specification belong to the field of leakage detection of on-vehicle cylinders, and particularly relate to a method, device, and electronic device for leakage detection of on-vehicle cylinders. Background Art
[0002] Hydrogen fuel cell vehicles generally fill hydrogen into the on-vehicle cylinders inside them through hydrogen filling machines in hydrogen filling stations to achieve fuel filling. Since hydrogen is a combustible gas, once the on-vehicle cylinder leaks, an explosion accident is likely to occur. Currently, the leakage detection of on-vehicle cylinders generally determines the pressure-mass curve during the hydrogen filling process to judge the situation of the cylinder according to the curve. This method can only detect during the filling process, and the time to discover problems is relatively late, making it difficult to ensure safety. Summary of the Invention
[0003] The embodiments of the present disclosure provide a method, device, and electronic device for leakage detection of on-vehicle cylinders, aiming to solve one or more of the above problems and other potential problems.
[0004] According to the first aspect of the present disclosure, a method for leakage detection of an on-vehicle cylinder is provided. The method includes, in response to a connection signal of the on-vehicle cylinder, detecting cylinder data of the on-vehicle cylinder before and after injecting hydrogen with a test mass flow rate for leakage detection, to calculate a first estimated volume of the on-vehicle cylinder according to the cylinder data, where the cylinder data includes temperature data, pressure data, and mass flow rate data. The method further includes determining a standard volume closest to the first estimated volume, sorting the volume differences between the standard volume and each second estimated volume in the historical calculation data, setting weights for each volume difference respectively, to calculate a weighted average value between each second estimated volume based on the weights. In addition, the method further includes determining the cylinder state of the on-vehicle cylinder based on the relative deviation value between the first estimated volume and the weighted average value.
[0005] According to the second aspect of the present disclosure, a device for leakage detection of an on-vehicle cylinder is provided. The device includes a cylinder data detection module configured to, in response to a connection signal of the on-vehicle cylinder, detect cylinder data of the on-vehicle cylinder before and after injecting hydrogen with a test mass flow rate for leakage detection, to calculate a first estimated volume of the on-vehicle cylinder according to the cylinder data, where the cylinder data includes temperature data, pressure data, and mass flow rate data. The device further includes a weight setting module configured to determine a standard volume closest to the first estimated volume, sort the volume differences between the standard volume and each second estimated volume in the historical calculation data, set weights for each volume difference respectively, to calculate a weighted average value between each second estimated volume based on the weights. In addition, the device further includes a cylinder state determination module configured to determine the cylinder state of the on-vehicle cylinder based on the relative deviation value between the first estimated volume and the weighted average value.
[0006] According to a third aspect of the present disclosure, there is provided an electronic device, including one or more processors, and a memory associated with the one or more processors, where the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, the method provided according to the first solution is executed.
[0007] According to a fourth aspect of the present disclosure, there is provided a computer program product, including a computer program, and when the computer program is executed by a processor, the method provided according to the first aspect is implemented.
[0008] It should be understood that the content described in the summary of the invention is not intended to limit the key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Combined with the accompanying drawings and referring to the following detailed description, the above and other features, advantages, and aspects of the embodiments of the present disclosure will become more obvious. In the drawings, the same or similar reference numerals denote the same or similar elements, where: Figure 1 A schematic diagram showing an example environment in which multiple embodiments of the present disclosure can be implemented; Figure 2 A schematic flowchart showing a method for leak detection of an on-vehicle gas cylinder according to some embodiments of the present disclosure; Figure 3 A schematic flowchart showing the overall process of leak detection of an on-vehicle gas cylinder according to some embodiments of the present disclosure; Figure 4 A schematic flowchart showing a process of processing the state of a gas cylinder according to the volume change trend of an on-vehicle gas cylinder according to some embodiments of the present disclosure; Figure 5 A schematic structural diagram showing a leak detection device for an on-vehicle gas cylinder according to some embodiments of the present disclosure; Figure 6 A schematic block diagram showing an electronic device according to some embodiments of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0010] To make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions in the embodiments of the present specification will be clearly and completely described below in conjunction with the corresponding drawings of the embodiments of the present specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.
[0011] As used in this specification, the claims and the above drawings, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that comprises a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products or devices. Depending on the context, the word "if" as used herein may be interpreted as "when", "while", "in response to determining", or "in response to detecting".
[0012] As mentioned above, in order to ensure the safety of hydrogen fuel cell vehicles, the on-vehicle cylinders are leak-detected every time the vehicle refuels with hydrogen at a hydrogen refueling station. Vehicles going to the hydrogen refueling station to refuel with hydrogen usually do not report all of their vehicle information to the hydrogen refueling station. Coupled with the fact that the on-vehicle cylinders may have been replaced, the hydrogen refueling station cannot determine what the volume of the cylinder should be under normal circumstances, and thus cannot directly judge the cylinder leakage situation based on the calculation and comparison of the volume. Currently, the detection of on-vehicle cylinders is generally divided into two methods. One is during the hydrogen refueling process, the pressure data and mass flow data inside the cylinder are collected through sensors installed inside the on-vehicle cylinder, and through interaction with the infrared communication module installed on the hydrogen refueling gun, the hydrogen refueling station system can obtain the pressure-mass curve of the on-vehicle cylinder during the hydrogen refueling process, and compare it with a preset standard curve to judge the situation of the cylinder. The other is to use the infrared optical method, continuously emit infrared signals into the cylinder through the hydrogen refueling gun to detect the dimensional changes of the cylinder during the refueling process based on the infrared signals, and compare the dimensional changes with those of the historical refueling process to judge the situation of the cylinder. However, both of the above methods require detection during the hydrogen refueling and filling process. When problems are found, most of the cylinders have already been filled, resulting in a relatively late discovery time. At this time, a lot of hydrogen may have leaked, making it difficult to ensure safety.
[0013] In response to this, embodiments of the present disclosure propose a leakage detection solution for on-vehicle gas cylinders. In the embodiments of the present disclosure, before officially filling the gas cylinder with hydrogen, as long as it is detected that the connection to the gas cylinder is made, a small amount of hydrogen (i.e., the test mass flow rate) will be injected first, and the first estimated volume of the gas cylinder will be estimated based on the gas cylinder data such as temperature, pressure, and mass flow rate collected before and after the hydrogen filling. Then, the closest standard volume can be queried according to the first estimated volume, and this standard volume can be used as the volume of the on-vehicle gas cylinder under normal conditions. By sorting the differences between the standard volume and the respective second estimated volumes estimated during the historical leakage detection process, weights can be set for each volume difference in a manner such as from small to large. Since the volume differences correspond one-to-one with the second estimated volumes, the weighted average value of the second estimated volumes can be directly calculated based on the weights, and this weighted average value can be used as the basis for comparing whether the volume is abnormal, and the relative deviation value between the first estimated volume and the weighted average value is calculated to determine whether the gas cylinder leaks based on the relative deviation value.
[0014] Through the above method, before the gas cylinder is officially filled with hydrogen, even if the volume of the on-vehicle gas cylinder connected to the vehicle is unknown, the volume of the on-vehicle gas cylinder can be estimated, and the state of the gas cylinder can be judged based on the relative deviation value between the estimated volume and the weighted average value calculated from the historical estimated volumes. In this way, not only can the state of the gas cylinder be judged before the hydrogen is officially filled, the gas cylinder leakage can be detected in time to ensure safety, but also the weights can be assigned by sorting the volume differences, and then the weighted average value can be calculated based on the weights to avoid misjudgment caused by single measurement errors and inaccurate standard volumes obtained externally, and it is not easily affected by accidental errors and baseline deviations, and the risk of missed detection or false alarm is lower.
[0015] Figure 1 FIG. shows a schematic diagram of an example environment 100 in which multiple embodiments of the present disclosure can be implemented. As Figure 1As shown, the environment 100 may include a terminal 110, a hydrogen refueling machine 130, and a vehicle-mounted gas cylinder 140. The terminal 110 may be any device with computing or processing capabilities. For example, the terminal 110 may include, but is not limited to, a mobile phone, a tablet computer, a desktop computer, a server, etc. When the terminal 110 detects that the hydrogen refueling gun of the hydrogen refueling machine 130 has been connected to the vehicle-mounted gas cylinder 140, it may generate a test hydrogen refueling instruction 111 to control the hydrogen refueling gun to pre-inject a small amount of hydrogen (i.e., the test mass flow rate hereinafter) into the vehicle-mounted gas cylinder 140 to collect the gas cylinder data 112 before and after refueling. The gas cylinder data 112 can be collected by pre-setting sensors inside the gas cylinder to collect data, and then communicating with the infrared communication module on the hydrogen refueling gun or directly with the terminal 110 through the sensors, or by setting corresponding sensors at the muzzle of the hydrogen refueling gun to collect data and then sending the collected data back to the terminal 110. Through the gas cylinder data 112, a first estimated volume 113 can be calculated, and according to the first estimated volume 113 (i.e., V1), in a database 114 pre-storing the standard volumes of various models of vehicle-mounted gas cylinders, a standard volume 115 (i.e., V standard) matching the first estimated volume can be determined. The standard volume 115 will calculate the volume difference 116 between it and the second estimated volume 117 respectively, and sort the volume differences 116 in ascending order to obtain a volume difference sorting 118, and then set the weight 119 for each volume difference accordingly. Since the volume difference 116 corresponds to the second estimated volume 117 one by one, the second estimated volume 117 can be weighted and calculated according to the weight 119 to obtain a weighted average value 120. Finally, the gas cylinder status 122 of the vehicle-mounted gas cylinder can be determined according to the relative deviation value 121 between the first estimated volume 113 and the weighted average value 120.
[0016] Figure 2 The flowchart of the leakage detection method 200 for a vehicle-mounted gas cylinder according to some embodiments of the present disclosure is shown. The method 200 may be executed by the terminal 110, for example. As Figure 2As shown, at block 202, method 200 may detect cylinder data of an on-vehicle cylinder before and after injecting hydrogen with a test mass flow rate for leak detection in response to a connection signal of the on-vehicle cylinder, so as to calculate a first estimated volume of the on-vehicle cylinder according to the cylinder data, where the cylinder data includes temperature data, pressure data, and mass flow rate data. In this embodiment, the test mass flow rate may be determined in advance. Generally, the test mass flow rate is set to be small, and the specific value may be set in advance according to manual experience, or may be input and set by the staff beside the hydrogen filling machine after judging the possible leakage risk of the cylinder based on the newness of the vehicle, or may be determined according to the cumulative number of hydrogen filling times of the vehicle, etc. After determining the connection of the on-vehicle cylinder, before officially starting hydrogen filling according to the needs of the vehicle owner, hydrogen with the test mass flow rate will be injected first to collect the cylinder data before and after injection, and calculate the first estimated volume of the on-vehicle cylinder based on this.
[0017] As an example, the calculation process of the first estimated volume is as follows: Since the hydrogen filled at the hydrogen filling station is generally compressed and not ideal hydrogen, the following formula is obtained after introducing the hydrogen compression factor into the ideal hydrogen formula: Wherein, is the pressure, is the volume, is the hydrogen compression factor, is the hydrogen constant, is the temperature, is the mass flow rate.
[0018] Transforming the above formula gives: Based on the above formula, the calculation formula for the test mass flow rate can be obtained as follows: Wherein, is the test mass flow rate, is the mass flow rate after injecting the test mass flow rate, is the cylinder pressure after injecting the test mass flow rate, is the cylinder temperature after injecting the test mass flow rate, is the mass flow rate before injecting the test mass flow rate, is the hydrogen compression factor after injecting the test mass flow rate, is the cylinder pressure before injecting the test mass flow rate, is the cylinder temperature before injecting the test mass flow rate, is the hydrogen compression factor before injecting the test mass flow rate, is the cylinder volume, is the hydrogen constant. Wherein, the hydrogen compression factor and can be calculated according to the virial equation.
[0019] Since and are approximately equal, the two can be regarded as the same hydrogen compressibility factor , and the hydrogen compressibility factor Specifically, any value of the two can be selected, or the average value of the two can be selected, etc. Finally, transforming the above formula gives: Substitute the obtained cylinder data into the above formula, and the calculated cylinder volume is the first estimated volume.
[0020] At block 204, method 200 may determine the standard volume closest to the first estimated volume, sort the volume differences between the standard volume and each second estimated volume in the historical calculation data, set weights for each volume difference respectively, and calculate the weighted average between each second estimated volume based on the weights. In this embodiment, a database may be set in the terminal, and the database stores the cylinder parameters of various models of vehicle-mounted cylinders put into use on the market. The cylinder parameters may include the standard volume of the cylinder, that is, the volume of the cylinder in the normal state when it just leaves the factory. Through querying the database, the standard volume closest to the first estimated volume can be obtained, and the queried standard volume will be used as the actual standard volume of the vehicle-mounted cylinder. In addition, during the historical refueling process of the vehicle, a volume estimate is made each time refueling is performed, that is, a first estimated volume is calculated each time refueling is performed. For ease of distinction, these historically obtained first estimated volumes will be stored as second estimated volumes in the historical calculation data of the terminal. By calculating the differences between each second estimated volume and the standard volume in sequence, the volume differences corresponding to each second estimated volume can be obtained, and then the volume differences can be sorted in ascending order. According to the sorting of the volume differences, different weights can be set for each volume difference. As an example, the smaller the volume difference, the closer the second estimated volume is to the standard volume, then it can be considered that the reliability of this second estimated volume is higher, and it is less likely to be the volume estimated under the state of cylinder leakage, so a higher weight can be assigned. Finally, since the volume difference corresponds to the second estimated volume one by one, the weight of the volume difference will be used as the weight of the second estimated volume, and the second estimated volume will be weighted and calculated to obtain the weighted average. Subsequently, the weighted average will be used as the basis for judging whether the cylinder is leaking. Among them, the reason for not directly using the determined standard volume for leakage judgment is that the standard volume is determined based on the first estimated volume, and it cannot be ensured that the obtained standard volume must be the actual corresponding standard volume of the cylinder. Especially when the first estimated volume may be estimated under the state of cylinder leakage, directly using this standard volume as the basis for judgment is likely to cause a large error. In addition, in special cases, the cylinders used in the vehicle may not be the common cylinder models on the market, and there is no completely corresponding standard volume in the database. Therefore, in this embodiment, only the standard volume is used to calculate the volume difference, and then weights are assigned to the second estimated volume according to the sorting of the volume differences. Finally, the weighted average of the second estimated volume actually measured and estimated during the historical refueling process is used as a value that is more likely to be close to the actual standard volume of the vehicle-mounted cylinder. This can avoid misjudgment caused by single measurement error and inaccurate standard volume obtained externally, is not easily affected by accidental error and baseline deviation, and has a lower risk of missed detection or false alarm.
[0021] As an example, the calculation formula for the weighted average is: Among them, is the nth second estimated volume, is the weight of the nth second estimated volume.
[0022] In block 206, method 200 can determine the cylinder state of the vehicle-mounted gas cylinder based on the relative deviation value between the first estimated volume and the weighted average value. In this embodiment, the calculation formula of the relative deviation value is: Among them, is the relative deviation value, is the first estimated volume, is the weighted average value.
[0023] By comparing the relative deviation value with a preset threshold, the cylinder state of the vehicle-mounted gas cylinder can be determined. If the relative deviation value is greater than the threshold, it can be considered that the cylinder state is an abnormal state of leakage, otherwise it is considered normal.
[0024] In this way, after estimating the volume of the vehicle-mounted gas cylinder, the weight distribution and weighted average value calculation can be carried out by combining the second estimated volume in the historical calculation data, and the cylinder state can be judged by the relative deviation value between the weighted average value and the first estimated volume. In this way, not only can the state of the gas cylinder be judged before the hydrogen is officially filled, the gas cylinder leakage can be detected in time to ensure safety, but also the weights can be assigned by sorting the volume differences, and then the weighted average value can be calculated by the weights to avoid misjudgment caused by single measurement error and inaccurate standard volume obtained externally, and it is not easily affected by accidental errors and baseline deviations, and the risk of missed detection or false alarm is lower.
[0025] Figure 3The flowchart shows the complete process 300 of leak detection for on-vehicle gas cylinders according to some embodiments of the present disclosure. In process 300, after the hydrogen filling gun of the hydrogen filling machine is connected to the on-vehicle gas cylinder, the terminal will receive a leak detection instruction 310 and respond to the leak detection instruction 310 to perform leak detection on the on-vehicle gas cylinder. First, the test mass flow rate 320 will be determined based on the historical filling times 330. A selection range can be preset for the test mass flow rate 320. The more historical filling times the on-vehicle gas cylinder has, it indicates that the mileage of the on-vehicle gas cylinder is relatively high, and the gas cylinder is closer to its service life, that is, it is more likely to have safety problems and requires more rigorous detection. Therefore, more test mass flow rates 320 can be selected during the test to reduce the problem that the interference of sensor noise on the measurement result becomes larger due to the low signal-to-noise ratio when the test mass flow rate is small, making the measurement result more accurate. In addition, the reason for not directly using the maximum selectable test mass flow rate when the historical filling times are few is that when the filling times are few, the gas cylinder is relatively new, and at this time, the gas cylinder is probably fine and does not require overly precise detection. Reducing the test mass flow rate for filling can improve the leak detection efficiency of the gas cylinder before hydrogen filling. As an example, a number can be assigned to each integer within the selection range. For example, number 0 corresponds to the minimum value of the selection range, number 1 corresponds to the second smallest value within the selection range, and so on. And when the value corresponding to a certain number is the maximum value of the selection range, the subsequent numbers will all use this maximum value as the corresponding value. In other examples, it can also be to divide the filling times into several intervals (for example, 0 - 9 is an interval, 10 - 19 is an interval, etc.), and each interval corresponds to a value within the selection range. By determining the interval where the historical filling times are located, the corresponding value can be determined. By injecting hydrogen with the test mass flow rate 320 into the on-vehicle gas cylinder, cylinder data 340 can be measured. The cylinder data 340 can include the first cylinder data 341 measured before filling and the second cylinder data 342 measured after filling. The first cylinder data 341 includes the temperature, pressure, mass flow rate, etc. of the gas cylinder before filling, and the second cylinder data 342 includes the temperature, pressure, mass flow rate, etc. of the gas cylinder after filling. Based on the cylinder data 340, the first estimated volume 350 of the on-vehicle gas cylinder can be calculated, and the standard volume 360 closest to the first estimated volume 350 can be queried and determined.
[0026] After determining the standard volume 360, the difference will be calculated between the standard volume 360 and each second estimated volume in the historical calculation data 332, and a volume difference sorting 370 will be performed. Since there must be a certain interval between each filling of the gas cylinder, with the increase in the number of fillings, the gas cylinder may experience non-destructive leakage damage such as fatigue damage caused by long-term use, resulting in a certain change in the volume of the gas cylinder under normal circumstances. This makes it difficult for the second estimated volume predicted in the early stage of filling to reflect the current volume of the gas cylinder. If the second estimated volume obtained in the early stage is used, it is easy to cause the deviation between the calculated weighted average value and the actual standard volume to become larger, further making the leakage detection result inaccurate. Therefore, the data selection interval 331 for the second estimated volume data in the historical calculation data will be adjusted according to the historical filling times, so that when the historical filling times 330 increase, the second estimated volume with an earlier generation time will not be selected. As an example, the adjustment of the data selection interval 331 can be to increase the earliest generation time corresponding to the data selection interval with the increase in the historical filling times. For example, when the historical filling times is 0, the data selection interval covers all the second estimated volumes in the entire time dimension. As the historical filling times increase, the data selection interval gradually becomes the data obtained within one year, within half a year, within three months, within one month, etc. Specifically, different intervals can also be divided for the filling times, and a corresponding data selection interval can be set for each interval. By determining the interval where the historical filling times are located, the range of the data selection interval that should be obtained after adjustment can be determined. As another example, it can also be that every time the historical filling times increase by one, the left endpoint of the data selection interval, that is, the earliest generation time, increases by a preset number of days, etc. After obtaining the volume difference sorting 370, the weight will be assigned to each second estimated volume according to the volume difference sorting 370 in reverse. As an example, it can be sorted in ascending order of the volume difference. The closer the second estimated volume corresponding to the volume difference with a higher ranking is to the standard volume 360, the more likely it is considered that the second estimated volume represents the volume under normal circumstances, and thus a greater weight is assigned. By performing a weighted calculation on the second estimated volume with the assigned weight, a weighted average value 333 can be obtained. This weighted average value 333 will be regarded as a relatively reasonable value that can reflect the normal volume of the on-vehicle gas cylinder, and the relative deviation value 351 will be calculated based on the weighted average value 333 and the first estimated volume 350.
[0027] As the number of historical refueling times 330 increases, the degree of normal wear and tear of the gas cylinder becomes more serious. For more rigorous detection, different state thresholds 334 can also be set according to different historical refueling times 330. For example, a numerical range can be set for the state threshold 334 first. As the number of historical refueling times 330 increases, a smaller value can be selected for the state threshold 334 to more accurately judge the gas leakage situation of the gas cylinder. As an example, when the number of historical refueling times is 0, the largest value within the numerical range can be selected as the state threshold. Each time the number of historical refueling times increases by one, a preset value is correspondingly reduced, and the reduced value is used as the state threshold until the minimum value that can be selected for the state threshold is reached. In block 380, it is judged whether the relative deviation value 351 is greater than the state threshold 334. If it is not greater, it is considered that the volume of the gas cylinder is within the normal range, so the gas cylinder state is considered normal 381. If the relative deviation value 351 is greater than the state threshold 334, it is considered that the volume of the gas cylinder exceeds the normal range and the gas cylinder state is considered abnormal 382. After the gas cylinder state is abnormal 382, block 390 will also judge whether the test mass flow rate used in this test is less than the mass flow rate threshold. The mass flow rate threshold can be a threshold set artificially in advance according to experience. If it is found that the gas cylinder state is abnormal when the test mass flow rate is less than the mass flow rate threshold, it is considered that it may be because the test mass flow rate is small, so that during the data acquisition process of the gas cylinder, the signal-to-noise ratio is low, and the interference of sensor noise on the measurement result becomes larger, resulting in an error in the judgment. Therefore, at this time, the current test mass flow rate 320 can also be adjusted, adjusted to the maximum value within the selected range set in advance for the test mass flow rate, and the gas cylinder state is re-determined based on this, to additionally perform a detection that minimizes the interference of sensor noise to the greatest extent and ensure the accuracy of the gas cylinder state result judgment.
[0028] Figure 4The flowchart shows the process 400 of processing the cylinder state based on the volume change trend of the on-vehicle cylinder in some embodiments of the present disclosure. In process 400, if the cylinder state determined based on the hydrogen with the measured mass flow rate is normal 410, it only means that the on-vehicle cylinder has not really leaked at the current moment, but the on-vehicle cylinder may still be close to the state of breakage and leakage due to wear during use. Therefore, even if the cylinder state is determined to be normal 410, an additional round of verification can be performed from different dimensions. First, a number-volume curve 430 is generated based on each second estimated volume in the historical calculation data 420 to determine the volume change trend of the on-vehicle cylinder. In block 440, it is determined whether the estimated volume continuously decreases as the filling times increase according to the volume change trend. In block 450, if the volume does continuously decrease, it is further determined whether the single-drop value of the volume is greater than the preset drop threshold. If the single-drop values are all greater than the drop threshold, it is considered that the long-term trend of the number-volume curve 430 shows an obvious continuous decrease, indicating that the cylinder is steadily deteriorating. In this case, the risk of breakage and leakage of the cylinder is relatively high. Even if the determined relative deviation value does not exceed the state threshold each time, the cylinder is determined to have an abnormal cylinder state 460 to remind the maintenance personnel of the hydrogen refueling station to inspect and replace the cylinder. If the single-drop values are not all greater than the drop threshold, it is considered that there may be only normal fluctuations in the data. At this time, the state threshold can be reduced by a preset ratio 470 to make the leakage detection in the subsequent filling process more stringent, and then further determine whether the cylinder is continuously deteriorating in the subsequent detection process.
[0029] Figure 5 The structural diagram of the leakage detection device 500 for the on-vehicle cylinder in some embodiments of the present disclosure is shown. Each embodiment in this specification is described in a progressive manner. The same or similar parts among the embodiments can be referred to each other, and the key points of each embodiment are the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. As Figure 5As shown, the device 500 includes a gas cylinder data detection module 501, which is configured to detect the gas cylinder data of the on-vehicle gas cylinder before and after injecting hydrogen with a test mass flow rate for leak detection in response to the connection signal of the on-vehicle gas cylinder, so as to calculate the first estimated volume of the on-vehicle gas cylinder according to the gas cylinder data. The gas cylinder data includes temperature data, pressure data, and mass flow rate data. The device 500 further includes a weight setting module 502, which is configured to determine the standard volume closest to the first estimated volume, sort the volume differences between the standard volume and each second estimated volume in the historical calculation data, and set weights for each volume difference respectively, so as to calculate the weighted average value between each second estimated volume based on the weights. In addition, the device 500 further includes a gas cylinder state determination module 503, which is configured to determine the gas cylinder state of the on-vehicle gas cylinder based on the relative deviation value between the first estimated volume and the weighted average value.
[0030] The device further includes a filling amount determination module, which is configured to determine the test mass flow rate based on the historical filling times of the on-vehicle gas cylinder, and the test mass flow rate is negatively correlated with the historical filling times.
[0031] The weight setting module 502 includes an interval selection unit, which is configured to determine the data selection interval of the historical calculation data based on the historical filling times, and the time range of data generation covered by the data selection interval shrinks as the historical filling times increase. The weight setting module 502 further includes a volume difference sorting unit, which is configured to sort the volume differences between the standard volume and each second estimated volume in the data selection interval, and set weights for each volume difference respectively.
[0032] The gas cylinder state determination module 503 includes a state threshold determination unit, which is configured to determine the state threshold of the on-vehicle gas cylinder based on the historical filling times. The gas cylinder state determination module 503 further includes a first determination unit, which is configured to determine that the gas cylinder state of the on-vehicle gas cylinder is abnormal in response to the relative deviation value being greater than the state threshold. The gas cylinder state determination module 503 further includes a second determination unit, which is configured to determine that the gas cylinder state of the on-vehicle gas cylinder is normal in response to the relative deviation value not being greater than the state threshold.
[0033] The device further includes a secondary test module, which is configured to adjust the test mass flow rate to the maximum value in the selection range of the test mass flow rate in response to the test mass flow rate being less than the mass flow rate threshold and the gas cylinder state being characterized as abnormal, so as to re-determine the gas cylinder state according to the adjusted test mass flow rate.
[0034] The device further includes a volume change trend determination module, which is configured to determine the volume change trend of the on-vehicle gas cylinder based on the historical calculation data in response to the gas cylinder state being normal. The device further includes a first state determination module, which is configured to determine that the gas cylinder state is abnormal in response to the volume change trend being characterized as a continuous decrease in volume and the single decrease value being greater than the preset decrease threshold.
[0035] The device further includes a second state determination module, configured to reduce the state threshold for determining the cylinder state based on a preset ratio in response to the volume change trend being characterized as a continuous decrease in volume.
[0036] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this specification are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., Digital Versatile Disc (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), etc.
[0037] Figure 6 A block diagram of an electronic device 600 in which multiple embodiments of the present disclosure can be implemented is shown. As Figure 6 shown, the electronic device 600 includes a processor 610, a disk drive 620, an input / input interface 630, a network interface 640, and a memory 650. Communication connections can be made between the above-mentioned processor 610, disk drive 620, input / input interface 630, network interface 640, and the memory 650 through a communication bus 660.
[0038] Among them, the processor 610 can be implemented in ways such as a general-purpose CPU, a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in this application.
[0039] The memory 650 can be implemented in the form of ROM (Read Only Memory), RAM (Read Access Memory), static memory, dynamic storage devices, etc. The memory 650 can store the operating system 651 for controlling the operation of the electronic device 600, and the basic input / output system (BIOS) 652 for controlling the low-level operations of the electronic device 600. Additionally, it can also store a web browser 653, a data storage management system 654, etc. In short, when implementing the technical solution provided in this application through software or firmware, the relevant program code is saved in the memory 650 and is called and executed by the processor 610.
[0040] The input / output interface 630 is used to connect to the input / output module to achieve information input and output. The input / output module can be configured as a component in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Among them, the input devices can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices can include a display, a speaker, a vibrator, a warning light, etc.
[0041] The network interface 640 is used to connect to a communication module (not shown in the figure) to achieve communication and interaction between the device and other devices. Among them, the communication module can achieve communication through wired means (such as USB, network cable, etc.) or through wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0042] The bus 660 includes a path for transmitting information between various components of the device (such as the processor 610, the disk drive 620, the input / input interface 630, the network interface 640, and the memory 650).
[0043] It should be noted that although the above device only shows the processor 610, the disk drive 620, the input / input interface 630, the network interface 640, the memory 650, the bus 660, etc., in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may only include the components necessary to implement the method of this application and does not necessarily include all the components shown in the figure.
[0044] The program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program codes cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program codes may be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0045] In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. Additionally, although the operations are depicted in a particular order, this should be understood to require that the operations be performed in the particular order shown or in a sequential order, or that all illustrated operations be performed to achieve the desired result. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented separately or in any suitable sub-combination in multiple implementations.
[0046] Although the subject matter has been described in language specific to structural features and / or methodological acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A leakage detection method for vehicle-mounted gas cylinders, characterized in that, The method includes: In response to a connection signal of an on-vehicle gas cylinder, detecting cylinder data of the on-vehicle gas cylinder before and after injecting hydrogen with a test mass flow rate for leak detection, so as to calculate a first estimated volume of the on-vehicle gas cylinder according to the cylinder data, where the cylinder data includes temperature data, pressure data, and mass flow rate data; Determining a standard volume closest to the first estimated volume, sorting volume differences between the standard volume and each second estimated volume in historical calculation data, and setting weights for each of the volume differences respectively, so as to calculate a weighted average between each of the second estimated volumes based on the weights; and Based on a relative deviation value between the first estimated volume and the weighted average, determining the cylinder state of the on-vehicle gas cylinder.
2. The method according to claim 1, wherein The method further includes: Based on the historical filling times of the on-vehicle gas cylinder, determining the test mass flow rate, where the test mass flow rate is positively correlated with the historical filling times.
3. The method according to claim 2, wherein The sorting the volume differences between the standard volume and each second estimated volume in historical calculation data and setting weights for each of the volume differences respectively includes: Determining a data selection interval of the historical calculation data based on the historical filling times, where a time range covered by the data selection interval shrinks as the historical filling times increase; and Sorting the volume differences between the standard volume and each second estimated volume in the data selection interval, and setting weights for each of the volume differences respectively.
4. The method according to claim 2, wherein The determining the cylinder state of the on-vehicle gas cylinder includes: Determining a state threshold of the on-vehicle gas cylinder based on the historical filling times; In response to the relative deviation value being greater than the state threshold, determining that the cylinder state of the on-vehicle gas cylinder is abnormal; and In response to the relative deviation value not being greater than the state threshold, determining that the cylinder state of the on-vehicle gas cylinder is normal.
5. The method according to claim 1 or 2, characterized in that, The method further includes: In response to the test mass flow rate being less than a mass flow rate threshold and the cylinder state being characterized as abnormal, adjusting the test mass flow rate to the maximum value in a selection range of the test mass flow rate, so as to re-determine the cylinder state according to the adjusted test mass flow rate.
6. The method according to claim 1, characterized in that The method further includes: In response to the cylinder state being normal, determining a volume change trend of the on-vehicle gas cylinder based on the historical calculation data; In response to the volume change trend being characterized as continuous volume decrease and each single decrease value being greater than a preset decrease threshold, determining that the cylinder state is abnormal.
7. The method according to claim 6, characterized in that, The method further includes: In response to the volume change trend being characterized as continuous volume decrease, reducing the state threshold for determining the cylinder state based on a preset ratio.
8. A leakage detection device for vehicle-mounted gas cylinders, characterized in that, The device includes: A cylinder data detection module configured to, in response to a connection signal of an on-vehicle gas cylinder, detect cylinder data of the on-vehicle gas cylinder before and after injecting hydrogen with a test mass flow rate for leak detection, so as to calculate a first estimated volume of the on-vehicle gas cylinder according to the cylinder data, where the cylinder data includes temperature data, pressure data, and mass flow rate data; A weight setting module, configured to determine a standard volume closest to the first estimated volume, sort based on volume differences between the standard volume and each second estimated volume in historical calculation data, set weights for each of the volume differences, so as to calculate a weighted average between each of the second estimated volumes based on the weights; and A gas cylinder state determination module, configured to determine the gas cylinder state of the vehicle-mounted gas cylinder based on a relative deviation value between the first estimated volume and the weighted average.
9. An electronic device, comprising: One or more processors, and A memory associated with the one or more processors, the memory being used to store program instructions, and when the program instructions are read and executed by the one or more processors, the steps of the method according to any one of claims 1-7 are executed.
10. A computer program product, comprising a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1-7 is implemented.
Citation Information
Patent Citations
Gas filling method
CN110319343A
Vehicle hydrogen filling leakage detection system and method
CN112484935A
Method and equipment for detecting hydrogen storage cylinder
CN113251310A
Gas storage device
CN113513699A
Oxygen filling and leakage detecting integrated device
CN222880879U