A method and device for detecting the water content of natural ester insulating oil
By employing terahertz technology and a multi-band weighted difference spectrum integration method, the problems of rapid, non-destructive, and stable detection of water content in natural ester insulating oil have been solved, enabling accurate detection of different oil types.
Patent Information
- Application Number
- CN202611363292.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies are difficult to use quickly, non-destructively, and stably to detect the water content of natural ester insulating oils, especially due to differences in the oil matrix and the influence of baseline drift, which leads to unstable test results.
Terahertz technology was used to obtain the difference in absorption coefficients between the tested and reference natural ester insulating oils. By using a multi-band weighted difference spectrum integration method, combined with theoretical and experimental contribution scores, the selected frequency bands were determined and weighted fusion was performed to establish a moisture content prediction model.
It enables rapid, non-destructive, and stable detection of water content in natural ester insulating oil, improves anti-interference ability and signal-to-noise ratio, and enhances the model's generalization ability and quantitative accuracy across different oil types.
Smart Images

Figure CN123175884A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of quality testing of natural ester insulating oil, and in particular to a method and equipment for detecting the water content of natural ester insulating oil based on theoretically constrained multi-band weighted difference spectrum integration. Background Technology
[0002] Natural ester insulating oils have high water solubility and a strong polar matrix. Water entering the oil phase can form water-oil hydrogen bonds with ester groups, carbonyl groups, and other polar groups, and can also form water-water hydrogen bond networks under high water loads. Increased water content affects dielectric loss, partial discharge risk, and the insulation aging process; therefore, rapid water content assessment is an important aspect of the operation and maintenance of natural ester insulating oils.
[0003] Current methods for testing water content primarily rely on Karl Fischer titration, as defined in standard methods such as IEC 60814. While this method offers high accuracy, it requires sampling, reagents, and a lengthy pretreatment time, making it unsuitable for rapid, non-destructive on-site screening. Infrared, near-infrared, and dielectric spectroscopy methods offer rapid detection approaches, but their results are easily affected by differences in oil matrix, sample condition, temperature variations, and the applicability of the model, making it difficult to directly meet the stable assessment requirements for water content in natural ester insulating oils based on different vegetable oils. Therefore, a rapid quantitative assessment method for water content in natural ester insulating oils that balances strong anti-interference capabilities and oil type compatibility is needed. Terahertz time-domain spectroscopy is sensitive to polar molecules, hydrogen bonding, and low-frequency collective vibrations, providing a new non-contact spectroscopic characterization method for detecting water content in natural ester insulating oils. Currently, terahertz technology has been used to detect water content in gasoline and mineral oils; Jiang Tao et al. used 2.24 THz as the characteristic peak for water content in mineral oils. However, for trace amounts of moisture in natural ester insulating oil, under the influence of terahertz waves, water molecules exhibit restricted rotation due to the effect of oil molecules. This results in broadband absorption enhancement rather than isolated spikes in the terahertz band. Therefore, single-frequency or fixed-band models are easily affected by baseline drift, local fluctuations, and differences in oil types. Furthermore, current research has not yet applied terahertz technology to the detection of moisture content in natural ester insulating oil. Summary of the Invention
[0004] The purpose of this application is to provide a method and equipment for detecting the water content of natural ester insulating oil, which can achieve rapid, non-destructive, and stable detection of the water content of natural ester insulating oil.
[0005] To achieve the above objectives, this application provides the following solution: In a first aspect, this application provides a method for detecting the water content of natural ester insulating oil, comprising: The absorption coefficients of the natural ester insulating oil to be tested and the reference natural ester insulating oil in the terahertz frequency band are obtained to obtain the absorption coefficient to be tested and the reference absorption coefficient. The reference natural ester insulating oil is of the same type as the natural ester insulating oil to be tested, and the water content of the reference natural ester insulating oil is lower than the preset water content threshold. The difference spectrum absorption coefficient is determined based on the difference between the absorption coefficient to be measured and the reference absorption coefficient. The difference spectral absorption coefficient is integrated in multiple candidate frequency bands to obtain the difference spectral integral in each candidate frequency band. For any candidate frequency band, a comprehensive score is determined based on the theoretical contribution score and the experimental contribution score of the candidate frequency band; the theoretical contribution score is used to characterize the theoretically predicted moisture response intensity within the candidate frequency band, and the experimental contribution score is used to characterize the experimental correlation between the difference spectral response and water content within the candidate frequency band. The selected frequency bands are determined from multiple candidate frequency bands based on their comprehensive scores, and the weight of each selected frequency band is determined based on its comprehensive score. The difference spectrum integrals of each selected frequency band are standardized and then weighted and fused according to the weights of each selected frequency band to obtain the multi-band weighted difference spectrum integral features. Based on the multi-band weighted difference spectrum integral characteristics and the moisture content prediction model, the predicted moisture content of the natural ester insulating oil to be tested is determined; the moisture content prediction model is pre-fitted to determine the moisture content and the multi-band weighted difference spectrum integral characteristics.
[0006] Secondly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described method for detecting the water content of natural ester insulating oil.
[0007] According to the specific embodiments provided in this application, this application has the following technical effects: First, by calculating the difference spectral absorption coefficients of the benchmark sample and the test sample of the same oil type, the intrinsic matrix absorption of natural ester insulating oil, sample cell fixed loss, and system baseline drift are effectively subtracted. This allows the difference spectral response to more purely reflect the broadband absorption enhancement in terahertz caused by moisture, significantly improving anti-interference capability and signal-to-noise ratio. Second, by calculating the difference spectral integral in multiple candidate frequency bands, the shortcomings of single frequency points being susceptible to local fluctuations and random noise are overcome. This fully utilizes the physical characteristic of trace moisture exhibiting broadband absorption enhancement in the terahertz band, making feature extraction more comprehensive and robust. Third, by fusing theoretical contribution scores and experimental contribution scores to determine the comprehensive score and selecting the included frequency bands and assigning weights accordingly, the selected frequency bands are ensured to have reasonable physical mechanism support and good correlation with experimental data, effectively improving the model's generalization ability and transferability across different oil types. Finally, the difference spectrum integrals of the selected frequency bands are standardized and weighted, which can comprehensively utilize the complementary information of the mid-frequency band and the high-frequency band, avoiding the problem of insufficient information in a single frequency band or the high-amplitude frequency band dominating the model. This significantly improves the linear correlation and quantitative accuracy of the water content fitting curve, and realizes rapid, non-destructive and stable detection of water content in natural ester insulating oil. Attached Figure Description
[0008] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0009] Figure 1 This is a schematic diagram of the overall process for a method of detecting the water content of natural ester insulating oil according to an embodiment of this application.
[0010] Figure 2 This is a schematic diagram of a terahertz testing platform.
[0011] Figure 3 This is a schematic diagram of the frequency band selection and weight determination process for palm-based systems.
[0012] Figure 4 This is a schematic diagram of the frequency band screening and weight determination process for soybean-based samples.
[0013] Figure 5 This is a schematic diagram illustrating the process of frequency band screening and weight determination for rapeseed-based samples.
[0014] Figure 6 This is a schematic diagram showing the fitting results of the multi-band weighted difference spectrum integral-moisture content of three natural ester insulating oils.
[0015] Figure 7This is a schematic diagram illustrating the verification results of the predicted moisture content and the measured moisture content from the calibration curve.
[0016] Figure 8 This is a schematic diagram showing the results of judging the water content limits of 100 ppm and 200 ppm.
[0017] Figure 9 This is a detailed flowchart illustrating a method for detecting the water content of natural ester insulating oil according to an embodiment of this application.
[0018] Figure 10 This is a schematic diagram of a device for detecting the water content of natural ester insulating oil. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0021] In one exemplary embodiment, such as Figure 1 As shown, a method for detecting the water content of natural ester insulating oil is provided. The method is executed by a terahertz detection device or a data processing computer connected to it. In the embodiments of this application, the method includes the following steps 101 to 107.
[0022] Step 101: Obtain the absorption coefficient of the natural ester insulating oil to be tested in the terahertz frequency band and the absorption coefficient of the reference natural ester insulating oil in the terahertz frequency band, and obtain the absorption coefficient to be tested and the reference absorption coefficient.
[0023] The reference natural ester insulating oil is of the same type as the natural ester insulating oil to be tested, and the water content of the reference natural ester insulating oil is lower than the preset water content threshold.
[0024] In a specific application example, step 101 includes steps 11 to 12.
[0025] Step 11: Acquire the time-domain signal of the terahertz pulse passing through the natural ester insulating oil to be tested, obtain the terahertz time-domain signal to be tested, and perform Fourier transform on the terahertz time-domain signal to be tested to obtain the electric field in the frequency domain to be tested. Calculate the absorption coefficient based on the electric field in the frequency domain to be tested to obtain the absorption coefficient to be tested.
[0026] Step 12: Acquire the time-domain signal of the terahertz pulse after passing through the reference natural ester insulating oil to obtain the reference terahertz time-domain signal, and perform Fourier transform on the reference terahertz time-domain signal to obtain the reference frequency-domain electric field. Calculate the absorption coefficient based on the reference frequency-domain electric field to obtain the reference absorption coefficient.
[0027] Before performing Fourier transform on the terahertz time-domain signal to be measured and the reference terahertz time-domain signal, truncation, baseline correction and window function processing can be performed on them.
[0028] Specifically, the first step is to determine the type of natural ester insulating oil to be tested. For different vegetable oil-based natural ester insulating oils, the lowest water content sample, vacuum-dried sample, or low water content sample confirmed by standard methods should be selected as the reference sample for the same oil type. The reference sample and the sample to be tested should use the same optical path, the same sample cell material, the same environmental control conditions, and the same frequency domain processing procedure. The natural ester insulating oil to be tested and the reference natural ester insulating oil are respectively placed in quartz cuvettes with a 2mm optical path. During detection, the time domain signals of the natural ester insulating oil to be tested and the reference natural ester insulating oil are collected in a nitrogen-purged or low-humidity environment. During the acquisition process, information such as ambient temperature, ambient humidity, sample temperature, effective frequency band signal-to-noise ratio, and sample number are recorded for subsequent result traceability. 100 sets of time domain waveforms are continuously acquired for each sample and averaged to reduce the influence of femtosecond laser energy fluctuations, mechanical time delay jitter, and environmental water vapor absorption on the results.
[0029] Furthermore, the time-domain signal of an empty cuvette is acquired as a reference terahertz time-domain signal. This reference terahertz time-domain signal is then truncated, baseline corrected, processed using a window function, and subjected to Fourier transform to obtain the reference frequency-domain electric field. The absorption coefficient to be measured is calculated based on the amplitude attenuation between the reference frequency-domain electric field and the electric field to be measured. The reference absorption coefficient is calculated based on the amplitude attenuation between the reference frequency-domain electric field and the reference frequency-domain electric field.
[0030] This application adopts the following... Figure 2The terahertz testing platform shown acquires time-domain signals. The terahertz testing platform includes a terahertz spectrometer 201 (BTFTS3500), a terahertz transmitter 202 (TERA15-TX-FC), a terahertz receiver 203 (TERA15-RX-FC), an off-axis parabolic mirror 204, a cuvette sample cell 205, a cuvette sample stage 206, and a PC control terminal 207. The terahertz spectrometer 201 includes a femtosecond laser 208 (XSFL1560-30 / 30-2), a beam splitter 209, a time delay device 210 (which can be an optical delay line), and a reflector 211. The ultrashort laser pulse output from the femtosecond laser 208 is split into a pump beam 212 and a probe beam 213 by a beam splitter 209. The pump beam 212 enters the terahertz emitter 202 to generate terahertz pulses. The probe beam 213, after being adjusted by a time delay device 210 and a reflector 211, enters the terahertz receiver 203 to achieve synchronous sampling of the terahertz time-domain signal. The terahertz pulse is collimated and focused by an off-axis parabolic mirror 204 and then passes through the cuvette sample cell 205 placed on the cuvette sample stage 206, interacting with the insulating oil sample inside, causing amplitude attenuation and phase delay of the terahertz signal. The transmitted terahertz wave is then collected by the off-axis parabolic mirror 204 and focused onto the terahertz receiver 203. The terahertz spectrometer 201 and the PC control terminal 207 jointly complete system control, time delay scanning, signal acquisition and data storage, and provide raw data for subsequent steps such as calculating the absorption coefficient.
[0031] Step 102: Determine the difference spectrum absorption coefficient based on the difference between the absorption coefficient to be measured and the reference absorption coefficient. This further subtracts the intrinsic broadband absorption background of natural ester insulating oil. Among them, The absorption coefficient to be measured is... As the baseline absorption coefficient, The difference spectrum absorption coefficient, W For water content. Compared to directly using the original absorption coefficient, difference spectroscopy can reduce the influence of intrinsic oil absorption, sample cell fixed losses, and system baseline on the water content prediction model.
[0032] Step 103: Integrate the difference spectrum absorption coefficient in each of the multiple candidate frequency bands to obtain the difference spectrum integral in each candidate frequency band.
[0033] Multiple candidate frequency bands are determined as follows: the correlation coefficient between each frequency point within the terahertz scanning range and water content is calculated, and frequency points whose correlation coefficients meet a preset correlation threshold are selected as candidate frequency points. Candidate frequency bands are then determined based on these candidate frequency points.
[0034] No. j The difference spectrum integral within each candidate frequency band is: ;in, For the first j Difference spectrum integral within each candidate frequency band For the first j The lower limit of candidate frequency bands For the first j The upper limit of candidate frequency bands, The difference spectrum absorption coefficient, W This refers to the water content.
[0035] Step 104: For any candidate frequency band, determine the comprehensive score of the candidate frequency band based on its theoretical contribution score and experimental contribution score.
[0036] The theoretical contribution score is used to characterize the theoretically predicted moisture response intensity within the candidate frequency band, and the experimental contribution score is used to characterize the experimental correlation between the difference spectral response and moisture content within the candidate frequency band.
[0037] The experimental contribution score of the candidate frequency band is determined in the following way: (11) For any frequency point within the candidate frequency band, calculate multiple experimental indicators for that frequency point. The multiple experimental indicators are the root mean square response index of the difference spectrum, the difference spectrum difference index between different water content groups, the frequency-by-frequency Pearson correlation coefficient between the difference spectrum absorption coefficient and water content, and the difference spectrum sign consistency index.
[0038] The root mean square response index of the difference spectrum is: .
[0039] The difference index of the spectrum between different moisture content groups is as follows: .
[0040] The frequency-by-frequency Pearson correlation coefficient between the difference spectrum absorption coefficient and water content is: .
[0041] The sign consistency index of the difference spectrum is: .
[0042] in, Frequency point The root mean square response index of the difference spectrum. Frequency point The difference spectrum index between different moisture content groups. Frequency point The frequency-by-frequency Pearson correlation coefficient between the difference spectrum absorption coefficient and water content. Frequency point The sign consistency index of the difference spectrum Frequency point The difference spectrum absorption coefficient, The average difference spectrum absorption coefficient for the high moisture content group. The mean of the difference spectrum absorption coefficients for the low moisture content group. The water content threshold, The total number of water content groups participating in the difference spectral analysis. For the first Moisture content of the group of samples.
[0043] (12) After normalizing multiple experimental indicators, a weighted sum is obtained to obtain the experimental frequency score of the frequency point: .in, Frequency point Experimental frequency score; For range normalization, the normalization range is 0 to 1. The closer the score is to 1, the more significant the response of that frequency point relative to the entire scan range; The coefficients of the root mean square response index of the difference spectrum are... It emphasizes the magnitude of the difference spectrum changes caused by moisture. The coefficients of the difference spectrum index between different moisture content groups. It emphasizes the separability of samples with high and low moisture content; This represents the coefficient of the frequency-by-frequency Pearson correlation coefficient between the difference spectrum absorption coefficient and water content. This ensures that the spectral response has a linear correlation with the water content; The coefficient of the sign consistency index of the difference spectrum. It is used to suppress unstable frequency points in both positive and negative directions.
[0044] (13) Take the average value of the experimental frequency point scores of all frequency points in the candidate frequency band to obtain the experimental contribution score of the candidate frequency band.
[0045] Let the first The candidate frequency bands are: ,Include For each discrete frequency point, the experimental contribution score is: .in, For the first j Experimental contribution scores for each candidate frequency band.
[0046] The theoretical contribution score of the candidate frequency band is determined in the following way: (21) Obtain the first theoretical absorption spectrum of the unhydrated natural ester insulating oil and the second theoretical absorption spectrum of the hydrated natural ester insulating oil.
[0047] (22) Calculate the difference between the second theoretical absorption spectrum and the first theoretical absorption spectrum to obtain the theoretical absorption intensity difference spectrum. .in, Frequency point The theoretical absorption intensity difference spectrum, Frequency point The second theoretical absorption spectrum, Frequency point The first theoretical absorption spectrum.
[0048] (23) The absolute value of the theoretical absorption intensity difference spectrum is taken and then normalized to obtain the theoretical frequency score: .in, Frequency point Theoretical frequency point score, The average value was calculated using a 7-point moving average. Absolute values were used in this application because theoretical constraints focus on the magnitude of the change in absorption response before and after water addition, rather than using the direction of change as the frequency selection criterion.
[0049] (24) Take the average of the theoretical frequency scores of all frequency points in the candidate frequency band to obtain the theoretical contribution score of the candidate frequency band.
[0050] Let the first The candidate frequency bands are: ,Include For each discrete frequency point, the theoretical contribution fraction is: .in, For the first j The theoretical contribution score of each candidate frequency band.
[0051] Furthermore, since the experimental frequency intervals are the same, the experimental contribution score and the theoretical contribution score can also be written in the bandwidth-normalized integral form: ; This application uses average values instead of direct integration, thus avoiding the situation where a wider frequency band simply receives a higher score due to including more frequency points. Therefore, The larger the value, the stronger, more stable, and more moisture-content-dependent difference spectral response that frequency band exhibits in experiments. The larger the value, the more theoretical calculations support that the frequency band has a significant response to the addition of water. If both values are high, it indicates that the frequency band has both experimental validity and theoretical rationality.
[0052] Furthermore, the following formula is used to determine the first... j Overall score of candidate frequency bands: ;in, For the first j The overall score of each candidate frequency band This represents the theoretical weight.
[0053] No. j The final evaluation scores for each candidate frequency band and its characteristics are: .
[0054] in, After removing obvious outliers, the frequency band characteristics and PCCS of water content were analyzed. For the first j The average area term of the fusion score within each candidate frequency band The trapezoidal integral form corresponding to discrete data is: , For the first The total number of discrete frequency points contained in each candidate frequency band. This refers to the frequency spacing between adjacent frequency points within the candidate frequency band. It is to prevent extremely small positive numbers with a denominator of zero. In fact, it is the bandwidth-normalized area of the fusion score curve within the candidate frequency band, which can be approximately understood as the average value of the fusion score within that frequency band. Dividing it by the frequency band width is to prevent wide frequency bands from getting higher scores simply because of their longer integration intervals; the upper limit is set to 1 to limit its contribution to the total score. For the first j Width stability term for each candidate frequency band , To be the minimum candidate frequency band width, Therefore, it can also be written in segment form: This measure reduces the sensitivity of frequency selection results to individual frequency points and local noise by appropriately increasing the score over a wider frequency band; when the bandwidth reaches The scoring is saturated afterward, thus preventing candidate frequency bands from gaining additional advantages due to excessive bandwidth.
[0055] This application further uses the formula Determine the boundaries of the candidate frequency bands.
[0056] Therefore, the direct contributions of experiments and theories to the ranking of candidate frequency bands are respectively: and .in, For the experiment on the first j The direct contribution of ranking candidate frequency bands. For the theory of the first j The direct contribution of 0.16 and 0.12 to the candidate frequency band ranking is used for candidate frequency band ranking.
[0057] This application has been approved. Figures 3 to 5 The frequency band screening and weight determination process shown implements frequency band screening and weight determination for three types of oils: palm oil (PFAE), soybean oil (FR3), and rapeseed oil (RAPO). The actual results of the optimal automatic candidate frequency bands for the three oils are shown in Table 1.
[0058] Table 1. Actual results of the optimal automatic candidate frequency band for three types of oil.
[0059] This shows that the PFAE candidate frequency band is mainly supported by experimental difference spectrum evidence, with theoretical contributions being relatively small; the FR3 band receives both experimental and theoretical support, but experimental contributions still dominate; the theoretical and experimental contributions of RAPO are close, indicating that its 1.11THz~1.52THz frequency band has strong theoretical constraints. This also explains why RAPO has a higher theoretical weight in automatic frequency selection, while PFAE and FR3 are mainly determined by experimental difference spectrum. (The last sentence appears to be incomplete and possibly refers to a different type of oil.) The weights are PFAE=0.04, FR3=0.09, and RAPO=0.43, respectively. These weights are used to determine the location of candidate frequency bands; while , Its coefficients of 0.16 and 0.12 are used to sort the candidate frequency bands.
[0060] After determining the frequency bands and weights, a fitting relationship between the multi-band weighted difference spectrum integral and water content was established for PFAE, FR3, and RAPO, respectively. The weighted difference spectrum integral characteristics of the three oils all showed an increasing trend with increasing water content, indicating that the terahertz difference spectrum integral can reflect the broadband absorption enhancement caused by water.
[0061] like Figure 6 The fitting results shown indicate that the multi-band weighted model maintains high correlation in all three oil types. Since the difference spectrum integrals of the selected frequency bands were standardized before modeling, the eigenvalues on the ordinate are zeroed out at the sample mean. Therefore, samples with low water content may exhibit negative values. These negative values only indicate that the relative characteristic intensity is below average and do not necessarily represent a negative absorption coefficient or water content. As shown in Table 2, the multi-band models PCCS and R of PFAE... 2 The PCCS and R of FR3 reached 0.9380 and 0.8798 respectively. 2 For 0.9221 and 0.8502, RAPO's PCCS and R 2 The values of 0.9107 and 0.8294 indicate that the information from the mid-frequency band and the high-frequency tail band has a complementary effect. The advantage of this method lies not in mechanically increasing the number of frequency bands, but in adaptively allocating frequency band weights based on the theoretical absorption contribution of oil type and experimental correlation.
[0062] Table 2. Results of Water Content Assessment Using Theoretical Constraints and Multi-Band Weighted Difference Spectrum Integration
[0063] Step 105: Determine the selected frequency bands from multiple candidate frequency bands based on the comprehensive score of each candidate frequency band, and determine the weight of each selected frequency band based on the comprehensive score of each selected frequency band. ;in, For the first m The weight of each selected frequency band, For the first mThe overall score of each selected frequency band.
[0064] Step 106: Standardize the difference spectrum integrals of each selected frequency band, and perform weighted fusion according to the weights of each selected frequency band to obtain the multi-band weighted difference spectrum integral features: ;in, This represents the multi-band weighted difference spectrum integral characteristic. For standardized operators.
[0065] Specifically, the difference spectrum integral of the selected frequency bands is standardized to avoid the high-amplitude frequency band dominating the model due to scale differences between different frequency bands.
[0066] Step 107: Determine the predicted water content of the natural ester insulating oil to be tested based on the multi-band weighted difference spectrum integral characteristics and the water content prediction model.
[0067] The water content prediction model is pre-determined by fitting the water content and the multi-band weighted difference spectrum integral characteristics, i.e. For different vegetable oil-based natural ester insulating oils, separate water content prediction models can be established. Among them, To predict water content, and represents the fitting coefficient.
[0068] like Figure 7 As shown, the scatter plots of predicted and measured values are generally distributed along the diagonal, indicating that the multi-band weighted difference spectrum integral model can establish a relatively stable moisture content response relationship in three types of natural ester insulating oils: palm-based (PFAE), soybean-based (FR3), and rapeseed-based (RAPO). The full scatter plot is mainly used to illustrate the overall quantitative capability of the calibration curve. However, in the low moisture content range, it is still necessary to further determine whether the prediction deviation will change the operation and maintenance criteria by referring to the moisture content limits of natural ester insulating oils in operation in IEC 62975:2021.
[0069] Within the low water content range of 0 ppm to 200 ppm, based on single-point predictions, only one replicate sample from RAPO with a measured water content of 101.9 ppm was predicted to be 85.30 ppm near 100 ppm, representing a transition from above 100 ppm to below 100 ppm. Near 200 ppm, four samples from PFAE and two from RAPO were predicted to be below 200 ppm, while FR3 did not show any transitions between 100 ppm and 200 ppm. These transition points do not necessarily mean that the model will misjudge the limit values in practical applications.
[0070] According to the international standard IEC 62975:2021, samples of natural ester insulating oil near the limits of 100 ppm and 200 ppm exhibit high operational sensitivity. Since the moisture content prediction model is a rapid prediction model, and the difference spectral response is weak in the low moisture content range, single-point predicted values near the limits may cross the boundary due to model errors. Therefore, this application divides the area near the limits into a protection zone or critical zone. To avoid misjudgment of samples near the limits due to model errors, fluctuations in repeated tests, or calibration errors of standard methods, this application further sets a half-width protection zone. .
[0071] In another exemplary embodiment, after step 107, steps 108 to 113 are also included.
[0072] Step 108: Obtain the operation and maintenance limit value of water content in natural ester insulating oil. .
[0073] Step 109: Determine the half-width of the protection zone based on the root mean square error of the water content prediction model validation, the terahertz repeatability test error, and the measurement uncertainty of the reference method. Half-width of the protection zone. It can be determined based on the percentage error of the validation samples, the standard deviation of the model residuals, the difference in repeated tests, or the uncertainty set by the laboratory. For different oil types, different limits, or different testing equipment, These rules can be set separately. This makes this application more suitable as a rapid on-site screening and early warning tool, avoiding the misuse of the rapid spectral model as a direct replacement for standard methods.
[0074] Specifically, the half-width of the protective strip is determined using the following formula: ; ; ; in, The root mean square error is used to validate the water content prediction model. This refers to the terahertz repeatability test error. The measurement uncertainty of the Karl Fischer method is determined. As the coverage factor, it can usually be taken as... This corresponds to approximately a 95% confidence level. To verify the sample quantity, For the first The predicted moisture content of each validation sample. For the first The standard method was used to measure the moisture content of the verification sample. The number of times the same validation sample is tested repeatedly. For the first Predicted moisture content from repeated tests This represents the average value from repeated tests.
[0075] Step 110, when the predicted moisture content meets the following conditions... When the critical region verification prompt is displayed, it is recommended to use repeated terahertz testing, add parallel samples, or use the Karl Fischer method for verification.
[0076] Step 111, when the predicted moisture content meets the following conditions... When the value is below the limit, a warning conclusion is output.
[0077] Step 112, when the predicted moisture content meets the following conditions... When the value exceeds the limit, an early warning conclusion will be output.
[0078] Step 113, when the predicted moisture content meets the following conditions... When a critical sample is detected, a warning conclusion is output. The critical sample is not directly judged as qualified or out of limit, but it is recommended to repeat the terahertz test, increase the number of parallel samples, or verify it using the IEC 60814 Karl Fischer method.
[0079] The meanings and functions of the key parameters involved in this application are shown in Table 3.
[0080] Table 3 Examples of Key Parameter Settings
[0081] from Figure 8 It can be seen that the error between the predicted and measured values of moisture content is very small near the limit. Therefore, this application can achieve non-destructive and rapid quantitative assessment of the moisture content of natural ester insulating oil.
[0082] This application uses differential spectral processing to subtract the intrinsic absorption of the same oil matrix, highlighting the broadband absorption enhancement caused by moisture, reducing the impact of oil background differences and baseline drift on water content assessment. Furthermore, it combines the theoretical absorption contribution of representative molecules with experimental correlation for frequency band scoring, avoiding insufficient model transferability caused by selecting frequency bands solely based on empirical correlation, and improving the correlation of water content fitting curves for different natural ester insulating oils such as PFAE, FR3, and RAPO. Employing multi-band weighted fusion instead of a single frequency point or a single high-frequency band allows for the utilization of complementary information from the mid-frequency and high-frequency bands. The results show that the PCCS of PFAE, FR3, and RAPO reach 0.9380, 0.9221, and 0.9107, respectively, with R... 2 The results were 0.8798, 0.8502, and 0.8294, respectively. A limit-critical region discrimination mechanism was introduced, which does not directly equate terahertz prediction values to standard Karl Fischer results. Instead, a review is triggered near operational limits such as 100ppm and 200ppm, which helps reduce the risk of misjudgment caused by single-point predictions crossing boundaries.
[0083] like Figure 9As shown, this application is divided into two main modules: establishing a prediction model for the moisture content of natural ester insulating oil and rapid on-site detection of the moisture content of unknown natural ester insulating oil. The modeling module on the left first builds a terahertz testing platform to test the terahertz time-domain spectra of standard samples of natural ester insulating oil with different moisture contents. Using Fourier transform and Fresnel formula, the time-domain spectra are transformed into absorption spectra, refractive index spectra, and dielectric spectra. The difference is calculated and multi-band features are extracted using low-moisture-content samples as a benchmark. Combined with a moisture content calibration dataset formed by pre-configured standard samples with different moisture contents, and combined with theoretical constraints, a moisture content prediction model is constructed using multi-band weighted difference spectrum integration. The model is tested, and maintenance limits and protection band half-width are determined simultaneously. The on-site testing module on the right is used to collect the time-domain spectrum of natural ester insulating oil samples with unknown water content using a portable terahertz spectrometer. Various spectra are obtained through the same algorithm as in the modeling stage. The difference spectrum is calculated with reference to the benchmark oil sample and multi-band features are extracted. Then, the features are substituted into the established water content prediction model to calculate the water content. Finally, the predicted water content value and the critical sample judgment result are output, thus completing the rapid and non-destructive quantitative assessment of unknown natural ester insulating oil on-site. The prediction model output by the modeling module provides core algorithm support for the on-site testing process.
[0084] The on-site operation procedure is as follows: The operator first selects the oil type to be tested. If the oil type is unknown, the oil type category can be obtained first; if the oil type is known, the corresponding reference spectrum, candidate frequency bands, frequency band weights, and calibration curves are directly retrieved. The current model version, reference spectrum version, and applicable frequency bands are displayed on the acquisition interface to avoid misusing other oil type models.
[0085] After acquiring reference and baseline signals, the reference signal undergoes quality control. Quality control items include whether the main peak amplitude reaches the threshold, whether the waveform exhibits clipping, whether the time window fully covers the main peak, whether the frequency domain signal-to-noise ratio meets model requirements, and whether the water vapor absorption frequency is excessively strong. Only after passing quality control is the process allowed to proceed to the water content inversion step for the test sample. After the test sample is acquired, the software automatically generates a difference spectrum absorption curve and marks the integration region on the selected frequency bands. Subsequently, the values for each selected frequency band are calculated. Standardized values, frequency band weights and final weighted features Z The report not only provides the predicted water content but also the frequency bands and weights used in the calculation. If the predicted result falls within the critical zone, the report does not display a simple "qualified" or "out of limit," but rather "critical sample, verification recommended." Verification can be performed by repeating terahertz testing, adding parallel samples, extending the oil sample isothermal time, or using the Karl Fischer method for confirmation. This design aligns with the engineering positioning of rapid screening tools and can reduce the risk of misjudgment near the limit.
[0086] This application also provides an embodiment in which three natural ester insulating oils, FR3, RAPO, and PFAE, are selected. Samples with different water contents are obtained by adding water, ultrasonic oscillation, magnetic stirring, and gradient dehydration. The water content is then determined by the IEC 60814 Karl Fischer method. After each sample is injected into a 2 mm optical path cuvette, transmission terahertz time-domain spectra are collected in the range of 0.3 THz to 2.0 THz.
[0087] For each oil type, the sample with the lowest water content was used as the reference spectrum, and the difference spectral absorption coefficients of samples with different water contents were calculated. Based on the experimental difference spectrum and the theoretical absorption spectra of representative molecules before and after water addition, the selected frequency bands for PFAE were determined to be 1.144 THz–1.794 THz, for FR3 to be 1.309 THz–1.794 THz, and for RAPO to be 1.108 THz–1.520 THz. Water content calibration curves were established after standardization and weighting.
[0088] The verification results show that the predicted and measured values are generally distributed along the diagonal. For the low moisture content range of 0ppm-200ppm, some individual samples close to the limits of 100ppm and 200ppm may cross the predicted limits. Therefore, the protection zone rule is used to mark them as critical samples and a review is recommended.
[0089] In one exemplary embodiment, a device for detecting the water content of natural ester insulating oil is provided, such as... Figure 10 As shown, the device includes a terahertz spectrometer main unit, a transmission terahertz measurement probe, a sample cell assembly, an environmental control unit, a data processing unit, a model storage unit, and a result output unit. The terahertz spectrometer main unit generates pump and probe light and acquires terahertz time-domain waveforms; the transmission terahertz measurement probe generates and receives terahertz pulses after penetrating the reference or test oil sample; the sample cell assembly fixes the sample optical path and loads the reference or test oil sample; the environmental control unit reduces interference from air water vapor on the terahertz signal; the data processing unit performs frequency domain transformation, absorption spectrum calculation, difference spectrum integration, frequency band scoring, weighted fusion, and water content inversion; the model storage unit stores the reference spectrum, candidate frequency bands, frequency band weights, and calibration curves for different oil types; and the result output unit outputs predicted water content, limit judgment conclusions, and verification prompts.
[0090] The terahertz spectrometer main unit includes a femtosecond laser, beam splitter, time delay module, signal acquisition module, and control and power supply module. The transmission-type terahertz measurement probe includes a transmitting probe, an off-axis parabolic mirror, and a receiving probe. The sample cell assembly includes a 2mm sample cell and an oil sample.
[0091] The connections between the various structures are as follows: the transmitter of the terahertz spectrometer main unit is connected to the transmitter probe via an optical fiber, the receiver is connected to the receiver probe via an optical fiber, and the signal acquisition module is connected to the data processing unit; the sample cell assembly is located at the center of the optical path between the transmitter and receiver probes, and the environmental control unit forms a low-humidity or nitrogen-purged environment around the sample cell area; the data processing unit calls the reference spectrum and calibration curve in the model storage unit and transmits the processing results to the result output unit.
[0092] The device for detecting the moisture content of natural ester insulating oil can be either a laboratory transmission terahertz time-domain spectroscopy system or a portable field testing device. The portable device can be pre-set with reference spectra, candidate frequency bands, frequency band weights, and calibration curves for different oil types. When the oil type of the sample to be tested is input, or after the oil type is determined by the oil type differentiation module, the corresponding moisture content prediction model is automatically invoked.
[0093] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0094] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0095] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0096] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0097] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0098] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, etc., and are not limited to these.
[0099] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0100] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for detecting the water content of natural ester insulating oil, characterized in that, include: The absorption coefficients of the natural ester insulating oil to be tested and the reference natural ester insulating oil in the terahertz frequency band are obtained to obtain the absorption coefficient to be tested and the reference absorption coefficient. The reference natural ester insulating oil is of the same type as the natural ester insulating oil to be tested, and the water content of the reference natural ester insulating oil is lower than the preset water content threshold. The difference spectrum absorption coefficient is determined based on the difference between the absorption coefficient to be measured and the reference absorption coefficient. The difference spectral absorption coefficient is integrated in multiple candidate frequency bands to obtain the difference spectral integral in each candidate frequency band. For any candidate frequency band, a comprehensive score is determined based on the theoretical contribution score and the experimental contribution score of the candidate frequency band; the theoretical contribution score is used to characterize the theoretically predicted moisture response intensity within the candidate frequency band, and the experimental contribution score is used to characterize the experimental correlation between the difference spectral response and water content within the candidate frequency band. The selected frequency bands are determined from multiple candidate frequency bands based on their comprehensive scores, and the weight of each selected frequency band is determined based on its comprehensive score. The difference spectrum integrals of each selected frequency band are standardized and then weighted and fused according to the weights of each selected frequency band to obtain the multi-band weighted difference spectrum integral features. Based on the multi-band weighted difference spectrum integral characteristics and the moisture content prediction model, the predicted moisture content of the natural ester insulating oil to be tested is determined; the moisture content prediction model is pre-fitted to determine the moisture content and the multi-band weighted difference spectrum integral characteristics.
2. The method for detecting the water content of natural ester insulating oil according to claim 1, characterized in that, The absorption coefficients of the natural ester insulating oil under test and the reference natural ester insulating oil in the terahertz frequency band are obtained to obtain the absorption coefficients under test and the reference absorption coefficients, including: The time-domain signal of the terahertz pulse passing through the natural ester insulating oil to be tested is collected to obtain the terahertz time-domain signal to be tested. The Fourier transform of the terahertz time-domain signal to be tested is performed to obtain the electric field in the frequency domain to be tested. The absorption coefficient is calculated based on the electric field in the frequency domain to be tested to obtain the absorption coefficient to be tested. The time-domain signal of the terahertz pulse passing through the reference natural ester insulating oil is collected to obtain the reference terahertz time-domain signal. The reference terahertz time-domain signal is then subjected to Fourier transform to obtain the reference frequency-domain electric field. The absorption coefficient is calculated based on the reference frequency-domain electric field to obtain the reference absorption coefficient.
3. The method for detecting the water content of natural ester insulating oil according to claim 1, characterized in that, No. j The difference spectrum integral within each candidate frequency band is: ; in, For the first j Difference spectrum integral within each candidate frequency band For the first j The lower limit of candidate frequency bands For the first j The upper limit of candidate frequency bands, The difference spectrum absorption coefficient, W This refers to the water content.
4. The method for detecting the water content of natural ester insulating oil according to claim 1, characterized in that, The following formula is used to determine the first j Overall score of candidate frequency bands: ; in, For the first j The overall score of each candidate frequency band For the first j The theoretical contribution score of each candidate frequency band. For the first j Experimental contribution scores for each candidate frequency band This represents the theoretical weight.
5. The method for detecting the water content of natural ester insulating oil according to claim 1, characterized in that, Multiple candidate frequency bands were determined in the following way: Calculate the correlation coefficient between each frequency point and water content within the terahertz scanning range, and select frequency points whose correlation coefficients meet the preset correlation threshold as candidate frequency points. Candidate frequency bands are determined based on candidate frequency points.
6. The method for detecting the water content of natural ester insulating oil according to claim 1, characterized in that, The experimental contribution score of the candidate frequency band is determined in the following way: For any frequency point within the candidate frequency band, calculate multiple experimental indices for that frequency point; the multiple experimental indices are the root mean square response index of the difference spectrum, the difference spectrum difference index between different water content groups, the frequency-by-frequency Pearson correlation coefficient between the difference spectrum absorption coefficient and water content, and the difference spectrum sign consistency index. After normalizing multiple experimental indicators, a weighted sum is obtained to get the experimental frequency score of the frequency point. The experimental contribution score of the candidate frequency band is obtained by averaging the experimental frequency scores of all frequency points within the candidate frequency band.
7. The method for detecting the water content of natural ester insulating oil according to claim 1, characterized in that, The theoretical contribution score of the candidate frequency band is determined in the following way: Obtain the first theoretical absorption spectrum of undiluted natural ester insulating oil and the second theoretical absorption spectrum of hydrated natural ester insulating oil; The difference between the second theoretical absorption spectrum and the first theoretical absorption spectrum is calculated to obtain the theoretical absorption intensity difference spectrum; The absolute value of the theoretical absorption intensity difference spectrum is taken and then normalized to obtain the theoretical frequency score. The theoretical frequency score of all frequency points within the candidate frequency band is averaged to obtain the theoretical contribution score of the candidate frequency band.
8. The method for detecting the water content of natural ester insulating oil according to claim 1, characterized in that, After determining the predicted water content of the natural ester insulating oil to be tested based on the multi-band weighted difference spectrum integral characteristics and water content prediction model, the method further includes: Obtain the operation and maintenance limits for the water content of natural ester insulating oil; The half-width of the protection zone is determined based on the root mean square error of the water content prediction model, the error of the terahertz repeated test, and the measurement uncertainty of the reference method. When the predicted moisture content satisfies When this happens, output a critical section verification prompt; When the predicted moisture content satisfies When the value is below the limit, an early warning conclusion is output; When the predicted moisture content satisfies When the limit is exceeded, an early warning conclusion is output; When the predicted moisture content satisfies At that time, an early warning conclusion for the critical sample is output; among which, To predict water content, For maintenance limits, To protect the half-width of the belt.
9. The method for detecting the water content of natural ester insulating oil according to claim 8, characterized in that, The half-width of the protective strip is determined using the following formula: ; ; ; in, The root mean square error is used to validate the water content prediction model. This refers to the terahertz repeatability test error. The measurement uncertainty of the Karl Fischer method is determined. Coverage factor To verify the sample quantity, For the first The predicted moisture content of each validation sample. For the first The standard method was used to measure the moisture content of the verification sample. The number of times the same validation sample is tested repeatedly. For the first Predicted moisture content from repeated tests This represents the average value from repeated tests.
10. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method for detecting the water content of natural ester insulating oil according to any one of claims 1-9.
