Testing methods, apparatus, readable storage media, and testing systems for hydrogen sensors.

By detecting the response time of the hydrogen sensor under different reference conditions, the problem of temperature influence on the palladium-doped sensor was solved, and accurate calibration and stable measurement of the hydrogen sensor were achieved.

CN117554569BActive Publication Date: 2026-04-03STATE GRID SICHUAN ELECTRIC POWER CORP ELECTRIC POWER RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing palladium-doped hydrogen sensors are easily affected by temperature when monitoring the hydrogen content in transformer oil, leading to temperature drift and affecting measurement accuracy.

Method used

By controlling the hydrogen sensor to detect hydrogen in oil samples under different reference conditions, the dynamic response time, transient response time, and static response time are determined by timing, and a prompt message is output when the preset parameter range is exceeded, so as to calibrate the response performance of the sensor.

Benefits of technology

It improves the measurement accuracy of hydrogen sensors, prevents fluctuations or drift in measurement results, and enhances response speed and performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117554569B_ABST
    Figure CN117554569B_ABST
Patent Text Reader

Abstract

This application discloses a testing method, apparatus, readable storage medium, and testing system for a hydrogen sensor. The method of this application not only automates the testing of the dynamic response time and its corresponding transient response time of the hydrogen sensor, but also uses dynamically hydrogen-producing oil samples as calibration conditions to simulate the hydrogen concentration changes encountered by the hydrogen sensor in actual working environments. This makes the response time of the hydrogen sensor more realistic and accurate, helping to improve the accuracy of the testing results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information management technology, and in particular to a method, apparatus, readable storage medium, and testing system for a hydrogen sensor. Background Technology

[0002] Transformer insulating oil decomposes under thermal and electrical conditions, producing gases such as methane, ethylene, ethane, acetylene, hydrogen, carbon monoxide, and carbon dioxide. Different fault types produce different gases, but both thermal and electrical faults produce hydrogen. Therefore, monitoring the continuous change in hydrogen content in transformer insulating oil is a crucial indicator for determining whether a transformer has experienced a fault.

[0003] Currently, palladium-doped sensors are used to monitor hydrogen in transformer oil. These sensors can continuously monitor changes in hydrogen content, but because they are nonlinear, they are susceptible to temperature drift, affecting the monitoring of dissolved hydrogen content in the transformer oil. Therefore, providing an accurate method for calibrating hydrogen sensors is a pressing issue. Summary of the Invention

[0004] In view of this, this application provides a method, apparatus, readable storage medium, and testing system for testing a hydrogen sensor, which can determine and automatically detect the dynamic response time and first transient response time of the hydrogen sensor and provide an anomaly alert, thereby ensuring the accuracy of the hydrogen sensor.

[0005] According to one aspect of this application, a method for testing a hydrogen sensor is provided, comprising:

[0006] The hydrogen sensor in the first reference state is controlled to detect the test oil sample containing hydrogen at a first preset concentration, and the first detection time of the hydrogen sensor in the first reference state is timed. The hydrogen sensor is in the first oil sample for a duration greater than or equal to a preset stabilization time. The hydrogen sensor is determined to be in the first reference state. The first oil sample is an oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of a preset flow rate.

[0007] If the hydrogen concentration output by the hydrogen sensor in the first reference state enters a stable phase, stop timing the first detection duration and determine the first detection duration as the dynamic response time of the hydrogen sensor.

[0008] The hydrogen sensor in the second reference state is controlled to detect the test oil sample containing hydrogen at the second preset concentration, and the second detection time of the hydrogen sensor in the second reference state is timed. During the detection process of the hydrogen sensor in the second oil sample, it is determined that the hydrogen sensor is in the second reference state. The second oil sample is an oil sample with a hydrogen concentration of the third preset concentration and a hydrogen flow rate of the preset flow rate. The third preset concentration is less than the second preset concentration.

[0009] If the hydrogen concentration output by the hydrogen sensor in the second reference state enters the growth phase, stop timing the second detection duration and determine the second detection duration as the first transient response time of the hydrogen sensor.

[0010] If the dynamic response time or the first transient response time exceeds the corresponding preset parameter range, the first prompt message will be output.

[0011] Alternatively, the testing method for the hydrogen sensor may also include:

[0012] The hydrogen sensor in the third reference state is controlled to detect the test oil sample containing hydrogen at a first preset concentration, and the third detection time of the hydrogen sensor in the third reference state is timed. The hydrogen sensor is in the third oil sample for a duration greater than or equal to a preset stabilization time, and the hydrogen sensor is determined to be in the third reference state. The third oil sample is an oil sample with a hydrogen concentration of 0 μL / L.

[0013] If the hydrogen concentration output by the hydrogen sensor in the third reference state enters a stable phase, stop timing the third detection duration and determine the third detection duration as the static response time of the hydrogen sensor.

[0014] The hydrogen sensor in the fourth reference state is controlled to detect the test oil sample containing hydrogen at the second preset concentration, and the fourth detection time of the hydrogen sensor in the fourth reference state is timed. During the detection process of the hydrogen sensor in the fourth oil sample, it is determined that the hydrogen sensor is in the fourth reference state, and the fourth oil sample is an oil sample with a hydrogen concentration of the third preset concentration.

[0015] If the hydrogen concentration output by the hydrogen sensor in the fourth reference state enters the growth phase, stop timing the fourth detection duration and determine the fourth detection duration as the second transient response time of the hydrogen sensor.

[0016] If the static response time or the second transient response time exceeds the corresponding preset parameter range, a second prompt message will be output.

[0017] Alternatively, the testing method for the hydrogen sensor may also include:

[0018] Determine the difference between the hydrogen concentration output by the hydrogen sensor at the current sampling time and the hydrogen concentration output at the previous sampling time;

[0019] If the number of times the absolute value of the difference is less than or equal to the first threshold is greater than the preset number, it is determined that the hydrogen concentration has entered a stable stage.

[0020] If the absolute value of the difference is greater than or equal to the second threshold, the hydrogen concentration is determined to have entered the growth phase.

[0021] Alternatively, the testing method for the hydrogen sensor may also include:

[0022] The hydrogen sensor is controlled to detect the test oil sample containing a fourth preset concentration of hydrogen under different environmental conditions, and the test hydrogen concentration of the test oil sample under different environmental conditions after entering the stable stage is obtained, wherein the fourth preset concentration is greater than or equal to 50 μL / L.

[0023] Obtain the hydrogen reference concentration of test oil samples containing a fourth preset hydrogen concentration under different environmental conditions;

[0024] Based on the test hydrogen concentration and the hydrogen reference concentration under any environmental condition, determine the measurement error of the hydrogen sensor under any environmental condition, where the measurement error includes absolute error and relative error;

[0025] Based on the measurement errors under different environmental conditions, test curves for hydrogen sensors under different environmental conditions are generated.

[0026] The performance influencing factors of the hydrogen sensor were determined based on the test curve.

[0027] Optionally, the environmental conditions include at least one of the following: oil sample temperature, oil sample pressure, oil sample flow rate, and hydrogen concentration in the oil sample.

[0028] Alternatively, the testing method for the hydrogen sensor may also include:

[0029] The hydrogen sensor is controlled to detect the target number of tests on the test oil sample containing hydrogen at a fourth preset concentration, and the hydrogen concentration of the test oil sample at the target number of tests is obtained, wherein the fourth preset concentration is greater than or equal to 50 μL / L.

[0030] The relative standard deviation of the hydrogen sensor is determined based on the hydrogen concentration of the test oil sample for the target number of tests.

[0031] According to another aspect of this application, a testing device for a hydrogen sensor is provided, comprising:

[0032] The control module is used to control the hydrogen sensor in the first reference state to detect the test oil sample containing hydrogen of the first preset concentration. The hydrogen sensor is in the first oil sample for a duration greater than or equal to a preset stabilization duration, which determines that the hydrogen sensor is in the first reference state. The first oil sample is an oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of the preset flow rate.

[0033] The verification module is used to time the first detection duration of the hydrogen sensor in the first reference state; and, if the hydrogen concentration output by the hydrogen sensor in the first reference state enters a stable stage, to stop timing the first detection duration and to determine the first detection duration as the dynamic response time of the hydrogen sensor.

[0034] The control module is also used to control the hydrogen sensor in the second reference state to detect the test oil sample containing hydrogen at the second preset concentration. In the process of detecting the second oil sample, the hydrogen sensor is determined to be in the second reference state. The second oil sample is an oil sample with a hydrogen concentration of the third preset concentration and a hydrogen flow rate of the preset flow rate. The third preset concentration is less than the second preset concentration.

[0035] The verification module is also used to time the second detection duration of the hydrogen sensor in the second reference state; and if the hydrogen concentration output by the hydrogen sensor in the second reference state enters the growth stage, the timing of the second detection duration is stopped, and the second detection duration is determined as the first transient response time of the hydrogen sensor.

[0036] The prompt module is used to output a first prompt message if the dynamic response time or the first transient response time exceeds the corresponding preset parameter range.

[0037] Optionally, the control module is further configured to control the hydrogen sensor in the third reference state to detect the test oil sample containing hydrogen at the first preset concentration, and to time the third detection duration of the hydrogen sensor in the third reference state, wherein the duration of the hydrogen sensor in the third oil sample is greater than or equal to the preset stabilization duration, and to determine that the hydrogen sensor is in the third reference state, and the third oil sample is an oil sample with a hydrogen concentration of 0 μL / L.

[0038] The verification module is also used to stop timing the third detection duration if the hydrogen concentration output by the hydrogen sensor in the third reference state enters a stable phase, and to determine the third detection duration as the static response time of the hydrogen sensor.

[0039] The control module is also used to control the hydrogen sensor in the fourth reference state to detect the test oil sample containing hydrogen at the second preset concentration, and to time the fourth detection duration of the hydrogen sensor in the fourth reference state. During the detection process of the hydrogen sensor in the fourth oil sample, it is determined that the hydrogen sensor is in the fourth reference state, and the fourth oil sample is an oil sample with a hydrogen concentration of the third preset concentration.

[0040] The verification module is also used to stop timing the fourth detection duration if the hydrogen concentration output by the hydrogen sensor in the fourth reference state enters the growth phase, and to determine the fourth detection duration as the second transient response time of the hydrogen sensor.

[0041] The prompt module is also used to output a second prompt message if the static response time or the second transient response time exceeds the corresponding preset parameter range.

[0042] Optionally, the verification module is also used to determine the difference between the hydrogen concentration output by the hydrogen sensor at the current sampling time and the hydrogen concentration output at the previous sampling time; if the absolute value of the difference is less than or equal to the first threshold more than a preset number of times, it is determined that the hydrogen concentration has entered a stable stage; if the absolute value of the difference is greater than or equal to the second threshold, it is determined that the hydrogen concentration has entered a growth stage.

[0043] Optionally, the control module is also used to control the hydrogen sensor to detect the test oil sample containing a fourth preset concentration of hydrogen under different environmental conditions, and to obtain the test hydrogen concentration of the test oil sample under different environmental conditions after entering the stable stage, wherein the fourth preset concentration is greater than or equal to 50 μL / L.

[0044] The testing module is also used to obtain the hydrogen reference concentration of test oil samples containing a fourth preset hydrogen concentration under different environmental conditions; and to determine the measurement error of the hydrogen sensor under any environmental condition based on the test hydrogen concentration and the hydrogen reference concentration under any environmental condition, wherein the measurement error includes absolute error and relative error; and to generate a test curve of the hydrogen sensor under different environmental conditions based on the measurement error under different environmental conditions; and to determine the performance influencing factors of the hydrogen sensor based on the test curve.

[0045] Optionally, the control module is also used to control the hydrogen sensor to detect the test oil sample containing hydrogen at a fourth preset concentration for a target number of tests, and to obtain the hydrogen concentration of the test oil sample for the target number of tests, wherein the fourth preset concentration is greater than or equal to 50 μL / L.

[0046] The inspection module is also used to determine the relative standard deviation of the hydrogen sensor based on the hydrogen concentration of the oil sample for the target number of inspections.

[0047] According to another aspect of this application, a readable storage medium is provided that stores a program or instructions thereon, which, when executed by a processor, implement the steps of the above-described hydrogen sensor testing method.

[0048] According to another aspect of this application, an inspection system is provided, comprising:

[0049] The flow cell, sealed by an end cap, is used to store test oil samples for the hydrogen sensor to detect the hydrogen concentration in the test oil samples.

[0050] An oil sample storage device is connected to a flow cell via a connecting pipe. The oil sample storage device is used to transport test oil samples to the flow cell.

[0051] The testing equipment is electrically connected to the hydrogen sensor, and when the testing equipment is executed, it implements the steps of the above-described testing method for the hydrogen sensor.

[0052] Optionally, the inspection system may also include:

[0053] A heating element is located around the flow cell and is connected in communication with the testing equipment. The heating element is used to heat the flow cell.

[0054] The pressure controller is located on the testing equipment and is connected in communication with the testing equipment. The pressure controller is used to change the pressure in the flow cell.

[0055] The valve assembly, located on the connecting pipe and communicating with the testing equipment, is used to control the flow rate of the oil sample delivered to the flow cell.

[0056] Using the above technical solution, a hydrogen sensor is calibrated using a first oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of a preset velocity per minute as the initial condition. The hydrogen sensor is then placed in the test oil sample and controlled to detect the test oil sample containing the first preset hydrogen concentration. Once the hydrogen concentration detected by the hydrogen sensor stabilizes, the first detection time from the start of detection to the stabilization of the hydrogen concentration is taken as the dynamic response time of the hydrogen sensor. Similarly, during the detection of a second oil sample with a lower hydrogen concentration and a hydrogen flow rate of a preset velocity per minute, the hydrogen sensor is controlled to detect a test oil sample containing the second preset hydrogen concentration to test the sensitivity of the hydrogen sensor when the oil sample undergoes a sudden change. When the hydrogen concentration detected by the hydrogen sensor increases, the second detection time from the start of detection to the increase in hydrogen concentration is taken as the first transient response time of the hydrogen sensor in the dynamic scenario. This method uses dynamically generated hydrogen oil samples as calibration conditions to simulate the hydrogen concentration changes encountered by the hydrogen sensor in actual working environments, making the hydrogen sensor's response time more realistic and accurate, thus improving the accuracy of test results. Furthermore, when the dynamic response time or the first transient response time does not meet the required preset parameter range, a first prompt message is output. This not only automates the testing of the hydrogen sensor's response time but also verifies the sensor's sensitivity to changes in hydrogen concentration through dynamic and first transient response times, promptly alerting the user when sensitivity is abnormal. This allows the user to promptly adjust the malfunctioning hydrogen sensor, effectively preventing fluctuations or drift in the measurement results, ensuring the accuracy of hydrogen sensor measurements, and contributing to enhanced response speed and performance.

[0057] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0058] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0059] Figure 1 One of the flowcharts of the testing method for a hydrogen sensor provided in this application is shown.

[0060] Figure 2 This is a second schematic diagram of the testing device for a hydrogen sensor provided in an embodiment of this application;

[0061] Figure 3 One of the schematic diagrams showing the hydrogen concentration detected by the hydrogen sensor provided in the embodiment of this application is illustrated.

[0062] Figure 4 This is a second schematic diagram showing the hydrogen concentration detected by the hydrogen sensor provided in an embodiment of this application;

[0063] Figure 5 This is a structural block diagram of a hydrogen sensor testing device provided according to an embodiment of this application. Detailed Implementation

[0064] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.

[0065] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0066] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this application means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “attached” to another element, it can be directly connected or attached to the other element, or there may be intermediate elements. Furthermore, “connected” or “attached” as used herein can include wireless connections or wireless interconnections. The term “and / or” as used herein includes all or any unit and all combinations of one or more associated listed items.

[0067] Exemplary embodiments according to this application will now be described in more detail with reference to the accompanying drawings. However, these exemplary embodiments may be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein. It should be understood that these embodiments are provided so that the disclosure of this application is thorough and complete, and that the concept of these exemplary embodiments is fully conveyed to those skilled in the art.

[0068] This embodiment provides a method for testing a hydrogen sensor, such as... Figure 1 As shown, the method includes:

[0069] Step 101: Control the hydrogen sensor in the first reference state to detect the test oil sample containing hydrogen of the first preset concentration, and time the first detection time of the hydrogen sensor in the first reference state.

[0070] In this embodiment, the hydrogen sensor is immersed in the first oil sample for a duration greater than or equal to a preset stabilization time, thus determining that the hydrogen sensor is in a first reference state. The first oil sample has a hydrogen concentration of 0 μL / L and a hydrogen flow rate of a preset rate. The preset stabilization time is used to determine whether the hydrogen concentration of the first oil sample detected by the hydrogen sensor has stabilized, in order to avoid errors caused by detection fluctuations. The preset stabilization time can be reasonably set according to the type of the first oil sample, the hydrogen production rate, and the known sensitivity of the hydrogen sensor. For example, the preset stabilization time can be set to 40 min, 120 min, 500 min, etc. The first preset concentration and preset flow rate can be reasonably set according to the actual application scenario. This application embodiment does not specifically limit the above parameters.

[0071] Step 102: If the hydrogen concentration output by the hydrogen sensor in the first reference state enters a stable phase, stop timing the first detection duration and determine the first detection duration as the dynamic response time of the hydrogen sensor.

[0072] Response time refers to the time required for the reference state to reach a steady state.

[0073] In this embodiment, the hydrogen sensor is calibrated using a first oil sample with a hydrogen concentration of 0 μL / L and a flow rate of hydrogen per minute equal to a preset flow rate. The hydrogen sensor is then placed in the test oil sample and controlled to detect the sample containing the first preset hydrogen concentration, obtaining the hydrogen concentration at different sampling times. Once the hydrogen concentration detected by the sensor stabilizes, the first detection time from the start of detection to the stabilization of the hydrogen concentration is taken as the dynamic response time of the hydrogen sensor. This fully considers the impact of real-time hydrogen production from the oil sample on the testing, using a dynamically producing oil sample as the calibration condition to simulate the hydrogen concentration changes encountered by the hydrogen sensor in the actual working environment. This effectively reduces testing errors, making the response time of the hydrogen sensor more realistic and accurate, and contributing to improved accuracy of the test results.

[0074] For example, a test oil sample containing 34.6 μL / L hydrogen is prepared. A hydrogen sensor is placed in the first oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of 300 mL / min. After the hydrogen sensor stabilizes for 30 minutes, the test oil sample is injected into the flow cell via the oil sample storage device. Simultaneously, the hydrogen sensor is activated to monitor and time the flow, thus conducting a hydrogen response time test. Timing ends when the hydrogen sensor reaches a stable reading; this time period is recorded as the dynamic response time.

[0075] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, in order to fully illustrate the specific implementation process of this embodiment, the testing method of the hydrogen sensor further includes: determining the difference between the hydrogen concentration output by the hydrogen sensor at the current sampling time and the hydrogen concentration output at the previous sampling time; if the absolute value of the difference is less than or equal to the first threshold more than a preset number of times, it is determined that the hydrogen concentration has entered a stable stage.

[0076] The first threshold and the preset number of times can be reasonably set according to the inspection accuracy, and this application embodiment does not make specific limitations.

[0077] In this embodiment, during the detection of the test oil sample by the hydrogen sensor in the first reference state, if the absolute value of the difference between the hydrogen concentration detected at the current sampling time and the hydrogen concentration detected at the previous sampling time is less than or equal to a first threshold, it indicates that the hydrogen concentration changes at different sampling times are small and the hydrogen concentration change has tended to stabilize. Then, the number of times the absolute value of the difference is less than or equal to the first threshold is counted. When the number of times the absolute value of the difference is less than or equal to the first threshold exceeds a preset number, it indicates that the concentration detection has been in a stable state for a long time, and the hydrogen concentration is determined to have entered a stable stage. Therefore, by judging the difference and counting the number of times, the influence of short-term fluctuations on the determination of the stable stage can be eliminated, improving the accuracy of determining whether the hydrogen concentration has entered a stable stage.

[0078] Step 103: Control the hydrogen sensor in the second reference state to detect the test oil sample containing hydrogen at the second preset concentration, and time the second detection duration of the hydrogen sensor in the second reference state.

[0079] In this process, the hydrogen sensor is detecting hydrogen in the second oil sample. The sensor is set to a second baseline state, where the second oil sample has a hydrogen concentration of a third preset concentration and a hydrogen flow rate of a preset rate. It is understood that the third preset concentration is much lower than the second preset concentration, resulting in a significant change in hydrogen concentration, thus minimizing detection errors.

[0080] Step 104: If the hydrogen concentration output by the hydrogen sensor in the second reference state enters the growth phase, stop timing the second detection duration and determine the second detection duration as the first transient response time of the hydrogen sensor.

[0081] Transient response time refers to the time required to transition from one stable state to another relatively stable state.

[0082] In this embodiment, during the process of the hydrogen sensor detecting a second oil sample containing a low hydrogen concentration and with a hydrogen flow rate of a preset volume per minute, the hydrogen sensor is controlled to detect a test oil sample containing a second preset hydrogen concentration to test the sensitivity of the hydrogen sensor when the oil sample changes suddenly. When the hydrogen concentration detected by the hydrogen sensor increases, the second detection time from when the hydrogen sensor starts detecting the test oil sample to when the hydrogen concentration enters the growth phase is taken as the first transient response time of the hydrogen sensor in a dynamic scenario. On the one hand, by using an oil sample containing a low hydrogen concentration for initial calibration, the accuracy of the sensor in detecting low-concentration hydrogen can be ensured. On the other hand, using a dynamically hydrogen-producing oil sample as a calibration condition can simulate the change in hydrogen concentration under real working conditions, effectively reducing the inspection error and helping to accurately detect the response capability and stability of the hydrogen sensor in dynamic scenarios.

[0083] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, in order to fully illustrate the specific implementation process of this embodiment, the testing method of the hydrogen sensor further includes: determining the difference between the hydrogen concentration output by the hydrogen sensor at the current sampling time and the hydrogen concentration output at the previous sampling time; if the absolute value of the difference is greater than or equal to a second threshold, determining that the hydrogen concentration has entered the growth stage.

[0084] The second threshold can be reasonably set based on the concentration difference between the third preset concentration and the second preset concentration, as well as the hydrogen flow rate of the test oil sample. This application embodiment does not impose specific limitations.

[0085] In this embodiment, during the detection of the test oil sample by the hydrogen sensor in the second reference state, if the absolute value of the difference between the hydrogen concentration detected at the current sampling time and the hydrogen concentration detected at the previous sampling time is greater than or equal to the second threshold, it indicates that the hydrogen concentration obtained at different sampling times has changed significantly, and the change in hydrogen concentration has reached the level of the hydrogen concentration difference between the second oil sample and the test oil sample. Therefore, it is determined that the hydrogen concentration has entered the growth phase. Thus, by setting the second threshold, it is possible to quickly determine whether the hydrogen concentration has begun to increase, so as to promptly perceive the concentration change process of different oil samples and improve the accuracy of the transient response time test.

[0086] Step 105: If the dynamic response time or the first transient response time exceeds the corresponding preset parameter range, output the first prompt message.

[0087] The preset parameter range corresponding to the dynamic response time and the preset parameter range corresponding to the first transient response time may be different. The preset parameter range is reasonably set according to the inspection requirements of the hydrogen sensor.

[0088] The hydrogen sensor testing method provided in this application calibrates the hydrogen sensor using a first oil sample with a hydrogen concentration of 0 μL / L and a flow rate of hydrogen per minute equal to a preset flow rate as initial conditions. Then, the hydrogen sensor is placed in the oil sample to be tested, and the sensor is controlled to detect the oil sample containing hydrogen at the first preset concentration. Once the hydrogen concentration detected by the sensor stabilizes, the first detection time from the start of detection until the hydrogen concentration reaches a stable stage is taken as the dynamic response time of the hydrogen sensor. Similarly, the hydrogen sensor is calibrated using a second oil sample with a lower hydrogen concentration and a flow rate of hydrogen per minute equal to a preset flow rate as initial conditions. Then, the sensor is controlled to detect the oil sample containing hydrogen at the second preset concentration. When the hydrogen concentration detected by the sensor increases, the second detection time from the start of detection until the hydrogen concentration increases is taken as the first transient response time of the hydrogen sensor in a dynamic scenario. This method uses dynamically generated hydrogen oil samples as calibration conditions to simulate the hydrogen concentration changes encountered by the hydrogen sensor in actual working environments. This makes the response time of the hydrogen sensor more realistic and accurate, helping to improve the accuracy of the test results. Furthermore, when the dynamic response time or the first transient response time does not meet the required preset parameter range, a first prompt message is output. Thus, the sensitivity of the hydrogen sensor to changes in hydrogen concentration is tested through the dynamic response time and the first transient response time. Abnormal sensitivity is promptly alerted to the user, allowing for timely adjustment of the malfunctioning hydrogen sensor. This effectively prevents fluctuations or drift in the measurement results of the hydrogen sensor, ensuring the accuracy of the hydrogen sensor measurement and contributing to enhanced response speed and performance.

[0089] This embodiment provides a method for testing a hydrogen sensor, such as... Figure 2 As shown, the method includes:

[0090] Step 201: Control the hydrogen sensor in the third reference state to detect the test oil sample containing hydrogen of the first preset concentration, and time the third detection duration of the hydrogen sensor in the third reference state.

[0091] In this embodiment, the hydrogen sensor is immersed in the third oil sample for a duration greater than or equal to a preset stabilization time, thus determining that the hydrogen sensor is in a third reference state. The third oil sample is an oil sample with a hydrogen concentration of 0 μL / L. The preset stabilization time is used to determine whether the hydrogen concentration of the first oil sample detected by the hydrogen sensor has stabilized, in order to avoid errors caused by detection fluctuations. The preset stabilization time can be reasonably set according to the type of the first oil sample, the hydrogen production rate, and the known sensitivity of the hydrogen sensor. For example, the preset stabilization time can be set to 40 min, 120 min, 500 min, etc. The first preset concentration and preset flow rate can be reasonably set according to the actual application scenario. This application embodiment does not specifically limit the above parameters.

[0092] Step 202: If the hydrogen concentration output by the hydrogen sensor in the third reference state enters a stable phase, stop timing the third detection duration and determine the third detection duration as the static response time of the hydrogen sensor.

[0093] Response time refers to the time required for the reference state to reach a steady state.

[0094] In this embodiment, a third oil sample with a hydrogen concentration of 0 μL / L is used as the initial condition to calibrate the hydrogen sensor, bringing it to a zero-state. The hydrogen sensor is then placed in the test oil sample and controlled to detect the sample containing a first preset hydrogen concentration, obtaining the hydrogen concentration at different sampling times. Once the hydrogen concentration detected by the sensor stabilizes, the first detection time from the start of detection until the hydrogen concentration reaches a stable stage is defined as the static response time of the hydrogen sensor. By using an oil sample with a hydrogen concentration of 0 μL / L as the calibration condition to zero-state the hydrogen sensor, its sensitivity to hydrogen in the test oil sample is improved. This allows for a shorter static response time while reducing the requirements for the test oil sample, thus reducing the time and difficulty required for testing the hydrogen sensor and improving its testing efficiency.

[0095] For example, a test oil sample containing 34.6 μL / L hydrogen is prepared. A hydrogen sensor is placed in a third oil sample with a hydrogen concentration of 0 μL / L. After the hydrogen sensor stabilizes for 30 minutes, the oil sample storage device is used to inject the test oil sample into the flow cell. Simultaneously, the hydrogen sensor is activated to monitor and time the flow, thus conducting a hydrogen response time test. Timing ends when the hydrogen sensor reaches a stable reading; this time period is recorded as the dynamic response time. Figure 3 As shown, it takes about 30 minutes for the hydrogen sensor to reach stable operation after the test begins, so the static response time of the hydrogen sensor is 30 minutes.

[0096] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, in order to fully illustrate the specific implementation process of this embodiment, the testing method of the hydrogen sensor further includes: determining the difference between the hydrogen concentration output by the hydrogen sensor at the current sampling time and the hydrogen concentration output at the previous sampling time; if the absolute value of the difference is less than or equal to the first threshold more than a preset number of times, it is determined that the hydrogen concentration has entered a stable stage.

[0097] The first threshold and the preset number of times can be reasonably set according to the inspection accuracy, and this application embodiment does not make specific limitations.

[0098] In this embodiment, during the detection of the test oil sample by the hydrogen sensor in the third reference state, if the absolute value of the difference between the hydrogen concentration detected at the current sampling time and the hydrogen concentration detected at the previous sampling time is less than or equal to a first threshold, it indicates that the hydrogen concentration changes at different sampling times are small and the hydrogen concentration change has tended to stabilize. Then, the number of times the absolute value of the difference is less than or equal to the first threshold is counted. When the number of times the absolute value of the difference is less than or equal to the first threshold exceeds a preset number, it indicates that the concentration detection has been in a stable state for a long time, and the hydrogen concentration is determined to have entered a stable stage. Therefore, by judging the difference and counting the number of times, the influence of short-term fluctuations on the determination of the stable stage can be eliminated, improving the accuracy of determining whether the hydrogen concentration has entered a stable stage.

[0099] Step 203: Control the hydrogen sensor in the fourth reference state to detect the test oil sample containing hydrogen at the second preset concentration, and time the fourth detection duration of the hydrogen sensor in the fourth reference state.

[0100] In this process, the hydrogen sensor is detecting the fourth oil sample, establishing it as the fourth baseline state. This fourth oil sample has a hydrogen concentration of the third preset concentration. Understandably, the third preset concentration is much lower than the second preset concentration, creating a significant difference in hydrogen concentration to minimize testing errors.

[0101] Step 204: If the hydrogen concentration output by the hydrogen sensor in the fourth reference state enters the growth phase, stop timing the fourth detection duration and determine the fourth detection duration as the second transient response time of the hydrogen sensor.

[0102] Transient response time refers to the time required to transition from one stable state to another relatively stable state.

[0103] In this embodiment, during the detection of a fourth oil sample containing a low hydrogen concentration by the hydrogen sensor, the hydrogen sensor is controlled to detect a test oil sample containing a second preset hydrogen concentration to test the sensitivity of the hydrogen sensor when the oil sample changes suddenly. When the hydrogen concentration detected by the hydrogen sensor increases, the second detection time from the start of the hydrogen sensor detecting the test oil sample to the hydrogen concentration entering the increasing phase is taken as the second transient response time of the hydrogen sensor in the dynamic scenario. On the one hand, by using an oil sample containing a low hydrogen concentration for initial calibration, the accuracy of the sensor in detecting low-concentration hydrogen can be ensured. On the other hand, by using an oil sample with a hydrogen concentration of 0 μL / L as the calibration condition to zero the hydrogen sensor, the sensitivity of the hydrogen sensor to hydrogen in the test oil sample is improved. This reduces the requirements for the test oil sample while obtaining a static response time in a shorter time, thus reducing the time and difficulty required for testing the hydrogen sensor and improving the testing efficiency of the hydrogen sensor.

[0104] For example, during the testing of oil sample a (concentration of 34.6 μL / L), the oil sample storage device is controlled to inject a high-concentration oil sample b (concentration of 354.5 μL / L) into the flow cell. Figure 4 As shown, at the start of the injection of oil sample b at 13:53:39, the hydrogen sensor detected a hydrogen concentration of 39.0317 μL / L. At 13:54:39, the hydrogen concentration was 39.4656 μL / L. At 13:55:39, the hydrogen concentration was 39.9071 μL / L. At 13:56:39, the hydrogen concentration surged to 176.244 μL / L. When the hydrogen concentration was 34.6 μL / L, the transient response time of the hydrogen sensor was 3 minutes when switching from a low-concentration to a high-concentration oil sample during the test. By using the static response time and transient response time, the hydrogen sensor's testing cycle can be set more accurately.

[0105] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, in order to fully illustrate the specific implementation process of this embodiment, the testing method of the hydrogen sensor further includes: determining the difference between the hydrogen concentration output by the hydrogen sensor at the current sampling time and the hydrogen concentration output at the previous sampling time; if the absolute value of the difference is greater than or equal to a second threshold, determining that the hydrogen concentration has entered the growth stage.

[0106] The second threshold can be reasonably set based on the concentration difference between the third preset concentration and the second preset concentration, as well as the hydrogen flow rate of the test oil sample. This application embodiment does not impose specific limitations.

[0107] In this embodiment, during the detection of the test oil sample by the hydrogen sensor in the fourth reference state, if the absolute value of the difference between the hydrogen concentration detected at the current sampling time and the hydrogen concentration detected at the previous sampling time is greater than or equal to the second threshold, it indicates that the hydrogen concentration obtained at different sampling times has changed significantly, and the change in hydrogen concentration has reached the level of the hydrogen concentration difference between the fourth oil sample and the test oil sample. Therefore, it is determined that the hydrogen concentration has entered the growth phase. Thus, by setting the second threshold, it is possible to quickly determine whether the hydrogen concentration has begun to increase, so as to promptly perceive the concentration change process of different oil samples and improve the accuracy of the transient response time test.

[0108] Step 205: If the static response time or the second transient response time exceeds the corresponding preset parameter range, output the second prompt message.

[0109] In this embodiment, a second prompt message is output when the static response time or the second transient response time does not meet the required preset parameter range. This allows for rapid verification of the hydrogen sensor's sensitivity through the static and second transient response times, and timely notification to the user when sensitivity is abnormal. This facilitates timely troubleshooting of the malfunctioning hydrogen sensor, effectively preventing fluctuations or drift in the measurement results, ensuring the accuracy of the hydrogen sensor measurements, and contributing to enhanced response speed and performance.

[0110] Understandably, since the static response time can roughly reflect the sensitivity of the hydrogen sensor to changes in hydrogen concentration, after obtaining the static response time, the preset stabilization time and the hydrogen sensor inspection cycle for the next test can be set according to the static response time.

[0111] Furthermore, in addition to testing the dynamic / static response time and transient response time of the hydrogen sensor, the measurement error, performance influencing factors, and relative standard deviation of the hydrogen sensor can also be tested.

[0112] Specifically, the following methods can be used to test measurement errors and performance influencing factors:

[0113] Step 301: Control the hydrogen sensor to detect the test oil sample containing a fourth preset concentration of hydrogen under different environmental conditions, and obtain the test hydrogen concentration of the test oil sample under different environmental conditions after entering the stable stage.

[0114] The fourth preset concentration is greater than or equal to 50 μL / L. Environmental conditions include at least one of the following: oil sample temperature, oil sample pressure, oil sample flow rate, and hydrogen concentration in the oil sample.

[0115] Step 302: Obtain the hydrogen reference concentration of the test oil sample containing a fourth preset hydrogen concentration under different environmental conditions.

[0116] Step 303: Determine the measurement error of the hydrogen sensor under any environmental condition based on the test hydrogen concentration and the hydrogen reference concentration under any environmental condition.

[0117] Measurement error includes absolute error and relative error. Absolute error is the difference between the measured value and the true value, while relative error is the ratio between the absolute error and the true value. Specifically, measurement error can be calculated using the following formula:

[0118] E a = C o - C i ,

[0119] ,

[0120] In the formula, E a Indicates absolute error. E r Indicates relative error. C o This indicates the test hydrogen concentration. C i This indicates the reference concentration of hydrogen.

[0121] In this embodiment, a hydrogen sensor is controlled to detect test oil samples containing hydrogen at a fourth preset concentration (greater than or equal to 50 μL / L) under different environmental conditions, and the test hydrogen concentration during the stabilization phase is recorded. By comparing the test hydrogen concentration under a certain environmental condition with a known hydrogen reference concentration, the measurement error of the hydrogen sensor under that environmental condition is calculated. Therefore, by calculating the measurement error, the accuracy of the sensor's measurement values ​​can be understood, allowing for correction of the measurement results and improving the accuracy of the hydrogen sensor.

[0122] Step 304: Based on the measurement errors under different environmental conditions, generate the test curves of the hydrogen sensor under different environmental conditions;

[0123] Step 305: Determine the performance influencing factors of the hydrogen sensor based on the test curve.

[0124] In this embodiment, after obtaining the measurement errors under all possible environmental conditions, verification curves under different environmental conditions are generated using these measurement errors. This allows the curves to depict how the performance of the hydrogen sensor changes with environmental factors, and quantitatively analyzes the performance-influencing factors that significantly affect the hydrogen sensor. This provides a comprehensive understanding of the hydrogen sensor's performance under different environmental conditions, offering predictive guidance for its performance under operating conditions. It also facilitates better risk management and preventative measures, contributing to improved stability and reliability under specific conditions, and providing a scientific basis for quality control during production and maintenance.

[0125] For specific examples, (i) the effect of temperature on the test performance of hydrogen sensors;

[0126] A test oil sample with a hydrogen concentration greater than 50 μL / L was prepared. Then, a hydrogen sensor was placed on the container of the test oil sample. The container temperature was changed by controlling the heating component, and the measurement error of the hydrogen sensor at different temperatures was studied.

[0127] (ii) The effect of pressure on the test performance of hydrogen sensor;

[0128] Prepare test oil samples with a hydrogen concentration greater than 60 μL / L, then place a hydrogen sensor on the test container, and change the pressure of the test oil sample in the container by controlling the pressure controller to study the measurement error of the hydrogen sensor under different test oil sample pressures.

[0129] (III) The effect of oil flow velocity on the test performance of hydrogen sensor;

[0130] Test oil samples with a hydrogen concentration greater than 50 μL / L were prepared. Under the same temperature and pressure, the oil flow rate of the test oil sample was changed by controlling the opening ratio of the control valve assembly, and the measurement error of the hydrogen sensor under different oil flow rates was studied.

[0131] (iv) The effect of hydrogen concentration on the test performance of hydrogen sensor;

[0132] Oil samples with hydrogen concentrations ranging from 50 μL / L to 100 μL / L were prepared. Under the same temperature, pressure, and oil flow rate, the measurement error of hydrogen sensing at different hydrogen concentrations was studied.

[0133] Specifically, the relative standard deviation can be tested in the following way:

[0134] Step 401: Control the hydrogen sensor to detect the target number of tests on the test oil sample containing hydrogen at a fourth preset concentration, and obtain the hydrogen concentration of the test oil sample at the target number of tests.

[0135] The fourth preset concentration is greater than or equal to 50 μL / L. The number of target tests can be set reasonably according to the test accuracy, such as 3, 6, or 10 times.

[0136] Step 402: Determine the relative standard deviation of the hydrogen sensor based on the hydrogen concentration of the test oil sample for the target number of tests.

[0137] The relative standard deviation (RSD) is a metric used to measure the dispersion of a dataset. A lower RSD value indicates more stable and accurate measurements from the hydrogen sensor. Specifically, the relative standard deviation can be calculated using the following formula:

[0138] ×100%,

[0139] In the formula, RSD represents the relative standard deviation. Indicates the hydrogen sensor number i The hydrogen concentration obtained from the second test. n Indicates the number of target tests. express n The arithmetic mean of the hydrogen concentrations obtained from each test. i This indicates the test sequence number.

[0140] In this embodiment, by controlling the hydrogen sensor to perform multiple tests on the test oil sample containing a fourth preset concentration of hydrogen, multiple hydrogen concentration data are obtained. The relative standard deviation of the hydrogen sensor is determined based on the concentration, thereby effectively evaluating the hydrogen concentration in the test oil sample through the relative standard deviation, ensuring the stability and reliability of the hydrogen sensor, and helping to optimize the design and application scenarios of the hydrogen sensor.

[0141] It should be noted that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0142] Furthermore, such as Figure 5 As shown, as a specific implementation of the above-mentioned hydrogen sensor testing method, this application embodiment provides a hydrogen sensor testing device 500, which includes: a control module 501, a testing module 502, and a prompting module 503.

[0143] The control module 501 is used to control the hydrogen sensor in the first reference state to detect the test oil sample containing hydrogen of the first preset concentration. The hydrogen sensor is in the first oil sample for a duration greater than or equal to a preset stabilization duration, which determines that the hydrogen sensor is in the first reference state. The first oil sample is an oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of the preset flow rate.

[0144] The verification module 502 is used to time the first detection duration of the hydrogen sensor in the first reference state; and, if the hydrogen concentration output by the hydrogen sensor in the first reference state enters a stable stage, to stop timing the first detection duration and to determine the first detection duration as the dynamic response time of the hydrogen sensor.

[0145] The control module 501 is also used to control the hydrogen sensor in the second reference state to detect the test oil sample containing hydrogen at the second preset concentration. In the process of detecting the second oil sample, the hydrogen sensor is determined to be in the second reference state. The second oil sample is an oil sample with a hydrogen concentration of the third preset concentration and a hydrogen flow rate of the preset flow rate. The third preset concentration is less than the second preset concentration.

[0146] The verification module 502 is also used to time the second detection duration of the hydrogen sensor in the second reference state; and if the hydrogen concentration output by the hydrogen sensor in the second reference state enters the growth stage, to stop timing the second detection duration and to determine the second detection duration as the first transient response time of the hydrogen sensor.

[0147] The prompt module 503 is used to output a first prompt message if the dynamic response time or the first transient response time exceeds the corresponding preset parameter range.

[0148] In this embodiment, the hydrogen sensor is calibrated using a first oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of a preset velocity per minute as the initial conditions. The hydrogen sensor is then placed in the test oil sample and controlled to detect the test oil sample containing the first preset hydrogen concentration. Once the hydrogen concentration detected by the hydrogen sensor stabilizes, the first detection time from the start of detection to the stabilization of the hydrogen concentration is taken as the dynamic response time of the hydrogen sensor. Similarly, during the detection of a second oil sample with a lower hydrogen concentration and a hydrogen flow rate of a preset velocity per minute, the hydrogen sensor is controlled to detect the test oil sample containing the second preset hydrogen concentration to test the sensitivity of the hydrogen sensor when the oil sample undergoes a sudden change. When the hydrogen concentration detected by the hydrogen sensor increases, the second detection time from the start of detection to the increase in hydrogen concentration is taken as the first transient response time of the hydrogen sensor in the dynamic scenario. This method uses dynamically generated hydrogen oil samples as calibration conditions to simulate the hydrogen concentration changes encountered by the hydrogen sensor in actual working environments. This makes the response time of the hydrogen sensor more realistic and accurate, helping to improve the accuracy of the test results. Furthermore, when the dynamic response time or the first transient response time does not meet the required preset parameter range, a first prompt message is output. Thus, the sensitivity of the hydrogen sensor to changes in hydrogen concentration is tested through the dynamic response time and the first transient response time. Abnormal sensitivity is promptly alerted to the user, allowing for timely adjustment of the malfunctioning hydrogen sensor. This effectively prevents fluctuations or drift in the measurement results of the hydrogen sensor, ensuring the accuracy of the hydrogen sensor measurement and contributing to enhanced response speed and performance.

[0149] Furthermore, the control module 501 is also used to control the hydrogen sensor in the third reference state to detect the test oil sample containing hydrogen of the first preset concentration, and to time the third detection duration of the hydrogen sensor in the third reference state, wherein the duration of the hydrogen sensor in the third oil sample is greater than or equal to the preset stabilization duration, thus determining that the hydrogen sensor is in the third reference state, and the third oil sample is an oil sample with a hydrogen concentration of 0 μL / L; the test module 502 is also used to stop timing the third detection duration if the hydrogen concentration output by the hydrogen sensor in the third reference state enters the stabilization stage, and to determine the third detection duration as the static response time of the hydrogen sensor; the control module 501 is also used to control the hydrogen sensor in the fourth reference state. The hydrogen sensor in the fourth reference state detects an oil sample containing hydrogen at a second preset concentration and times the fourth detection duration of the hydrogen sensor in the fourth reference state. During the detection process of the hydrogen sensor in the fourth oil sample, it is determined that the hydrogen sensor is in the fourth reference state, and the fourth oil sample is an oil sample with a hydrogen concentration of a third preset concentration. The detection module 502 is further configured to stop timing the fourth detection duration if the hydrogen concentration output by the hydrogen sensor in the fourth reference state enters a growth phase, and to determine the fourth detection duration as the second transient response time of the hydrogen sensor. The prompt module 503 is further configured to output a second prompt message if the static response time or the second transient response time exceeds the corresponding preset parameter range.

[0150] Furthermore, the testing module 502 is also used to determine the difference between the hydrogen concentration output by the hydrogen sensor at the current sampling time and the hydrogen concentration output at the previous sampling time; if the absolute value of the difference is less than or equal to the first threshold more than a preset number of times, it is determined that the hydrogen concentration has entered the stable stage; if the absolute value of the difference is greater than or equal to the second threshold, it is determined that the hydrogen concentration has entered the growth stage.

[0151] Furthermore, the control module 501 is also used to control the hydrogen sensor to detect the test oil sample containing hydrogen at a fourth preset concentration under different environmental conditions, and to obtain the test hydrogen concentration of the test oil sample under different environmental conditions after entering the stable stage, wherein the fourth preset concentration is greater than or equal to 50 μL / L; the inspection module 502 is also used to obtain the hydrogen reference concentration of the test oil sample containing hydrogen at the fourth preset concentration under different environmental conditions; and, based on the test hydrogen concentration and the hydrogen reference concentration under any environmental condition, to determine the measurement error of the hydrogen sensor under any environmental condition, wherein the measurement error includes absolute error and relative error; and, based on the measurement error under different environmental conditions, to generate an inspection curve of the hydrogen sensor under different environmental conditions; and, based on the inspection curve, to determine the performance influencing factors of the hydrogen sensor.

[0152] Furthermore, the control module 501 is also used to control the hydrogen sensor to detect the test oil sample containing hydrogen of a fourth preset concentration for a target number of tests, and to obtain the hydrogen concentration of the test oil sample for the target number of tests, wherein the fourth preset concentration is greater than or equal to 50 μL / L; the test module 502 is also used to determine the relative standard deviation of the hydrogen sensor based on the hydrogen concentration of the test oil sample for the target number of tests.

[0153] Specific limitations regarding the testing device for hydrogen sensors can be found in the limitations of the testing method for hydrogen sensors described above, and will not be repeated here. Each module in the aforementioned testing device for hydrogen sensors can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in a computer device, or stored in software in the memory of a computer device, so that the processor can call and execute the corresponding operations of each module.

[0154] Based on the above, Figures 1 to 2 Accordingly, embodiments of this application also provide a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method. Figures 1 to 2 The method for testing the hydrogen sensor is shown.

[0155] Based on this understanding, the technical solution of this application can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, or portable hard drive), and includes several instructions to cause a computer device (such as a personal computer, server, or network device) to execute the methods described in the various implementation scenarios of this application.

[0156] Based on the above, Figures 1 to 2 The method shown, and Figure 5 In order to achieve the above objectives, the virtual device embodiment shown in this application also provides an inspection system, which includes a flow cell, an oil sample storage device, and inspection equipment.

[0157] Specifically, the flow cell is sealed by an end cap and is used to store the test oil sample for the hydrogen sensor to detect the hydrogen concentration in the sample. The oil sample storage device is connected to the flow cell via a connecting pipe and is used to transport the test oil sample to the flow cell. The testing equipment is electrically connected to the hydrogen sensor, and when executed, it implements the hydrogen sensor testing method provided in the above embodiment.

[0158] Optionally, the testing equipment can be a computer device, including a memory and a processor. This computer device may also include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, input units such as a keyboard, etc., and optionally, a USB interface, a card reader interface, etc. The network interface may optionally include standard wired interfaces, wireless interfaces (such as Bluetooth interfaces, Wi-Fi interfaces), etc.

[0159] Furthermore, the testing system also includes at least one of the following: a heating assembly, a pressure controller, and a valve assembly. The heating assembly is located around the flow cell and is communicatively connected to the testing equipment; the heating assembly is used to heat the flow cell. The pressure controller is located on and communicatively connected to the testing equipment; the pressure controller is used to change the pressure within the flow cell. The valve assembly is located on the connecting pipe and is communicatively connected to the testing equipment; the valve assembly is used to control the flow rate of the oil sample delivered to the flow cell.

[0160] Those skilled in the art will understand that the testing system structure provided in this embodiment does not constitute a limitation on the computer device, and may include more or fewer components, or combine certain components, or have different component arrangements.

[0161] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platform, or it can be implemented by hardware to control the hydrogen sensor in the first reference state to detect the test oil sample containing hydrogen of the first preset concentration, and to time the first detection time of the hydrogen sensor in the first reference state, wherein the time of the hydrogen sensor in the first oil sample is greater than or equal to the preset stabilization time, and the hydrogen sensor is determined to be in the first reference state, the first oil sample is the oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of the preset flow rate; if the hydrogen concentration output by the hydrogen sensor in the first reference state enters the stable stage, the timing of the first detection time is stopped, and the first detection time is determined as the hydrogen sensor's first detection time. The system measures the dynamic response time of a hydrogen sensor. It controls a hydrogen sensor in a second reference state to detect an oil sample containing a second preset hydrogen concentration, and times a second detection duration. During the detection process of the second oil sample, the hydrogen sensor is determined to be in the second reference state. The second oil sample has a hydrogen concentration of a third preset concentration and a hydrogen flow rate of a preset rate, where the third preset concentration is less than the second preset concentration. If the hydrogen concentration output by the hydrogen sensor in the second reference state enters a growth phase, the timing of the second detection duration is stopped, and the second detection duration is determined as the first transient response time of the hydrogen sensor. If the dynamic response time or the first transient response time exceeds the corresponding preset parameter range, a first prompt message is output. This embodiment not only achieves automated testing of the hydrogen sensor's response time but also uses dynamically generated hydrogen oil samples as calibration conditions to simulate the hydrogen concentration changes encountered by the hydrogen sensor in the actual working environment, making the hydrogen sensor's response time more realistic and accurate, thus improving the accuracy of the test results.

[0162] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes shown in the drawings are not necessarily essential for implementing this application. Those skilled in the art will understand that the modules in the apparatus of the embodiment can be distributed within the apparatus of the embodiment as described, or can be modified to be located in one or more apparatuses different from this embodiment. The modules of the above-described embodiment can be combined into one module, or further divided into multiple sub-modules.

[0163] The serial numbers in this application are for descriptive purposes only and do not represent the superiority or inferiority of any particular implementation scenario. The above disclosures are merely a few specific implementation scenarios of this application; however, this application is not limited thereto, and any variations conceived by those skilled in the art should fall within the protection scope of this application.

Claims

1. A method for testing a hydrogen sensor, characterized in that, The method includes: The hydrogen sensor, which is in a first reference state, is controlled to detect an oil sample containing a first preset concentration of hydrogen, and the first detection time of the hydrogen sensor in the first reference state is timed. The hydrogen sensor is in the first oil sample for a duration greater than or equal to a preset stabilization time. The hydrogen sensor is then determined to be in the first reference state. The first oil sample is an oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of a preset flow rate. If the hydrogen concentration output by the hydrogen sensor in the first reference state enters a stable phase, the timing of the first detection duration is stopped, and the first detection duration is determined as the dynamic response time of the hydrogen sensor. The hydrogen sensor, which is in a second reference state, is controlled to detect an oil sample containing a second preset concentration of hydrogen, and the second detection duration of the hydrogen sensor in the second reference state is timed. During the detection process of the hydrogen sensor in the second oil sample, it is determined that the hydrogen sensor is in the second reference state. The second oil sample is an oil sample with a hydrogen concentration of a third preset concentration and a hydrogen flow rate of a preset flow rate, wherein the third preset concentration is less than the second preset concentration. If the hydrogen concentration output by the hydrogen sensor in the second reference state enters the growth phase, the timing of the second detection duration is stopped, and the second detection duration is determined as the first transient response time of the hydrogen sensor. If the dynamic response time or the first transient response time exceeds the corresponding preset parameter range, a first prompt message is output.

2. The testing method for the hydrogen sensor according to claim 1, characterized in that, The method further includes: The hydrogen sensor in the third reference state is controlled to detect the test oil sample containing the first preset concentration of hydrogen, and the third detection time of the hydrogen sensor in the third reference state is timed, wherein the time of the hydrogen sensor in the third oil sample is greater than or equal to the preset stabilization time, and the hydrogen sensor is determined to be in the third reference state, and the third oil sample is an oil sample with a hydrogen concentration of 0 μL / L. If the hydrogen concentration output by the hydrogen sensor in the third reference state enters a stable phase, the timing of the third detection duration is stopped, and the third detection duration is determined as the static response time of the hydrogen sensor. The hydrogen sensor in the fourth reference state is controlled to detect the test oil sample containing hydrogen of the second preset concentration, and the fourth detection duration of the hydrogen sensor in the fourth reference state is timed. The hydrogen sensor is in the fourth reference state when it is detecting the fourth oil sample. The fourth oil sample is an oil sample with a hydrogen concentration of the third preset concentration. If the hydrogen concentration output by the hydrogen sensor in the fourth reference state enters the growth phase, the timing of the fourth detection duration is stopped, and the fourth detection duration is determined as the second transient response time of the hydrogen sensor. If the static response time or the second transient response time exceeds the corresponding preset parameter range, a second prompt message will be output.

3. The testing method for the hydrogen sensor according to claim 1 or 2, characterized in that, The method further includes: Determine the difference between the hydrogen concentration output by the hydrogen sensor at the current sampling time and the hydrogen concentration output at the previous sampling time; If the number of times the absolute value of the difference is less than or equal to the first threshold is greater than a preset number, it is determined that the hydrogen concentration has entered a stable stage. If the absolute value of the difference is greater than or equal to the second threshold, the hydrogen concentration is determined to have entered the growth phase.

4. The testing method for the hydrogen sensor according to claim 1 or 2, characterized in that, The method further includes: The hydrogen sensor is controlled to detect the test oil sample containing a fourth preset concentration of hydrogen under different environmental conditions, and the test hydrogen concentration of the test oil sample under different environmental conditions after entering the stable stage is obtained, wherein the fourth preset concentration is greater than or equal to 50 μL / L. Obtain the hydrogen reference concentration of the test oil sample containing a fourth preset hydrogen concentration under different environmental conditions; Based on the test hydrogen concentration and the hydrogen reference concentration under any environmental condition, the measurement error of the hydrogen sensor under that environmental condition is determined, wherein the measurement error includes absolute error and relative error; Based on the measurement errors under different environmental conditions, test curves for the hydrogen sensor under different environmental conditions are generated; The performance influencing factors of the hydrogen sensor are determined based on the test curve.

5. The testing method for the hydrogen sensor according to claim 4, characterized in that, The environmental conditions include at least one of the following: oil sample temperature, oil sample pressure, oil sample flow rate, and hydrogen concentration in the oil sample.

6. The testing method for a hydrogen sensor according to claim 1 or 2, characterized in that, The method further includes: The hydrogen sensor is controlled to detect the test oil sample containing hydrogen at a fourth preset concentration for a target number of tests, and the hydrogen concentration of the test oil sample for the target number of tests is obtained, wherein the fourth preset concentration is greater than or equal to 50 μL / L. The relative standard deviation of the hydrogen sensor is determined based on the hydrogen concentration of the test oil sample for the target number of tests.

7. A testing device for a hydrogen sensor, characterized in that, The device includes: The control module is used to control the hydrogen sensor in the first reference state to detect the test oil sample containing hydrogen of the first preset concentration, wherein the duration of the hydrogen sensor in the first oil sample is greater than or equal to the preset stabilization duration, and the hydrogen sensor is determined to be in the first reference state. The first oil sample is an oil sample with a hydrogen concentration of 0 μL / L and a hydrogen flow rate of the preset flow rate. The verification module is used to time the first detection duration of the hydrogen sensor in the first reference state; and, If the hydrogen concentration output by the hydrogen sensor in the first reference state enters a stable phase, the timing of the first detection duration is stopped, and the first detection duration is determined as the dynamic response time of the hydrogen sensor. The control module is also used to control the hydrogen sensor in the second reference state to detect the test oil sample containing hydrogen at the second preset concentration. In the process of detecting the second oil sample, the hydrogen sensor is determined to be in the second reference state. The second oil sample is an oil sample with a hydrogen concentration of the third preset concentration and a hydrogen flow rate of the preset flow rate. The third preset concentration is less than the second preset concentration. The inspection module is also used to time the second detection duration of the hydrogen sensor in the second reference state; and, If the hydrogen concentration output by the hydrogen sensor in the second reference state enters the growth phase, the timing of the second detection duration is stopped, and the second detection duration is determined as the first transient response time of the hydrogen sensor. The prompting module is used to output a first prompt message if the dynamic response time or the first transient response time exceeds the corresponding preset parameter range.

8. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the steps of the testing method for the hydrogen sensor as described in any one of claims 1 to 6.

9. An inspection system, characterized in that, include: A flow cell, sealed by an end cap, is used to store test oil samples for a hydrogen sensor to detect the hydrogen concentration in the test oil samples. An oil sample storage device is connected to the flow cell via a connecting pipe, and the oil sample storage device is used to transport the test oil sample to the flow cell; The testing equipment is electrically connected to the hydrogen sensor, and when the testing equipment is executed, it implements the steps of the testing method for the hydrogen sensor as described in any one of claims 1 to 6.

10. The inspection system according to claim 9, characterized in that, The inspection system also includes: A heating assembly is disposed around the flow cell and is communicatively connected to the testing equipment; the heating assembly is used to heat the flow cell. A pressure controller is located on the testing equipment and is communicatively connected to the testing equipment. The pressure controller is used to change the pressure in the flow cell. A valve assembly is disposed on the connecting pipe and is communicatively connected to the testing equipment. The valve assembly is used to control the flow rate of the oil sample being transported to the flow cell.

Citation Information

Patent Citations

  • Automatic calibration device for detection system of device used for monitoring dissolved gas in transformer oil online

    CN107389816A

  • Method and device for detecting high response speed, and high sensitivity of hydrogen gas

    JP2002357578A