Hydrogen online detection method, device and medium

By employing an online hydrogen detection method, multiple tests and comparisons of hydrogen were conducted using a gas chromatograph and a dew point meter. Combined with historical data analysis, the problem of quality changes during hydrogen transportation was solved, enabling dynamic monitoring of hydrogen quality and optimization of detection strategies at hydrogen refueling stations, thereby improving detection accuracy.

CN120275584BActive Publication Date: 2026-04-21CHINA NAT INST OF STANDARDIZATION
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA NAT INST OF STANDARDIZATION
Filing Date
2025-04-18
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In existing technologies, the dynamic quality changes of hydrogen during transportation are not monitored in real time, resulting in inaccurate hydrogen quality detection.

Method used

An online hydrogen detection method was adopted, which involves multiple purity and moisture tests on hydrogen samples using a gas chromatograph and a dew point meter. Combined with historical data analysis, this method enables real-time monitoring and comparison of hydrogen purity and moisture content, and determines the detection strategy.

Benefits of technology

This enables dynamic monitoring of hydrogen quality, avoids quality anomalies during transportation, improves the accuracy of hydrogen detection, and optimizes the online detection strategy for hydrogen refueling stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120275584B_ABST
    Figure CN120275584B_ABST
Patent Text Reader

Abstract

This invention discloses an online hydrogen detection method, equipment, and medium, relating to the field of hydrogen detection. It addresses the problem of inaccurate hydrogen quality assessments at current hydrogen refueling stations that ignore the dynamic changes of hydrogen during transportation. The method includes: obtaining a purity index of the hydrogen to be detected based on its intended use; performing a preliminary purity test on the hydrogen before transportation to obtain a purity test result; performing a secondary purity test on the hydrogen before transportation to obtain a secondary purity test result; performing a purity test on the hydrogen after transportation to obtain a purity test result; and intelligently comparing the purity of the hydrogen before and after transportation to obtain the purity change. This invention detects the quality of hydrogen before and after transportation, avoiding hydrogen quality abnormalities caused by transportation factors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of hydrogen detection technology, specifically a method, equipment, and medium for online hydrogen detection. Background Technology

[0002] Hydrogen is an elemental form of hydrogen. At room temperature and pressure, hydrogen is a colorless, odorless, tasteless, non-toxic, highly flammable, and sparingly soluble gas in water. With a density of 0.089 g / L, approximately 1 / 14 the density of air, it is the least dense known gas. Industrially, hydrogen is generally produced from natural gas or water gas, and the resulting hydrogen is widely used in cracking reactions in the petrochemical industry, as well as in the production of ammonia. With the widespread use of hydrogen, quality testing of hydrogen is becoming increasingly essential.

[0003] Currently, when assessing the quality of hydrogen at hydrogen refueling stations, quality checks are typically conducted at fixed points such as during hydrogen assembly or upon arrival at the refueling station. This ignores the dynamic changes of hydrogen during transportation, leading to inaccurate hydrogen quality.

[0004] Therefore, this invention proposes an online hydrogen detection method, equipment, and medium. Summary of the Invention

[0005] The purpose of this invention is to provide an online hydrogen detection method, device, and medium to solve the problems mentioned in the background art.

[0006] The objective of this invention can be achieved through the following technical solutions:

[0007] A method for online detection of hydrogen, the method comprising:

[0008] Step S1: Based on the intended use of the hydrogen gas to be tested, obtain the purity index of the hydrogen gas to be tested.

[0009] Step S2: Perform a preliminary purity test on the hydrogen gas to be tested before transportation to obtain the purity test result of the hydrogen gas to be tested before transportation.

[0010] Step S3: Perform a secondary purity test on the hydrogen gas to be tested before transportation to obtain the test results of the secondary purity test;

[0011] Step S4: Perform purity testing on the hydrogen gas to be tested after transportation to obtain the purity test result of the hydrogen gas to be tested after transportation.

[0012] Step S5: Intelligently compare the purity of the hydrogen to be tested before and after transportation to obtain the change in purity of the hydrogen to be tested before and after transportation.

[0013] Further, step S2 includes the following sub-steps:

[0014] Step S21: Before sampling, rinse the sampling container several times with the hydrogen to be tested to ensure that the sampling container is clean and collect a fixed volume of hydrogen to be tested as multiple hydrogen samples.

[0015] Step S22: Number the hydrogen samples and inject them into the gas chromatograph in ascending order of number.

[0016] Step S23: Hydrogen and impurity gases are separated by a chromatographic column, and then multiple hydrogen samples are detected using a detection device.

[0017] Step S24: Calculate the real-time hydrogen purity and impurity gas content of multiple hydrogen samples based on the peak area.

[0018] Step S25: If the real-time hydrogen purity of multiple hydrogen samples is greater than or equal to the purity index, proceed to the next step.

[0019] Step S26: If the real-time hydrogen purity of any hydrogen sample is less than the purity index, a quality inspection failure signal is generated.

[0020] Further, step S3 includes the following sub-steps:

[0021] Step S31: Pass the remaining hydrogen samples into the dew point meter in ascending order of their numerical numbers;

[0022] Step S32, then measure the dew point temperature of multiple hydrogen samples in the dew point meter;

[0023] Step S33: Calculate the real-time moisture content of multiple hydrogen samples based on the dew point temperature;

[0024] Step S34: If the real-time moisture content of the hydrogen sample is less than or equal to the moisture content index, a quality inspection pass signal is generated.

[0025] Step S35: If the real-time moisture content of any group of hydrogen samples is greater than the moisture content index, a quality inspection failure signal is generated.

[0026] Further, step S4 includes the following sub-steps:

[0027] Step S41: Perform preliminary purity testing on the transported hydrogen gas to be tested according to steps S21 to S26 to obtain the real-time hydrogen purity of the hydrogen sample corresponding to the transported hydrogen gas to be tested.

[0028] Step S42: If the real-time hydrogen purity of all hydrogen samples corresponding to the hydrogen to be tested after transportation is greater than or equal to the purity index, then proceed to the next step.

[0029] If the real-time hydrogen purity of any hydrogen sample corresponding to the hydrogen to be tested after transportation is less than the purity index, a quality inspection failure signal will be generated.

[0030] Step S43: Perform a second purity test on the hydrogen gas to be tested after transportation according to steps S31 to S35 to obtain the real-time moisture content of the hydrogen gas sample to be tested after transportation.

[0031] Step S44: If the real-time moisture content of all hydrogen samples to be tested after transportation is less than or equal to the moisture content index, proceed to the next step.

[0032] If the real-time moisture content of any hydrogen sample corresponding to the hydrogen to be tested after transportation exceeds the moisture content index, a quality inspection failure signal will be generated.

[0033] Further, step S5 includes the following sub-steps:

[0034] Step S51: Obtain the real-time hydrogen purity of multiple hydrogen samples before transportation, and sum and average the real-time hydrogen purity of multiple hydrogen samples to obtain the first average hydrogen purity of the hydrogen samples before transportation.

[0035] Similarly, the real-time hydrogen purity of the hydrogen sample to be tested after transportation is obtained, and the average value of the real-time hydrogen purity of multiple hydrogen samples is obtained by summing the real-time hydrogen purity of the hydrogen samples after transportation.

[0036] Step S52: Compare the first average hydrogen purity value with the second average hydrogen purity value;

[0037] If the purity of the second hydrogen gas is greater than or equal to the average purity of the first hydrogen gas, no operation will be performed.

[0038] If the purity of the second hydrogen gas is less than the average purity of the first hydrogen gas, the purity change of the hydrogen sample to be tested after transportation is obtained by subtracting the purity of the second hydrogen gas from the average purity of the first hydrogen gas.

[0039] Step S53: If the purity change value is greater than or equal to the purity change threshold, a purity anomaly signal is generated.

[0040] If the change in purity is less than the purity change threshold, proceed to the next step;

[0041] Step S54, similarly, obtain the real-time moisture content of multiple hydrogen samples before transportation, add up the real-time moisture content of multiple hydrogen samples, take the average value, and then obtain the first average moisture content of the hydrogen samples before transportation.

[0042] Similarly, the real-time moisture content of the hydrogen sample to be tested after transportation is obtained, and the average of the real-time moisture content of multiple hydrogen samples is obtained by summing the real-time moisture content of the samples after transportation.

[0043] Step S55: Compare the first average moisture content with the second average moisture content;

[0044] If the average second moisture content is less than or equal to the average first moisture content, no action is taken.

[0045] If the average second moisture content is greater than the average first moisture content, the moisture change value of the hydrogen sample to be tested after transportation is obtained by subtracting the average second moisture content from the average first moisture content.

[0046] Step S56: If the moisture change value is greater than or equal to the moisture change threshold, a purity anomaly signal is generated.

[0047] If the change in moisture content is less than the moisture change threshold, a normal purity signal is generated.

[0048] Furthermore, online hydrogen detection methods also include:

[0049] Step S6: Obtain historical refueling data and historical detection data of the hydrogen refueling station, and perform data analysis on the hydrogen refueling station based on the historical refueling data and historical detection data; wherein, the historical refueling data is the daily hydrogen storage volume of the hydrogen refueling station in the previous month, as well as the daily refueling frequency and the amount of hydrogen refueled each time in the previous month; the historical detection data is the historical online detection frequency and the historical online detection anomaly frequency of the hydrogen refueling station;

[0050] Step S7: Calculate the online detection value of the hydrogen refueling station by combining the day anomaly rate and the online detection anomaly rate, determine the detection strategy of the hydrogen refueling station based on the online detection value, and conduct online detection of the hydrogen refueling station.

[0051] Further, step S6 includes the following sub-steps:

[0052] Step S61: Obtain the daily number of refuelings and the amount of hydrogen refueling at each refueling in the previous month. Sum the amounts of hydrogen refueling at each refueling to obtain the daily hydrogen refueling amount of the hydrogen refueling station.

[0053] Step S62: Then obtain the daily hydrogen storage of the hydrogen refueling station for the previous month, and subtract the daily hydrogen storage of the current day from the daily hydrogen storage of the previous day to obtain the daily hydrogen consumption of the hydrogen refueling station.

[0054] Step S63: Based on time, obtain the daily hydrogen consumption and daily hydrogen refueling volume of the hydrogen refueling station on the same day;

[0055] If the daily hydrogen consumption equals the daily hydrogen refueling amount, no action is taken; if the daily hydrogen consumption does not equal the daily hydrogen refueling amount, proceed to the next step.

[0056] Step S64: If the daily hydrogen consumption is less than the daily hydrogen refueling amount, an abnormal alarm signal is generated.

[0057] If the daily hydrogen consumption is greater than the daily hydrogen refueling, the daily hydrogen deviation of the hydrogen refueling station is obtained by subtracting the daily hydrogen refueling from the daily hydrogen consumption. If the daily hydrogen deviation is less than or equal to the normal hydrogen loss, no operation is performed. If the daily hydrogen deviation is greater than the normal hydrogen loss, that day of the month is recorded as an abnormal day.

[0058] Step S65: Count the number of abnormal days and compare them with the number of days in the current month to obtain the abnormal day rate of hydrogen refueling stations;

[0059] Step S66: Obtain the historical number of online detections and the historical number of online detection anomalies of the hydrogen refueling station. Compare the historical number of online detection anomalies with the historical number of online detections to obtain the online detection anomaly rate of the hydrogen refueling station.

[0060] Further, step S7 includes the following sub-steps:

[0061] Step S71: Obtain the abnormal rate of days and the abnormal rate of online detection for hydrogen refueling stations;

[0062] Step S72: Calculate the online detection values ​​of the hydrogen refueling station;

[0063] Step S73: If the online detection value is less than the first online detection threshold, the hydrogen refueling station will execute the third detection strategy.

[0064] If the online detection value is greater than or equal to the first online detection threshold and less than the second online detection threshold, the hydrogen refueling station will implement the second detection strategy.

[0065] If the online detection value is greater than or equal to the second online detection threshold, the hydrogen refueling station will execute the first detection strategy.

[0066] Among them, the second online detection threshold is greater than the first online detection threshold, the detection strength of the first detection strategy is higher than the detection strength of the second detection strategy, and the detection strength of the second detection strategy is higher than the detection strength of the third detection strategy. The detection strategy specifically includes: the number of detection points and the detection interval duration. Generally, the higher the detection strength, the shorter the detection interval duration, and the more detection points.

[0067] Secondly, an electronic device, the electronic device comprising:

[0068] A memory that stores a computer program;

[0069] The processor is communicatively connected to the memory. When the computer program is executed by the processor, the online hydrogen detection method is implemented.

[0070] Thirdly, a computer-readable storage medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the aforementioned online hydrogen detection method.

[0071] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0072] 1. This invention, based on the intended use of the hydrogen to be tested, obtains the purity index of the hydrogen. First, a preliminary purity test is performed on the hydrogen to be tested before transportation to obtain the purity test result before transportation. Second, a second purity test is performed on the hydrogen to be tested before transportation to obtain the second purity test result, thus realizing the quality test of the hydrogen before transportation. Simultaneously, the purity test is performed on the hydrogen to be tested after transportation to obtain the purity test result after transportation. The purity of the hydrogen to be tested before and after transportation is intelligently compared to obtain the purity change of the hydrogen to be tested before and after transportation. This invention detects the quality of hydrogen before and after transportation, avoiding abnormal hydrogen quality due to transportation factors.

[0073] 2. This invention analyzes historical refueling and detection data of hydrogen refueling stations to obtain the day anomaly rate and online detection anomaly rate. Then, it calculates the online detection value of the hydrogen refueling station by combining the day anomaly rate and the online detection anomaly rate, determines the detection strategy of the hydrogen refueling station based on the online detection value, and conducts online detection of the hydrogen refueling station through the detection strategy. This invention combines historical hydrogen refueling data and historical detection data of hydrogen refueling stations to intelligently set the online detection criteria for hydrogen in hydrogen refueling stations, thereby improving the accuracy of online hydrogen detection. Attached Figure Description

[0074] To facilitate understanding by those skilled in the art, the present invention will be further described below with reference to the accompanying drawings.

[0075] Figure 1 This is a flowchart of the method corresponding to Embodiment 1 of the present invention;

[0076] Figure 2 This is a flowchart of the method for the sub-step corresponding to step S3 in this invention;

[0077] Figure 3 This is a flowchart of the method corresponding to Embodiment 2 of the present invention;

[0078] Figure 4 This is a schematic diagram of the electronic device in this invention. Detailed Implementation

[0079] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0080] Example 1, please refer to Figure 1 and Figure 2 As shown, the technical solution provided by this invention is: an online hydrogen detection method for detecting the quality of hydrogen at hydrogen refueling stations, the method comprising:

[0081] Step S1: Based on the intended use of the hydrogen gas to be tested, obtain the purity index of the hydrogen gas to be tested.

[0082] Specifically, when the hydrogen is used for fuel cells, the purity of the hydrogen to be tested is ≥99.97%. When the hydrogen is used for industrial purposes, the purity requirement is relatively lower, but the impurity content still needs to be controlled. When the hydrogen is used for laboratory purposes, the purity of the hydrogen to be tested is ≥99.999%, depending on the experimental requirements.

[0083] Step S2: Perform a preliminary purity test on the hydrogen gas to be tested before transportation to obtain the purity test result of the hydrogen gas to be tested before transportation.

[0084] In this embodiment, step S2 includes the following sub-steps:

[0085] Step S21: Before sampling, rinse the sampling container several times with the hydrogen to be tested to ensure that the sampling container is clean and collect a fixed volume of hydrogen to be tested as multiple hydrogen samples.

[0086] Specifically, there are multiple groups of hydrogen samples, and each group of hydrogen samples has the same volume. The sampling container can actually be a stainless steel gas cylinder or a gas bag.

[0087] Step S22: Number the hydrogen samples and inject them into the gas chromatograph in ascending order of number.

[0088] In practice, half of the hydrogen sample can be tested for initial purity, and the remaining hydrogen sample can be tested for purity later.

[0089] Step S23: Hydrogen and impurity gases are separated by a chromatographic column, and then multiple hydrogen samples are detected using a detection device.

[0090] Among them, the impurity gases are oxygen, nitrogen, carbon monoxide, carbon dioxide, etc. The detection equipment can actually be a thermal conductivity detector or a flame ionization detector.

[0091] Step S24: Calculate the real-time hydrogen purity and impurity gas content of multiple hydrogen samples based on the peak area.

[0092] Step S25: If the real-time hydrogen purity of multiple hydrogen samples is greater than or equal to the purity index, proceed to the next step.

[0093] Step S26: If the real-time hydrogen purity of any hydrogen sample is less than the purity index, a quality inspection failure signal is generated.

[0094] Step S3: Perform a secondary purity test on the hydrogen gas to be tested before transportation to obtain the test results of the secondary purity test;

[0095] In practice, a dew point meter can be used to perform a secondary purity test on the hydrogen sample;

[0096] In this embodiment, step S3 includes the following sub-steps:

[0097] Step S31: Pass the remaining hydrogen samples into the dew point meter in ascending order of their numerical numbers;

[0098] Step S32, then measure the dew point temperature of multiple hydrogen samples in the dew point meter;

[0099] Step S33: Calculate the real-time moisture content of multiple hydrogen samples based on the dew point temperature;

[0100] It should be noted that the dew point temperature is the temperature at which air reaches saturation under constant air pressure and constant water vapor content.

[0101] Step S34: If the real-time moisture content of the hydrogen sample is less than or equal to the moisture content index, a quality inspection pass signal is generated.

[0102] Step S35: If the real-time moisture content of any group of hydrogen samples is greater than the moisture content index, a quality inspection failure signal is generated.

[0103] Step S4: Perform purity testing on the hydrogen gas to be tested after transportation to obtain the purity test result of the hydrogen gas to be tested after transportation.

[0104] In this embodiment, step S4 includes the following sub-steps:

[0105] Step S41: Perform preliminary purity testing on the transported hydrogen gas to be tested according to steps S21 to S26 to obtain the real-time hydrogen purity of the hydrogen sample corresponding to the transported hydrogen gas to be tested.

[0106] Step S42: If the real-time hydrogen purity of all hydrogen samples corresponding to the hydrogen to be tested after transportation is greater than or equal to the purity index, then proceed to the next step.

[0107] If the real-time hydrogen purity of any hydrogen sample corresponding to the hydrogen to be tested after transportation is less than the purity index, a quality inspection failure signal will be generated.

[0108] Step S43: Perform a second purity test on the hydrogen gas to be tested after transportation according to steps S31 to S35 to obtain the real-time moisture content of the hydrogen gas sample to be tested after transportation.

[0109] Step S44: If the real-time moisture content of all hydrogen samples to be tested after transportation is less than or equal to the moisture content index, proceed to the next step.

[0110] If the real-time moisture content of any hydrogen sample corresponding to the hydrogen to be tested after transportation exceeds the moisture content index, a quality inspection failure signal will be generated.

[0111] Step S5: Intelligently compare the purity of the hydrogen to be tested before and after transportation to obtain the change in purity of the hydrogen to be tested before and after transportation.

[0112] In this embodiment, step S5 includes the following sub-steps:

[0113] Step S51: Obtain the real-time hydrogen purity of multiple hydrogen samples before transportation, and sum and average the real-time hydrogen purity of multiple hydrogen samples to obtain the first average hydrogen purity of the hydrogen samples before transportation.

[0114] Similarly, the real-time hydrogen purity of the hydrogen sample to be tested after transportation is obtained, and the average value of the real-time hydrogen purity of multiple hydrogen samples is obtained by summing the real-time hydrogen purity of the hydrogen samples after transportation.

[0115] Step S52: Compare the first average hydrogen purity value with the second average hydrogen purity value;

[0116] If the purity of the second hydrogen gas is greater than or equal to the average purity of the first hydrogen gas, no operation will be performed.

[0117] If the purity of the second hydrogen gas is less than the average purity of the first hydrogen gas, the purity change of the hydrogen sample to be tested after transportation is obtained by subtracting the purity of the second hydrogen gas from the average purity of the first hydrogen gas.

[0118] Step S53: If the purity change value is greater than or equal to the purity change threshold, a purity anomaly signal is generated.

[0119] If the change in purity is less than the purity change threshold, proceed to the next step;

[0120] Step S54, similarly, obtain the real-time moisture content of multiple hydrogen samples before transportation, add up the real-time moisture content of multiple hydrogen samples, take the average value, and then obtain the first average moisture content of the hydrogen samples before transportation.

[0121] Similarly, the real-time moisture content of the hydrogen sample to be tested after transportation is obtained, and the average of the real-time moisture content of multiple hydrogen samples is obtained by summing the real-time moisture content of the samples after transportation.

[0122] Step S55: Compare the first average moisture content with the second average moisture content;

[0123] If the average second moisture content is less than or equal to the average first moisture content, no action is taken.

[0124] If the average second moisture content is greater than the average first moisture content, the moisture change value of the hydrogen sample to be tested after transportation is obtained by subtracting the average second moisture content from the average first moisture content.

[0125] Step S56: If the moisture change value is greater than or equal to the moisture change threshold, a purity anomaly signal is generated.

[0126] If the change in moisture content is less than the moisture change threshold, a normal purity signal is generated.

[0127] In this embodiment, due to the adoption of the above technical solution, based on the intended use of the hydrogen to be tested, the purity index of the hydrogen to be tested is obtained. First, a preliminary purity test is performed on the hydrogen to be tested before transportation to obtain the purity test result of the hydrogen to be tested before transportation. Then, a second purity test is performed on the hydrogen to be tested before transportation to obtain the test result of the second purity test, which can realize the quality test of hydrogen before transportation.

[0128] Meanwhile, this embodiment also performs purity testing on the hydrogen to be tested after transportation, obtains the purity test results of the hydrogen to be tested after transportation, and performs intelligent comparison of the purity of the hydrogen to be tested before and after transportation to obtain the purity change of the hydrogen to be tested before and after transportation. This invention detects the quality of hydrogen before and after transportation to avoid abnormal hydrogen quality due to transportation factors.

[0129] Example 2, as another embodiment of the present invention, please refer to Figure 3, a method for online detection of hydrogen, used to perform real-time online detection of hydrogen after it arrives at a hydrogen refueling station, the method further includes:

[0130] Step S6: Obtain historical refueling data and historical detection data of the hydrogen refueling station, and perform data analysis on the hydrogen refueling station based on the historical refueling data and historical detection data;

[0131] It should be noted that the historical refueling data includes the daily hydrogen storage volume of the hydrogen refueling station in the previous month, as well as the daily refueling frequency and the amount of hydrogen refueled each time. The daily hydrogen refueling volume is measured at a fixed time each day, such as after the hydrogen refueling station closes on the same day, at 23:00. The historical detection data includes the historical number of online detections and the historical number of online detection anomalies. Here, online detection anomalies refer to abnormal hydrogen quality within the hydrogen refueling station.

[0132] In this embodiment, step S6 includes the following sub-steps:

[0133] Step S61: Obtain the daily number of refuelings and the amount of hydrogen refueling at each refueling in the previous month. Sum the amounts of hydrogen refueling at each refueling to obtain the daily hydrogen refueling amount of the hydrogen refueling station.

[0134] Step S62: Then obtain the daily hydrogen storage of the hydrogen refueling station for the previous month, and subtract the daily hydrogen storage of the current day from the daily hydrogen storage of the previous day to obtain the daily hydrogen consumption of the hydrogen refueling station.

[0135] Step S63: Based on time, obtain the daily hydrogen consumption and daily hydrogen refueling volume of the hydrogen refueling station on the same day;

[0136] If the daily hydrogen consumption equals the daily hydrogen refueling amount, no action is taken; if the daily hydrogen consumption does not equal the daily hydrogen refueling amount, proceed to the next step.

[0137] Step S64: If the daily hydrogen consumption is less than the daily hydrogen refueling amount, an abnormal alarm signal is generated.

[0138] If the daily hydrogen consumption is greater than the daily hydrogen refueling, the daily hydrogen deviation of the hydrogen refueling station is obtained by subtracting the daily hydrogen refueling from the daily hydrogen consumption. If the daily hydrogen deviation is less than or equal to the normal hydrogen loss, no operation is performed. If the daily hydrogen deviation is greater than the normal hydrogen loss, that day of the month is recorded as an abnormal day.

[0139] Step S65: Count the number of abnormal days and compare them with the number of days in the current month to obtain the abnormal day rate of hydrogen refueling stations;

[0140] Step S66: Obtain the historical number of online detections and the historical number of online detection anomalies of the hydrogen refueling station. Compare the historical number of online detection anomalies with the historical number of online detections to obtain the online detection anomaly rate of the hydrogen refueling station.

[0141] Step S7: Calculate the online detection value of the hydrogen refueling station by combining the day anomaly rate and the online detection anomaly rate, determine the detection strategy of the hydrogen refueling station based on the online detection value, and conduct online detection of the hydrogen refueling station;

[0142] In this embodiment, step S7 includes the following sub-steps:

[0143] Step S71: Obtain the day anomaly rate and online detection anomaly rate of the hydrogen refueling station calculated above;

[0144] Step S72: Substitute the day anomaly rate and the online detection anomaly rate into the formula for numerical calculation to obtain the online detection value of the hydrogen refueling station. The specific formula is as follows:

[0145] Online detection value = Day anomaly rate × First weighting coefficient + Online detection anomaly rate × Second weighting coefficient, where the first weighting coefficient is greater than the second weighting coefficient;

[0146] In practice, the first weighting coefficient can be 0.6, and the second weighting coefficient can be 0.4;

[0147] Step S73: If the online detection value is less than the first online detection threshold, the hydrogen refueling station will execute the third detection strategy.

[0148] If the online detection value is greater than or equal to the first online detection threshold and less than the second online detection threshold, the hydrogen refueling station will implement the second detection strategy.

[0149] If the online detection value is greater than or equal to the second online detection threshold, the hydrogen refueling station will execute the first detection strategy.

[0150] Among them, the second online detection threshold is greater than the first online detection threshold, the detection strength of the first detection strategy is higher than the detection strength of the second detection strategy, and the detection strength of the second detection strategy is higher than the detection strength of the third detection strategy. The detection strategy specifically includes: the number of detection points and the detection interval duration. Generally, the higher the detection strength, the shorter the detection interval duration, and the more detection points.

[0151] Example 3, as Figure 4As shown, this embodiment provides an electronic device that may include a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. The processor can call logic instructions in memory to execute an online hydrogen detection method. This method includes: obtaining a purity index of the hydrogen to be detected based on its intended use; performing a preliminary purity test on the hydrogen before transportation to obtain a purity test result; performing a secondary purity test on the hydrogen before transportation to obtain a secondary purity test result; performing a purity test on the hydrogen after transportation to obtain a purity test result; intelligently comparing the purity of the hydrogen before and after transportation to obtain a purity change; acquiring historical refueling data and historical detection data from the hydrogen refueling station, and performing data analysis on the hydrogen refueling station based on the historical refueling data and historical detection data; calculating the online detection value of the hydrogen refueling station by combining the day anomaly rate and the online detection anomaly rate, determining the detection strategy of the hydrogen refueling station based on the online detection value, and performing online detection on the hydrogen refueling station.

[0152] Furthermore, the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0153] Example 4: This application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute a hydrogen online detection method provided by the methods described above. This method includes: obtaining a purity index of the hydrogen to be detected based on its intended use; performing a preliminary purity test on the hydrogen to be detected before transportation to obtain a purity test result for the hydrogen to be detected before transportation; and performing a secondary purity test on the hydrogen to be detected before transportation. The system obtains the results of secondary purity testing; it also performs purity testing on the hydrogen gas after transportation, obtaining the purity test results; it intelligently compares the purity of the hydrogen gas before and after transportation, obtaining the purity change; it acquires historical refueling data and historical testing data of the hydrogen refueling station, and performs data analysis on the hydrogen refueling station based on the historical refueling data and historical testing data; it calculates the online testing value of the hydrogen refueling station by combining the day anomaly rate and the online testing anomaly rate, determines the testing strategy of the hydrogen refueling station based on the online testing value, and performs online testing on the hydrogen refueling station.

[0154] In embodiment five, this application also provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program is implemented to perform one of the above-described online hydrogen detection methods. The method includes: obtaining a purity index of the hydrogen to be detected based on its intended use; performing a preliminary purity test on the hydrogen to be detected before transportation to obtain a purity test result for the hydrogen to be detected before transportation; performing a secondary purity test on the hydrogen to be detected before transportation to obtain a secondary purity test result; performing a purity test on the hydrogen to be detected after transportation to obtain a purity test result for the hydrogen to be detected after transportation; intelligently comparing the purity of the hydrogen to be detected before and after transportation to obtain a purity change in the hydrogen to be detected before and after transportation; acquiring historical refueling data and historical detection data of the hydrogen refueling station, and performing data analysis on the hydrogen refueling station based on the historical refueling data and historical detection data; calculating the online detection value of the hydrogen refueling station by combining the day anomaly rate and the online detection anomaly rate, determining the detection strategy of the hydrogen refueling station based on the online detection value, and performing online detection on the hydrogen refueling station.

[0155] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0156] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0157] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for online detection of hydrogen, characterized in that, The methods include: Step S1: Based on the intended use of the hydrogen gas to be tested, obtain the purity index of the hydrogen gas to be tested. Step S2: Perform a preliminary purity test on the hydrogen gas to be tested before transportation to obtain the purity test results of the hydrogen gas to be tested before transportation. Step S2 specifically includes: separating hydrogen and impurity gases from multiple hydrogen samples, then calculating the real-time hydrogen purity of the hydrogen samples, and determining whether they are qualified based on the comparison between the real-time hydrogen purity and the purity index. Step S3: Perform a secondary purity test on the hydrogen gas to be tested before transportation, and obtain the test results of the secondary purity test: Step S3 specifically includes: measuring the dew point temperature of the hydrogen sample that passed the initial inspection in the dew point meter, calculating the real-time moisture content of the hydrogen sample based on the dew point temperature, and determining whether it is qualified based on the comparison between the real-time moisture content and the moisture content index. Step S4: Perform purity testing on the hydrogen gas to be tested after transportation to obtain the purity test result of the hydrogen gas to be tested after transportation. Step S4 specifically includes: detecting the real-time hydrogen purity of the hydrogen sample corresponding to the hydrogen to be tested after transportation, and determining whether the real-time hydrogen purity of the hydrogen to be tested after transportation is qualified based on the purity index. If qualified, detecting the real-time moisture content of the hydrogen sample corresponding to the hydrogen to be tested after transportation, and determining whether the hydrogen to be tested after transportation is qualified based on the comparison result between the real-time moisture content and the moisture content index. Step S5: Intelligently compare the purity of the hydrogen to be tested before and after transportation to obtain the change in purity of the hydrogen to be tested before and after transportation. Step S5 specifically includes: comparing the average hydrogen purity of hydrogen samples before and after transportation, and determining whether the hydrogen samples are abnormal based on the change in purity. If they are not abnormal, comparing the average moisture content of hydrogen samples before and after transportation, and determining whether the hydrogen samples are qualified based on the change in moisture content.

2. The online hydrogen detection method according to claim 1, characterized in that, Step S2 includes the following sub-steps: Step S21: Before sampling, rinse the sampling container several times with the hydrogen to be tested to ensure that the sampling container is clean and collect a fixed volume of hydrogen to be tested as multiple hydrogen samples. Step S22: Number the hydrogen samples and inject them into the gas chromatograph in ascending order of number. Step S23: Hydrogen and impurity gases are separated by a chromatographic column, and then multiple hydrogen samples are detected using a detection device. Step S24: Calculate the real-time hydrogen purity and impurity gas content of multiple hydrogen samples based on the peak area. Step S25: If the real-time hydrogen purity of multiple hydrogen samples is greater than or equal to the purity index, proceed to the next step. Step S26: If the real-time hydrogen purity of any hydrogen sample is less than the purity index, a quality inspection failure signal is generated.

3. The online hydrogen detection method according to claim 2, characterized in that, Step S3 includes the following sub-steps: Step S31: Pass the remaining hydrogen samples into the dew point meter in ascending order of their numerical numbers; Step S32, then measure the dew point temperature of multiple hydrogen samples in the dew point meter; Step S33: Calculate the real-time moisture content of multiple hydrogen samples based on the dew point temperature; Step S34: If the real-time moisture content of the hydrogen sample is less than or equal to the moisture content index, a quality inspection pass signal is generated. Step S35: If the real-time moisture content of any group of hydrogen samples is greater than the moisture content index, a quality inspection failure signal is generated.

4. The online hydrogen detection method according to claim 3, characterized in that, Step S4 includes the following sub-steps: Step S41: Perform preliminary purity testing on the transported hydrogen gas to be tested according to steps S21 to S26 to obtain the real-time hydrogen purity of the hydrogen sample corresponding to the transported hydrogen gas to be tested. Step S42: If the real-time hydrogen purity of all hydrogen samples corresponding to the hydrogen to be tested after transportation is greater than or equal to the purity index, then proceed to the next step. If the real-time hydrogen purity of any hydrogen sample corresponding to the hydrogen to be tested after transportation is less than the purity index, a quality inspection failure signal will be generated. Step S43: Perform a second purity test on the hydrogen gas to be tested after transportation according to steps S31 to S35 to obtain the real-time moisture content of the hydrogen gas sample to be tested after transportation. Step S44: If the real-time moisture content of all hydrogen samples to be tested after transportation is less than or equal to the moisture content index, proceed to the next step. If the real-time moisture content of any hydrogen sample corresponding to the hydrogen to be tested after transportation exceeds the moisture content index, a quality inspection failure signal will be generated.

5. The online hydrogen detection method according to claim 4, characterized in that, Step S5 includes the following sub-steps: Step S51: Obtain the real-time hydrogen purity of multiple hydrogen samples before transportation, and sum and average the real-time hydrogen purity of multiple hydrogen samples to obtain the first average hydrogen purity of the hydrogen samples before transportation. Similarly, the real-time hydrogen purity of the hydrogen sample to be tested after transportation is obtained, and the average value of the real-time hydrogen purity of multiple hydrogen samples is obtained by summing the real-time hydrogen purity of the hydrogen samples after transportation. Step S52: Compare the first average hydrogen purity value with the second average hydrogen purity value; If the purity of the second hydrogen gas is greater than or equal to the average purity of the first hydrogen gas, no operation will be performed. If the purity of the second hydrogen gas is less than the average purity of the first hydrogen gas, the purity change of the hydrogen sample to be tested after transportation is obtained by subtracting the purity of the second hydrogen gas from the average purity of the first hydrogen gas. Step S53: If the purity change value is greater than or equal to the purity change threshold, a purity anomaly signal is generated. If the change in purity is less than the purity change threshold, proceed to the next step; Step S54, similarly, obtain the real-time moisture content of multiple hydrogen samples before transportation, add up the real-time moisture content of multiple hydrogen samples, take the average value, and then obtain the first average moisture content of the hydrogen samples before transportation. Similarly, the real-time moisture content of the hydrogen sample to be tested after transportation is obtained, and the average value of the real-time moisture content of multiple hydrogen samples is obtained by summing the real-time moisture content of the samples after transportation. Step S55: Compare the first average moisture content with the second average moisture content; If the average second moisture content is less than or equal to the average first moisture content, no action is taken. If the average second moisture content is greater than the average first moisture content, the moisture change value of the hydrogen sample to be tested after transportation is obtained by subtracting the average second moisture content from the average first moisture content. Step S56: If the moisture change value is greater than or equal to the moisture change threshold, a purity anomaly signal is generated. If the change in moisture content is less than the moisture change threshold, a normal purity signal is generated.

6. The online hydrogen detection method according to claim 1, characterized in that, Online hydrogen detection methods also include: Step S6: Obtain historical refueling data and historical detection data of the hydrogen refueling station, and perform data analysis on the hydrogen refueling station based on the historical refueling data and historical detection data; wherein, the historical refueling data is the daily hydrogen storage volume of the hydrogen refueling station in the previous month, as well as the daily refueling frequency and the amount of hydrogen refueled each time in the previous month; the historical detection data is the historical online detection frequency and the historical online detection anomaly frequency of the hydrogen refueling station; Step S7: Calculate the online detection value of the hydrogen refueling station by combining the day anomaly rate and the online detection anomaly rate, determine the detection strategy of the hydrogen refueling station based on the online detection value, and conduct online detection of the hydrogen refueling station.

7. The online hydrogen detection method according to claim 6, characterized in that, Step S6 includes the following sub-steps: Step S61: Obtain the daily number of refuelings and the amount of hydrogen refueling at each refueling in the previous month. Sum the amounts of hydrogen refueling at each refueling to obtain the daily hydrogen refueling amount of the hydrogen refueling station. Step S62: Then obtain the daily hydrogen storage of the hydrogen refueling station for the previous month, and subtract the daily hydrogen storage of the current day from the daily hydrogen storage of the previous day to obtain the daily hydrogen consumption of the hydrogen refueling station. Step S63: Based on time, obtain the daily hydrogen consumption and daily hydrogen refueling volume of the hydrogen refueling station on the same day; If the daily hydrogen consumption equals the daily hydrogen refueling amount, no action is taken; if the daily hydrogen consumption does not equal the daily hydrogen refueling amount, proceed to the next step. Step S64: If the daily hydrogen consumption is less than the daily hydrogen refueling amount, an abnormal alarm signal is generated. If the daily hydrogen consumption is greater than the daily hydrogen refueling, the daily hydrogen deviation of the hydrogen refueling station is obtained by subtracting the daily hydrogen refueling from the daily hydrogen consumption. If the daily hydrogen deviation is less than or equal to the normal hydrogen loss, no operation is performed. If the daily hydrogen deviation is greater than the normal hydrogen loss, that day of the month is recorded as an abnormal day. Step S65: Count the number of abnormal days and compare them with the number of days in the current month to obtain the abnormal day rate of hydrogen refueling stations; Step S66: Obtain the historical number of online detections and the historical number of online detection anomalies of the hydrogen refueling station. Compare the historical number of online detection anomalies with the historical number of online detections to obtain the online detection anomaly rate of the hydrogen refueling station.

8. The online hydrogen detection method according to claim 7, characterized in that, Step S7 includes the following sub-steps: Step S71: Obtain the abnormal rate of days and the abnormal rate of online detection for hydrogen refueling stations; Step S72: Calculate the online detection values ​​of the hydrogen refueling station; Step S73: If the online detection value is less than the first online detection threshold, the hydrogen refueling station will execute the third detection strategy. If the online detection value is greater than or equal to the first online detection threshold and less than the second online detection threshold, the hydrogen refueling station will implement the second detection strategy. If the online detection value is greater than or equal to the second online detection threshold, the hydrogen refueling station will execute the first detection strategy. Among them, the second online detection threshold is greater than the first online detection threshold, the detection strength of the first detection strategy is higher than that of the second detection strategy, and the detection strength of the second detection strategy is higher than that of the third detection strategy. The detection strategy specifically includes: the number of detection points and the detection interval duration. Generally, the higher the detection strength, the shorter the detection interval duration, and the more detection points.

9. An electronic device, characterized in that, The electronic device includes: A memory that stores a computer program; The processor is communicatively connected to the memory, and when the computer program is executed by the processor, it implements the online hydrogen detection method according to any one of claims 1-8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the online hydrogen detection method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Gas purity detection method and hydrogen purity detection device of hydrogen supply system

    CN111864232A

  • Control method for realizing online detection of hydrogen quality and hydrogenation system

    CN114517889A