A hydrogen detection method, device, equipment and medium
By setting up hydrogen sensing units with different gas chambers in the hydrogen detection system and fusing signals based on time-varying weights, the sensitivity and stability issues of palladium hydrogen sensors in different concentration ranges were solved, achieving high-sensitivity and continuous hydrogen detection.
Patent Information
- Application Number
- CN202610966508.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-01
- Publication Date
- 2026-07-31
AI Technical Summary
Palladium-based resistive hydrogen sensors struggle to achieve high sensitivity in extremely low concentration ranges and remain stable under high concentration conditions, and there are also issues with discontinuous detection signal output between different hydrogen sensors.
Hydrogen sensing units located in different gas chambers are used to fuse the detection signals through time-varying weights, achieving a smooth transition of detection results and avoiding mutual interference between hydrogen sensing units.
It improves the continuity of test results output, enhances system stability and lifespan, and reduces the probability of step changes in test results.
Smart Images

Figure CN122487455A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of gas detection technology, and in particular to a method, apparatus, equipment and medium for hydrogen detection. Background Technology
[0002] In the field of hydrogen detection, hydrogen sensors typically need to simultaneously possess sufficiently high sensitivity in extremely low concentration ranges and maintain a stable and nearly linear response under high concentration conditions. However, for palladium-based resistive hydrogen sensors, these two performance requirements are often difficult to meet simultaneously in a single sensing structure. On the one hand, high-density palladium nanostructures tend to rapidly enter the response saturation region under high-concentration hydrogen environments, and may even undergo irreversible changes, limiting their effective measurement range. On the other hand, lower-density palladium nanostructures exhibit weaker response signals under low concentration conditions, making it difficult to meet sensitivity requirements. To address these issues, related technologies often employ combinations of multiple hydrogen sensors with different measurement ranges; however, the discontinuity in the output signals between different hydrogen sensors still needs improvement. Summary of the Invention
[0003] This application provides a hydrogen detection method, apparatus, device, and medium. When switching the detection signals of hydrogen sensing units located in different gas chambers as detection results, the different detection signals are fused based on the weight of time-series changes, so that the detection results can smoothly transition between different detection signals, reducing the probability of step abrupt changes in the detection results and improving the continuity of the output of the detection results.
[0004] To achieve the above objectives, the main technical solutions adopted in this application include: In a first aspect, embodiments of this application provide a hydrogen detection method applied to a hydrogen detection system. The hydrogen detection system includes a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber. The lower detection limit of the first hydrogen sensing unit is lower than the lower detection limit of the second hydrogen sensing unit, the upper detection limit of the first hydrogen sensing unit is lower than the upper detection limit of the second hydrogen sensing unit, and the upper detection limit of the first hydrogen sensing unit is higher than the lower detection limit of the second hydrogen sensing unit. The method includes: The gas to be tested is introduced into the first gas chamber and the second gas chamber, and the first concentration detection signal output by the first hydrogen sensing unit is used as the detection result. When the first concentration detection signal meets the first preset switching condition, the gas to be tested is stopped from being introduced into the first gas chamber to protect the first gas chamber. The first concentration detection signal is fused with the second concentration detection signal output by the second hydrogen sensing unit based on the weight of the time-series change to obtain the first fused signal as the detection result. When the second concentration detection signal and the first hydrogen sensing unit both meet the second preset switching condition, the gas to be tested is reintroduced into the first gas chamber, and the concentration detection signal re-output by the first sensing unit is obtained as the third concentration detection signal. The second concentration detection signal and the third concentration detection signal are then fused based on the weight of the time-series change to obtain a second fused signal as the detection result.
[0005] The hydrogen detection method proposed in this application is applied to a hydrogen detection system, including a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber. The first hydrogen sensing unit is suitable for measuring a lower concentration range, and the second hydrogen sensing unit is suitable for measuring a higher concentration range, with overlap between their measurement ranges. The gas to be tested is introduced into the first and second gas chambers respectively, and a first concentration detection signal output by the first hydrogen sensing unit is obtained as the detection result. When the first concentration detection signal meets a first preset switching condition, the introduction of the gas to be tested into the first gas chamber is stopped, and the first concentration detection signal and the second concentration detection signal output by the second hydrogen sensing unit are fused to obtain a first fused signal as the detection result. When the second concentration detection signal and the first hydrogen sensing unit together meet a second preset switching condition, the gas to be tested is reintroduced into the first gas chamber, and the second concentration detection signal and the third concentration detection signal are fused to obtain a second fused signal as the detection result. Compared with related technologies, this application acquires the concentration detection signals output by different hydrogen sensing units as detection results under different conditions. During the switching of concentration detection signals, different concentration detection signals are fused based on time-varying weights to obtain the detection result, allowing for a smooth transition between different detection signals. This reduces the probability of abrupt changes in the detection result and improves the continuity of the output. Furthermore, this application places the hydrogen sensing units in separate sealed gas chambers, enabling each hydrogen sensing unit to perform detection independently. This avoids the influence of the gas environment of any one hydrogen sensing unit on other hydrogen sensing units, thus ensuring wide-range continuous detection while achieving active isolation protection for the high-sensitivity hydrogen sensing units, improving system stability and lifespan.
[0006] Optionally, whether the first concentration detection signal meets the first preset switching condition can be determined by the following method: The rate of change of the first concentration detection signal is calculated to obtain the signal change rate of the first concentration detection signal. Based on the rate of change of the signal, the concentration of the first concentration detection signal is predicted to be changed after a preset delay time; If the predicted change concentration exceeds a first preset switching threshold, or if the signal change rate exceeds a preset change threshold, the first concentration detection signal is determined to meet the first preset switching condition.
[0007] Optionally, the weighting based on time-varying changes fuses the first concentration detection signal with the second concentration detection signal output by the second hydrogen sensing unit to obtain a first fused signal as the detection result, including: A first fusion weight is set for the first concentration detection signal, which gradually decreases over time, and a second fusion weight is set for the second concentration detection signal, which gradually increases over time; wherein, the first fusion weight becomes zero after a first preset fusion time is reached; The first concentration detection signal and the second concentration detection signal are weighted and fused based on the first fusion weight and the second fusion weight to obtain the first fused signal; wherein, after the first preset fusion time, the first fused signal contains only the second concentration detection signal.
[0008] Optionally, it can be determined whether the second concentration detection signal and the first hydrogen sensing unit both satisfy the second preset switching condition in the following way: The sensing capability recovery judgment of the first hydrogen sensing unit is performed to obtain the sensing recovery judgment result; If the second concentration detection signal is lower than the second preset switching threshold and remains so for a certain period of time, and the sensing recovery judgment result indicates that the first hydrogen sensing unit has recovered its hydrogen sensing capability, then it is determined that the second concentration detection signal and the first hydrogen sensing unit together satisfy the second preset switching condition.
[0009] Optionally, the step of performing a sensing capability recovery judgment on the first hydrogen sensing unit to obtain a sensing recovery judgment result includes: Under a preset recovery gas environment, the recovery output signal of the first hydrogen sensing unit is acquired; By comparing the recovered output signal with the standard baseline signal of the first hydrogen sensing unit, the baseline output deviation of the first hydrogen sensing unit is obtained. The sensing recovery judgment result is obtained by comparing the baseline output deviation with the allowable baseline deviation of the first hydrogen sensing unit.
[0010] Optionally, after the gas to be tested is re-introduced into the first gas chamber, the method further includes: By comparing the third concentration detection signal and the second concentration detection signal, the detection signal error between the first hydrogen sensing unit and the second hydrogen sensing unit is obtained; by comparing the detection signal error with the allowable calibration deviation of the first hydrogen sensing unit, the output control judgment result of the first hydrogen sensing unit is obtained. If the output control judgment result indicates that the first concentration detection signal re-output by the first hydrogen sensing unit can be used as the detection result, the subsequent step of fusing the second concentration detection signal and the third concentration detection signal based on the weight of time-series changes is performed.
[0011] Optionally, The time-varying weights fuse the second concentration detection signal and the third concentration detection signal to obtain a second fused signal as the detection result, including: A third fusion weight is set for the second concentration detection signal, which gradually decreases over time; and a fourth fusion weight is set for the third concentration detection signal, which gradually increases over time; wherein the third fusion weight becomes zero after a second preset fusion time is reached. The second concentration detection signal and the third concentration detection signal are weighted and fused based on the third fusion weight and the fourth fusion weight to obtain the second fused signal; wherein, after the second preset fusion time, the second fused signal contains only the third concentration detection signal.
[0012] Secondly, embodiments of this application provide a hydrogen detection device applied to a hydrogen detection system. The hydrogen detection system includes a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber. The lower detection limit of the first hydrogen sensing unit is lower than the lower detection limit of the second hydrogen sensing unit, the upper detection limit of the first hydrogen sensing unit is lower than the upper detection limit of the second hydrogen sensing unit, and the upper detection limit of the first hydrogen sensing unit is higher than the lower detection limit of the second hydrogen sensing unit. The device includes: The gas concentration detection module is used to introduce the gas to be tested into the first gas chamber and the second gas chamber, and to take the first concentration detection signal output by the first hydrogen sensing unit as the detection result. The first switching detection module is used to stop introducing the gas to be tested into the first gas chamber when the first concentration detection signal meets the first preset switching condition, so as to protect the first gas chamber, and to fuse the first concentration detection signal with the second concentration detection signal output by the second hydrogen sensing unit based on the weight of time-series changes, so as to obtain a first fused signal as the detection result. The second switching detection module is used to re-introduce the gas to be tested into the first gas chamber when the second concentration detection signal and the first hydrogen sensing unit together meet the second preset switching condition, obtain the concentration detection signal re-output by the first sensing unit as the third concentration detection signal, and fuse the second concentration detection signal and the third concentration detection signal based on the weight of time-series changes to obtain a second fused signal as the detection result.
[0013] Thirdly, embodiments of this application provide a computer device, including: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the method described in any of the above embodiments.
[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer instructions, which are used to cause a computer to perform the method described in any of the above embodiments. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0016] Figure 1 This is a flowchart illustrating the steps of the hydrogen detection method provided in the embodiments of this application; Figure 2a This is a system architecture diagram of the low detection limit mode in the embodiments of this application; Figure 2b This is a system architecture diagram of the wide-range mode in the embodiments of this application; Figure 3 This is a flowchart illustrating the steps for determining the first preset switching condition in an embodiment of this application; Figure 4 This is a diagram illustrating the steps involved in obtaining the first fused signal in an embodiment of this application. Figure 5 This is a diagram illustrating the steps for determining the second preset switching condition in an embodiment of this application; Figure 6 This is a flowchart illustrating the steps involved in determining the sensor capability recovery in an embodiment of this application. Figure 7 This is a flowchart illustrating the steps of comparing the third concentration detection signal and the second concentration detection signal in an embodiment of this application. Figure 8 This is a diagram illustrating the steps involved in obtaining the second fused signal in an embodiment of this application. Figure 9 A block diagram of the hydrogen detection device provided in the embodiments of this application; Figure 10 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] In the field of hydrogen detection, hydrogen sensors typically need to simultaneously possess sufficiently high sensitivity in extremely low concentration ranges and maintain a stable and nearly linear response under high concentration conditions. However, for palladium-based resistive hydrogen sensors, these two performance requirements are often difficult to meet simultaneously in a single sensing structure. On the one hand, high-density palladium nanostructures tend to rapidly enter the response saturation region under high-concentration hydrogen environments, and may even undergo irreversible changes, limiting their effective measurement range. On the other hand, lower-density palladium nanostructures exhibit weaker response signals under low concentration conditions, making it difficult to meet sensitivity requirements. To address these issues, related technologies often employ combinations of multiple hydrogen sensors with different measurement ranges; however, the discontinuity in the output signals between different hydrogen sensors still needs improvement.
[0019] To address the aforementioned issues, this application provides a hydrogen detection method, apparatus, device, and medium applied to a hydrogen detection system. The system includes a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber, each corresponding to different and overlapping detection ranges. A gas to be tested is introduced into the first and second gas chambers to obtain a first concentration detection signal. If the first concentration detection signal meets a first preset switching condition, the introduction of the gas to be tested into the first gas chamber is stopped, and the first and second concentration detection signals are merged to obtain a first fused signal. If a second preset switching condition is met, the gas to be tested is reintroduced into the first gas chamber, and the second and third concentration detection signals are merged to obtain a second fused signal.
[0020] The hydrogen detection method provided in this application is applied to a hydrogen detection system, including a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber. The first hydrogen sensing unit is suitable for measuring a lower concentration range, and the second hydrogen sensing unit is suitable for measuring a higher concentration range, with overlap between their measurement ranges. The method involves introducing a gas to be tested into the first and second gas chambers respectively, and obtaining a first concentration detection signal output by the first hydrogen sensing unit as the detection result. If the first concentration detection signal meets a first preset switching condition, the introduction of the gas to be tested into the first gas chamber is stopped, and the first concentration detection signal and the second concentration detection signal output by the second hydrogen sensing unit are fused to obtain a first fused signal as the detection result. If the second concentration detection signal and the first hydrogen sensing unit together meet a second preset switching condition, the gas to be tested is reintroduced into the first gas chamber, and the second concentration detection signal and the third concentration detection signal are fused to obtain a second fused signal as the detection result.
[0021] Compared with related technologies, this application acquires the concentration detection signals output by different hydrogen sensing units as detection results under different conditions, and fuses the different concentration detection signals based on time-varying weights during the switching of concentration detection signals to obtain the detection results. This allows the detection results to transition smoothly between different detection signals, reduces the probability of abrupt changes in the detection results, and improves the continuity of the output of the detection results.
[0022] Furthermore, this application places the hydrogen sensing units in different sealed gas chambers, enabling each hydrogen sensing unit to perform detection independently. This avoids the influence of the gas environment in which any hydrogen sensing unit operates on other hydrogen sensing units, thereby ensuring continuous detection over a wide range while achieving active isolation protection for the high-sensitivity hydrogen sensing units, thus improving system stability and service life.
[0023] According to an embodiment of this application, a method for detecting hydrogen is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0024] Reference Figure 1As shown, this embodiment provides a hydrogen detection method applied to a hydrogen detection system. The hydrogen detection system includes a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber. The detection lower limit of the first hydrogen sensing unit is lower than the detection lower limit of the second hydrogen sensing unit, the detection upper limit of the first hydrogen sensing unit is lower than the detection upper limit of the second hydrogen sensing unit, and the detection upper limit of the first hydrogen sensing unit is higher than the detection lower limit of the second hydrogen sensing unit. The method includes: S100. The gas to be tested is introduced into the first gas chamber and the second gas chamber, and the first concentration detection signal output by the first hydrogen sensing unit is used as the detection result.
[0025] S200. When the first concentration detection signal meets the first preset switching condition, the gas to be tested is stopped from being introduced into the first gas chamber to protect the first gas chamber, and the first concentration detection signal is fused with the second concentration detection signal output by the second hydrogen sensing unit based on the weight of the time-series change to obtain the first fused signal as the detection result.
[0026] S300. When the second concentration detection signal and the first hydrogen sensing unit together meet the second preset switching condition, the gas to be tested is reintroduced into the first gas chamber, the concentration detection signal re-output by the first sensing unit is obtained as the third concentration detection signal, and the second concentration detection signal and the third concentration detection signal are fused based on the weight of the time-series change to obtain the second fused signal as the detection result.
[0027] The hydrogen detection method provided in this embodiment can be applied to a hydrogen detection system, the structure of which can be referred to [reference needed]. Figure 2aAs shown, the system includes a first hydrogen sensing unit and a second hydrogen sensing unit. The first hydrogen sensing unit may employ a high-density palladium-sensitive structure, suitable for highly sensitive detection of hydrogen in low concentration ranges. The second hydrogen sensing unit may employ a low-density palladium-sensitive structure, suitable for stable detection of hydrogen in high concentration ranges. The palladium-sensitive structure microdensity of the second hydrogen sensing unit is lower than that of the first hydrogen sensing unit. The upper and lower detection limits of each of the first and second hydrogen sensing units can be set according to the hydrogen concentration range in which they achieve optimal detection results. The detection range of the first hydrogen sensing unit differs from that of the second hydrogen sensing unit, and there is overlap between their detection ranges. In some embodiments, the lower detection limit of the first hydrogen sensing unit is lower than that of the second hydrogen sensing unit, the upper detection limit of the first hydrogen sensing unit is lower than that of the second hydrogen sensing unit, and the upper detection limit of the first hydrogen sensing unit is higher than that of the second hydrogen sensing unit. It is understandable that both the first and second hydrogen sensing units use the same material system and have the same electrical detection principle. They can use the same signal processing method to process the output signal, thereby reducing the calibration difficulty and environmental compensation complexity of the hydrogen detection system.
[0028] The first hydrogen sensing unit is located in the first gas chamber, and the second hydrogen sensing unit is located in the second gas chamber. The first and second gas chambers are independent, sealed gas chambers, each connected to a gas channel structure. It should be noted that for most hydrogen sensing units, hydrogen adsorption and reaction processes occur during hydrogen concentration detection, altering the local hydrogen concentration field around the sensing unit. When multiple hydrogen sensing units are exposed to the same detection space, local concentration competition may occur between them, leading to uneven hydrogen concentration distribution within the detection space. This unevenness affects the accuracy of the detection results. Therefore, this application addresses this issue by placing the hydrogen sensing units in separate, sealed, and independent gas chambers, thus creating individual hydrogen concentration fields for each unit. This effectively avoids mutual interference between the hydrogen sensing units and ensures the detection accuracy of each unit.
[0029] The gas passage structure has one gas inlet and two gas outlets. The gas inlet is used to input the gas to be tested, and the two gas outlets are connected to a first gas chamber and a second gas chamber, respectively, allowing the input gas to be tested to flow into the first and second gas chambers. A first valve V1 is provided at the gas outlet connected to the first gas chamber, and a second valve V2 is provided at the gas outlet connected to the second gas chamber. The first valve V1 and the second valve V2 are used to control the opening and closing states of the gas outlets. When the first valve V1 is open, the gas to be tested can flow into the first gas chamber through the gas passage structure, and its concentration can be detected by the first hydrogen sensing unit. When the first valve V1 is closed, the gas to be tested cannot flow into the first gas chamber. Similarly, the second valve V2 performs a similar function to the first valve V1.
[0030] Specifically, in the initial state before detection, both the first valve V1 and the second valve V2 in the hydrogen detection system are open. A test gas containing hydrogen is acquired and introduced into the first and second gas chambers respectively. At this time, both the first and second hydrogen sensing units are exposed to the test gas, allowing for hydrogen concentration detection. The first hydrogen sensing unit outputs a first concentration detection signal for the test gas, and the second hydrogen sensing unit outputs a second concentration detection signal. It is understood that the second hydrogen sensing unit, employing a low-density palladium-sensitive structure, has a high detection limit, resulting in a weaker response signal at low hydrogen concentrations, which is insufficient for trace detection. When the hydrogen concentration in the test gas is low, the sensitivity of the second concentration sensing signal is lower than that of the first concentration sensing signal. Therefore, when the hydrogen concentration in the test gas is low, the first concentration detection signal is output as the detection result, thus obtaining a highly sensitive detection result.
[0031] Furthermore, the first concentration detection signal is monitored in real time, and a conditional judgment is made on the first concentration detection signal according to a first preset switching condition. The first preset switching condition may include a first preset switching threshold, which may be a threshold for the hydrogen concentration in the gas to be tested, set according to the detection range of the first hydrogen sensing unit, to determine whether changes in the hydrogen concentration in the gas to be tested will damage the detection range of the first hydrogen sensing unit, and whether it is suitable to be detected by the first hydrogen sensing unit. When the first concentration detection signal indicates that the hydrogen concentration in the gas to be tested has increased to exceed the first preset switching threshold, it is determined that the first concentration detection signal meets the first preset switching condition. In other embodiments, the first preset switching threshold may also be a threshold for the trend of hydrogen change in the gas to be tested, used to determine whether the trend of hydrogen change in the gas to be tested is too fast, which may damage the first hydrogen sensing unit in a short period of time. When the first concentration detection signal indicates that the rate of change of hydrogen concentration in the gas to be tested exceeds the first preset switching threshold, it is determined that the first concentration detection signal meets the first preset switching condition.
[0032] When the first concentration detection signal meets the first preset switching condition, the first valve V1 is closed, stopping the flow of the gas to be tested into the first gas chamber. At this point, the structure of the hydrogen monitoring system can be referenced. Figure 2b As shown. It can be understood that by closing the first gas chamber to prevent damage to the first gas chamber caused by the high concentration of hydrogen in the gas being measured, active isolation protection of the high-sensitivity hydrogen sensing unit is achieved, thereby improving system stability and service life.
[0033] After closing the first valve V1, the second valve V2 remains open, allowing the gas to continue flowing into the second chamber. Since the hydrogen concentration in the gas reaches the detection range of the second hydrogen sensing unit, the second concentration detection signal can be primarily used as the detection result. It is understandable that the first hydrogen sensing unit, employing a high-density palladium-sensitive structure, is prone to rapidly entering a response saturation region when the hydrogen concentration increases, affecting its detection capability. Furthermore, excessively high hydrogen concentrations may even lead to irreversible changes, limiting the effective measurement range of the first hydrogen sensing unit. When the hydrogen concentration in the gas exceeds the detection range of the first hydrogen sensing unit, closing the first valve V1 stops the flow of the gas into the first chamber, thus preventing further increases in hydrogen concentration and potential damage to the first hydrogen sensing unit, effectively improving its protection.
[0034] It should be noted that, because the first and second hydrogen sensing units employ palladium-sensitive structures with different microstructures, a difference exists between the output first and second concentration detection signals when both simultaneously detect hydrogen concentration in the target gas. If the detection result is directly switched to the second concentration detection signal when the first concentration detection signal meets the first preset switching condition, it may cause a step change in the detection result, affecting the continuity of the detection results.
[0035] To address the aforementioned issues, this embodiment also acquires the first concentration detection signal output by the first hydrogen sensor before the gas to be tested is stopped flowing into the first gas chamber. This first concentration detection signal is consistent with the detection result before the switch. Based on this, different weights with varying time-series changes are assigned to the second concentration detection signal and the first concentration detection signal, respectively. The second concentration detection signal and the first concentration detection signal are then fused based on these weights to obtain a first fused signal, which is then output as the detection result. It is understood that the weights corresponding to the second concentration detection signal and the first concentration detection signal in the first fused signal can gradually change within a first preset fusion time. The contribution of the second concentration detection signal gradually increases over time, while the contribution of the first concentration detection signal gradually decreases. After the first preset fusion time, the first fused signal only includes the second concentration detection signal, thus enabling a smooth transition from the first concentration detection signal to the second concentration detection signal in the detection result, significantly improving the continuity and stability of the detection result.
[0036] It should be noted that after closing the first valve V1, the first hydrogen sensing unit is still in the preheating and energized state, rather than being de-energized or put into a dormant state. This avoids the problem of repeated preheating of the first hydrogen sensing unit causing response delay and failure to quickly enter the effective detection state.
[0037] In some embodiments, after closing the first valve V1, a preset recovery gas can be introduced into the first gas chamber to purge and restore the first hydrogen sensing unit, thereby accelerating the desorption of adsorbed hydrogen on the surface of the first hydrogen sensing unit and the discharge of residual hydrogen in the first gas chamber, enabling the first hydrogen sensing unit to quickly restore its detection capability. Exemplarily, the preset recovery gas can be air, nitrogen, or other low-hydrogen background gases. During the purging and restoration of the first hydrogen sensing unit, the first concentration detection signal output by the first hydrogen sensing unit can be monitored in real time, and the hydrogen sensing unit's hydrogen sensing capability can be determined based on this first concentration detection signal.
[0038] Further, after the first preset fusion time, the first fusion signal can be simplified to a second concentration detection signal. The second concentration detection signal is continuously received as the detection result, and a conditional judgment is made between the second concentration detection signal and the first hydrogen sensing unit according to a second preset switching condition. The second preset switching condition can be a composite condition related to the hydrogen concentration in the gas to be tested and the hydrogen sensing capability of the first hydrogen sensing unit, set according to the detection range of the second hydrogen sensing unit, and used to determine whether the hydrogen concentration in the gas to be tested has returned to a range suitable for concentration detection by the first hydrogen sensing unit. When the second concentration detection signal indicates that the hydrogen concentration in the gas to be tested has decreased to below the detection upper limit of the first hydrogen sensing unit, reaching the overlapping range between the detection ranges of the first and second hydrogen sensing units, and the first hydrogen sensing unit has recovered its hydrogen sensing capability, it is determined that the second concentration detection signal and the first hydrogen sensing unit jointly satisfy the second preset switching condition.
[0039] When the second concentration detection signal and the first hydrogen sensing unit together meet the second preset switching condition, the first valve V1 is opened, and the gas to be measured is reintroduced into the first gas chamber. The structure of the hydrogen monitoring system at this time can be referenced... Figure 2a As shown. At this time, the first valve V1 and the second valve V2 are both open, and the gas to be tested can be introduced into the first gas chamber and the second gas chamber at the same time. This allows the first hydrogen sensing unit to measure the concentration of the gas to be tested and re-output the first concentration detection signal. This first concentration detection signal is used as the third concentration detection signal, which is mainly used as the detection result.
[0040] It should be noted that when the first valve V1 is reopened, the time for the gas to be tested to enter the first gas chamber may be short, and the gas concentration field is still being reconstructed. This means that the hydrogen concentration in the first gas chamber cannot accurately reflect the hydrogen concentration in the gas to be tested. Furthermore, due to the renewed contact with the gas to be tested, the first hydrogen sensing unit itself exhibits a certain response hysteresis and cannot quickly output an accurate third concentration detection signal. Therefore, if the detection result is directly switched from the second concentration detection signal to the third concentration detection signal after the first valve V1 is reopened, discontinuous detection results may occur, affecting the measurement effect on the gas to be tested.
[0041] To address the aforementioned issues, in this embodiment, after reopening the first valve V1, the third concentration detection signal re-output by the first hydrogen sensing unit is first acquired. Different weights, varying with time, are assigned to the second and third concentration detection signals respectively. These weights are then fused to obtain a second fused signal, which is output as the detection result. It is understood that the weights corresponding to the second and third concentration detection signals in the second fused signal can gradually change within a second preset fusion time. The contribution of the second concentration detection signal gradually decreases over time, while the contribution of the third concentration detection signal gradually increases. After the second preset fusion time, the second fused signal contains only the third concentration detection signal, allowing for a smooth transition from the second to the third concentration detection signal in the detection result, significantly improving the continuity and stability of the detection result.
[0042] In this embodiment, the second valve V2 can be in a normally open state to continuously introduce the gas to be tested into the second gas chamber, and the hydrogen concentration is detected in real time by the second hydrogen sensing unit. This avoids repeated reconstruction of the gas concentration field in the second gas chamber, and the situation where the output of the second hydrogen sensing unit is zero before the gas concentration field is reconstructed, resulting in signal interruption. On the other hand, it simplifies the control logic of the gas passage structure, controlling the opening and closing of the first valve V1 only according to the first preset switching condition and the second preset switching condition, reducing the control complexity of the hydrogen detection system and improving the reliability of the detection process.
[0043] The hydrogen detection method provided in this embodiment is applied to a hydrogen detection system, including a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber. The first hydrogen sensing unit is suitable for measuring a lower concentration range, and the second hydrogen sensing unit is suitable for measuring a higher concentration range, with overlap between their measurement ranges. The gas to be tested is introduced into the first gas chamber and the second gas chamber respectively, and a first concentration detection signal output by the first hydrogen sensing unit is obtained as the detection result. When the first concentration detection signal meets a first preset switching condition, the introduction of the gas to be tested into the first gas chamber is stopped, and the first concentration detection signal and the second concentration detection signal output by the second hydrogen sensing unit are fused to obtain a first fused signal as the detection result. When the second concentration detection signal and the first hydrogen sensing unit together meet a second preset switching condition, the gas to be tested is reintroduced into the first gas chamber, and the second concentration detection signal and the third concentration detection signal are fused to obtain a second fused signal as the detection result.
[0044] Compared with related technologies, this application acquires the concentration detection signals output by different hydrogen sensing units as detection results under different conditions, and fuses the different concentration detection signals based on time-varying weights during the switching of concentration detection signals to obtain the detection results. This allows the detection results to transition smoothly between different detection signals, reduces the probability of abrupt changes in the detection results, and improves the continuity of the output of the detection results.
[0045] Furthermore, this application places the hydrogen sensing units in different sealed gas chambers, enabling each hydrogen sensing unit to perform detection independently. This avoids the influence of the gas environment in which any hydrogen sensing unit operates on other hydrogen sensing units, thereby ensuring continuous detection over a wide range while achieving active isolation protection for the high-sensitivity hydrogen sensing units, thus improving system stability and service life.
[0046] Reference Figure 3 As shown in one embodiment of this application, the method for determining whether the first concentration detection signal meets the first preset switching condition is as follows: S210. Calculate the rate of change of the first concentration detection signal to obtain the signal change rate of the first concentration detection signal.
[0047] S220. Based on the rate of change of the signal, the concentration of the first concentration detection signal is predicted to be changed after a preset delay time.
[0048] S230. If the predicted change in concentration exceeds the first preset switching threshold, or the signal change rate exceeds the preset change threshold, the first concentration detection signal is determined to meet the first preset switching condition.
[0049] Specifically, considering the hysteresis in the response of the palladium-based hydrogen sensing unit to hydrogen adsorption, diffusion, and resistance changes, the first concentration detection signal output by the first hydrogen sensing unit is not entirely equivalent to the actual hydrogen concentration in the first gas chamber. Due to the hysteresis, before the first concentration detection signal meets the first preset switching condition, the actual hydrogen concentration in the first gas chamber may have already exceeded the detection limit of the first hydrogen sensing unit, posing a safety risk to the first hydrogen sensing unit.
[0050] To address the aforementioned issues, this embodiment calculates the rate of change of the first concentration detection signal during real-time reception of the first concentration detection signal, obtaining the signal change rate of the first concentration detection signal during the real-time detection process. For example, the signal change rate can be expressed as: in, This is the first concentration detection signal.
[0051] Furthermore, the concentration of the first concentration detection signal is predicted based on the signal change rate to predict the hydrogen concentration in the first gas chamber after a preset delay time, i.e., the hydrogen concentration of the gas to be measured after the preset delay time, thus obtaining the predicted change concentration. For example, the predicted change concentration can be expressed as: in, The potential increase in hydrogen concentration in the gas being tested before the detection signal switches from the first concentration detection signal to the second concentration detection signal can be expressed as: in, To preset the delay time, The response time of the first hydrogen sensing unit in response to the change in hydrogen concentration in the first gas chamber; The operating time of the airway valve; The airway replacement time for the hydrogen concentration in the gas chamber to reach a stable level. In some embodiments, the response time... The action time can be obtained through step concentration experiments. The airway replacement time can be obtained through prior experiments on the first valve V1. It can be obtained through tracer gas experiments, flow analysis, or concentration step experiments.
[0052] Further, based on the predicted change in concentration and the rate of change in signal, it is determined whether the first concentration detection signal meets the first preset switching condition. If the predicted change in concentration exceeds the first preset switching threshold, or the rate of change in signal exceeds the preset change threshold, the first concentration detection signal is determined to meet the first preset switching condition. For example, the first preset switching condition can be expressed as: in, The first preset switching threshold; The preset change threshold is used. The first preset switching threshold is... It can be the minimum value between the risk concentration and the upper limit of the detection range of the first hydrogen sensing unit, and can be expressed as: in, The concentration at which the first hydrogen sensing unit may experience irreversible performance degradation; This is the upper limit of the detection range of the first hydrogen sensing unit, and can be set manually. Risk concentration. This can be obtained by conducting material damage tests on the first hydrogen sensing unit. Specifically, this includes: placing the first hydrogen sensing unit in a sealed gas chamber, gradually increasing the hydrogen concentration in the sealed gas chamber, conducting cyclic exposure tests on the first hydrogen sensing unit, and monitoring the baseline drift, sensitivity changes, and response recovery time of the first hydrogen sensing unit after recovering from different hydrogen concentration levels, in order to determine the risk concentration at which the first hydrogen sensing unit may experience irreversible performance degradation.
[0053] It is understood that this embodiment uses the signal change rate of the first concentration detection signal to predict the concentration and obtain the predicted change concentration after a preset delay time, which is used as the basis for judging the switching detection result. In this way, it is possible to predict the hydrogen concentration risk faced by the first hydrogen sensing unit, realize the early isolation of the first hydrogen sensing unit, reduce the risk of overload, saturation or irreversible performance degradation of the first hydrogen sensing unit, and improve the protection effect of the first hydrogen sensing unit.
[0054] Reference Figure 4 As shown, in one embodiment of this application, the first concentration detection signal and the second concentration detection signal output by the second hydrogen sensing unit are fused based on time-varying weights to obtain a first fused signal as the detection result, including: S240. A first fusion weight is set for the first concentration detection signal, which gradually decreases over time, and a second fusion weight is set for the second concentration detection signal, which gradually increases over time; wherein, the first fusion weight becomes zero after a first preset fusion time is reached.
[0055] S250. The first concentration detection signal and the second concentration detection signal are weighted and fused based on the first fusion weight and the second fusion weight to obtain the first fused signal; wherein the first fused signal contains only the second concentration detection signal after the first preset fusion time.
[0056] Specifically, before the first valve V1 is closed and signal fusion begins, the detection result is the first concentration detection signal. After the first hydrogen sensing unit can no longer output the first concentration detection signal, the second concentration detection signal can be used as the primary detection result. Therefore, when switching the detection result from the first concentration detection signal to the second concentration detection signal, the first and second concentration detection signals can be fused to obtain a first fused signal. This first fused signal allows the detection result to smoothly transition from the first concentration detection signal to the second concentration detection signal.
[0057] In the signal fusion process, a first fusion weight is assigned to the first concentration detection signal, which gradually decreases over time, and a second fusion weight is assigned to the second concentration detection signal, which gradually increases over time. The first and second concentration detection signals are then weighted and fused based on the first and second fusion weights to obtain the first fused signal. For example, the first fused signal can be represented as: in, As the first fusion weight, This is the second fusion weight; The final value of the first concentration detection signal before closing the first valve V1; This is the second concentration detection signal.
[0058] It should be noted that the first fusion weight The value of the second fusion weight gradually decreases from 1 to 0 within the first preset fusion time. The value gradually increases from 0 to 1 within the first preset fusion time. Therefore, when the weighted fusion time is 0, the first fusion signal only contains the first concentration detection signal, consistent with the detection result before the switch; when the weighted fusion time reaches the first preset fusion time, the first fusion signal only contains the second concentration detection signal, thus achieving signal switching of the detection result. The first preset fusion time can be taken as the action time of the airway valve. Or the duration of the sampling period for one or two concentration detection signals.
[0059] In some embodiments, the first fusion signal can also be obtained based on the first concentration detection signal and its rate of change, in which case the first fusion signal can be expressed as: in, To stop the rate of change of the first concentration detection signal before the gas to be tested is introduced into the first gas chamber; This is the first preset fusion time. After the first preset fusion time is reached, the detection result switches to the second concentration detection signal.
[0060] Reference Figure 5 As shown, in one embodiment of this application, the method for determining whether the second concentration detection signal and the first hydrogen sensing unit jointly satisfy the second preset switching condition is as follows: S310. Perform a sensing capability recovery judgment on the first hydrogen sensing unit and obtain the sensing recovery judgment result.
[0061] S320. If the second concentration detection signal is lower than the second preset switching threshold and remains so for a certain period of time, and the sensing recovery judgment result indicates that the first hydrogen sensing unit has recovered its hydrogen sensing capability, it is determined that the second concentration detection signal and the first hydrogen sensing unit together satisfy the second preset switching condition.
[0062] Specifically, after the purging and recovery of the first hydrogen sensing unit is completed, the third concentration detection signal output by the first hydrogen sensing unit is monitored in real time. The sensing capability recovery of the first hydrogen sensing unit is judged based on the third concentration detection signal to determine whether the first hydrogen sensing unit has recovered its hydrogen sensing capability and obtain the sensing recovery judgment result.
[0063] Furthermore, the system receives the second concentration detection signal output by the second hydrogen sensing unit in real time and compares it with a second preset switching threshold to determine whether the hydrogen concentration in the gas to be tested has returned to a range suitable for concentration detection by the first hydrogen sensing unit. If the second concentration detection signal is lower than the second preset switching threshold and remains so for a certain period of time, and the sensing recovery judgment result indicates that the first hydrogen sensing unit has recovered its hydrogen sensing capability, it is determined that both the second concentration detection signal and the first hydrogen sensing unit meet the second preset switching condition, and the detection result can be switched from the second concentration detection signal back to the first concentration detection signal. The certain period of time during which the second concentration detection signal remains lower than the second preset switching threshold can be obtained through stability testing under different concentration fluctuation conditions.
[0064] Understandably, when the sensor recovery judgment result indicates that the first hydrogen sensing unit has not yet recovered its hydrogen sensing capability, even if the second concentration detection signal has been lower than the second preset switching threshold and has remained there for a certain period of time, the hydrogen detection system still does not allow the first valve V1 to be opened, so as to avoid the first hydrogen sensing unit, which has not yet recovered, being exposed to the gas to be measured again.
[0065] It should be noted that the second preset switching threshold and the first preset switching threshold can be different values. The second preset switching threshold is lower than the first preset switching threshold, and a hysteresis interval is formed between the second preset switching threshold and the first preset switching threshold to avoid frequent opening and closing of the first valve V1. For example, the size of the hysteresis interval can be 5 to 10 times the system average noise, which can be obtained through pre-calibration or updated in real time during the detection process.
[0066] Reference Figure 6 As shown, in one embodiment of this application, the sensing capability recovery judgment of the first hydrogen sensing unit is performed to obtain the sensing recovery judgment result, including: S312. Under the environment of a preset recovery gas, acquire the recovery output signal of the first hydrogen sensing unit.
[0067] S314. Compare the recovered output signal with the standard baseline signal of the first hydrogen sensing unit to obtain the baseline output deviation of the first hydrogen sensing unit.
[0068] S316. Compare the baseline output deviation with the allowable baseline deviation of the first hydrogen sensing unit to obtain the sensing recovery judgment result.
[0069] Specifically, after introducing a preset recovery gas and performing a purge recovery on the first hydrogen sensing unit, the third concentration detection signal output by the first hydrogen sensing unit under the preset recovery gas environment is acquired as the recovery output signal. It is understood that the preset recovery gas contains almost no hydrogen, therefore the hydrogen concentration represented by the recovery output signal should be close to 0, or the standard baseline signal of the first hydrogen sensing unit, where the standard baseline signal is the baseline output of the first hydrogen sensing unit under normal low-hydrogen conditions.
[0070] Further, the standard baseline signal and allowable baseline deviation of the first hydrogen sensing unit are acquired, and the recovered output signal is compared with the standard baseline signal to obtain the deviation of the recovered output signal relative to the standard baseline signal, which is taken as the baseline output deviation. The baseline output deviation is compared with the allowable baseline deviation to obtain the sensing recovery judgment result of the first hydrogen sensing unit. It is understood that if the baseline output deviation exceeds the allowable baseline deviation, the sensing recovery judgment result indicates that the first hydrogen sensing unit has not yet recovered its hydrogen sensing capability and still needs further desorption of adsorbed hydrogen in a preset recovery gas environment. If the baseline output deviation is within the allowable baseline deviation, the sensing recovery judgment result indicates that the first hydrogen sensing unit has recovered its hydrogen sensing capability and can be reused to detect the hydrogen concentration of the gas to be measured.
[0071] For example, the criterion for determining that the first hydrogen sensing unit has recovered its hydrogen sensing capability can be expressed as: in, To restore the output signal; This is the standard baseline signal for the first hydrogen sensing unit. Baseline output deviation; The allowable baseline deviation of the first hydrogen sensing unit can be taken as the system average noise. If the duration of the above state exceeds a preset recovery time, a sensing recovery judgment result is obtained, indicating that the first hydrogen sensing unit has recovered its hydrogen sensing capability. The preset recovery time can be three times the response time. .
[0072] Reference Figure 7 As shown in one embodiment of this application, after the gas to be tested is reintroduced into the first gas chamber, the method further includes: S330. Compare the third concentration detection signal and the second concentration detection signal to obtain the detection signal error between the first hydrogen sensing unit and the second hydrogen sensing unit; compare the detection signal error with the allowable calibration deviation of the first hydrogen sensing unit to obtain the output control judgment result of the first hydrogen sensing unit.
[0073] S340. If the output control judgment result indicates that the first concentration detection signal re-output by the first hydrogen sensing unit can be used as the detection result, the subsequent step of fusing the second concentration detection signal and the third concentration detection signal based on the weight of time-series changes is executed.
[0074] Specifically, after the gas to be tested is reintroduced into the first gas chamber, the first hydrogen sensing unit is re-exposed to the gas to be tested and performs hydrogen concentration detection on the gas to be tested, thereby re-outputting a concentration detection signal as the third concentration detection signal. It can be understood that the second hydrogen sensing unit is continuously exposed to the gas to be tested, and can continuously perform hydrogen concentration detection on the gas to be tested and output a second concentration detection signal.
[0075] Furthermore, by comparing the second and third concentration detection signals, the detection signal error between them is obtained, representing the detection difference between the first and second hydrogen sensing units for the same gas. By comparing the detection signal error with the allowable calibration deviation of the first hydrogen sensing unit, the output control judgment result of the first hydrogen sensing unit is obtained.
[0076] The allowable calibration deviation can be obtained by synchronously calibrating the first hydrogen sensing unit and the second hydrogen sensing unit within the overlapping range. Specifically, the process may include: with both the first valve V1 and the second valve V2 open, simultaneously introducing the gas to be measured into the first and second gas chambers; when the gas concentration fields in both chambers are stable, acquiring the first concentration detection signal output by the first hydrogen sensing unit (referred to as the first calibration signal) and acquiring the second concentration detection signal output by the second hydrogen sensing unit (referred to as the second calibration signal); calculating the signal calibration deviation between the two signals based on the first and second calibration signals, and acquiring the noise fluctuation and dynamic response difference of each of the first and second hydrogen sensing units; and using the maximum value among the signal calibration deviation, noise fluctuation, and dynamic response difference as the allowable calibration deviation. For example, the noise fluctuation can be a multiple of the standard deviation of the system's average noise, such as 3 to 5 times.
[0077] Understandably, if the detection signal error exceeds the allowable calibration deviation, the output control panel will determine that the third concentration detection signal cannot be used as a detection result, and it is necessary to wait for the gas concentration field in the first chamber to be reconstructed, or to perform further purging and recovery on the first hydrogen sensing unit. If the detection signal error is within the allowable calibration deviation, the output control panel will determine that the third concentration detection signal can be used as a detection result. In this case, the subsequent step of fusing the second and third concentration detection signals based on time-varying weights can be performed, so that the detection result smoothly transitions from the second to the third concentration detection signal.
[0078] For example, the criterion for determining that the third concentration detection signal re-output by the first hydrogen sensing unit can be used as the detection result can be expressed as follows: in, This is the third concentration detection signal; This represents the allowable calibration deviation of the first hydrogen sensing unit. If the duration of the above state exceeds a preset takeover time, it is determined that the first hydrogen sensing unit possesses the main takeover output capability, and the output third concentration detection signal can be used as the output takeover judgment result. The preset takeover time can be expressed as: in, Integer coefficients .
[0079] Reference Figure 8 As shown, in one embodiment of this application, the second concentration detection signal and the third concentration detection signal are fused based on time-varying weights to obtain a second fused signal as the detection result, including: S350. A third fusion weight is set for the second concentration detection signal, which gradually decreases over time, and a fourth fusion weight is set for the third concentration detection signal, which gradually increases over time; wherein, the value of the third fusion weight is zero after the second preset fusion time is reached.
[0080] S360. The second concentration detection signal and the third concentration detection signal are weighted and fused based on the third fusion weight and the fourth fusion weight to obtain the second fused signal; wherein the second fused signal contains only the third concentration detection signal after the second preset fusion time.
[0081] Specifically, before the first valve V1 is opened and signal fusion begins, the detection result is the second concentration detection signal. After the first hydrogen sensing unit starts outputting the third concentration detection signal, the third concentration detection signal can be used as the primary detection result. Therefore, when switching the detection result from the second concentration detection signal to the third concentration detection signal, the second and third concentration detection signals can be fused to obtain a second fused signal. This second fused signal allows the detection result to smoothly transition from the second concentration detection signal to the third concentration detection signal.
[0082] In the signal fusion process, a third fusion weight that gradually decreases over time is assigned to the second concentration detection signal, and a fourth fusion weight that gradually increases over time is assigned to the third concentration detection signal. The second and third concentration detection signals are then weighted and fused based on the third and fourth fusion weights to obtain the second fused signal. For example, the second fused signal can be represented as: in, As the third fusion weight, This is the fourth fusion weight.
[0083] It should be noted that the third fusion weight The value gradually decreases from 1 to 0 within the second preset fusion time, and the fourth fusion weight The value gradually increases from 0 to 1 within the second preset fusion time. Therefore, when the weighted fusion time point is 0, the second fused signal only contains the second concentration detection signal, consistent with the detection result before the switch; when the weighted fusion time reaches the second preset fusion time, the second fused signal only contains the third concentration detection signal, thus achieving signal switching of the detection result. The second preset fusion time can be taken as the response time. and airway replacement time sum.
[0084] Accordingly, please refer to Figure 9 This application provides a hydrogen detection device applied to a hydrogen detection system. The hydrogen detection system includes a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber. The detection lower limit of the first hydrogen sensing unit is lower than the detection lower limit of the second hydrogen sensing unit, the detection upper limit of the first hydrogen sensing unit is lower than the detection upper limit of the second hydrogen sensing unit, and the detection upper limit of the first hydrogen sensing unit is higher than the detection lower limit of the second hydrogen sensing unit. The device includes: The gas concentration detection module 910 is used to introduce the gas to be tested into the first gas chamber and the second gas chamber, and to take the first concentration detection signal output by the first hydrogen sensing unit as the detection result.
[0085] The first switching detection module 920 is used to stop introducing the gas to be tested into the first gas chamber when the first concentration detection signal meets the first preset switching condition, so as to protect the first gas chamber, and to fuse the first concentration detection signal with the second concentration detection signal output by the second hydrogen sensing unit based on the weight of the time-series change, so as to obtain a first fused signal as the detection result.
[0086] The second switching detection module 930 is used to, when the second concentration detection signal and the first hydrogen sensing unit together meet the second preset switching conditions, re-introduce the gas to be tested into the first gas chamber, obtain the concentration detection signal re-output by the first sensing unit as the third concentration detection signal, and fuse the second concentration detection signal and the third concentration detection signal based on the weight of the time-series change to obtain the second fused signal as the detection result.
[0087] In some alternative implementations, the first switching detection module 920 includes: The change calculation unit is used to calculate the rate of change of the first concentration detection signal to obtain the signal change rate of the first concentration detection signal.
[0088] The concentration prediction unit is used to predict the concentration of the first concentration detection signal based on the signal change rate, and obtain the predicted change concentration of the gas to be measured after a preset delay time.
[0089] The condition judgment unit is used to determine that the first concentration detection signal meets the first preset switching condition when the predicted change concentration exceeds the first preset switching threshold or the signal change rate exceeds the preset change threshold.
[0090] In some optional implementations, the first switching detection module 920 further includes: The weight setting unit is used to set a first fusion weight that gradually decreases over time for the first concentration detection signal and a second fusion weight that gradually increases over time for the second concentration detection signal; wherein the first fusion weight is zero after reaching a first preset fusion time.
[0091] The weighted fusion unit is used to perform weighted fusion of the first concentration detection signal and the second concentration detection signal based on the first fusion weight and the second fusion weight to obtain the first fused signal; wherein the first fused signal contains only the second concentration detection signal after the first preset fusion time.
[0092] In some alternative implementations, the second switching detection module 930 includes: The recovery judgment unit is used to judge the sensing capability recovery of the first hydrogen sensing unit and obtain the sensing recovery judgment result.
[0093] The condition judgment unit is used to determine that the second concentration detection signal and the first hydrogen sensing unit together satisfy the second preset switching condition when the second concentration detection signal is lower than the second preset switching threshold and remains so for a certain period of time, and the sensing recovery judgment result indicates that the first hydrogen sensing unit has recovered its hydrogen sensing capability.
[0094] In some optional implementations, the recovery determination unit includes: The signal acquisition subunit is used to acquire the recovery output signal of the first hydrogen sensing unit in a preset recovery gas environment.
[0095] The standard deviation comparison sub-unit is used to compare the recovered output signal with the standard baseline signal of the first hydrogen sensing unit to obtain the baseline output deviation of the first hydrogen sensing unit.
[0096] The allowable deviation comparison sub-unit is used to compare the baseline output deviation with the allowable baseline deviation of the first hydrogen sensing unit to obtain the sensing recovery judgment result.
[0097] In some optional implementations, the second switching detection module 930 further includes: The allowable deviation comparison unit is used to compare the third concentration detection signal and the second concentration detection signal to obtain the detection signal error between the first hydrogen sensing unit and the second hydrogen sensing unit; by comparing the detection signal error with the allowable calibration deviation of the first hydrogen sensing unit, the output connector judgment result of the first hydrogen sensing unit is obtained.
[0098] The capability judgment unit is used to perform the subsequent step of fusing the second concentration detection signal and the third concentration detection signal based on the weight of time-series changes when the output control judgment result indicates that the first concentration detection signal re-output by the first hydrogen sensing unit can be used as the detection result.
[0099] In some optional implementations, the second switching detection module 930 further includes: The weight setting unit is used to set a third fusion weight that gradually decreases over time for the second concentration detection signal and a fourth fusion weight that gradually increases over time for the third concentration detection signal; wherein the third fusion weight is zero after the second preset fusion time is reached.
[0100] The weighted fusion unit is used to perform weighted fusion of the second concentration detection signal and the third concentration detection signal based on the third fusion weight and the fourth fusion weight to obtain the second fused signal; wherein the second fused signal contains only the third concentration detection signal after the second preset fusion time.
[0101] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0102] In this embodiment, the hydrogen detection device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0103] Please see Figure 10 , Figure 10 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application, such as... Figure 10 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 10 Take a processor 10 as an example.
[0104] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0105] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0106] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0107] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0108] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0109] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded over a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the methods shown in the above embodiments are implemented.
[0110] This application provides a computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method of any embodiment of this application.
[0111] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.
[0112] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0113] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0114] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0115] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0116] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1The function specified in one or more boxes.
[0117] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0118] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0119] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0120] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of this application should be included within the scope of the claims of this application.
[0121] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for detecting hydrogen, characterized in that, An application is made in a hydrogen detection system, the system comprising a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber, wherein the lower detection limit of the first hydrogen sensing unit is lower than the lower detection limit of the second hydrogen sensing unit, the upper detection limit of the first hydrogen sensing unit is lower than the upper detection limit of the second hydrogen sensing unit, and the upper detection limit of the first hydrogen sensing unit is higher than the lower detection limit of the second hydrogen sensing unit; the method comprises: The gas to be tested is introduced into the first gas chamber and the second gas chamber, and the first concentration detection signal output by the first hydrogen sensing unit is used as the detection result. When the first concentration detection signal meets the first preset switching condition, the gas to be tested is stopped from being introduced into the first gas chamber to protect the first gas chamber. The first concentration detection signal is fused with the second concentration detection signal output by the second hydrogen sensing unit based on the weight of the time-series change to obtain the first fused signal as the detection result. When the second concentration detection signal and the first hydrogen sensing unit both meet the second preset switching condition, the gas to be tested is reintroduced into the first gas chamber, and the concentration detection signal re-output by the first sensing unit is obtained as the third concentration detection signal. The second concentration detection signal and the third concentration detection signal are then fused based on the weight of the time-series change to obtain a second fused signal as the detection result.
2. The method according to claim 1, characterized in that, The following method is used to determine whether the first concentration detection signal meets the first preset switching condition: The rate of change of the first concentration detection signal is calculated to obtain the signal change rate of the first concentration detection signal. Based on the rate of change of the signal, the concentration of the first concentration detection signal is predicted to be changed after a preset delay time; If the predicted change concentration exceeds a first preset switching threshold, or if the signal change rate exceeds a preset change threshold, the first concentration detection signal is determined to meet the first preset switching condition.
3. The method according to claim 1, characterized in that, The time-varying weights fuse the first concentration detection signal with the second concentration detection signal output by the second hydrogen sensing unit to obtain a first fused signal as the detection result, including: A first fusion weight is set for the first concentration detection signal, which gradually decreases over time, and a second fusion weight is set for the second concentration detection signal, which gradually increases over time; wherein, the first fusion weight becomes zero after a first preset fusion time is reached; The first concentration detection signal and the second concentration detection signal are weighted and fused based on the first fusion weight and the second fusion weight to obtain the first fused signal; wherein, after the first preset fusion time, the first fused signal contains only the second concentration detection signal.
4. The method according to claim 1, characterized in that, The following method is used to determine whether the second concentration detection signal and the first hydrogen sensing unit both satisfy the second preset switching condition: The sensing capability recovery judgment of the first hydrogen sensing unit is performed to obtain the sensing recovery judgment result; If the second concentration detection signal is lower than the second preset switching threshold and remains so for a certain period of time, and the sensing recovery judgment result indicates that the first hydrogen sensing unit has recovered its hydrogen sensing capability, then it is determined that the second concentration detection signal and the first hydrogen sensing unit together satisfy the second preset switching condition.
5. The method according to claim 4, characterized in that, The step of performing a sensing capability recovery judgment on the first hydrogen sensing unit to obtain a sensing recovery judgment result includes: Under a preset recovery gas environment, the recovery output signal of the first hydrogen sensing unit is acquired; By comparing the recovered output signal with the standard baseline signal of the first hydrogen sensing unit, the baseline output deviation of the first hydrogen sensing unit is obtained. The sensing recovery judgment result is obtained by comparing the baseline output deviation with the allowable baseline deviation of the first hydrogen sensing unit.
6. The method according to claim 1, characterized in that, After the gas to be tested is reintroduced into the first gas chamber, the method further includes: By comparing the third concentration detection signal and the second concentration detection signal, the detection signal error between the first hydrogen sensing unit and the second hydrogen sensing unit is obtained; by comparing the detection signal error with the allowable calibration deviation of the first hydrogen sensing unit, the output control judgment result of the first hydrogen sensing unit is obtained. If the output control judgment result indicates that the first concentration detection signal re-output by the first hydrogen sensing unit can be used as the detection result, the subsequent step of fusing the second concentration detection signal and the third concentration detection signal based on the weight of time-series changes is performed.
7. The method according to claim 1, characterized in that, The time-varying weights fuse the second concentration detection signal and the third concentration detection signal to obtain a second fused signal as the detection result, including: A third fusion weight is set for the second concentration detection signal, which gradually decreases over time; and a fourth fusion weight is set for the third concentration detection signal, which gradually increases over time; wherein the third fusion weight becomes zero after a second preset fusion time is reached. The second concentration detection signal and the third concentration detection signal are weighted and fused based on the third fusion weight and the fourth fusion weight to obtain the second fused signal; wherein, after the second preset fusion time, the second fused signal contains only the third concentration detection signal.
8. A hydrogen detection device, characterized in that, An apparatus for use in a hydrogen detection system, the hydrogen detection system comprising a first hydrogen sensing unit disposed in a first gas chamber and a second hydrogen sensing unit disposed in a second gas chamber, wherein the lower detection limit of the first hydrogen sensing unit is lower than the lower detection limit of the second hydrogen sensing unit, the upper detection limit of the first hydrogen sensing unit is lower than the upper detection limit of the second hydrogen sensing unit, and the upper detection limit of the first hydrogen sensing unit is higher than the lower detection limit of the second hydrogen sensing unit; the apparatus comprises: The gas concentration detection module is used to introduce the gas to be tested into the first gas chamber and the second gas chamber, and to take the first concentration detection signal output by the first hydrogen sensing unit as the detection result. The first switching detection module is used to stop introducing the gas to be tested into the first gas chamber when the first concentration detection signal meets the first preset switching condition, so as to protect the first gas chamber, and to fuse the first concentration detection signal with the second concentration detection signal output by the second hydrogen sensing unit based on the weight of time-series changes, so as to obtain a first fused signal as the detection result. The second switching detection module is used to re-introduce the gas to be tested into the first gas chamber when the second concentration detection signal and the first hydrogen sensing unit together meet the second preset switching condition, obtain the concentration detection signal re-output by the first sensing unit as the third concentration detection signal, and fuse the second concentration detection signal and the third concentration detection signal based on the weight of time-series changes to obtain a second fused signal as the detection result.
9. A computer device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method of any one of claims 1 to 7.