Adaptive detection components, methods, apparatus, equipment, and storage media for insulating gases
By employing adaptive detection components and methods, utilizing a blower, heater, and electrochemical sensor, and combining the least squares method and similarity index method, the problem of gas sensors being affected by temperature and gas interference was solved, thus achieving accuracy and reliability of gas concentration data.
Patent Information
- Application Number
- CN202510322607.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2045-03-19
AI Technical Summary
In existing technologies, after the insulating gas decomposes, the gas sensor is affected by temperature and other gas interference, resulting in inaccurate concentration data.
An adaptive detection component consisting of a blower, heater, temperature sensor, and multiple electrochemical sensors is used. By combining the least squares method and the similarity index method, a sensor sampling value equation is constructed, and the gas concentration is determined by multiple gas acquisition arrays and temperature conditions.
By eliminating interference from other gases, the output gas concentration data of the electrochemical sensor is accurate and reliable.
Smart Images

Figure CN120142405B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of insulation gas decomposition product concentration detection technology, and in particular to an adaptive detection component, method, device, equipment and storage medium for insulation gases. Background Technology
[0002] Gas insulation materials are gases that maintain insulation between electrodes with a potential difference. Gas insulation has advantages such as stable permittivity, minimal dielectric loss, non-flammability, non-explosiveness, good chemical stability, non-aging, and low cost.
[0003] Sulfur hexafluoride, as a mainstream gas insulating material, is widely used in gas-insulated switchgear (GIS). In GIS, the insulating gas can decompose to a certain extent due to the influence of electrical equipment. The decomposition products usually include SO2, CO, and H2S. Real-time monitoring of the concentration of insulating gas and decomposition products is the key to ensuring the stable operation of GIS.
[0004] Currently, the concentration monitoring data of insulating gases and their decomposition products are obtained through sensor readings or simple calculations. Because insulating gases and their decomposition products can have various effects on the sensor module, potentially interfering with accurate measurements, the concentration data for insulating gases and their decomposition products is usually inaccurate.
[0005] To address this issue, it is necessary to study the interference effects of different gas backgrounds on sensor modules.
[0006] Therefore, it is necessary to develop and design an adaptive detection method for insulating gases. Summary of the Invention
[0007] The present invention provides an adaptive detection component, method, apparatus, device, and storage medium for insulating gases, which solves the problem in the prior art where gas sensors output inaccurate gas concentration data due to temperature and interference from other gases after the decomposition of insulating gases.
[0008] In a first aspect, embodiments of the present invention provide an insulating gas adaptive detection component, comprising:
[0009] The system includes a blower, a heater, a blower duct, a first temperature sensor, a second temperature sensor, a processor, and multiple electrochemical sensors, each corresponding to a specific gas.
[0010] The outlet of the blower is connected to the inlet of the air supply pipe, the heater is fixedly installed on the outlet side of the blower, and the measuring ends of the plurality of electrochemical sensors are fixed in a circumferential array inside the air supply pipe.
[0011] The first temperature sensor and the second temperature sensor are respectively installed on the inlet side of the air supply duct and the outlet side of the air supply duct;
[0012] The processor is electrically connected to the plurality of electrochemical sensors respectively;
[0013] When gas acquisition arrays are obtained under different temperature conditions, the processor determines the concentration of multiple gases in the mixed gas based on the multiple gas acquisition arrays and the temperature conditions corresponding to each gas acquisition array. The gas acquisition arrays include multiple gas sampling values, and each gas sampling value is obtained based on a corresponding electrochemical sensor.
[0014] In a second aspect, embodiments of the present invention provide an adaptive detection method for insulating gases, applied to the adaptive detection component for insulating gases as described in the first aspect, the adaptive detection method for insulating gases comprising:
[0015] Multiple gas acquisition arrays are obtained, where each gas acquisition array corresponds to a sampling temperature. Each gas acquisition array includes multiple stable gas sampling values, which represent the sampling values when the sensor outputs stably at a predetermined sampling temperature.
[0016] Substitute the multiple gas acquisition arrays and the corresponding sampling temperatures into the sensor sampling value equation set to obtain multiple first equation sets. The sensor sampling value equations output sensor sampling values based on multiple gas concentrations and air temperature. The sensor sampling value equations are constructed based on the sampling values of a predetermined ratio of mixed gas under multiple test temperature conditions.
[0017] Solving the multiple sets of first equations yields multiple gas concentrations.
[0018] In one possible implementation, acquiring multiple gas acquisition arrays includes:
[0019] For each gas acquisition array, the following steps are performed:
[0020] Stabilize sampling temperature;
[0021] According to a preset time node, multiple first sampling values are acquired from multiple electrochemical sensors, and the multiple first sampling values are constructed into multiple sampling queues according to their correspondence with the electrochemical sensors;
[0022] Using the least squares method and the multiple sampling queues, the equation for the change of sampled values is fitted to obtain multiple second equations, where each second equation characterizes the characteristics of the change of sampled values of an electrochemical sensor over time.
[0023] The sampling stability values of multiple electrochemical sensors are determined based on the multiple second equations;
[0024] The stable sampling values of the multiple electrochemical sensors are used to construct a gas acquisition array.
[0025] In one possible implementation, the equation for the change of the sampled values is:
[0026]
[0027] In the formula, GV(t) is the change of the sampled value over time, GCSV is the sampled stationary value, e is the natural constant, t is the time variable, τ is the coefficient of variation, and t0 is the initial time.
[0028] In one possible implementation, the process of constructing the system of sensing sample value equations includes:
[0029] Obtain multiple sets of mixed gases;
[0030] Each group of mixed gases was tested under multiple test temperature conditions. Based on the test results, multiple first test gas arrays were constructed. Each first test gas array was constructed based on multiple sampling values returned by the insulating gas adaptive detection device at the test temperature, the test temperature, and the concentrations of multiple gases in the mixed gas.
[0031] Multiple reference arrays are selected from the plurality of first test gas arrays. Noisy first test gas arrays are found and deleted from the plurality of first test gas arrays by calculating a similarity index with the plurality of reference arrays, and the remaining plurality of first test gas arrays are used as second test gas arrays.
[0032] The total number of coefficients in the sensor sampling value equation shall not exceed the total number of the plurality of second test gas arrays;
[0033] The values of the coefficients in the sensing sampling value equation are determined based on the plurality of second test gas arrays.
[0034] In one possible implementation, the equation for the sensed sample value is:
[0035]
[0036] In the formula, SGV(n) is the concentration of the nth gas, T is the sampling temperature, T0 is the reference temperature, and α mn Let β be the m-th first coefficient, M be the total number of exponents, N be the number of gas types in the mixture, and β be the first coefficient. i Let TGV(i) be the i-th second coefficient, TGV(i) be the sampled concentration of the i-th gas, c1 be the first intercept coefficient, and c2 be the second intercept coefficient.
[0037] In one possible implementation, the step of selecting multiple reference arrays from the plurality of first test gas arrays, finding and deleting noisy first test gas arrays by calculating a similarity index with the plurality of reference arrays, and using the remaining plurality of first test gas arrays as second test gas arrays includes:
[0038] Get the number of iterations;
[0039] From the plurality of first test gas arrays, a first number of plurality of first test gas arrays are randomly selected as plurality of first reference arrays;
[0040] For each first test gas array, calculate the similarity coefficient with each first reference array, and calculate the average of multiple similarity coefficients as the first similarity index;
[0041] If the number of iterations has not been reached, then from the plurality of first test gas arrays, select the plurality of first test gas arrays with the largest first similarity index as the plurality of first reference arrays according to the first quantity, and jump to the step of calculating the similarity coefficient with each first reference array for each first test gas array, and calculating the average of the plurality of similarity coefficients as the first similarity index;
[0042] Otherwise, the first test gas array corresponding to the first similarity index that is less than the exponential threshold is deleted, and the first test gas array corresponding to the first similarity index that is not less than the exponential threshold is used as the second test gas array.
[0043] Thirdly, embodiments of the present invention provide an adaptive insulating gas detection device for implementing the adaptive insulating gas detection method as described in the second aspect or any possible implementation thereof, the adaptive insulating gas detection device comprising:
[0044] The gas data acquisition module is used to acquire multiple gas acquisition arrays, where each gas acquisition array corresponds to a sampling temperature, and the gas acquisition array includes multiple gas sampling values;
[0045] The equation construction module is used to substitute the multiple gas acquisition arrays and the sampling temperatures corresponding to the multiple gas acquisition arrays into the sensor sampling value equation set to obtain multiple first equation sets, wherein the sensor sampling value equations output sensor sampling values based on multiple gas concentrations and air temperature.
[0046] as well as,
[0047] The gas concentration determination module is used to solve the multiple sets of first equations to obtain multiple gas concentrations.
[0048] Fourthly, embodiments of the present invention provide an electronic device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the computer program to implement the steps of the method as described in the second aspect above or any possible implementation of the second aspect.
[0049] Fifthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in the second aspect above or any possible implementation thereof.
[0050] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows:
[0051] This invention discloses an adaptive detection method for insulating gases. First, multiple gas sampling arrays are acquired, each corresponding to a sampling temperature. Each gas sampling array includes multiple stable gas sampling values, representing the sampling values at which the sensor stably outputs data at a predetermined sampling temperature. Then, the multiple gas sampling arrays and their corresponding sampling temperatures are substituted into a set of sensor sampling value equations to obtain multiple sets of first equations. These equations output sensor sampling values based on various gas concentrations and air temperature, and are constructed based on sampling values of a predetermined proportion of mixed gas under multiple test temperature conditions. Finally, the multiple sets of first equations are solved to obtain multiple gas concentrations. This invention utilizes the stable sampling value arrays of an electrochemical sensor under multiple gas temperature conditions, substituting them into a set of equations expressing the relationship between the electrochemical sensor sampling values and multiple gas concentrations to determine the gas concentrations. This eliminates the susceptibility of the electrochemical sensor to interference from other gases, ensuring accurate and reliable output gas concentration data. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 This is a schematic diagram of the insulating gas adaptive detection component provided in an embodiment of the present invention;
[0054] Figure 2 This is a flowchart of the adaptive detection method for insulating gas provided in the embodiments of the present invention;
[0055] Figure 3This is a functional block diagram of the insulating gas adaptive detection device provided in the embodiments of the present invention;
[0056] Figure 4 This is a functional block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0057] In the following description, specific details such as particular system structures and techniques are set forth for illustrative purposes and not for limitation, so as to provide a thorough understanding of embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.
[0058] To make the objectives, technical solutions, and advantages of the present invention clearer, specific embodiments will be described below in conjunction with the accompanying drawings.
[0059] The embodiments of the present invention will be described in detail below. This example is implemented based on the technical solution of the present invention, and provides detailed implementation methods and specific operation processes. However, the protection scope of the present invention is not limited to the following embodiments.
[0060] Figure 1 A schematic diagram of an adaptive detection component for insulating gas provided in an embodiment of the present invention.
[0061] like Figure 1 As shown, a schematic diagram of an insulating gas adaptive detection component provided in the first aspect of the present invention is illustrated, and is described in detail below:
[0062] An adaptive detection component for insulating gas includes:
[0063] The system includes a blower 101, a heater 102, an air duct 103, a first temperature sensor 104, a second temperature sensor 105, a processor, and multiple electrochemical sensors 106, wherein each electrochemical sensor 106 corresponds to a gas.
[0064] The outlet of the blower 101 is connected to the inlet of the air supply pipe 103. The heater 102 is fixedly installed on the outlet side of the blower 101. The measuring ends of the plurality of electrochemical sensors 106 are fixed in a circumferential array inside the air supply pipe 103.
[0065] The first temperature sensor 104 and the second temperature sensor 105 are respectively disposed on the inlet side of the air supply duct 103 and the outlet side of the air supply duct 103;
[0066] The processor is electrically connected to the plurality of electrochemical sensors 106 respectively;
[0067] When gas acquisition arrays are obtained under different temperature conditions, the processor determines the concentration of multiple gases in the mixed gas based on the multiple gas acquisition arrays and the temperature conditions corresponding to each gas acquisition array. The gas acquisition arrays include multiple gas sampling values, and each gas sampling value is obtained based on the corresponding electrochemical sensor 106.
[0068] For example, such as Figure 1 As shown, the first aspect of the present invention provides an adaptive detection component for insulating gas. Insulating gas and its decomposition products are drawn in by a blower 101. A heater 102 is provided on one side of the outlet of the blower 101. The heated gas is sent into a blower 103. Two temperature sensors are provided at both ends of the blower 103. Multiple electrochemical sensors 106 are arranged in an array along the circumference of the blower 103 between the two sensors. In this way, it is ensured that the temperature points sampled by the multiple electrochemical sensors 106 are located at the same temperature point, and the positions of the sampled gas are also similar.
[0069] The processor is connected to two temperature sensors, a heater 102, and multiple electrochemical sensors 106. In use, the processor controls the heating of the heater 102 based on the temperatures returned by the two temperature sensors, ensuring that the temperature sampled by the electrochemical sensors 106 is within a predetermined temperature range. When the temperatures returned by the two temperature sensors stabilize, the processor samples data from the electrochemical sensors 106 at predetermined time intervals, constructing these data into a data queue. Since the values of the electrochemical sensors 106 change with temperature and require a period of time to gradually stabilize, this embodiment of the invention analyzes these data queues to estimate the stable value of each sensor and constructs these values into an array. Similarly, this operation is performed at multiple temperature points to obtain multiple arrays. Based on these arrays and the corresponding temperature points, a relatively accurate gas concentration can be determined using the equation provided in the second aspect of the invention.
[0070] Figure 2 A flowchart of an adaptive detection method for insulating gas provided in an embodiment of the present invention.
[0071] like Figure 2 As shown, a flowchart illustrating the implementation of the adaptive detection method for insulating gas provided in the second aspect of the present invention is illustrated, and is described in detail below:
[0072] In step 201, multiple gas acquisition arrays are obtained, wherein each gas acquisition array corresponds to a sampling temperature, and the gas acquisition array includes multiple stable gas sampling values, which represent the sampling values when the sensor outputs stably at a predetermined sampling temperature.
[0073] In some embodiments, step 201 includes:
[0074] For each gas acquisition array, the following steps are performed:
[0075] Stabilize sampling temperature;
[0076] According to a preset time node, multiple first sampling values are acquired from multiple electrochemical sensors, and the multiple first sampling values are constructed into multiple sampling queues according to their correspondence with the electrochemical sensors;
[0077] Using the least squares method and the multiple sampling queues, the equation for the change of sampled values is fitted to obtain multiple second equations, where each second equation characterizes the characteristics of the change of sampled values of an electrochemical sensor over time.
[0078] The sampling stability values of multiple electrochemical sensors are determined based on the multiple second equations;
[0079] The stable sampling values of the multiple electrochemical sensors are used to construct a gas acquisition array.
[0080] In some implementations, the equation for the change of the sampled value is:
[0081]
[0082] In the formula, GV(t) is the change of the sampled value over time, GCSV is the sampled stationary value, e is the natural constant, t is the time variable, τ is the coefficient of variation, and t0 is the initial time.
[0083] For example, a second aspect of the present invention is to construct a gas acquisition array by means of the stable sampling values obtained by the electrochemical sensor at the same temperature. Multiple different temperatures can yield multiple gas acquisition arrays. By substituting the multiple gas acquisition arrays into the equation characterizing the relationship between the sampling values of the electrochemical sensor and the gas concentration, the concentrations of various gases can be determined.
[0084] Regarding the acquisition of stable sampling values for electrochemical sensors, one approach is to stabilize the gas temperature and continuously sample the output value of the electrochemical sensor. When the output value of the electrochemical sensor stabilizes, it is taken as the stable sampling value. Obviously, this approach is time-consuming, and the stable value will have a certain degree of noise.
[0085] This invention provides another method for determining the stable sampling value. First, when the temperature is stable, the output data stream of the electrochemical sensor is acquired. Then, based on the characteristics of the output value change of the electrochemical sensor and the output data stream (data queue), the stable output value of the electrochemical sensor at that temperature can be determined. This greatly accelerates the process of determining the gas concentration. The equation for the change of the electrochemical sensor output value provided by this invention is as follows:
[0086]
[0087] In the formula, GV(t) is the change of the sampled value over time, GCSV is the sampled stationary value, e is the natural constant, t is the time variable, τ is the coefficient of variation, and t0 is the initial time.
[0088] As mentioned earlier, we obtain the sampled data queue by sorting the data in the sampling queue according to the time nodes. Using the sampled data queue and the least squares method, we can determine the coefficients in the above equation. The sampled stable value GCSV is the output value when the electrochemical sensor is stable.
[0089] Least squares is a mathematical method widely used in data processing and regression analysis. It finds the best function fit for data by minimizing the sum of squared errors. The principle is that for a given set of data points, there exists a function model with multiple parameters to be determined (in the above equation: the GCSV sample stationary value, the coefficient of variation τ, and t0 (the initial time) are all parameters to be determined). The goal of least squares is to find a set of parameters that minimizes the sum of squared errors between the observed values (the sampling queue in this embodiment is the observed values) and the model's predicted values, i.e., to achieve minimum.
[0090] The above equation is a nonlinear equation, and iterative algorithms are typically used to solve it, such as Newton's method, Gauss-Newton method, and Levenberg-Marquardt method. These methods all start from an initial estimate and iteratively update the parameter values to gradually reduce the sum of squared errors until certain convergence conditions are met.
[0091] In step 202, the plurality of gas acquisition arrays and the sampling temperatures corresponding to the plurality of gas acquisition arrays are substituted into the sensor sampling value equation set to obtain a plurality of first equation sets. The sensor sampling value equations output sensor sampling values based on the concentrations of various gases and the air temperature. The sensor sampling value equations are constructed based on the sampling values of a mixture of gases in a predetermined ratio under multiple test temperature conditions.
[0092] In some implementations, the process of constructing the sensor sample value equation set includes:
[0093] Obtain multiple sets of mixed gases;
[0094] Each group of mixed gases was tested under multiple test temperature conditions. Based on the test results, multiple first test gas arrays were constructed. Each first test gas array was constructed based on multiple sampling values returned by the insulating gas adaptive detection device at the test temperature, the test temperature, and the concentrations of multiple gases in the mixed gas.
[0095] Multiple reference arrays are selected from the plurality of first test gas arrays. Noisy first test gas arrays are found and deleted from the plurality of first test gas arrays by calculating a similarity index with the plurality of reference arrays, and the remaining plurality of first test gas arrays are used as second test gas arrays.
[0096] The total number of coefficients in the sensor sampling value equation shall not exceed the total number of the plurality of second test gas arrays;
[0097] The values of the coefficients in the sensing sampling value equation are determined based on the plurality of second test gas arrays.
[0098] In some implementations, the equation for the sensing sample value is:
[0099]
[0100] In the formula, SGV(n) is the concentration of the nth gas, T is the sampling temperature, T0 is the reference temperature, and α mn Let β be the m-th first coefficient, M be the total number of exponents, N be the number of gas types in the mixture, and β be the first coefficient. i Let TGV(i) be the i-th second coefficient, TGV(i) be the sampled concentration of the i-th gas, c1 be the first intercept coefficient, and c2 be the second intercept coefficient.
[0101] In some embodiments, the step of selecting multiple reference arrays from the plurality of first test gas arrays, finding and deleting noisy first test gas arrays by calculating a similarity index with the plurality of reference arrays, and using the remaining plurality of first test gas arrays as second test gas arrays includes:
[0102] Get the number of iterations;
[0103] From the plurality of first test gas arrays, a first number of plurality of first test gas arrays are randomly selected as plurality of first reference arrays;
[0104] For each first test gas array, calculate the similarity coefficient with each first reference array, and calculate the average of multiple similarity coefficients as the first similarity index;
[0105] If the number of iterations has not been reached, then from the plurality of first test gas arrays, select the plurality of first test gas arrays with the largest first similarity index as the plurality of first reference arrays according to the first quantity, and jump to the step of calculating the similarity coefficient with each first reference array for each first test gas array, and calculating the average of the plurality of similarity coefficients as the first similarity index;
[0106] Otherwise, the first test gas array corresponding to the first similarity index that is less than the exponential threshold is deleted, and the first test gas array corresponding to the first similarity index that is not less than the exponential threshold is used as the second test gas array.
[0107] For example, by substituting the aforementioned multiple gas acquisition arrays into a set of equations expressing the relationship between multiple electrochemical sensor sampling values and multiple gas concentrations, a set of equations can be obtained. By solving the set of equations, the gas concentration can be determined. The set of equations (sensor sampling value equations) expressing the relationship between multiple electrochemical sensor sampling values and multiple gas concentrations used in this embodiment of the invention is as follows:
[0108]
[0109] In the formula, SGV(n) is the concentration of the nth gas, T is the sampling temperature, T0 is the reference temperature, and α mn Let β be the m-th first coefficient, M be the total number of exponents, N be the number of gas types in the mixture, and β be the first coefficient. i Let TGV(i) be the i-th second coefficient, TGV(i) be the sampled concentration of the i-th gas, c1 be the first intercept coefficient, and c2 be the second intercept coefficient.
[0110] From this set of equations, we can see that in addition to the sensor sampling values and gas concentration values, there are multiple coefficients. It is these coefficients, combined with the basic framework of the above equations, that accurately express the relationship between multiple electrochemical sensor sampling values and multiple gas concentrations.
[0111] In fact, the above coefficients were determined by preparing various gas mixtures (the concentrations of each gas in the mixtures were pre-prepared and known), conducting sensor tests on each mixture at different temperatures, and then using the test data.
[0112] Specifically, each gas mixture is tested at multiple test temperatures. During the test, the temperature conditions are stabilized, and the return values of the electrochemical sensors are read at predetermined time points. Once the return values stabilize, the stable return values of the electrochemical sensors (stable return values of multiple sensors), the test temperature, and the concentration of each gas in the gas mixture are used to construct a test gas array. By performing the above operation on multiple gas mixtures at different test temperatures, multiple test gas arrays (the first test gas array) are obtained.
[0113] As can be predicted, the first experimental gas array will inevitably contain noisy data, and the magnitude of the noise data is uncontrollable. When solving the above coefficients with noisy data, the coefficients will be biased, which will further lead to inaccurate relationships between the multiple electrochemical sensor sampling values and the multiple gas concentrations expressed by the above equation.
[0114] To overcome the aforementioned shortcomings, the embodiments of the present invention perform noise data removal on the plurality of first test gas arrays. The removal process is an iterative process. Typically, before each iteration, a predetermined number of iterations (e.g., five) is preset. Then, a predetermined number of arrays are randomly selected from the plurality of first test gas arrays as reference arrays, for example, three arrays are randomly selected as reference arrays. Next, each first test gas array is compared with these three reference arrays to calculate a similarity value. The average of the three similarity values is then calculated as a similarity index. Thus, each first test gas array has a similarity index (first similarity index).
[0115] If the number of iterations is not reached (e.g., less than five times), the first experimental gas array corresponding to the three largest similarity indices is used as the new three reference arrays, and then the process of calculating the similarity indices is repeated.
[0116] If the number of iterations is reached (e.g., five times), the first test gas arrays corresponding to similarity indices below a threshold (e.g., the threshold is 0.3) are deleted. In other words, similarity indices below the threshold have poor similarity to the reference array, and noise has a significant impact on these arrays. The remaining first test gas arrays participate in the process of determining multiple coefficients of the above equations (for ease of distinction, the remaining first test gas arrays are used as the second test gas arrays).
[0117] Before adjustment, the number of coefficients in the above equation set is first adjusted according to the number of multiple second test gas arrays. The principle is that the number of coefficients in the above equation set is not greater than the number of second test gas arrays. Then, the value of the coefficients in the above equation set is determined according to the second test gas arrays.
[0118] In fact, there are many methods to determine the coefficients of the above system of equations. For example, some optimization algorithms, such as particle swarm optimization and annealing algorithms, can be used. Since these solving algorithms are commonly used by those skilled in the art in the above solution process, the solution process will not be discussed in detail.
[0119] In step 203, the plurality of first equations are solved to obtain the plurality of gas concentrations.
[0120] For example, the object to be determined in the embodiments of the present invention is gas concentration. The data dimensions of gas concentration are known. When the multiple gas collection arrays obtained in the aforementioned steps are substituted into the above equation set, multiple equation sets are obtained. It can be known that when the number of multiple equation sets exceeds the dimension of the unknown data, then the unknown data (that is, multiple gas concentrations to be determined) can be given a definite solution, that is, multiple gas concentrations can be determined.
[0121] The present invention provides an adaptive detection method for insulating gases. First, multiple gas sampling arrays are acquired, each corresponding to a sampling temperature. Each gas sampling array includes multiple stable gas sampling values, representing the sampling values at which the sensor stably outputs data at a predetermined sampling temperature. Then, the multiple gas sampling arrays and their corresponding sampling temperatures are substituted into a set of sensor sampling value equations to obtain multiple sets of first equations. These equations output sensor sampling values based on various gas concentrations and air temperature, and are constructed based on sampling values of a predetermined ratio of mixed gas under multiple test temperature conditions. Finally, the multiple sets of first equations are solved to obtain multiple gas concentrations. This invention utilizes the stable sampling value arrays of an electrochemical sensor under multiple gas temperature conditions, substituting them into a set of equations expressing the relationship between the electrochemical sensor sampling values and multiple gas concentrations to determine the gas concentrations. This eliminates the susceptibility of the electrochemical sensor to interference from other gases, ensuring accurate and reliable output gas concentration data.
[0122] It should be understood 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 the present invention.
[0123] The following are embodiments of the apparatus of the present invention. For details not described in detail, please refer to the corresponding method embodiments described above.
[0124] Figure 3 This is a functional block diagram of the insulating gas adaptive detection device provided in the embodiments of the present invention, with reference to... Figure 3 The adaptive detection device for insulating gases includes: a gas data acquisition module 301, an equation system construction module 302, and a gas concentration determination module 303, wherein:
[0125] The gas data acquisition module 301 is used to acquire multiple gas acquisition arrays, wherein each gas acquisition array corresponds to a sampling temperature, and the gas acquisition array includes multiple gas sampling values;
[0126] The equation construction module 302 is used to substitute the plurality of gas acquisition arrays and the sampling temperatures corresponding to the plurality of gas acquisition arrays into the sensor sampling value equation set to obtain a plurality of first equation sets, wherein the sensor sampling value equations output sensor sampling values based on the concentration of various gases and the air temperature.
[0127] The gas concentration determination module 303 is used to solve the plurality of first equations to obtain the plurality of gas concentrations.
[0128] Figure 4 This is a functional block diagram of the electronic device provided in an embodiment of the present invention. For example... Figure 4 As shown, the electronic device 4 of this embodiment includes a processor 400 and a memory 401, wherein the memory 401 stores a computer program 402 that can run on the processor 400. When the processor 400 executes the computer program 402, it implements the steps of the various insulating gas adaptive detection methods and embodiments described above, for example... Figure 2 Steps 201 to 203 are shown.
[0129] For example, the computer program 402 may be divided into one or more modules / units, which are stored in the memory 401 and executed by the processor 400 to complete the present invention.
[0130] The electronic device 4 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. The electronic device 4 may include, but is not limited to, a processor 400 and a memory 401. Those skilled in the art will understand that... Figure 4 This is merely an example of electronic device 4 and does not constitute a limitation on electronic device 4. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device 4 may also include input / output devices, network access devices, buses, etc.
[0131] The processor 400 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0132] The memory 401 can be an internal storage unit of the electronic device 4, such as a hard disk or memory. The memory 401 can also be an external storage device of the electronic device 4, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 401 can include both internal and external storage units of the electronic device 4. The memory 401 is used to store the computer program 402 and other programs and data required by the electronic device 4. The memory 401 can also be used to temporarily store data that has been output or will be output.
[0133] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the aforementioned method embodiments, and will not be repeated here.
[0134] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0135] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0136] In the embodiments provided by this invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0137] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0138] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0139] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above-described embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various methods and apparatus embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0140] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method of adaptive detection of insulating gases, characterized in that, The application is applied to an insulation gas self-adaptive detection assembly, and the insulation gas self-adaptive detection assembly comprises: an air feeder, a heater, an air feeding pipe, a first temperature sensor, a second temperature sensor, a processor and a plurality of electrochemical sensors, wherein each electrochemical sensor corresponds to one kind of gas; an outlet of the air feeder is in communication with an inlet of the air feeding pipe, the heater is fixedly arranged at the outlet side of the air feeder, and the measuring ends of the plurality of electrochemical sensors are fixedly arranged in the air feeding pipe in a circumferential array; the first temperature sensor and the second temperature sensor are respectively arranged at the inlet side of the air feeding pipe and the outlet side of the air feeding pipe; the processor is electrically connected with the plurality of electrochemical sensors; when a plurality of gas collection arrays are obtained under different temperature conditions, the processor determines the concentrations of a plurality of gases in mixed gas according to the plurality of gas collection arrays and the temperature conditions corresponding to each gas collection array, wherein each gas collection array comprises a plurality of gas sampling values, and each gas sampling value is obtained based on the corresponding electrochemical sensor; the insulation gas self-adaptive detection method comprises: obtaining a plurality of gas collection arrays, wherein each gas collection array corresponds to one sampling temperature, each gas collection array comprises a plurality of gas sampling stable values, and the gas sampling stable value represents the sampling value when the sensor is stably output under the predetermined sampling temperature; substituting the plurality of gas collection arrays and the sampling temperatures corresponding to the plurality of gas collection arrays into a plurality of first equation groups, wherein the sensor sampling value equation outputs the sensor sampling value according to the concentrations of a plurality of gases and the sampling temperature, the sensor sampling value equation is constructed according to the sampling values of the mixed gas under a plurality of test temperature conditions in a predetermined proportion, and the sensor sampling value equation is as follows: where SGV(n) is the concentration of the nth gas, T is the sampling temperature, T0 is a reference temperature value, a mn is the m*n first coefficient, M is the total number of indexes, N is the number of gas types in the mixed gas, β i is the i-th second coefficient, TGV(i) is the sampling value concentration of the i-th gas, c1 is the first intercept coefficient, and c2 is the second intercept coefficient. solving the plurality of first equation groups to obtain a plurality of gas concentrations; wherein the construction process of the sensor sampling value equation group comprises: obtaining a plurality of groups of mixed gas; testing each group of mixed gas under a plurality of test temperature conditions respectively, and constructing a plurality of first test gas arrays according to the test results, wherein each first test gas array is constructed according to the plurality of sampling values returned by the insulation gas self-adaptive detection device under the test temperature, the test temperature and the concentrations of a plurality of gases in the mixed gas; selecting a plurality of reference arrays from the plurality of first test gas arrays, deleting the noise first test gas array from the plurality of first test gas arrays by calculating the similarity index with the plurality of reference arrays, and taking the remaining plurality of first test gas arrays as second test gas arrays; adjusting the total number of coefficients in the sensor sampling value equation to be not more than the total number of the plurality of second test gas arrays; determining the values of the coefficients in the sensor sampling value equation according to the plurality of second test gas arrays.
2. The method of claim 1, wherein, The method for obtaining a plurality of gas collection arrays comprises: for each gas collection array, the following steps are taken respectively: stabilizing the sampling temperature; According to a preset time node, a plurality of first sampling values are obtained from a plurality of electrochemical sensors, and the plurality of first sampling values are constructed into a plurality of sampling queues according to correspondence with the electrochemical sensors; A sampling value change equation is fitted using a least square method and the plurality of sampling queues to obtain a plurality of second equations, wherein each second equation represents a characteristic of a sampling value of an electrochemical sensor changing with time; A sampling stable value of the plurality of electrochemical sensors is determined according to the plurality of second equations; The sampling stable value of the plurality of electrochemical sensors is constructed into a gas collection array.
3. The method of claim 2, wherein, The sampling value change equation is: In the formula, GV(t) is a change amount of the sampling value with time, GCSV is the sampling stable value, e is a natural constant, t is a time variable, τ is a change coefficient, and t0 is an initial time.
4. The method of claim 1, wherein, The plurality of reference arrays are selected from the plurality of first test gas arrays, noise first test gas arrays are searched and deleted by calculating a similarity index with the plurality of reference arrays, and the remaining plurality of first test gas arrays are taken as second test gas arrays, including: An iteration number is obtained; A first number of the plurality of first test gas arrays is randomly selected from the plurality of first test gas arrays as a plurality of first reference arrays; For each first test gas array, a similarity coefficient with each first reference array is calculated, and an average value of the plurality of similarity coefficients is calculated as a first similarity index; If the iteration number is not reached, the plurality of first test gas arrays with the largest first similarity index are selected as the plurality of first reference arrays according to the first number, and the step of calculating the similarity coefficient with each first reference array for each first test gas array and calculating the average value of the plurality of similarity coefficients as the first similarity index is jumped to; Otherwise, the first test gas array corresponding to the first similarity index less than the index threshold value is deleted, and the first test gas array corresponding to the first similarity index not less than the index threshold value is taken as the second test gas array.
5. An insulation gas self-adapting detection device, characterized in that, The insulating gas adaptive detection device for implementing the insulating gas adaptive detection method according to any one of claims 1-4 comprises: A gas data acquisition module is configured to obtain a plurality of gas collection arrays, wherein each gas collection array corresponds to a sampling temperature, and the gas collection array includes a plurality of gas sampling values; An equation set construction module is configured to substitute the plurality of gas collection arrays and the sampling temperatures corresponding to the plurality of gas collection arrays into a sensing sampling value equation set to obtain a plurality of first equation sets, wherein the sensing sampling value equation outputs a sensor sampling value according to a plurality of gas concentrations and a sampling temperature; and A gas concentration determination module is configured to solve the plurality of first equation sets to obtain a plurality of gas concentrations.
6. An electronic device comprising a memory and a processor, said memory having stored therein a computer program operable on said processor, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-4.
7. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: receiving a request for a resource from a client; determining whether the client is authorized to access the resource; and if the client is authorized to access the resource, providing the resource to the client. The computer program is executed by the processor to implement the steps of the method according to any one of claims 1-4.
Citation Information
Patent Citations
Device and method for detecting component concentration of mixed gas and application
CN113588710A
Multi-component gas monitoring device
CN203324220U