Hydrogen detection and measurement value correction method based on hydrogen sensor

By analyzing the voltage data of the hydrogen sensor and dynamically assessing its aging trend, a hydrogen purity response and compensation confidence level were constructed, solving the problem of measurement distortion in the hydrogen sensor and achieving high-precision and reliable hydrogen concentration monitoring.

CN120741785BActive Publication Date: 2025-11-07SHENZHEN ZHIXIN WEINA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511208931.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-27
Publication Date
2025-11-07
Estimated Expiration
2045-08-27

AI Technical Summary

Technical Problem

Existing hydrogen sensors are susceptible to interference from coexisting gases, leading to distorted measurements and failing to meet the requirements for high-precision safety monitoring under complex industrial conditions.

Method used

By analyzing the voltage data of the active and reference units of the hydrogen sensor, a smoothing algorithm is used to obtain the voltage trend value and correlation coefficient, construct the hydrogen purity response, dynamically evaluate the aging trend of the sensor, and correct the measured value by combining the hydrogen compensation confidence.

Benefits of technology

It significantly improves the accuracy and reliability of hydrogen concentration detection, overcomes measurement deviations caused by sensor aging and environmental interference, and achieves long-term stability and accuracy and reliability of measurement results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120741785B_ABST
    Figure CN120741785B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of hydrogen detection, in particular to a hydrogen detection and measurement value correction method based on a hydrogen sensor, which comprises the following steps: determining a hydrogen purity response degree by analyzing the change trend of voltage data in an active unit within a preset time length at each moment and the correlation between voltage data of the active unit and a reference unit; and determining a hydrogen compensation confidence degree by analyzing the change trend of the hydrogen purity response degree at all moments within a preset time period, the average distribution and the dispersion degree of the hydrogen purity response degree, so as to correct the hydrogen concentration at each moment. The application solves the influence of cross interference of other combustible gases and baseline drift of the hydrogen sensor on hydrogen detection and concentration measurement, and improves the long-term stability, the accuracy and the reliability of the measurement result of the hydrogen concentration monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of hydrogen detection, in particular to a hydrogen detection method based on a hydrogen sensor and a measured value correction method. BACKGROUND

[0002] Hydrogen is an important clean energy carrier. Its colorless, odorless, flammable, explosive and low molecular weight characteristics make accurate monitoring of its concentration a prerequisite for safe use of hydrogen. Early hydrogen sensors are easily disturbed by coexisting gases such as carbon monoxide and methane, resulting in distorted hydrogen measurement values and reduced reliability, making it difficult to meet the strict requirements of high-precision safety monitoring under complex industrial conditions.

[0003] In the process of hydrogen detection, the prior art uses a pair of active units and reference units to suppress environmental noise by measuring the differential signal of the two units through a Wheatstone bridge. The active unit can respond to all combustible gases, while the reference unit only responds to the common-mode interference of the environment. However, the active unit has cross-sensitivity to combustible gases other than hydrogen, which will produce an unexpected response, and the baseline drift of the hydrogen sensor will cause the concentration measurement value to be false high or distorted, ultimately causing the differential output of the Wheatstone bridge to be a non-pure hydrogen concentration disturbed by the total combustible gas concentration in the environment, causing the measured value to continuously deviate from the true value, seriously affecting the accuracy and reliability of the monitoring. SUMMARY

[0004] To solve the above technical problems, the present application provides a hydrogen detection method based on a hydrogen sensor and a measured value correction method to solve the existing problems.

[0005] The hydrogen detection method based on a hydrogen sensor and the measured value correction method of the present application adopt the following technical solutions:

[0006] One embodiment of the present application provides a hydrogen detection method based on a hydrogen sensor and a measured value correction method, which comprises the following steps:

[0007] Respectively, real-time acquisition of voltage data of active units and reference units in the hydrogen sensor;

[0008] By analyzing the change trend of the voltage data in the active unit at each time and all times within a predetermined time period before each time, the voltage trend value of the active unit at each time is determined; based on the correlation of the voltage data between the active unit and the reference unit at each time and all times within a predetermined time period before each time, the voltage correlation at each time is determined, and the hydrogen purity response at each time is determined in combination with the voltage trend value;

[0009] The hydrogen purity trend value at each time is determined by analyzing the change trend of the hydrogen purity responsivity at each time and at all times within a preset time period before the time, so as to determine the first hydrogen credibility at each time; the hydrogen purity credibility at each time is determined by analyzing the average distribution and dispersion degree of the hydrogen purity responsivity at each time and at all times within a preset interval before the time, so as to determine the second hydrogen credibility at each time, and the hydrogen compensation confidence at each time is determined in combination with the first hydrogen credibility.

[0010] The hydrogen concentration at each time is acquired, and the hydrogen concentration at each time is corrected in combination with the hydrogen compensation confidence.

[0011] Preferably, the determination method of the voltage trend value of the active unit at each time is as follows:

[0012] The voltage data of the active unit at each time and at all times within a preset time length before the time are taken as the input of a smoothing algorithm, and the smoothing value output is taken as the voltage trend value of the active unit at each time.

[0013] Preferably, the voltage correlation at each time is the correlation coefficient of the voltage data between the active unit and the reference unit at all times within a preset time length before the time.

[0014] Preferably, the expression of the hydrogen purity responsivity at each time is as follows: ; in the formula, represents the hydrogen purity responsivity at time i; represents the voltage trend value at time i; represents the voltage correlation at time i.

[0015] Preferably, the determination method of the hydrogen purity trend value at each time is as follows:

[0016] The hydrogen purity responsivity at each time and at all times within a preset time period before the time is fitted to obtain a fitting straight line, and the slope of the fitting straight line is taken as the hydrogen purity trend value at each time.

[0017] Preferably, the expression of the first hydrogen credibility at each time is as follows: ; in the formula, represents the first hydrogen credibility at time i; represents the hydrogen purity trend value at time i; exp( ) represents an exponential function with a natural constant as the base number.

[0018] Preferably, the hydrogen purity credibility at each time is the result of the average level divided by the dispersion degree of the hydrogen purity responsivity at each time and at all times within a preset interval before the time.

[0019] Preferably, the second hydrogen credibility at each time point is the cumulative sum of hydrogen purity credibility at each time point and all time points within a preset time period before each time point.

[0020] Preferably, the hydrogen compensation confidence at each time point is the result of positive fusion of the first hydrogen credibility and the second hydrogen credibility at each time point.

[0021] Preferably, the correction of the hydrogen concentration at each time point comprises:

[0022] The expression of the hydrogen concentration correction value at time point i is: ; in the formula, represents the hydrogen concentration at time point i; represents the hydrogen compensation confidence at time point i; and norm() represents a normalization function.

[0023] The present application has at least the following beneficial effects:

[0024] The present application obtains a voltage trend value reflecting the total concentration of combustible gas through a smoothing algorithm, and quantifies the synchronism of the response of the active unit and the reference unit by using the Pearson correlation coefficient of the active unit and the reference unit, and then constructs a hydrogen purity response degree based on the voltage trend value and the voltage correlation degree, effectively strips the common interference signal, accurately captures the specific hydrogen response, and significantly improves the accuracy and reliability of hydrogen concentration detection in complex environments. Further, the present application dynamically evaluates the long-term aging trend and short-term measurement stability of the sensor, and constructs the first and second hydrogen credibility based thereon, and finally fuses to generate a hydrogen compensation confidence that can comprehensively reflect the health status of the sensor and the level of environmental interference, which not only provides a direct basis for judging the authenticity and reliability of the measurement data, but also realizes effective quantification and compensation of the drift error of the sensor system, thereby significantly improving the accuracy and reliability of hydrogen concentration monitoring in long-term and complex working conditions. Finally, the present application introduces the hydrogen compensation confidence to construct a dynamic and adaptive concentration correction model, which can intelligently identify and suppress the measurement deviation caused by sensor aging and environmental interference, and convert the original linear correction into nonlinear weighted correction based on the confidence, thereby improving the long-term stability of hydrogen concentration monitoring and the accuracy and reliability of the measurement results. BRIEF DESCRIPTION OF DRAWINGS

[0025] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the drawings needed in the description of the embodiments or the prior art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative labor.

[0026] ​Figure 1 A step flow chart of a hydrogen detection and measurement value correction method based on a hydrogen sensor is provided for an embodiment of the present application;

[0027] Figure 2 A hydrogen compensation confidence extraction process schematic diagram is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to further illustrate the technical means and effects adopted by the present application to achieve the predetermined purposes, the specific embodiments, structures, features and effects of the hydrogen detection and measurement value correction method based on a hydrogen sensor according to the present application are described in detail as follows in combination with the drawings and preferred embodiments. Different "one embodiment" or "another embodiment" in the following description do not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.

[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs.

[0030] The specific scheme of the hydrogen detection and measurement value correction method based on a hydrogen sensor provided by the present application is described in detail below in combination with the drawings.

[0031] The hydrogen detection and measurement value correction method based on a hydrogen sensor provided by an embodiment of the present application, specifically, the following hydrogen detection and measurement value correction method based on a hydrogen sensor is provided, please refer to Figure 1 The method comprises the following steps:

[0032] Step S1: Real-time acquisition of voltage data of active units and reference units in the hydrogen sensor, respectively.

[0033] In the process of measuring hydrogen concentration by using active units and reference units, the Wheatstone bridge converts the change of gas concentration into differential voltage output. Therefore, a high-precision voltage sensor is installed synchronously in the Wheatstone bridge circuit of the hydrogen sensor to collect voltage signals of two paths of the active units and the reference units to represent the gas concentration collected by the active units and the reference units. In this embodiment, the voltage collection frequency of the active units and the reference units is set to f, the value of f in this embodiment is artificially set, the value of f in this embodiment is 10 Hz, and in actual application, the implementer can also set it by himself according to the specific situation, which is not specially limited in this embodiment.

[0034] Step S2: determining the voltage trend value of the active unit at each time point by analyzing the change trend of the voltage data in the active unit at each time point and all time points within a preset time period before the time point; determining the voltage correlation at each time point based on the correlation of the voltage data between the active unit and the reference unit at all time points within a preset time period before the time point, and combining the voltage trend value to determine the hydrogen purity response at each time point.

[0035] In complex environments such as industry, the application of hydrogen sensors faces a core challenge, that is, the coexistence of combustible gases such as carbon monoxide and methane will seriously interfere with the measurement of hydrogen concentration by hydrogen sensors, which causes the original measurement signal of the active unit to contain not only the response of hydrogen but also the response of other gases and environmental noise, resulting in false high and distortion of the measurement value, and unable to achieve specific and high-precision detection of hydrogen.

[0036] Therefore, in order to solve the above problems, it is first necessary to understand how high the overall level of combustible gases in the environment is, and further determine to what extent the response of the active unit is caused by hydrogen rather than other interfering gases or common mode noise. Thus, in the embodiment, the voltage trend value of the active unit at each time point is determined by analyzing the change trend of the voltage data in the active unit at each time point and all time points within a preset time period before the time point; the voltage correlation at each time point is determined based on the correlation of the voltage data between the active unit and the reference unit at all time points within a preset time period before the time point, and the voltage trend value is combined to determine the hydrogen purity response at each time point, thereby achieving high-precision detection of hydrogen concentration, specifically:

[0037] First, in the embodiment, the voltage trend value of the active unit at each time point is determined by analyzing the change trend of the voltage data in the active unit at each time point and all time points within a preset time period before the time point, to reflect the overall response strength of the hydrogen sensor to combustible gases, specifically:

[0038] In the embodiment, the voltage data of the active unit at each time point and all time points within a preset time period is taken as the input of the smoothing algorithm, and the smoothed value is taken as the voltage trend value of the active unit at each time point.

[0039] It should be noted that the value of the preset time period is artificially set, and in the embodiment, the value of the preset time period is 1 min. In actual application, as an alternative embodiment, the implementer can also set it himself according to the specific circumstances, and the embodiment does not make special limitations.

[0040] It should be noted that there are many commonly used smoothing algorithms, and in the present embodiment, a moving average algorithm is used to obtain the voltage trend value, and the specific process is as follows: all voltage data of the active unit at each time and all previous times are taken as the input of the moving average algorithm, wherein the time window size is set to 0.5s to suppress transient noise and not to mask the true hydrogen response, and finally the smoothed value is output as the voltage trend value at each time, which is used to represent the total response intensity of the hydrogen sensor to all combustible gases in the environment. The greater the voltage trend value, the higher the total concentration of combustible gases in the environment, indicating a higher level of environmental flammability risk. Conversely, the smaller the voltage trend value, the lower the combustible gas content in the environment, indicating a lower risk of combustion.

[0041] Further, in the present embodiment, the voltage correlation degree at each time is determined based on the correlation of all voltage data between the active unit and the reference unit at each time and within a preset time period before each time, to reflect the linear correlation between the voltage data of the active unit and the reference unit. Specifically:

[0042] In the present embodiment, the correlation coefficient of all voltage data between the active unit and the reference unit at each time and within a preset time period before each time is taken as the voltage correlation degree at each time, which is used to measure the linear relationship between the voltage signal of the active unit and the voltage signal of the reference unit. The voltage correlation degree reflects the synchronicity or similarity of the active unit response and the reference unit response. The closer the absolute value of the correlation coefficient is to 1, the stronger the linear relationship between the voltage change trend of the active unit and the voltage change trend of the reference unit, indicating that there is a strong predictable linear relationship between the voltage change trend of the active unit and the voltage change trend of the reference unit. If the correlation coefficient tends to 0, it means that the possibility of linear relationship between the voltage change of the active unit and the voltage change of the reference unit is smaller, which means that the gas will specifically affect the active unit, but not the reference unit, thereby breaking the original linear relationship between the two.

[0043] It should be noted that there are many methods for calculating the correlation coefficient, and in the present embodiment, the Pearson correlation coefficient of all voltage data between the active unit and the reference unit at each time and within a preset time period before each time is taken as the correlation coefficient of all voltage data between the active unit and the reference unit at each time and within a preset time period before each time. In actual application, as an alternative, the implementer can also select Kendall rank correlation coefficient or Spearman correlation coefficient or other correlation coefficient calculation methods according to the specific circumstances. The selection of the correlation coefficient calculation method is not specially limited in the present embodiment.

[0044] The calculation method of the Pearson correlation coefficient is a known technology, and its specific calculation process will not be described again.

[0045] Further, the embodiment determines the hydrogen purity response degree at each time point based on the voltage trend value and the voltage correlation degree obtained above, and specifically:

[0046] As an implementation, in the embodiment, the expression of the hydrogen purity response degree at time point i is: ; in the formula, represents the voltage trend value at time point i; represents the voltage correlation degree at time point i.

[0047] According to the hydrogen purity response degree at each time point, it can be understood that the hydrogen purity response degree reflects the confidence that the signal captured by the hydrogen sensor comes from the real specific gas. If the voltage trend value at the current time point is larger, and the voltage correlation degree tends to 0, it indicates that the total concentration of combustible gas in the environment at the current time point is higher, and the gas response of the active unit is likely to come from hydrogen. Therefore, the corresponding hydrogen purity response degree is larger. Conversely, if the voltage trend value at the current time point is smaller, and the voltage correlation degree tends to 1, it indicates that the total concentration of combustible gas in the environment at the current time point is lower, or even if the total concentration increases, but the gas response of the active unit is likely to come from other interference gases such as carbon monoxide and methane, rather than specific hydrogen. Therefore, the corresponding hydrogen purity response degree is smaller.

[0048] So far, the embodiment obtains the voltage trend value reflecting the total concentration of combustible gas by using the moving average algorithm, and quantifies the synchronism of the response of the active unit and the reference unit by using the Pearson correlation coefficient. Then, the hydrogen purity response degree is constructed based on the voltage trend value and the voltage correlation degree, the common interference signal is effectively stripped, the specific hydrogen response is accurately captured, and the accuracy and reliability of hydrogen concentration detection in a complex environment are significantly improved.

[0049] Step S3: Determine the hydrogen purity trend value at each time point by analyzing the change trend of the hydrogen purity response degree at each time point and all time points in the preset time period before the time point, to determine the first hydrogen confidence at each time point; determine the hydrogen purity confidence at each time point by analyzing the average distribution and dispersion degree of the hydrogen purity response degree at each time point and all time points in the preset interval before the time point, to determine the second hydrogen confidence at each time point, and determine the hydrogen compensation confidence at each time point in combination with the first hydrogen confidence.

[0050] The hydrogen sensor working for a long time is easily affected by thermal stress and environmental changes, which causes the aging of the lattice structure of the sensitive film in the hydrogen sensor, causes the irreversible relaxation of the signal output by the hydrogen sensor, and causes the systematic deviation of the hydrogen concentration measurement value with time, which seriously affects the accuracy of hydrogen concentration measurement.

[0051] ​Therefore, based on the above analysis, the embodiment determines the hydrogen purity trend value at each time point by analyzing the change trend of the hydrogen purity responsivity at each time point and all time points in the preset time period before the time point, to determine the first hydrogen reliability at each time point; determines the hydrogen purity reliability at each time point by analyzing the average distribution and dispersion degree of the hydrogen purity responsivity at each time point and all time points in the preset interval before the time point, to determine the second hydrogen reliability at each time point, and combines the first hydrogen reliability to determine the hydrogen compensation confidence at each time point, to quantify the ability of the hydrogen sensor to overcome its own aging drift, and also reflects the stability of the measurement result in a complex environment, thereby providing a reliable criterion for accurate monitoring of hydrogen concentration, to improve the accuracy of the hydrogen sensor in measuring hydrogen concentration, and the specific process is as follows:

[0052] In the embodiment, first, the hydrogen purity trend value at each time point is determined by analyzing the change trend of the hydrogen purity responsivity at each time point and all time points in the preset time period before the time point, to determine the first hydrogen reliability at each time point, specifically:

[0053] In the embodiment, the hydrogen purity responsivity at each time point and all time points in the preset time period before the time point is fitted to obtain a fitting straight line, and the slope of the fitting straight line is taken as the hydrogen purity trend value at each time point.

[0054] It should be noted that there are many common fitting methods, and in the embodiment, the least squares method is used to fit the hydrogen purity responsivity at each time point and all time points in the preset time period, and in actual application, as other implementation manners, the implementer can also use other fitting methods such as polynomial regression fitting method according to the specific circumstances, and the selection of the fitting method is not specially limited in the embodiment.

[0055] Among them, the least squares method is a known technology, and the specific process of fitting the hydrogen purity responsivity will not be repeated.

[0056] It should be noted that the value of the preset time period length is artificially set, and in the embodiment, the value of the preset time period length is 1 min, and in actual application, as other implementation manners, the implementer can also set it according to the specific circumstances, and the embodiment does not make special limitation.

[0057] Further, according to the hydrogen purity trend value at each time point, it can be understood that the hydrogen purity trend value quantifies the aging degree of the hydrogen sensor. When the hydrogen purity trend value is positive and large, it means that even if the hydrogen concentration in the environment does not change, the hydrogen purity response degree is systematically increasing over time, which usually reflects that the baseline of the sensor is drifting upward, which may be because the sensitive film material is continuously deteriorating, causing the response to hydrogen gas to become stronger. The smaller the negative hydrogen purity response degree is, the more the baseline of the hydrogen sensor is drifting downward, and the activity of the sensitive material in the hydrogen sensor may be irreversibly attenuating, reflecting that the more serious the aging problem of the hydrogen sensor is, the larger the system drift error contained in the measured hydrogen concentration is, and the lower the accuracy of the hydrogen concentration measurement is.

[0058] On the contrary, when the hydrogen purity trend value approaches 0, it means that the change trend of the hydrogen purity response degree over time is very gentle, and almost no systematic shift occurs over time, which usually reflects that the baseline of the sensor is very stable, the lattice structure of the sensitive film material remains good, and the aging process is extremely slow or has entered a stable period. In this case, the system drift error contained in the hydrogen concentration signal output by the sensor is extremely small, and the measurement accuracy is mainly determined by short-term random noise and transient interference, which overall provides a basic prerequisite for realizing high-precision and high-reliability hydrogen concentration measurement.

[0059] Further, based on the hydrogen purity trend value, the first hydrogen reliability at each time point is determined in the embodiment, specifically:

[0060] In the embodiment, the expression of the first hydrogen reliability at time point i is: ; in the formula, indicates the hydrogen purity trend value at time point i; exp() indicates an exponential function with a natural constant as the base.

[0061] According to the first hydrogen reliability at each time point, it can be understood that the first hydrogen reliability directly reflects the long-term reliability of the hydrogen sensor. The larger the absolute value of the hydrogen purity trend value is, the faster the hydrogen sensor ages, and the less reliable the long-term is. Therefore, the corresponding first hydrogen reliability is low, indicating that the current hydrogen concentration data has serious systematic deviation. On the contrary, when the absolute value of the hydrogen purity trend value is smaller and approaches 0, it means that the aging speed of the hydrogen sensor is very slow, and the long-term is very reliable. Therefore, the corresponding first hydrogen reliability is high, indicating that the stability of the current hydrogen concentration data is good, and can more truly reflect the hydrogen concentration level in the environment.

[0062] ​Further, the embodiment determines the hydrogen purity reliability at each time point by analyzing the average distribution and dispersion degree of the hydrogen purity responsiveness at all time points in the preset interval before the time point, to determine the second hydrogen reliability at each time point, specifically:

[0063] In the embodiment, the result of the average level of the hydrogen purity responsiveness at all time points in the preset interval before the time point is divided by the dispersion degree of the hydrogen purity responsiveness at all time points in the preset interval before the time point, as the hydrogen purity reliability at each time point, for evaluating the short-term confidence of hydrogen detection. If the average level of the hydrogen purity responsiveness at all time points in the preset interval before the time point is higher, and the dispersion degree of the hydrogen purity responsiveness is smaller, it means that there is a hydrogen signal with high reliability in the environment, so the corresponding hydrogen purity reliability is relatively large. Conversely, if the average level of the hydrogen purity responsiveness at all time points in the preset interval before the time point is lower, and the dispersion degree of the hydrogen purity responsiveness is larger, it means that the hydrogen signal in the environment is weak and unstable, or there is strong transient interference noise, resulting in a decrease in the reliability of the signal, so the corresponding hydrogen purity reliability is relatively small.

[0064] It is to be noted that the value of the preset interval length is artificially set, and in the embodiment, the value of the preset interval length is 30s. In actual application, as other implementation manners, the implementer can also set it according to the specific situation, and the embodiment does not have special limitations.

[0065] It is to be noted that there are many methods for measuring the average level and dispersion degree of a group of data. In the embodiment, the mean of the hydrogen purity responsiveness at all time points in the preset interval before the time point is taken as the average level of the hydrogen purity responsiveness at all time points in the preset interval before the time point, and the standard deviation of the hydrogen purity responsiveness at all time points in the preset interval before the time point is taken as the dispersion degree of the hydrogen purity responsiveness at all time points in the preset interval before the time point. In actual application, as other implementation manners, the implementer can also use the geometric mean and other methods for measuring the average level of data according to the specific situation, and can also use the variance or dispersion coefficient and other methods for measuring the dispersion degree of data according to the specific situation. The embodiment does not have special limitations on the selection of the method for measuring the average level or dispersion degree of data.

[0066] Further, the embodiment accumulates the hydrogen purity reliability at all time points in the preset interval before the time point, as the second hydrogen reliability at each time point, for representing the overall level and stability of hydrogen detection. The larger the second hydrogen reliability is, the better the overall level and stability of hydrogen detection are, and vice versa.

[0067] Further, the embodiment determines the hydrogen compensation confidence at each time point based on the first hydrogen confidence at the time point and in combination with the second hydrogen confidence, specifically:

[0068] The embodiment takes the result of the positive fusion of the first hydrogen confidence and the second hydrogen confidence at each time point as the hydrogen compensation confidence at the time point.

[0069] It should be understood that the positive fusion refers to combining two or more indicators together through addition or multiplication or the like, so as to obtain a comprehensive indicator, thereby more comprehensively and accurately evaluating a phenomenon or a problem. The fusion method is not limited to simple arithmetic operation, but can also include more complex statistical models and analysis methods, and the implementer can select them according to specific circumstances, and the embodiment does not make special limitations.

[0070] Preferably, as a specific implementation, the embodiment takes the product of the first hydrogen confidence and the second hydrogen confidence at each time point as the hydrogen compensation confidence at the time point.

[0071] According to the hydrogen compensation confidence at each time point, it can be understood that the hydrogen compensation confidence reflects the real and reliable degree of the current hydrogen concentration measurement value output by the hydrogen sensor after overcoming its long-term aging problem and short-term environmental interference. If the first hydrogen confidence at the current time point is larger, it means that the hydrogen sensor is in good condition, and the long-term drift is not the main problem, so that the final confidence can more truly reflect the short-term signal quality and is not affected by the aging of the hydrogen sensor. At the same time, if the second hydrogen confidence at the current time point is larger, it means that the hydrogen measurement environment is stable in the recent period of time before the current time point, indicating that the current hydrogen measurement result is supported by good historical data, and the hydrogen measurement result at the current time point is reliable, so the corresponding hydrogen compensation confidence is larger.

[0072] On the contrary, if the first hydrogen confidence at the current time point is smaller, it means that the hydrogen sensor has a serious aging problem, and the long-term drift is the main factor affecting the measurement accuracy. At this time, even if the short-term signal quality is acceptable, the final result is also easily polluted by the aging trend of the sensor itself, resulting in distorted confidence. At the same time, if the second hydrogen confidence at the current time point is smaller, it means that the hydrogen measurement environment has a dramatic fluctuation or strong transient interference in the recent period of time before the current time point, and lacks stable historical data support, indicating that the hydrogen measurement result at the current time point is an isolated or unreliable reading, so the corresponding hydrogen compensation confidence is smaller.

[0073] Thus, this embodiment dynamically evaluates the long-term aging trend and short-term measurement stability of the sensor, and constructs the first and second hydrogen confidence scores based on this. Finally, it merges these scores to generate a hydrogen compensation confidence score that comprehensively reflects the sensor's health status and environmental interference level. This not only provides a direct basis for judging the authenticity and reliability of the measurement data, but also achieves effective quantification and compensation of the sensor system's drift error, thereby significantly improving the accuracy and reliability of hydrogen concentration monitoring under long-term and complex operating conditions.

[0074] Step S4: Obtain the hydrogen concentration at each time point, and correct the hydrogen concentration at each time point in combination with the hydrogen compensation confidence level.

[0075] Due to the cross-sensitivity of coexisting combustible gases and baseline drift issues analyzed in steps S2 and S3, traditional differential circuits cannot correct for these problems. This results in the inability to distinguish the specific response of hydrogen, causing the measured hydrogen concentration to continuously and increasingly deviate from the true hydrogen concentration value. Therefore, this embodiment obtains the hydrogen compensation confidence level based on steps S2 and S3 and corrects the hydrogen concentration. The specific process is as follows:

[0076] First, the differential voltage signal between the active unit and the reference unit in the hydrogen sensor is converted into hydrogen concentration, and the hydrogen concentration at each time point is obtained in real time.

[0077] Furthermore, the hydrogen concentration at each time point is corrected based on the hydrogen compensation confidence level, specifically as follows:

[0078] In this embodiment, the hydrogen concentration correction value at time i The expression is: In the formula, This represents the hydrogen concentration at time i; represents the hydrogen compensation confidence level at time i; norm() represents the normalization function.

[0079] Preferably, the schematic diagram of the hydrogen compensation confidence extraction process provided in this embodiment is as follows: Figure 2 As shown.

[0080] It should be noted that the normalization processing of the hydrogen compensation correction value in the embodiment is normalized between [0.5, 1] by using an activation function. If the normalized value of the hydrogen compensation confidence at time i is closer to 1, it indicates that the drift rate of the hydrogen sensor is very small, indicating that the aging speed of the hydrogen sensor is very slow, the baseline drift problem is not serious, and the average level of the hydrogen purity response is high and the fluctuation degree is small, which is not affected by strong instantaneous noise interference. Therefore, the hydrogen concentration at this time is more reliable and does not need to be adjusted greatly. On the contrary, if the normalized value of the hydrogen compensation confidence at time i is closer to 0.5, it indicates that the drift rate of the hydrogen sensor is very large, indicating that the aging speed of the hydrogen sensor is fast, the baseline drift problem is serious, and the average level of the hydrogen purity response is low and the fluctuation degree is large, which is likely to be affected by strong instantaneous noise or interference gas. Therefore, the hydrogen concentration at this time is not reliable and the original measurement value has a large distortion risk, and must be greatly corrected downward to suppress the false high concentration value caused by sensor aging and environmental interference, and to ensure the safety and reliability of the output result.

[0081] So far, by introducing the hydrogen compensation confidence, the embodiment constructs a dynamic and adaptive concentration correction model, which can intelligently identify and suppress the measurement deviation caused by sensor aging and environmental interference, and convert the original linear correction to nonlinear weighted correction based on confidence, thereby significantly improving the long-term stability of hydrogen concentration monitoring and the accuracy and reliability of the measurement result.

[0082] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of the present application. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are possible or can be advantageous.

[0083] Each embodiment in the specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other, and each embodiment mainly describes the difference from other embodiments.

[0084] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit them; modifying the technical solutions described in the above embodiments, or equivalently replacing some technical features, does not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and all should be included in the protection scope of the present application.

Claims

1. A hydrogen detection and measurement value correction method based on a hydrogen sensor, characterized by, The method comprises the following steps: Real-time voltage data of the active unit and the reference unit in the hydrogen sensor are acquired respectively; A voltage trend value of the active unit at each time point is determined by analyzing the change trend of the voltage data in the active unit at each time point and all time points within a preset time period before the time point; a voltage correlation at each time point is determined based on the correlation of the voltage data between the active unit and the reference unit at all time points within the preset time period before the time point, and the voltage trend value, to determine a hydrogen purity response at each time point; A hydrogen purity trend value at each time point is determined by analyzing the change trend of the hydrogen purity response at each time point and all time points within a preset time period before the time point, to determine a first hydrogen credibility at each time point; a hydrogen purity credibility at each time point is determined by analyzing the average distribution and dispersion degree of the hydrogen purity response at each time point and all time points within a preset interval before the time point, to determine a second hydrogen credibility at each time point, and the first hydrogen credibility, to determine a hydrogen compensation confidence at each time point; Hydrogen concentration at each time point is acquired, and the hydrogen concentration at each time point is corrected based on the hydrogen compensation confidence. The expression of the hydrogen purity response at each time is: ; in which, represents the hydrogen purity response at time i; represents the voltage trend value at time i; represents the voltage correlation at time i; The expression of the first hydrogen credibility at each time point is: ; in the formula, represents the first hydrogen credibility at time point i; represents the hydrogen purity trend value at time point i; exp() represents an exponential function with a natural constant as the base number; The correction of the hydrogen concentration at each time point comprises: hydrogen concentration correction value at time i The expression is: ; in which, represents the hydrogen concentration at time i; represents the hydrogen compensation confidence at time i; norm() represents a normalization function.

2. The hydrogen detection and measurement value correction method based on a hydrogen sensor according to claim 1, characterized by, The determination method of the voltage trend value of the active unit at each time point is as follows: The voltage data of the active unit at each time point and all time points within the preset time period before the time point are taken as the input of a smoothing algorithm, and the output smoothing value is taken as the voltage trend value of the active unit at each time point.

3. The hydrogen detection and measurement value correction method based on a hydrogen sensor according to claim 1, characterized by, The voltage correlation at each time point is the correlation coefficient of the voltage data between the active unit and the reference unit at all time points within the preset time period before the time point.

4. The hydrogen detection and measurement value correction method based on a hydrogen sensor according to claim 1, characterized by, The determination method of the hydrogen purity trend value at each time point is as follows: The hydrogen purity responses at each time point and all time points within the preset time period before the time point are fitted to obtain a fitting straight line, and the slope of the fitting straight line is taken as the hydrogen purity trend value at each time point.

5. The hydrogen detection and measurement value correction method based on a hydrogen sensor according to claim 1, wherein The hydrogen purity credibility at each time point is the result of the average level of the hydrogen purity response at each time point and all time points within the preset interval before the time point divided by the dispersion degree.

6. The hydrogen detection and measurement value correction method based on a hydrogen sensor according to claim 1, wherein The second hydrogen credibility at each time point is the cumulative sum of the hydrogen purity credibility at each time point and all time points within the preset time period before the time point.

7. The hydrogen detection and measurement value correction method based on a hydrogen sensor according to claim 1, wherein The hydrogen compensation confidence at each time point is the result of the positive fusion of the first hydrogen credibility and the second hydrogen credibility at each time point.

Citation Information

Patent Citations

  • Computer-implemented system and method for analyzing mixtures of gases

    US20060155486A1

  • System and method for detecting methane and other gases using a remotely deployable, off-grid system

    US20240053312A1