High-voltage electrical equipment gas humidity detection circuit, method and device and storage medium
By using a multi-stage standard voltage source and a phase-locked loop RC oscillation circuit in high-voltage electrical equipment, combined with standard capacitance equations and humidity curves, the problem of inaccurate humidity data caused by the drift of RC humidity sensors was solved, enabling online calibration and accurate humidity detection.
Patent Information
- Application Number
- CN202510249779.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-04
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2045-03-04
AI Technical Summary
Existing RC humidity sensors are prone to drift in high-voltage electrical equipment, resulting in inaccurate humidity data.
By employing a multi-level standard voltage source and a phase-locked loop combined with an RC oscillation circuit, and by acquiring multiple test arrays, the standard capacitance value of the sensor and the gas humidity are determined using the standard capacitance equation and humidity curve equation, thereby reducing the impact of sensor drift.
It enables accurate detection of gas humidity in high-voltage electrical equipment without disassembling and calibrating the device, reducing data inaccuracies caused by sensor drift.
Smart Images

Figure CN120044085B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of high-voltage insulation gas humidity detection, and in particular to a high-voltage electrical equipment gas humidity detection circuit, method, device and storage medium. BACKGROUND
[0002] SF6 gas is a colorless, odorless, non-toxic and non-combustible inert gas. Due to its strong electronegativity, it has unique insulation performance and high-efficiency arc extinguishing performance, and thus becomes one of the most important insulation mediums in the power industry, and is widely used in high-voltage equipment such as gas insulated switchgear, high-voltage transformers, high-voltage circuit breakers, and gas insulated pipeline transmission lines.
[0003] High-voltage electrical equipment filled with insulation gas needs to be detected in real time for its composition to ensure safe and reliable operation of the equipment. Among them, humidity detection is an important part of gas composition detection. The detection methods of gas humidity mainly include dew point method, resistance-capacitance method, electrolysis method, and laser method. The resistance-capacitance method has natural advantages in terms of sensitivity, convenience, and response speed, and thus is suitable for online monitoring.
[0004] The sensor for resistance-capacitance detection is a layer of aluminum oxide film formed on the surface of metal aluminum by electrochemical method, and then a thin layer of metal is plated on the film. In this way, the aluminum matrix and the metal film form a capacitor. When SF6 gas passes through the sensor, the porous aluminum oxide layer will adsorb water vapor, causing the impedance or capacitance between the two poles to change. The amount of change is related to the concentration of water vapor, and then the water content of SF6 gas can be determined.
[0005] As can be seen, the core of the resistance-capacitance humidity sensor is a capacitor that changes with humidity. The capacitance characteristics of the resistance-capacitance sensor cause the sensor to drift with use, further causing inaccurate humidity data.
[0006] Therefore, it is necessary to develop a high-voltage electrical equipment gas humidity detection method. SUMMARY
[0007] The present application provides a high-voltage electrical equipment gas humidity detection circuit, method, device and storage medium, which solves the problem of inaccurate humidity data caused by drift of the resistance-capacitance humidity sensor in the prior art.
[0008] In a first aspect, the present application provides a high-voltage electrical equipment gas humidity detection circuit, comprising:
[0009] a multi-gear standard voltage source, a resistance-capacitance oscillation circuit, and a phase-locked loop;
[0010] The input end of the phase-locked loop is electrically connected with the output end of the resistance-capacitance oscillation circuit, the multi-grade voltage source is electrically connected with the resistance-capacitance oscillation circuit and the phase-locked loop, and the multi-grade voltage source provides multiple alternative power supply voltages for the resistance-capacitance oscillation circuit and the phase-locked loop.
[0011] The resistance-capacitance oscillation circuit is provided with a resistance-capacitance micro-water humidity sensor and multiple oscillation loading resistors, the resistance-capacitance micro-water humidity sensor and the multiple oscillation loading resistors are alternatively connected in series to form an RC circuit, and the resistance-capacitance oscillation circuit generates a sinusoidal wave signal through the RC circuit.
[0012] The phase-locked loop comprises a phase detector, a low-pass filter and a voltage-controlled oscillator, the output end of the phase detector is electrically connected with the input end of the low-pass filter, the output end of the low-pass filter is electrically connected with the input end of the voltage-controlled oscillator, and the output end of the voltage-controlled oscillator is electrically connected with the first input end of the phase detector.
[0013] When the second input end of the phase detector receives a sinusoidal wave signal, the output end of the low-pass filter outputs an oscillation frequency indication positively related to the frequency of the sinusoidal wave signal.
[0014] In a second aspect, the embodiments of the present application provide a high-voltage electrical equipment gas humidity detection method, which is applied to gas humidity detection based on a resistance-capacitance micro-water humidity sensor and comprises the following steps.
[0015] A plurality of test arrays are obtained, wherein each test array comprises a plurality of factor values affecting the capacitance value of the humidity sensor.
[0016] The plurality of test arrays are respectively substituted into a standard capacitance equation to obtain a standard capacitance estimation value of the humidity sensor, wherein the standard capacitance equation represents the relationship between the plurality of factors and the capacitance value of the humidity sensor, and the standard capacitance value is the capacitance value of the humidity sensor under standard test conditions.
[0017] The deviation of the standard capacitance application value is determined according to the standard capacitance estimation value, and the standard capacitance estimation value is obtained again through the standard capacitance equation when the deviation is greater than a deviation threshold.
[0018] The gas humidity is determined according to the return value of the humidity sensor, the gas temperature and a humidity curve equation selected according to the standard capacitance estimation value, wherein the humidity curve equation reflects the relationship between the gas temperature, the return value of the humidity sensor and the gas humidity.
[0019] In a possible implementation manner, the factors affecting the capacitance value of the humidity sensor include a test temperature, an oscillation loading voltage, an oscillation loading resistance, an oscillation frequency and a gas humidity observation value, and the standard capacitance equation is as follows:
[0020]
[0021] wherein FE is the test temperature, π is the constant of the circle, k c is the structure constant of the oscillation circuit, R is the oscillation loading resistance, C r is the capacitance observation value, b is the bias constant, C is the standard capacitance value, wT i is the i-th temperature coefficient, T is the test temperature, wU i is the i-th voltage coefficient, U is the oscillation loading voltage, wRH i is the i-th gas humidity coefficient, RHO is the gas humidity observation value, wFE i is the i-th humidity coefficient.
[0022] In a possible implementation, the standard capacitance equation has a plurality of undetermined coefficients, and the plurality of undetermined coefficients are determined according to a plurality of sets of capacitance capacity test data, including:
[0023] A plurality of coefficient arrays and a plurality of sets of capacitance capacity test data are obtained, wherein each set of capacitance capacity test data includes a test temperature, a test loading voltage, a test oscillation loading resistance, a test oscillation frequency, a test capacitance observation value, a test standard capacitance value, and a test gas humidity value;
[0024] The test capacitance observation values of the plurality of sets of capacitance capacity test data are constructed into a reference value array;
[0025] The plurality of coefficient arrays are substituted into the standard capacitance equation one by one to obtain a plurality of process equations;
[0026] For each process equation, the extracted test condition data in the plurality of sets of capacitance capacity test data are substituted into the process equation one by one, and a plurality of capacitance observation indication values are constructed into an indication value array, wherein each capacitance observation indication value corresponds to a set of capacitance capacity test data, and the extracted test condition data is data other than the test capacitance observation value in the capacitance capacity test data;
[0027] According to the reference value array and the plurality of indication value arrays, a plurality of mean square errors are determined, wherein each mean square error corresponds to a coefficient array;
[0028] Each mean square error is added to a corresponding mean square error queue;
[0029] The minimum value is selected from the plurality of mean square errors as a reference value;
[0030] If there is no mean square error queue that meets the convergence condition, the plurality of coefficient arrays are adjusted according to the coefficient array corresponding to the reference value, and the step of substituting the plurality of coefficient arrays into the standard capacitance equation to obtain a plurality of process equations is jumped to;
[0031] Otherwise, the process equation corresponding to the reference value is reserved as a standard capacitance equation.
[0032] In a possible implementation, the adjusting the plurality of coefficient arrays according to the coefficient array corresponding to the reference value comprises:
[0033] For each coefficient array, the following steps are respectively performed:
[0034] Extracting a minimum value from the mean square error queue of the coefficient arrays, and taking the historical coefficient array corresponding to the minimum value as a process optimal array;
[0035] Adjusting the coefficient array according to a first formula, the global optimal array and the process optimal array, wherein the first formula is:
[0036]
[0037] wherein w (n+1) is the jth data of the adjusted coefficient array, w (n) is the jth data of the coefficient array before adjustment, α is a first adjustment coefficient, β is a second adjustment coefficient, D opta is a distance of the coefficient array and the global optimal array in the jth dimension, D opt is a distance of the coefficient array and the process optimal array in the jth dimension, D min is a minimum adjustment distance, w (opta) is the jth data of the global optimal array, w (opt) is the jth data of the process optimal array.
[0038] In a possible implementation, the reacquiring the standard capacitance estimated value through the standard capacitance equation again when the deviation is greater than the deviation threshold value comprises:
[0039] Selecting a reference humidity curve equation according to the standard capacitance estimated value;
[0040] Taking the gas humidity observation values in the plurality of test arrays as a plurality of to-be-updated observation values;
[0041] Determining a plurality of gas humidity observation update values according to the test temperature in the plurality of test arrays, the humidity sensor return value when the plurality of to-be-updated observation values are acquired, and the reference humidity curve equation;
[0042] Taking the plurality of gas humidity observation update values as the gas humidity observation values of the plurality of test arrays respectively;
[0043] to a step of substituting the plurality of test arrays into a standard capacitance equation respectively to obtain a standard capacitance estimation value of the humidity sensor.
[0044] In one possible implementation, the humidity curve equation is determined according to a plurality of humidity test data, including:
[0045] obtaining a humidity relationship equation, a plurality of humidity measured values, a plurality of humidity test arrays, and a standard capacitance value of the humidity sensor to be measured, wherein the humidity relationship equation expresses a relationship between a gas temperature and a humidity measured value and a return value of the humidity sensor at the standard capacitance value, each humidity test array includes a test gas temperature and a return value of the humidity sensor to be measured, and each humidity test array corresponds to one humidity measured value;
[0046] determining a solution of a plurality of coefficients of the humidity relationship equation according to the plurality of humidity measured values and the plurality of humidity test arrays by using a least square method;
[0047] substituting the solution of the plurality of coefficients into the humidity relationship equation to obtain a humidity curve equation corresponding to the standard capacitance value.
[0048] In a third aspect, an embodiment of the present application provides a high-voltage electrical equipment gas humidity detection device for implementing the high-voltage electrical equipment gas humidity detection method in the second aspect or any possible implementation manner of the second aspect, and the high-voltage electrical equipment gas humidity detection device includes:
[0049] a test data acquisition module configured to acquire a plurality of test arrays, wherein each test array includes a plurality of factor values affecting a capacitance value of a humidity sensor;
[0050] a standard capacitance estimation module configured to substitute the plurality of test arrays into a standard capacitance equation respectively to obtain a standard capacitance estimation value of the humidity sensor, wherein the standard capacitance equation expresses a relationship between a plurality of factors and the capacitance value of the humidity sensor, and the standard capacitance value is a capacitance value of the humidity sensor under standard test conditions;
[0051] a deviation determination module configured to determine a deviation of a standard capacitance application value according to the standard capacitance estimation value, and to obtain the standard capacitance estimation value again by using the standard capacitance equation when the deviation is greater than a deviation threshold value;
[0052] and,
[0053] a gas humidity determination module configured to determine a gas humidity according to a return value of the humidity sensor, a gas temperature, and a humidity curve equation selected according to the standard capacitance estimation value, wherein the humidity curve equation reflects a relationship between the gas temperature and the return value of the humidity sensor and the gas humidity.
[0054] In a fourth aspect, an electronic device is provided, which includes a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor implements the steps of the method according to the second aspect or any possible implementation of the second aspect when running the computer program.
[0055] In a fifth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program implements the steps of the method according to the second aspect or any possible implementation of the second aspect when being executed by a processor.
[0056] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0057] The embodiments of the present application disclose a high-voltage electrical equipment gas humidity detection method, which first acquires a plurality of test arrays, wherein the test array includes a plurality of factor values affecting the capacitance value of the humidity sensor; then the plurality of test arrays are respectively substituted into a standard capacitance equation to obtain a standard capacitance estimation value of the humidity sensor, wherein the standard capacitance equation expresses the relationship between the plurality of factors and the capacitance value of the humidity sensor, and the standard capacitance value is the capacitance value of the humidity sensor under standard test conditions; then the deviation of the standard capacitance application value is determined according to the standard capacitance estimation value, and when the deviation is greater than a deviation threshold value, the standard capacitance estimation value is obtained again through the standard capacitance equation; finally, the gas humidity is determined according to the return value of the humidity sensor, the gas temperature, and the humidity curve equation selected according to the standard capacitance estimation value, wherein the humidity curve equation reflects the relationship between the gas temperature and the return value of the humidity sensor and the gas humidity. The embodiments of the present application determine the standard capacitance value of the sensor through the plurality of factor data groups affecting the sensor capacitance observation value, and finally complete the humidity detection by selecting the corresponding humidity curve equation through the standard capacitance value. The drift amount of the sensor can be determined without disassembly and calibration by the method of the present application, and the problem of inaccurate data caused by sensor drift is reduced. BRIEF DESCRIPTION OF DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0059] Figure 1 is a high-voltage electrical equipment gas humidity detection circuit schematic diagram provided by the embodiments of the present application;
[0060] Figure 2is a flow chart of a high-voltage electrical equipment gas humidity detection method provided by the embodiment of the present application;
[0061] Figure 3 is a functional block diagram of a high-voltage electrical equipment gas humidity detection device provided by the embodiment of the present application;
[0062] Figure 4 is a functional block diagram of an electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0063] In the following description, for the purpose of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
[0064] In order to make the objects, technical solutions and advantages of the present application clearer, the following will be described by specific embodiments in conjunction with the accompanying drawings.
[0065] The following will be described in detail for the embodiments of the present application, and the present example is implemented on the premise of the technical solution of the present application, and detailed implementation manners and specific operation processes are given, but the protection scope of the present application is not limited to the following embodiments.
[0066] As shown in Figure 1 the first aspect of the embodiment of the present application provides a high-voltage electrical equipment gas humidity detection circuit, comprising:
[0067] a multi-grade standard voltage source, a resistance-capacitance oscillation circuit and a phase-locked loop;
[0068] The input end of the phase-locked loop is electrically connected with the output end of the resistance-capacitance oscillation circuit, the multi-grade voltage source is electrically connected with the resistance-capacitance oscillation circuit and the phase-locked loop, and the multi-grade voltage source provides multiple alternative power supply voltages for the resistance-capacitance oscillation circuit and the phase-locked loop;
[0069] The resistance-capacitance oscillation circuit is provided with a resistance-capacitance micro-water humidity sensor and a plurality of oscillation loading resistors, the resistance-capacitance micro-water humidity sensor and the plurality of oscillation loading resistors are alternatively connected in series to form an RC circuit, and the resistance-capacitance oscillation circuit generates a sine wave signal through the RC circuit;
[0070] The phase-locked loop comprises a phase detector, a low-pass filter and a voltage-controlled oscillator, the output end of the phase detector is electrically connected with the input end of the low-pass filter, the output end of the low-pass filter is electrically connected with the input end of the voltage-controlled oscillator, and the output end of the voltage-controlled oscillator is electrically connected with the first input end of the phase detector;
[0071] When the second input terminal of the phase detector receives a sine wave signal, the output terminal of the low-pass filter outputs an oscillation frequency indication that is positively correlated with the frequency of the sine wave signal.
[0072] For example, such as Figure 1 As shown, the first aspect of this invention provides a gas humidity detection circuit for high-voltage electrical equipment. As previously mentioned, a RC micro-humidity sensor is essentially a capacitor. The insulating medium of the capacitor is affected by the gas humidity, causing its capacitance to change. The gas concentration is determined based on the capacitance. At the same time, like other capacitors, the insulating medium of the RC micro-humidity sensor experiences a decline in insulation performance with use, causing a drift in its basic capacitance. Current techniques involve periodic calibration to correct the instrument's operating curve. Traditional calibration methods involve removing the sensor and using a precision sensor for comparative testing, which is inefficient.
[0073] This invention provides a detection circuit for online calibration and detection of gas humidity. As is known, the capacitance exhibited by a capacitor (observed capacitance value) is affected by various factors, including operating temperature, operating voltage, and operating frequency. For the RC micro-moisture humidity sensor in this embodiment, it is obviously also affected by gas humidity. If we can reconstruct the sensor's capacitance value under standard test conditions (standard capacitance value) through different conditions, then we can confidently determine the extent of sensor drift. Alternatively, based on the capacitance value under standard test conditions, we can select its corresponding humidity curve to obtain a more accurate gas humidity reading.
[0074] Based on the above concept, the present invention provides a gas humidity detection circuit for high-voltage electrical equipment. This circuit can provide multiple operating voltage conditions and multiple operating frequency conditions, and read out the actual operating frequency of the sensor under these conditions. Based on the actual operating frequency, multiple operating voltage conditions, and operating frequency conditions, a standard capacitance value is determined, and the gas humidity is further determined by selecting a humidity curve through the standard capacitance value.
[0075] The gas humidity detection circuit of this high-voltage electrical equipment includes an RC oscillation circuit and a phase-locked loop, both of which are powered by a multi-level standard voltage source to provide different operating voltages.
[0076] The RC oscillation circuit has multiple oscillation loading resistors 102. The RC micro-humidity sensor 101 can optionally be connected in series with one of the resistors. The RC circuit formed by the two is connected to other components of the RC oscillation circuit. Figure 1 The example in the diagram uses an operational amplifier to form a feedback network, which outputs a sine wave signal. This signal is received by a phase-locked loop (PLL), which outputs an indicator value that shows the frequency of this sine wave signal.
[0077] The phase-locked loop is divided into three parts in particular, the sine wave signal and the output of the voltage-controlled oscillator 105 are sent to the phase detector 103, the output of the phase detector 103 is output through the low-pass filter 104 to indicate the oscillation frequency of the voltage-controlled oscillator 105, and those skilled in the art can know that when the frequency and phase of the output of the voltage-controlled oscillator 105 are consistent with the sine wave signal, the output of the low-pass filter 104 is a stable value, that is, the value indicating the sine wave signal.
[0078] As described above, when the combination of multiple test conditions is obtained, the standard capacitance value of the sensor can be determined according to the multiple capacitance observation values and the multiple test conditions, and the accurate detection of the gas is further completed. The above process is discussed in detail in the second aspect of the embodiment of the present application.
[0079] Figure 2 The flowchart of the high-voltage electrical equipment gas humidity detection method provided by the embodiment of the present application.
[0080] As shown in Figure 2 The second aspect of the embodiment of the present application provides a high-voltage electrical equipment gas humidity detection method, which is described in detail as follows:
[0081] In step 201, a plurality of test arrays are obtained, wherein the test array includes a plurality of factor values affecting the capacitance value of the humidity sensor.
[0082] In step 202, the plurality of test arrays are respectively substituted into the standard capacitance equation to obtain the standard capacitance estimation value of the humidity sensor, wherein the standard capacitance equation expresses the relationship between the plurality of factors and the capacitance value of the humidity sensor, and the standard capacitance value is the capacitance value of the humidity sensor under standard test conditions.
[0083] In some embodiments, the factors affecting the capacitance value of the humidity sensor include test temperature, oscillation loading voltage, oscillation loading resistance, oscillation frequency, and gas humidity observation value, and the standard capacitance equation is:
[0084]
[0085] In the formula, FE is the test temperature, π is the circular constant, k c is the oscillation circuit structure constant, R is the oscillation loading resistance, C r is the capacitance observation value, b is the bias constant, C is the standard capacitance value, wT i is the i-th temperature coefficient, T is the test temperature, wU i is the i-th voltage coefficient, U is the oscillation loading voltage, wRH i is the i-th gas humidity coefficient, RHO is the gas humidity observation value, wFE iis the i-th humidity coefficient.
[0086] In some embodiments, the standard capacitance equation has a plurality of undetermined coefficients, and the plurality of undetermined coefficients are determined according to a plurality of sets of capacitance capacity test data, including:
[0087] A plurality of coefficient arrays and a plurality of sets of capacitance capacity test data are obtained, wherein each set of capacitance capacity test data includes: test temperature, test loading voltage, test oscillation loading resistance, test oscillation frequency, test capacitance observation value, test standard capacitance value, and test gas humidity value;
[0088] The test capacitance observation values of the plurality of sets of capacitance capacity test data are constructed into a reference value array;
[0089] The plurality of coefficient arrays are substituted into the standard capacitance equation one by one to obtain a plurality of process equations;
[0090] For each process equation, the extracted test condition data in the plurality of sets of capacitance capacity test data are substituted into the process equation one by one, and a plurality of capacitance observation indication values are obtained, which are constructed into an indication value array, wherein each capacitance observation indication value corresponds to a set of capacitance capacity test data, and the extracted test condition data is data other than the test capacitance observation value in the capacitance capacity test data;
[0091] According to the reference value array and a plurality of indication value arrays, a plurality of mean square errors are determined, wherein each mean square error corresponds to a coefficient array;
[0092] Each mean square error is added to a corresponding mean square error queue;
[0093] The minimum value is selected from the plurality of mean square errors as a reference value;
[0094] If there is no mean square error queue that meets the convergence condition, the plurality of coefficient arrays are adjusted according to the coefficient array corresponding to the reference value, and the step of substituting the plurality of coefficient arrays into the standard capacitance equation to obtain a plurality of process equations is jumped to;
[0095] Otherwise, the process equation corresponding to the reference value is retained as the standard capacitance equation.
[0096] In some embodiments, the adjusting the plurality of coefficient arrays according to the coefficient array corresponding to the reference value includes:
[0097] For each coefficient array, the following steps are performed respectively:
[0098] The minimum value is extracted from the mean square error queue of the coefficient array, and the historical coefficient array corresponding to the minimum value is taken as a process optimal array;
[0099] adjusting the coefficient array according to a first formula, the global optimal array and the process optimal array, wherein the first formula is:
[0100]
[0101] wherein w (n+1) [j] is the jth data of the adjusted coefficient array, w (n) [j] is the jth data of the coefficient array before adjustment, a is a first adjustment coefficient, b is a second adjustment coefficient, D opta [j] is the distance between the coefficient array and the global optimal array in the jth dimension, D opt [j] is the distance between the coefficient array and the process optimal array in the jth dimension, D min is the minimum adjustment distance, w (opta) [j] is the jth data of the global optimal array, w (opth) [j] is the jth data of the process optimal array.
[0102] Exemplarily, the present application further determines the standard capacitance value of the sensor through multiple test arrays, and each array is constructed based on the influencing factors affecting the sensor capacitance observation value, specifically including: test temperature, oscillation loading voltage, oscillation loading resistance, oscillation frequency and gas humidity observation value. It needs to be particularly pointed out that in order to obtain the standard capacitance value, the array should include the gas humidity value, but in fact, due to the online detection of the sensor in the embodiment of the present application, it does not have the condition to obtain the accurate gas humidity value, so the gas observation value is used instead (the gas humidity determined by the sensor return data), obviously, this observation value has a large deviation and affects the final result of the standard capacitance value. However, the present application reduces this influence to a small level through technical means.
[0103] After obtaining the test array, each test array is substituted into the equation of the relationship between the standard capacitance value and multiple influencing factors (standard capacitance equation), so as to obtain an equation group, according to which the standard capacitance value can be determined. The equation is:
[0104]
[0105] wherein FE is the test temperature, p is the circular constant, k c is the oscillation circuit structure constant, R is the oscillation loading resistance, C r is the capacitance observation value, b is the bias constant, C is the standard capacitance value, wT i is the ith temperature coefficient, T is the test temperature, wU i is the ith voltage coefficient, U is the oscillation loading voltage, wRH iRHO is the humidity observation value of the i th gas, wFE i RHO is the humidity observation value of the i th gas, wFE
[0106] It can be seen that this equation is an equation with multiple coefficients (where the oscillation circuit structure constant is a parameter related to the circuit structure provided by the first aspect, and when the feedback is 1 level, the structure constant is 1). At this time, we need to determine the solution of multiple coefficients in the equation.
[0107] In the determination of the solution of the coefficients, the embodiments of the present application construct a test data set by generating different loading voltages, loading resistances, test oscillation frequencies by the circuit of the first aspect, combined with external conditions: test temperature and humidity value (herein replaced by humidity observation value) of test gas, so that multiple test data are obtained, and the test capacitance observation values (capacitance values determined by the oscillation circuit structure constant, loading resistance, test oscillation frequency and the first row of the above equation) in the test data are arranged in order to construct a control value array.
[0108] Then a plurality of coefficient arrays are obtained and initialized, and are substituted into the above equation to form a plurality of process equations. Then, each process equation substitutes the above multiple test data (values other than the test capacitance observation value) into each process equation one by one, and the output obtained is again arranged in order to construct an indication value array. By the indication value array and the control value array, the mean square error of the process equation is determined, for example, the following formula is applied:
[0109]
[0110] In the above formula, MSE is the mean square error, y i RHO is the humidity observation value of the i th gas, wFE RHO is the humidity observation value of the i th gas, wFE
[0111] In this way, multiple mean square errors are obtained, the minimum value is selected as a reference value from the multiple mean square errors, and then the mean square errors are added to the mean square error queue of the corresponding process equation.
[0112] The convergence of each process equation is determined by the mean square error queue. If the convergence condition is met, the equation corresponding to the reference value is taken as the standard capacitance equation, otherwise, the coefficients of each process equation need to be modified. Specifically, for each coefficient array, the minimum value is extracted from the mean square error queue of the coefficient array, and the historical coefficient array corresponding to the minimum value is taken as the process optimal array. The coefficient array is adjusted according to the first formula, the global optimal array and the process optimal array, wherein the first formula is:
[0113]
[0114] wherein w (n+1) [j] is the jth data of the adjusted coefficient array, w (n) [j] is the jth data of the adjusted coefficient array, w opta [j] is the distance between the coefficient array and the global optimal array in the jth dimension, w opt [j] is the distance between the coefficient array and the process optimal array in the jth dimension, w min is the minimum adjustment distance, w (opta) [j] is the jth data of the global optimal array, w (opth) [j] is the jth data of the process optimal array.
[0115] In step 203, a deviation of the standard capacitance application value from the standard capacitance estimated value is determined, and when the deviation is greater than a deviation threshold, a standard capacitance estimated value is obtained again by the standard capacitance equation.
[0116] In some embodiments, when the deviation is greater than the deviation threshold, the standard capacitance estimated value is obtained again by the standard capacitance equation, including:
[0117] According to the standard capacitance estimated value, a reference humidity curve equation is selected;
[0118] The gas humidity observation values in the plurality of test arrays are taken as a plurality of to-be-updated observation values;
[0119] According to the test temperature in the plurality of test arrays, the humidity sensor return value when the plurality of to-be-updated observation values are obtained, and the reference humidity curve equation, a plurality of gas humidity observation update values are determined;
[0120] The plurality of gas humidity observation update values are respectively taken as the gas humidity observation values of the plurality of test arrays;
[0121] Jump to the step of substituting the plurality of test arrays into the standard capacitance equation to obtain a standard capacitance estimated value of the humidity sensor.
[0122] Exemplarily, as mentioned above, the standard capacitance value obtained by replacing the gas humidity value with the gas observation value has a certain deviation, in order to reduce the deviation, after the standard capacitance estimation value is obtained, the humidity curve equation (referring to the humidity curve equation) reflecting the relationship between the gas temperature and the humidity sensor return value and the gas humidity is reselected. The test temperature in the test array and the humidity sensor return value when the gas humidity observation value in the test array is obtained are substituted into the reselected humidity curve equation, so that the gas humidity observation value with smaller error is obtained, the gas humidity observation value is replaced with the gas humidity observation value in the test array, and then the step of substituting the plurality of test arrays into the standard capacitance equation to obtain the standard capacitance estimation value of the humidity sensor is jumped to, and the above is repeated until the deviation of the standard capacitance estimation value from the standard capacitance application value (the standard capacitance value used to select the reference humidity curve equation, or referred to as the standard capacitance value in the previous iteration) is less than the deviation threshold.
[0123] In step 204, the gas humidity is determined according to the return value of the humidity sensor, the gas temperature, and the humidity curve equation selected according to the standard capacitance estimation value, wherein the humidity curve equation reflects the relationship between the gas temperature and the return value of the humidity sensor and the gas humidity.
[0124] In some embodiments, the humidity curve equation is determined according to a plurality of humidity test data, comprising:
[0125] The humidity relationship equation, a plurality of humidity test arrays, a plurality of humidity test arrays, and the standard capacitance value of the humidity sensor to be measured are obtained, wherein the humidity relationship equation expresses the relationship between the gas temperature and the return value of the humidity sensor and the humidity when the standard capacitance value, each humidity test array includes: test gas temperature and return value of the humidity sensor to be measured, each humidity test array corresponds to a humidity measured value;
[0126] The solution of the plurality of coefficients is determined by using the least square method according to the plurality of humidity measured values and the plurality of humidity test arrays;
[0127] The solution of the plurality of coefficients is substituted into the humidity relationship equation to obtain the humidity curve equation corresponding to the standard capacitance value.
[0128] Exemplarily, after the standard capacitance value is determined, the humidity curve equation can be selected by the standard capacitance value, and the gas humidity is further determined according to the equation.
[0129] In fact, the humidity curve equation is constructed according to a humidity sensor with a known standard capacitance value through multiple tests, each test obtaining a humidity measured value (obtained by a high-precision humidity sensor, for example, humidity obtained by a cold mirror dew point measurement) and a humidity test array, the humidity test array including a test gas temperature and a return value of the humidity sensor to be measured, and a plurality of coefficients of the humidity relationship equation are determined by using a least square method according to the data combination, so that the humidity curve equation corresponding to the standard capacitance value is obtained.
[0130] The embodiment of the high-voltage electrical equipment gas humidity detection method provided by the application firstly obtains a plurality of test arrays, wherein the test array includes a plurality of factor values affecting the capacitance value of the humidity sensor; then the plurality of test arrays are respectively substituted into a standard capacitance equation to obtain a standard capacitance estimation value of the humidity sensor, wherein the standard capacitance equation expresses the relationship between a plurality of factors and the capacitance value of the humidity sensor, and the standard capacitance value is the capacitance value of the humidity sensor under standard test conditions; then the deviation of the standard capacitance application value is determined according to the standard capacitance estimation value, and when the deviation is greater than a deviation threshold, the standard capacitance estimation value is obtained again through the standard capacitance equation; finally, the gas humidity is determined according to the return value of the humidity sensor, the gas temperature, and the humidity curve equation selected according to the standard capacitance estimation value, wherein the humidity curve equation reflects the relationship between the gas temperature, the return value of the humidity sensor, and the gas humidity. The embodiment of the application determines the standard capacitance value of the sensor through the plurality of factor data groups affecting the sensor capacitance observation value, and finally completes the humidity detection by selecting the corresponding humidity curve equation through the standard capacitance value. The method of the application can determine the drift amount of the sensor without disassembly and calibration, and reduces the problem of inaccurate data caused by sensor drift.
[0131] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the application.
[0132] The following is the device embodiment of the application. For details not described in detail, please refer to the corresponding method embodiments described above.
[0133] Figure 3 is a functional block diagram of the high-voltage electrical equipment gas humidity detection device provided by the embodiment of the application, referring to Figure 3 , the high-voltage electrical equipment gas humidity detection device includes a test data acquisition module 301, a standard capacitance estimation module 302, a deviation determination module 303, and a gas humidity determination module 304, wherein:
[0134] The test data acquisition module 301 is configured to acquire a plurality of test arrays, wherein each test array comprises a plurality of factor values affecting the capacitance value of the humidity sensor.
[0135] The standard capacitance estimation module 302 is configured to substitute the plurality of test arrays into a standard capacitance equation respectively to obtain a standard capacitance estimation value of the humidity sensor, wherein the standard capacitance equation represents the relationship between the plurality of factors and the capacitance value of the humidity sensor, and the standard capacitance value is the capacitance value of the humidity sensor under standard test conditions.
[0136] The deviation determination module 303 is configured to determine the deviation of the standard capacitance application value according to the standard capacitance estimation value, and re-obtain the standard capacitance estimation value through the standard capacitance equation again when the deviation is greater than a deviation threshold.
[0137] The gas humidity determination module 304 is configured to determine the gas humidity according to the return value of the humidity sensor, the gas temperature, and a humidity curve equation selected according to the standard capacitance estimation value, wherein the humidity curve equation reflects the relationship between the gas temperature, the return value of the humidity sensor, and the gas humidity.
[0138] Figure 4 is a functional block diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 4 the electronic device 4 of the embodiment includes a processor 400 and a memory 401, and the memory 401 stores a computer program 402 which can run on the processor 400. The processor 400 implements the steps in the above-mentioned high-voltage electrical equipment gas humidity detection method and embodiments when executing the computer program 402, such as Figure 2 steps 201 to 204 shown in the figure.
[0139] For example, the computer program 402 can 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 application.
[0140] The electronic device 4 can be a desktop computer, a notebook computer, a palm computer, a cloud server, and the like. The electronic device 4 can include, but is not limited to, the processor 400 and the memory 401. Those skilled in the art can understand that Figure 4 the electronic device 4 is only an example and does not constitute a limitation on the electronic device 4, and can include more or fewer components than those shown, or combine certain components, or different components, for example, the electronic device 4 can also include an input / output device, a network access device, a bus, and the like.
[0141] The processor 400 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0142] The memory 401 can be an internal storage unit of the electronic device 4, such as a hard disk or a memory of the electronic device 4. The memory 401 can also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, or the like, provided on the electronic device 4. Further, the memory 401 can include both the internal storage unit and the external storage device 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.
[0143] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is exemplified, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the above-described functions. Each functional unit or module in the embodiments can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit, and the integrated unit can be realized in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit or module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the system can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0144] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can refer to the relevant description of other embodiments.
[0145] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0146] In the embodiments provided by the present application, it should be understood that the disclosed apparatus / equipment and method can be implemented in other manners. For example, the described apparatus / equipment embodiments are merely schematic. For example, the division of the modules or units is merely a logical function division. There can be another division manner for the actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, or the among different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0147] The units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments.
[0148] In addition, each functional unit in the various embodiments of the present application can be integrated in one processing unit, or each unit can exist physically as a separate unit, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware, or in the form of a software functional unit.
[0149] The integrated module / unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method and device embodiments can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0150] The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method of detecting gas humidity in a high-voltage electrical device, characterized by, The application is applied to gas humidity detection based on a resistance-capacitance micro-water humidity sensor, and comprises the following steps: a plurality of test arrays are obtained, wherein the test array comprises a plurality of factor values affecting the capacitance value of the humidity sensor; the plurality of test arrays are respectively substituted into a standard capacitance equation to obtain a standard capacitance estimation value of the humidity sensor, wherein the standard capacitance equation represents the relationship between a plurality of factors and the capacitance value of the humidity sensor, the standard capacitance value is the capacitance value of the humidity sensor under standard test conditions, the factors affecting the capacitance value of the humidity sensor include a test temperature, an oscillation loading voltage, an oscillation loading resistance, an oscillation frequency and a gas humidity observation value, and the standard capacitance equation is: where FE is the oscillation frequency, π is the circle constant, k c is the oscillation circuit structure constant, R is the oscillation loading resistance, C r is the capacitance observation value, b is the bias constant, C is the standard capacitance value, wT i is the i-th temperature coefficient, T is the test temperature, wU i is the i-th voltage coefficient, U is the oscillation loading voltage, wRH i is the i-th gas humidity coefficient, RHO is the gas humidity observation value, wFE i is the i-th oscillation frequency coefficient; a deviation of a standard capacitance application value is determined according to the standard capacitance estimation value, and the standard capacitance estimation value is obtained again through the standard capacitance equation when the deviation is greater than a deviation threshold value; a gas humidity is determined according to a return value of the humidity sensor, a gas temperature and a humidity curve equation selected according to the standard capacitance estimation value, wherein the humidity curve equation reflects the relationship between the gas temperature and the return value of the humidity sensor and the gas humidity; wherein the oscillation frequency is obtained based on a high-voltage electrical equipment gas humidity detection circuit, and the high-voltage electrical equipment gas humidity detection circuit comprises a multi-grade standard voltage source, a resistance-capacitance oscillation circuit and a phase-locked loop; an input end of the phase-locked loop is electrically connected with an output end of the resistance-capacitance oscillation circuit, the multi-grade standard voltage source is electrically connected with the resistance-capacitance oscillation circuit and the phase-locked loop, and the multi-grade standard voltage source provides a plurality of alternative power supply voltages for the resistance-capacitance oscillation circuit and the phase-locked loop; the resistance-capacitance oscillation circuit is provided with a resistance-capacitance micro-water humidity sensor and a plurality of oscillation loading resistances, the resistance-capacitance micro-water humidity sensor and the plurality of oscillation loading resistances are alternatively connected in series to form an RC circuit, and the resistance-capacitance oscillation circuit generates a sine wave signal through the RC circuit; the phase-locked loop comprises a phase detector, a low-pass filter and a voltage-controlled oscillator, an output end of the phase detector is electrically connected with an input end of the low-pass filter, an output end of the low-pass filter is electrically connected with an input end of the voltage-controlled oscillator, and an output end of the voltage-controlled oscillator is electrically connected with a first input end of the phase detector; when a second input end of the phase detector receives the sine wave signal, the output end of the low-pass filter outputs an oscillation frequency indication positively correlated with the frequency of the sine wave signal.
2. The gas humidity detection method for high-voltage electrical equipment according to claim 1, characterized by, The standard capacitance equation has a plurality of undetermined coefficients, and the plurality of undetermined coefficients are determined according to a plurality of sets of capacitance capacity test data, comprising: a plurality of coefficient arrays and a plurality of sets of capacitance capacity test data are obtained, wherein each set of capacitance capacity test data comprises a test temperature, a test loading voltage, a test oscillation loading resistance, a test oscillation frequency, a test capacitance observation value, a test standard capacitance value and a test gas humidity value; the test capacitance observation values of the plurality of sets of capacitance capacity test data are constructed into a contrast value array; the plurality of coefficient arrays are substituted into the standard capacitance equation one by one to obtain a plurality of process equations; For each process equation, the extracted test condition data in the multiple sets of capacitance capacity test data is substituted into the process equation one by one, and multiple capacitance observation indicator values are obtained to construct an indicator value array, wherein each capacitance observation indicator value corresponds to a set of capacitance capacity test data, and the extracted test condition data is data other than the test capacitance observation value in the capacitance capacity test data; According to the reference value array and the multiple indicator value arrays, multiple mean square errors are determined, wherein each mean square error corresponds to a coefficient array; Each mean square error is added to the corresponding mean square error queue; The minimum value is selected from the multiple mean square errors as a reference value; If there is no mean square error queue that meets the convergence condition, the multiple coefficient arrays are adjusted according to the coefficient array corresponding to the reference value, and the step of substituting the multiple coefficient arrays into the standard capacitance equation to obtain multiple process equations is jumped to; Otherwise, the process equation corresponding to the reference value is retained as the standard capacitance equation.
3. The gas humidity detection method for high-voltage electrical equipment according to claim 2, characterized by, The adjustment of the multiple coefficient arrays according to the coefficient array corresponding to the reference value includes: For each coefficient array, the following steps are performed respectively: The minimum value is extracted from the mean square error queue of the coefficient array, and the historical coefficient array corresponding to the minimum value is taken as the process optimal array; The coefficient array is adjusted according to the first formula, the global optimal array and the process optimal array, wherein the first formula is: where w (n+1) [j] is the jth data of the adjusted coefficient array, w (n) [j] is the jth data of the adjusted coefficient array, w opta [j] is the jth data of the adjusted coefficient array, w opth [j] is the jth data of the adjusted coefficient array, w min is the minimum adjustment distance, w (opta) [j] is the jth data of the adjusted coefficient array, w (opth) [j] is the jth data of the adjusted coefficient array, w 4. The gas humidity detection method for high-voltage electrical equipment according to claim 1, characterized by, When the deviation is greater than the deviation threshold, the standard capacitance estimated value is reobtained through the standard capacitance equation again, which includes: According to the standard capacitance estimated value, a reference humidity curve equation is selected; The gas humidity observation values in the multiple test arrays are taken as multiple to-be-updated observation values; According to the test temperature in the multiple test arrays, the humidity sensor return value when the multiple to-be-updated observation values are obtained, and the reference humidity curve equation, multiple gas humidity observation update values are determined; The multiple gas humidity observation update values are taken as the gas humidity observation values of the multiple test arrays respectively; Jump to the step of substituting the multiple test arrays into the standard capacitance equation to obtain the standard capacitance estimated value of the humidity sensor.
5. The method of claim 1-4, wherein The humidity curve equation is determined according to multiple sets of humidity test data, which includes: Obtain a humidity relationship equation, multiple humidity measured values, multiple humidity test arrays and a standard capacitance value of the measured humidity sensor, wherein the humidity relationship equation expresses the relationship between the gas temperature and the humidity sensor return value and the humidity of the humidity sensor at the standard capacitance value, each humidity test array includes a test gas temperature and a measured humidity sensor return value, and each humidity test array corresponds to a humidity measured value; The solution of the multiple coefficients of the humidity relationship equation is determined by using the least square method according to the multiple humidity measured values and the multiple humidity test arrays; The multiple coefficient solutions are substituted into the humidity relationship equation to obtain the humidity curve equation corresponding to the standard capacitance value.
6. A high-voltage electrical equipment gas humidity detection device, characterized by comprising: The high-voltage electrical equipment gas humidity detection device for implementing the high-voltage electrical equipment gas humidity detection method of any one of claims 1-5 includes: a test data obtaining module, configured to obtain a plurality of test arrays, wherein each test array comprises a plurality of factor values affecting a capacitance value of a humidity sensor; a standard capacitance estimating module, configured to substitute the plurality of test arrays into a standard capacitance equation respectively to obtain a standard capacitance estimated value of the humidity sensor, wherein the standard capacitance equation expresses a relationship between the plurality of factors and the capacitance value of the humidity sensor, and the standard capacitance value is a capacitance value of the humidity sensor under standard test conditions; a deviation determining module, configured to determine a deviation of a standard capacitance application value according to the standard capacitance estimated value, and to obtain the standard capacitance estimated value again through the standard capacitance equation when the deviation is greater than a deviation threshold value; a gas humidity determining module, configured to determine a gas humidity according to a return value of the humidity sensor, a gas temperature, and a humidity curve equation selected according to the standard capacitance estimated value, wherein the humidity curve equation reflects a relationship between the gas temperature, the return value of the humidity sensor, and the gas humidity. The processor executes the computer program to implement the steps of the method of any one of claims 1-5.
7. 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 computer program is executed by the processor to implement the steps of the method of any one of claims 1-5.
8. A computer-readable storage medium storing a computer program, the computer-readable storage medium comprising:
Citation Information
Patent Citations
Phase-locked loop bandwidth control circuit and method
CN107040257A
Intelligent self-calibration method for temperature and humidity of overlapped blocks of gas sensor
CN112903758A
Moisture detecting device for incubation machine
CN2186399Y