Transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network
By integrating infrared and Raman spectral features with a one-dimensional convolutional neural network, the network structure is automatically tuned, solving the problems of incomplete detection and low accuracy in oil-paper insulation aging diagnosis, and achieving efficient and accurate oil-paper insulation. Aging state prediction.
Patent Information
- Application Number
- CN202410343597.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-03-25
AI Technical Summary
The existing oil-paper insulation aging diagnosis method is not comprehensive in detection, has low diagnostic accuracy and low efficiency, cannot effectively identify highly complex nonlinear relationships, and relies on experience for tuning, resulting in low prediction efficiency.
Using a method based on fusion spectrum and neural network, through the fusion of infrared and Raman spectra, multiple features are extracted, a one-dimensional convolutional neural network is designed to diagnose the aging of oil-paper insulation, and a neural architecture search algorithm is used to automatically optimize the network structure and super parameter.
It achieves comprehensive and accurate diagnosis of the aging state of oil-paper insulation, overcomes the problem of incomplete feature detection in traditional methods, improves diagnosis efficiency, can identify highly complex nonlinear relationships, and reduces the consumption of computing resources.
Smart Images

Figure CN118209537B
Abstract
Description
Technical Field
[0001] The invention relates to the field of online monitoring of oil-paper insulation of power transformers, and in particular to an aging diagnosis method for transformer oil-paper insulation based on fusion spectrum and neural network. Background Art
[0002] The oil-paper insulation system of power transformers has been bearing the high field strength inside the equipment for a long time and gradually aged. Realizing rapid online diagnosis of the aging state of oil-paper insulation has great practical significance for preventing major accidents. Traditionally, a variety of chemical characteristic quantities in oil are used to realize online evaluation of transformers, such as carbon oxides, furfural and methanol, but the evaluation of these chemical characteristic quantities requires a long period of laboratory preparation, and the evaluation of a single characteristic quantity is relatively one-sided, making it difficult to truly and objectively express the aging state of oil-paper insulation. Therefore, the diagnosis of the aging state of oil-paper insulation is still a research focus.
[0003] Spectral detection is a non-destructive testing technology. It is a method to study the properties of a substance through the interaction between the substance and electromagnetic waves of different frequencies (or wavelengths). Among them, infrared spectroscopy, which represents the absorption spectrum, and Raman spectroscopy, which represents the scattering spectrum, are powerful detection technologies for studying the molecular structure of substances and identifying components, and can achieve qualitative and quantitative analysis of a variety of substances. The substances in transformer oil are all infrared or Raman active and are not easily disturbed by the environment. Therefore, the spectral signal contains rich oil-paper insulation aging characteristics, but in the face of high-dimensional spectral variables, it is obviously not effective to make an accurate judgment on the aging state by simply observing and summarizing the rules with the naked eye. Therefore, technicians in this field combine machine learning based on mathematical methods with spectral detection for the detection of the aging state of oil-paper insulation. Neural networks simulate the human brain and can mine the potential rules of data through different layers and make inductions and summaries. However, the current oil-paper insulation spectral diagnosis still relies on only one spectral variable for aging diagnosis, and the detection of functional groups of aging characteristics in oil is not comprehensive. In addition, the current oil-paper insulation aging diagnosis model only targets variables with linear relationships. When the variables have highly complex nonlinear relationships, the current oil-paper insulation aging diagnosis model cannot accurately predict the aging state of oil-paper insulation. In addition, the traditional oil-paper insulation aging diagnosis model cannot be automatically tuned, and the tuning is too dependent on experience, requiring manual trial and error, which leads to low efficiency in predicting the aging state of oil-paper insulation. Summary of the invention
[0004] The purpose of the present invention is to solve the problems of incomplete detection, low diagnostic accuracy and low diagnostic efficiency in the existing oil-paper insulation aging diagnosis method, and propose a transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network.
[0005] The specific process of transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network is as follows:
[0006] S1. Obtain an insulating oil sample of a transformer to be diagnosed as the insulating oil sample to be diagnosed, and obtain an oil-paper insulation spectrum matrix of the insulating oil sample to be diagnosed, specifically:
[0007] S1-1, obtaining a sample of insulating oil to be diagnosed, performing infrared spectrum detection and Raman spectrum detection on the sample of insulating oil to be diagnosed, and obtaining an infrared spectrum and a Raman spectrum of the sample of insulating oil to be diagnosed;
[0008] S1-2. Perform baseline correction on the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed;
[0009] S1-3, respectively performing data standardization on the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed after baseline correction, to obtain standardized infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed;
[0010] S1-4, obtaining the oil-paper insulation spectrum vector of the insulating oil sample to be diagnosed according to the standardized infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed;
[0011] S2. Input the oil-paper insulation spectrum vector of the insulating oil sample to be diagnosed into the oil-paper insulation aging diagnosis model to obtain the predicted value of the polymerization degree of the insulating paper of the transformer to be diagnosed, and judge whether to replace the insulating material of the current transformer according to the predicted value of the polymerization degree.
[0012] Furthermore, the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed are baseline corrected in S1-2, specifically: n basis points are set on the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed, the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed are interpolated by using a spline curve interpolation method, and then the baseline is subtracted to obtain the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed after baseline correction;
[0013] Among them, η≥6.
[0014] Furthermore, in S1-3, the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed after baseline correction are respectively data standardized to obtain standardized infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed, specifically:
[0015]
[0016]
[0017] in, is the normalized value of the spectral intensity of the j1'th feature in the infrared spectrum of the insulating oil sample to be diagnosed, y1' j1' is the original value of the spectral intensity of the j1'th feature in the infrared spectrum of the insulating oil sample to be diagnosed, μ1' j1' is the average spectral intensity of the j1'th feature in the infrared spectra of all insulating oil samples in the first insulating oil sample set, σ1' j1' is the standard deviation of the spectral intensity at feature j1' in the infrared spectra of all insulating oil samples in the first insulating oil sample set, is the normalized value of the spectral intensity of the j2'th feature in the Raman spectrum of the insulating oil sample to be diagnosed, y2' j2' is the original value of the spectral intensity of the j2'th feature in the Raman spectrum of the insulating oil sample to be diagnosed, μ2' j2' is the average spectral intensity of feature j2' in the Raman spectra of all insulating oil samples in the first insulating oil sample set, σ2' j2' is the standard deviation of the spectral intensity at feature j2' in the Raman spectra of all insulating oil samples in the first insulating oil sample set, k is the incident light intensity of the infrared detector, s is the Raman spectrum laser power, and N is the total number of original insulating oil samples in the first insulating oil sample set.
[0018] Furthermore, the first insulating oil sample set is obtained by:
[0019] A1. Obtain an original insulating oil sample and an original insulating paper sample, and perform infrared spectrum detection and Raman spectrum detection on the original insulating oil sample to obtain an infrared spectrum and a Raman spectrum of the original insulating oil sample, specifically:
[0020] A1-1. Obtain the original insulating oil sample and the original insulating paper sample:
[0021] Insulating oil and insulating paper samples are placed in aging bottles according to a preset mass ratio, and all aging bottles are placed in an oven to perform an accelerated thermal aging experiment on oil-paper insulation, and insulating oil with different aging times is obtained regularly to obtain original insulating oil samples and corresponding original insulating paper samples;
[0022] A1-2. Perform infrared spectrum detection on the original insulating oil sample to obtain the infrared spectrum of the original insulating oil sample;
[0023] A1-3, performing Raman spectrum detection on the original insulating oil sample to obtain a Raman spectrum of the original insulating oil sample;
[0024] A2. Baseline correction is performed on the infrared spectrum and Raman spectrum of the original insulating oil sample, and abnormal original insulating oil samples are eliminated based on the infrared spectrum and Raman spectrum of the original insulating oil sample after baseline correction, so as to obtain a first insulating oil sample set, specifically:
[0025] A2-1, respectively setting n' basis points on the infrared spectrum and Raman spectrum of the original insulating oil sample, interpolating the infrared spectrum and Raman spectrum of the original insulating oil sample using a spline curve interpolation method, and then subtracting the baseline to obtain the infrared spectrum and Raman spectrum of the original insulating oil sample after baseline correction;
[0026] Among them, η'≥6;
[0027] A2-2. Using the infrared spectrum and Raman spectrum of the original insulating oil samples after baseline correction, the abnormal original insulating oil samples are eliminated to obtain the first insulating oil sample set:
[0028] First, obtain the Pearson correlation coefficient γ between the infrared spectrum X1 and the infrared spectrum Y1 of the original insulating oil sample X1,Y1 , obtain the Pearson correlation coefficient γ between the Raman spectrum X2 and the Raman spectrum Y2 of the original insulating oil sample X2,Y2 :
[0029]
[0030]
[0031] Among them, X1 i1 is the light intensity value of the i1th feature in the infrared spectrum X1 of any original insulating oil sample, Y1 j1 is the light intensity value of the j1th feature in the infrared spectrum Y1 of any original insulating oil sample with the same aging time as X1, is the average light intensity of all features in the infrared spectrum X1, is the average light intensity of all features in the infrared spectrum Y1, M1 is the total number of features in a single infrared spectrum, γ X1,Y1 is the Pearson correlation coefficient between infrared spectrum X1 and infrared spectrum Y1, i1 is the characteristic number in infrared spectrum X1, j1 is the characteristic number in infrared spectrum Y1, X2 i2 The light intensity value of the i2th feature in the Raman spectrum X2 of any original insulating oil sample, Y2 j2 is the Raman spectrum Y2 data of any original insulating oil sample with the same aging time as X2, is the average light intensity of all features in the Raman spectrum X2, is the average light intensity of all features in the Raman spectrum Y2, M2 is the total number of features in a single Raman spectrum, γ X2,Y2 is the Pearson correlation coefficient between Raman spectrum X2 and Raman spectrum Y2, i2 is the feature number in Raman spectrum X2, and j2 is the feature number in Raman spectrum Y2;
[0032] Then, the Pearson correlation coefficient γ between the infrared spectra of the original insulating oil samples was used. X1,Y1 Pearson correlation coefficient γ between the Raman spectra of the original insulating oil sample X2,Y2 Find and discard abnormal original insulating oil samples.
[0033] Furthermore, the abnormal original insulating oil sample satisfies at least one of the following conditions:
[0034] a. Obtain all correlation coefficients between the infrared spectrum X1 of the original insulating oil sample and the infrared spectra of other original insulating oil samples at the same aging time. If 80% of the correlation coefficients are less than a preset correlation coefficient threshold, the original insulating oil sample corresponding to the infrared spectrum X1 of the original insulating oil sample is an abnormal original insulating oil sample;
[0035] b. Obtain all correlation coefficients between the Raman spectrum X2 of the original insulating oil sample and the Raman spectra of other original insulating oil samples at the same aging time. If 80% of the correlation coefficients are less than a preset correlation coefficient threshold, the original insulating oil sample corresponding to the Raman spectrum X2 of the original insulating oil sample is an abnormal original insulating oil sample.
[0036] Furthermore, the oil-paper insulation aging diagnosis model is obtained by:
[0037] B1. Data standardization is performed on the features in the infrared spectrum and Raman spectrum of the original insulating oil sample in the first insulating oil sample set, specifically:
[0038]
[0039]
[0040] in, is the normalized value of the spectral intensity of the j1th feature in the infrared spectrum of the nth original insulating oil sample in the first insulating oil sample set, is the normalized value of the spectral intensity of the j2th feature in the Raman spectrum of the nth original insulating oil sample in the first insulating oil sample set, y1 j1 (n) is the original value of the spectral intensity of the j1th feature in the infrared spectrum of the nth original insulating oil sample in the first insulating oil sample set, y2 j2 (n) is the original value of the spectral intensity of the j2th feature in the Raman spectrum of the nth original insulating oil sample in the first insulating oil sample set, μ1 j1 is the average spectral intensity of the j1th feature in the infrared spectra of all original insulating oil samples in the first insulating oil sample set, μ2 j2 is the average spectral intensity of the j2th feature in the Raman spectra of all original insulating oil samples in the first insulating oil sample set, σ1 j1is the standard deviation of the spectral intensity at the j1th feature in the infrared spectra of all original insulating oil samples in the first insulating oil sample set, σ2 j2 is the standard deviation of the spectral intensity of the j2th feature in the Raman spectra of all the original insulating oil samples in the first insulating oil sample set, k is the incident light intensity of the infrared detector, and s is the Raman spectroscopy laser power;
[0041] B2. Obtaining the polymerization degree of the original insulating paper sample corresponding to the original insulating oil sample in the first insulating oil sample set by using a viscosity method, and using the polymerization degree of the original insulating paper sample as a polymerization degree label of the corresponding original insulating oil sample;
[0042] B3, using the polymerization degree label of the original insulating oil sample to obtain the importance index of each feature in the standardized infrared spectrum and Raman spectrum of the original insulating oil sample;
[0043] Among them, the larger the importance index of a feature, the more important the feature is;
[0044] B4. Sort the features in the infrared spectrum of the standardized original insulating oil sample from large to small according to the feature importance index, and sort the features in the Raman spectrum of the standardized original insulating oil sample from large to small according to the importance index, to obtain the sorted infrared spectrum and the sorted Raman spectrum, and take the first 27% of the features in the sorted infrared spectrum as the infrared spectrum features of the screened original insulating oil sample, and take the first 27% of the features in the sorted Raman spectrum as the Raman spectrum features of the screened original insulating oil sample;
[0045] B5, combining the infrared spectrum characteristics of the screened original insulating oil sample and the Raman spectrum characteristics of the screened original insulating oil sample to obtain an oil-paper insulation spectrum sample matrix;
[0046] B6. Use the oil-paper insulation spectrum matrix to construct training sets and test sets, use the training set to train the one-dimensional convolutional neural network and optimize the structural parameters and hyperparameters of the one-dimensional convolutional neural network, and then use the test set to test and obtain the oil-paper insulation aging diagnosis model.
[0047] Furthermore, the importance index of each feature in the standardized infrared spectrum and Raman spectrum of the original insulating oil sample is obtained by using the polymerization degree label of the original insulating oil sample in B3, specifically:
[0048]
[0049]
[0050] Among them, τ1 j1 is the importance index of the j1th feature in the infrared spectrum of the original insulating oil sample, τ2 j2is the importance index of the j2th feature in the Raman spectrum of the original insulating oil sample, Λ1∈R N×M1 , N is the total number of original insulating oil samples in the first insulating oil sample set, Λ1 is the insulating oil infrared spectrum variable matrix, Λ2∈R N×M2 , Λ2 is the insulating oil Raman spectrum variable matrix, Λ2 (j2) is the j2th column in the matrix Λ2, Θ∈R N , Θ is the degree of polymerization label of the original insulating oil sample, Λ1 (j1) is the j1th column in the matrix Λ1.
[0051] Furthermore, the infrared spectrum characteristics of the original insulating oil sample after screening in B4 are specifically:
[0052] Infrared spectrum of original insulating oil sample 3176~2565cm -1 Band 64 wave numbers, 1527-1332 band 386 wave numbers, 1197-696cm -1 Band 504 wavenumbers;
[0053] The Raman spectrum characteristics of the screened original insulating oil sample are specifically:
[0054] Raman spectrum of original insulating oil 3000~2750cm -1 Frequency band: 46 frequency shifts, 1602~700cm -1 Band 248 frequency shifts.
[0055] Furthermore, in B6, the oil-paper insulation spectrum matrix is used to construct a training set and a test set, the training set is used to train a one-dimensional convolutional neural network while optimizing the structural parameters and hyperparameters of the one-dimensional convolutional neural network, and then the test set is used for testing to obtain an oil-paper insulation aging diagnosis model, specifically:
[0056] B6-1. Use the oil-paper insulation spectrum matrix to construct training and test sets:
[0057] The oil-paper insulation spectrum sample vectors of the original insulating oil samples are sampled with replacement, and the sample vectors of the oil-paper insulation spectrum of the original insulating oil samples and the polymerization degree labels of the corresponding original insulating paper samples are used as training sets, and the remaining sample vectors of the oil-paper insulation spectrum of the original insulating oil samples and the polymerization degree labels of the corresponding original insulating paper samples are used as test sets;
[0058] The oil-paper insulation spectrum sample vector of the original insulating oil sample is each row vector in the oil-paper insulation spectrum sample matrix;
[0059] B6-2. Use the training set to train the one-dimensional convolutional neural network, optimize the structural parameters and hyperparameters of the one-dimensional convolutional neural network, and combine the test results of the test set to obtain the oil-paper insulation aging diagnosis model;
[0060] The one-dimensional convolutional neural network includes in sequence: an input layer, a Gaussian noise layer, a first convolutional layer, a first pooling layer, a first BN layer, a second convolutional layer, a second pooling layer, a second BN layer, a Flatten layer, a Dropout layer, a fully connected layer, and a final fully connected layer;
[0061] The initial network structure parameters of the one-dimensional convolutional neural network are as follows:
[0062] The standard deviation of the Gaussian noise layer is 0.0.5;
[0063] The number of filters in the first convolutional layer is 32, the filter kernel size is 16, and the activation function is RELU;
[0064] The first pooling layer is a maximum pooling operation with a pool size of 8;
[0065] The number of filters in the second convolutional layer is 64, the filter kernel size is 4, and the activation function is RELU;
[0066] The second pooling layer is a maximum pooling operation with a pool size of 16;
[0067] The Dropout rate of the Dropout layer is 0.5;
[0068] The number of neurons in the fully connected layer is 128, and the activation function is RELU;
[0069] The number of neurons in the final fully connected layer is 1, and the activation function is a linear function;
[0070] The NAS search strategy is used to optimize the structural parameters and hyperparameters of the one-dimensional convolutional neural network. At the same time, the test set is used to obtain the average error of the one-dimensional convolutional neural network corresponding to different hyperparameters and network structural parameters, so as to obtain the trained one-dimensional convolutional neural network with the lowest average error as the oil-paper insulation aging diagnosis model.
[0071] The hyperparameters optimized for one-dimensional convolutional neural networks include: batch size, training rounds, learning rate, and loss function;
[0072] The optimized structural parameters of the one-dimensional convolutional neural network include: the number of filters in the first convolutional layer, the convolution kernel size of the second convolutional layer, the pool size of the first pooling layer, the number of filters in the second convolutional layer, the convolution kernel size of the second convolutional layer, the pool size of the second pooling layer, and the number of neurons in the fully connected layer.
[0073] Furthermore, the structural parameter search space for one-dimensional convolutional neural network optimization is as follows:
[0074] The search space for the number of filters in the first convolutional layer is [8, 16, 32, …, 256], with a step size of 2;
[0075] The search space of the convolution kernel size of the second convolution layer is [1, 2, 4, 8, 16, 32];
[0076] The pool size search space of the first pooling layer is [2, 4, 8, 16, 32];
[0077] The search space for the number of filters in the second convolutional layer is [64, 96, 128, …, 512], with a step size of 1;
[0078] The search space of the convolution kernel size of the second convolution layer is [2, 4, 8, 16, 24, 32];
[0079] The pool size search space of the second pooling layer is [2, 4, 8, 16, 32];
[0080] The search space for the number of neurons in the fully connected layer is [48, 64, 80, 96, 112, 128, 256];
[0081] The hyperparameter search space for one-dimensional convolutional neural network optimization is as follows:
[0082] The batch size search space is [8, 16, 32, 64];
[0083] The training round search space is [500-1200];
[0084] The learning rate search space is [0.01, 0.001];
[0085] The loss function search space is [Adam, RMSProp, Nadam, Adamax, Adagrad].
[0086] The beneficial effects of the present invention are:
[0087] The present invention proposes a fusion method of infrared spectrum and Raman spectrum, which makes full use of the complementary characteristics of infrared and Raman, extracts features from multiple aspects based on the fused spectrum, can effectively screen features before diagnosing the aging of oil-paper insulation, and provides comprehensive and true features for the aging diagnosis of oil-paper insulation. The one-dimensional convolutional neural network designed by the present invention learns the implicit relationship between variables layer by layer through layer transfer learning, and can identify highly complex nonlinear relationships. When there is a highly complex nonlinear relationship between the variables, the present invention can still accurately predict the aging state of oil-paper insulation. In addition, the present invention uses the NAS neural architecture search algorithm to tune the structural parameters and hyperparameters of the one-dimensional convolutional neural network, realizes automated parameter tuning, overcomes the problem that the traditional neural network structural parameter tuning is overly dependent on experience and requires repeated trial and error, thereby improving the efficiency of predicting the aging state of oil-paper insulation. The present invention uses a one-dimensional convolutional neural network based on the features extracted from the fused spectrum to realize the aging diagnosis of oil-paper insulation, improves the accuracy of the aging diagnosis of oil-paper insulation, and overcomes the inherent disadvantages of large sample size and large computing resource consumption in identifying spectral information. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] Figure 1 It is the solution process of the neural architecture search method (NAS);
[0089] Figure 2 This is a schematic diagram of the one-dimensional CNN architecture after NAS optimization;
[0090] Figure 3 Schematic diagram of the feature extraction and dimension reduction of oil-paper insulation spectrum;
[0091] Figure 4 It is a flow chart of the present invention;
[0092] Figure 5 This is a graph showing the degree of deviation between the predicted value of the degree of polymerization of insulating paper and the actual value. DETAILED DESCRIPTION
[0093] Specific implementation method 1: Figure 4 As shown, the specific process of the transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network in this embodiment is as follows:
[0094] S1. Obtain an insulating oil sample of the transformer to be diagnosed, and obtain an oil-paper insulation spectrum vector of the insulating oil sample to be diagnosed, specifically:
[0095] S1-1, obtaining a transformer insulating oil sample to be diagnosed, and performing infrared spectrum detection and Raman spectrum detection on the insulating oil sample to be diagnosed, to obtain an infrared spectrum and a Raman spectrum of the insulating oil sample to be diagnosed;
[0096] S1-2. Perform baseline correction on the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed:
[0097] In the infrared spectrum, 4000cm -1 ,3581cm -1 , 2163cm -1 , 2000cm -1 , 1754cm -1 , 681cm -1 , 400cm -1 At the wave number, 986cm of Raman spectrum -1 , 1402cm -1 , 1702cm -1 , 2000cm -1 , 2251cm -1 , 2760cm -1 A base point is set at the frequency shift, a spline curve is used for interpolation, and the baseline is subtracted to obtain the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed after baseline correction;
[0098] S1-3. Standardize the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed after baseline correction to obtain the standardized infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed:
[0099]
[0100]
[0101] in, is the normalized value of the spectral intensity of the j1'th feature in the infrared spectrum of the insulating oil sample to be diagnosed, y1' j1' is the original value of the spectral intensity of the j1'th feature in the infrared spectrum of the insulating oil sample to be diagnosed, μ1' j1' is the average spectral intensity of the j1'th feature in the infrared spectra of all insulating oil samples in the first insulating oil sample set, σ1' j1' is the standard deviation of the spectral intensity at feature j1' in the infrared spectra of all insulating oil samples in the first insulating oil sample set, is the normalized value of the spectral intensity of the j2'th feature in the Raman spectrum of the insulating oil sample to be diagnosed, y2' j2' is the original value of the spectral intensity of the j2'th feature in the Raman spectrum of the insulating oil sample to be diagnosed, μ2' j2' is the average spectral intensity of feature j2' in the Raman spectra of all insulating oil samples in the first insulating oil sample set, σ2' j2' is the standard deviation of the spectral intensity at feature j2' in the Raman spectra of all insulating oil samples in the first insulating oil sample set, and k is the incident light intensity of the infrared detector (W / m 2), s is the Raman spectroscopy laser power (mW), and N is the total number of original insulating oil samples in the first insulating oil sample set;
[0102] S1-4. Obtain the oil-paper insulation spectrum vector of the insulating oil sample to be diagnosed based on the standardized infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed:
[0103] First, obtain the standardized infrared spectrum of the insulating oil sample to be diagnosed at 3176-2565 cm -1 Band 64 wave numbers, 1527-1332 band 386 wave numbers, 1197-696cm -1 Band 504 wavenumbers, Raman spectrum 3000~2750cm -1 Frequency band: 46 frequency shifts, 1602~700cm -1 248 frequency shifts in the frequency band;
[0104] Then, the wave number obtained from the standardized infrared spectrum of the insulating oil sample to be diagnosed is spliced with the frequency shift obtained from the standardized Raman spectrum of the insulating oil sample to be diagnosed, so as to obtain the oil-paper insulation spectrum vector of the insulating oil sample to be diagnosed;
[0105] S2, inputting the oil-paper insulation spectrum vector of the insulating oil sample to be diagnosed into the oil-paper insulation aging diagnosis model, obtaining the predicted value of the polymerization degree of the insulating paper of the transformer to be diagnosed, and judging whether to replace the insulating material of the current transformer according to the predicted value of the polymerization degree;
[0106] When the predicted degree of polymerization is lower than 400, special attention should be paid. When the predicted degree of polymerization is less than 300, it means that the insulation paper has reached the end of aging and the oil-paper insulation system of the transformer must be replaced in time.
[0107] Specific implementation method 2: The first insulating oil sample set is obtained by the following method:
[0108] A1. Obtain thermally aged insulating oil samples and insulating paper samples, perform infrared spectrum detection and Raman spectrum detection on the insulating oil samples, and obtain infrared spectrum and Raman spectrum of the insulating oil samples, specifically:
[0109] A1-1. Obtain the original insulating oil sample and the original insulating paper sample through the oil-paper insulation accelerated thermal aging test:
[0110] Insulating oil and insulating paper samples were placed in aging bottles at a mass ratio of 15:1, and all aging bottles were placed in an oven for accelerated heat aging experiments. Insulating oil was sampled regularly to obtain 350 accelerated heat-aged original insulating oil samples and original insulating paper samples with aging times of 0, 3, 6, 9, 12, 15, 19, 23, 27, 30, 33 and 36 days;
[0111] A1-2. Perform infrared spectrum test on the original insulating oil sample to obtain the infrared spectrum of the original insulating oil sample:
[0112] The original insulating oil at different aging times is placed in an infrared quantitative liquid sample cell, and the optical path length in the infrared quantitative liquid sample is fixed at 0.2 mm. The absorbance curve of the original insulating oil is measured to obtain the infrared spectrum of the original insulating oil sample.
[0113] A1-3. Perform Raman spectroscopy on the original insulating oil sample to obtain the Raman spectrum of the original insulating oil sample:
[0114] Drop the original insulating oil sample on a metal disc, place the metal disc in the optical path of the CCD laser, adjust the laser focal length to a suitable position, perform laser scanning several times, and obtain the Raman spectrum of the original insulating oil sample;
[0115] A2. Baseline correction is performed on the infrared spectrum and Raman spectrum of the original insulating oil sample, and abnormal original insulating oil samples are eliminated based on the baseline-corrected original insulating oil sample spectrum, thereby obtaining a first insulating oil sample set, specifically:
[0116] A2-1. Use the spline curve interpolation method to perform baseline correction on the original insulating oil samples:
[0117] In the infrared spectrum of the original insulating oil sample, the 4000cm -1 ,3581cm -1 , 2163cm -1 , 2000cm -1 , 1754cm -1 , 681cm -1 , 400cm -1 At the wave number of 986cm in the Raman spectrum of the original insulating oil sample -1 , 1402cm -1 , 1702cm -1 , 2000cm -1 , 2251cm -1 , 2760cm -1 Set base points at the frequency shift, use spline curves for interpolation, subtract the baseline, and obtain the infrared spectrum and Raman spectrum of the original insulating oil sample after baseline correction; the number of selected base points should be no less than 6.
[0118] A2-2. Using the infrared spectrum and Raman spectrum of the original insulating oil samples after baseline correction, the abnormal original insulating oil samples are eliminated to obtain the first insulating oil sample set:
[0119] First, calculate the Pearson correlation coefficient γ between the infrared spectrum X1 and the infrared spectrum Y1 of the original insulating oil sample X1,Y1Pearson correlation coefficient γ between Raman spectrum X2 and Raman spectrum Y2 of the original insulating oil sample X2,Y2 :
[0120]
[0121]
[0122] Among them, X1 i1 is the light intensity value of the i1th feature in the infrared spectrum X1 of any original insulating oil sample, Y1 j1 is the light intensity value of the j1th feature in the infrared spectrum Y1 of any original insulating oil sample with the same aging time as X1, is the average light intensity of all features in the infrared spectrum X1, is the average light intensity of all features in the infrared spectrum Y1, M1 is the total number of features in a single infrared spectrum, γ X1,Y1 is the Pearson correlation coefficient between infrared spectra X1 and Y1, i1 and j1 are the characteristic numbers in infrared spectra X1 and Y1; X2 i2 The light intensity value of the i2th feature in the Raman spectrum X2 of any original insulating oil sample, Y2 j2 is the Raman spectrum Y2 data of any original insulating oil sample with the same aging time as X2, is the average light intensity of all features in the Raman spectrum X2, is the average light intensity of all features in the Raman spectrum Y2, M2 is the total number of features in a single Raman spectrum, γ X2,Y2 is the Pearson correlation coefficient between Raman spectra X2 and Y2, i2 and j2 are the feature numbers in Raman spectra X2 and Y2;
[0123] The characteristics in infrared spectroscopy refer to the infrared wavenumber, and the characteristics in Raman spectroscopy refer to the frequency shift point;
[0124] Then, the Pearson correlation coefficient γ between the infrared spectra of the original insulating oil samples was used. X1,Y1 Pearson correlation coefficient γ between the Raman spectra X2,Y2 Find the abnormal original insulating oil samples and discard them:
[0125] The abnormal original insulating oil sample meets at least one of the following conditions:
[0126] a. Obtain all correlation coefficients between the infrared spectrum X1 of the original insulating oil sample and the infrared spectra of other original insulating oil samples at the same aging time. If 80% of the correlation coefficients are less than the preset correlation coefficient threshold of 0.78, the original insulating oil sample corresponding to the infrared spectrum X1 of the original insulating oil sample is an abnormal original insulating oil sample;
[0127] b. Obtain all correlation coefficients between the Raman spectrum X2 of the original insulating oil sample and the Raman spectra of other original insulating oil samples at the same aging time. If 80% of the correlation coefficients are less than a preset correlation coefficient threshold of 0.78, the original insulating oil sample corresponding to the Raman spectrum X2 of the original insulating oil sample is an abnormal original insulating oil sample;
[0128] In this step, in order to avoid the impact of abnormal instrument detection or imperfect detail processing during detection on the prediction results due to excessive deviation of individual samples in the same aging days group, the abnormal samples were removed. In this step, M1+M2=4610, M1=3532, M2=1078. After this step, the total number of samples after removal is 328.
[0129] Specific implementation method three: The oil-paper insulation aging diagnosis model is obtained by the following method:
[0130] B1. Perform data standardization on the features in the infrared spectrum and Raman spectrum of the original insulating oil sample in the first insulating oil sample set, respectively, to obtain the standardized infrared spectrum and Raman spectrum of the original insulating oil sample:
[0131]
[0132]
[0133] in, is the normalized value of the spectral intensity of the j1th feature (wave number or frequency shift) in the infrared spectrum of the nth original insulating oil sample in the first insulating oil sample set, is the normalized value of the spectral intensity of the j2th feature (wave number or frequency shift) in the Raman spectrum of the nth original insulating oil sample in the first insulating oil sample set, y1 j1 (n) is the original value of the spectral intensity under the j1th feature (wave number or frequency shift) in the infrared spectrum of the nth original insulating oil sample in the first insulating oil sample set, y2 j2 (n) is the original value of the spectral intensity under the j2th feature (wave number or frequency shift) in the Raman spectrum of the nth original insulating oil sample in the first insulating oil sample set, μ1 j1 is the average value of the characteristic j1th spectral intensity in the infrared spectra of all original insulating oil samples in the first insulating oil sample set, μ2 j2 is the average value of the spectral intensity at feature j2 in the Raman spectra of all original insulating oil samples in the first insulating oil sample set, σ1 j1 is the standard deviation of the spectral intensity at feature j1 in the infrared spectra of all original insulating oil samples in the first insulating oil sample set, σ2 j2is the standard deviation of the spectral intensity at feature j2 in the Raman spectra of all original insulating oil samples in the first insulating oil sample set, and k is the incident light intensity of the infrared detector (W / m 2 ), s is the Raman spectroscopy laser power (mW);
[0134] After being standardized by the above formula, the spectral data of the insulating oil sample will obey the standard normal distribution of N(0,1). The incident light intensity of the infrared detector of the present invention is 60W / m 2 , the laser power of the Raman spectrometer is 20mW.
[0135] B2. Obtaining the polymerization degree of the original insulating paper sample corresponding to the original insulating oil sample in the first insulating oil sample set by using a viscosity method, and using the polymerization degree of the original insulating paper sample as a polymerization degree label of the corresponding original insulating oil sample;
[0136] The viscosity method in this step is based on GB / T 29305-2012 "Measurement of viscosity average polymerization degree of new and aged cellulose electrical insulating materials". Generally, the polymerization degree of new insulation paper is 1100 or above; the polymerization degree of insulation paper in the early stage of aging is about 1000; the polymerization degree of insulation paper in the middle stage of aging is about 500. When the polymerization degree is less than 300, the insulation paper has reached the end of aging;
[0137] B3. Based on the degree of polymerization of the original insulating paper sample, the importance index of each feature in the standardized infrared spectrum and Raman spectrum of the original insulating oil sample is obtained, so as to determine the importance of the feature according to the importance index of the feature, specifically:
[0138]
[0139]
[0140] Among them, τ1 j1 is the importance index of feature j1 in the infrared spectrum of the original insulating oil sample, τ2 j2 is the importance index of feature j2 in the Raman spectrum of the original insulating oil sample, Λ1∈R N×M1 , N is the total number of original insulating oil samples in the first insulating oil sample set, Λ1 is the insulating oil infrared spectrum variable matrix, Λ2∈R N×M2 , Λ2 is the insulating oil Raman spectrum variable matrix, Λ2 (j2) is the j2th column in the matrix Λ2, Θ∈R N , Θ is the degree of polymerization label of the original insulating oil sample, Λ1 (j1) is the j1th column in the matrix Λ1;
[0141] B4. Sort the features in the Raman spectrum and the features in the infrared spectrum of each standardized original insulating oil sample from large to small according to the importance index, and take the features of the top 27% quantile as the infrared spectrum features and Raman spectrum features of the original insulating oil sample after screening;
[0142] This step screened out the infrared spectrum of the original insulating oil sample from 3176 to 2565 cm -1 Band 64 wave numbers, 1527-1332 band 386 wave numbers, 1197-696cm -1 Band 504 wavenumbers, original insulating oil Raman spectrum 3000~2750cm -1 Frequency band: 46 frequency shifts, 1602~700cm -1 There are 248 frequency shifts in the frequency band, and a total of 1248 screened features.
[0143] B5. Use the features in the infrared spectrum of the original insulating oil sample after screening and the features in the Raman spectrum of the original insulating oil sample after screening to form an oil-paper insulation spectrum sample matrix.
[0144] In this step, the insulating oil infrared spectrum variable matrix Λ1∈R 328×3532 , the insulating oil Raman spectrum variable matrix Λ2∈R 328×1078 , sample aggregation label Θ∈R 328 Each infrared wave number (Raman frequency shift) is regarded as a variable, forming an oil-paper insulation spectrum sample matrix (sample set) with 328 samples and 1248 variables (328×1248).
[0145] B6. Use the oil-paper insulation spectrum matrix to construct a training set and a test set. Use the training set to train the one-dimensional convolutional neural network and optimize the structural parameters and hyperparameters of the one-dimensional convolutional neural network. Then use the test set to test and obtain the oil-paper insulation aging diagnosis model. Specifically:
[0146] B6-1. Use the oil-paper insulation spectrum matrix to construct training and test sets:
[0147] Each row vector in the oil-paper insulation spectrum sample matrix (the original insulating oil sample oil-paper insulation spectrum sample vector) is sampled with replacement, and the sampled original insulating oil sample oil-paper insulation spectrum sample vector and the corresponding polymerization degree label of the original insulating paper sample are used as the training set, and the remaining original insulating oil sample oil-paper insulation spectrum sample vector and the corresponding polymerization degree label of the original insulating paper sample are used as the test set;
[0148] During the sampling process, first randomly select an original insulating oil sample oil-paper insulation spectrum sample vector and record the number, then put it back for re-sampling. Repeat this m times, and you will get a self-sampling sample set consisting of m original insulating oil sample oil-paper insulation spectrum sample vectors. In this process, some original insulating oil sample oil-paper insulation spectrum sample vectors may be drawn multiple times, while some original insulating oil sample oil-paper insulation spectrum sample vectors may never be drawn. The probability that a certain original insulating oil sample oil-paper insulation spectrum sample vector has never been drawn is as follows:
[0149]
[0150] Among them, m is the sampling number. When m tends to infinity, the probability that the sample vector of the oil-paper insulation spectrum of a certain original insulating oil sample has never been taken in the mth sampling is 36.8%;
[0151] In this step, the number of oil-paper insulation spectrum sample matrices included in the training set is: 328*(1-0.368)=208; the number of oil-paper insulation spectrum sample matrices included in the test set is: 328*0.368=120;
[0152] C3-2. Use the training set to train the one-dimensional convolutional neural network and optimize the structural parameters and hyperparameters of the one-dimensional convolutional neural network. Then, combine the test results of the test set to obtain the oil-paper insulation aging diagnosis model. Specifically:
[0153] The initial network structure of the one-dimensional convolutional neural network includes: an input layer, a Gaussian noise layer, a first convolutional layer, a first pooling layer, a first BN layer, a second convolutional layer, a second pooling layer, a second BN layer, a Flatten layer, a Dropout layer, a fully connected layer, and a final fully connected layer;
[0154] The input layer is used to input the oil-paper insulation spectrum sample matrix in the training set, and send the oil-paper insulation spectrum sample matrix to the Gaussian noise layer;
[0155] The Gaussian noise layer is used to give a certain disturbance to the oil-paper insulation spectrum sample matrix to improve the robustness of the model and prevent the model from overfitting, thereby obtaining an oil-paper insulation spectrum sample matrix with Gaussian noise, and the oil-paper insulation sample spectrum data with Gaussian noise are sent to the first convolution layer in batches;
[0156] The first convolutional layer is used to roughly extract spectral information of the oil-paper insulation spectral sample matrix with Gaussian noise, and send the roughly extracted spectral information to the first pooling layer;
[0157] The first pooling layer is used to perform feature dimension reduction on the extracted spectral information, select significant features, and send the selected significant features to the first BN layer;
[0158] The first BN layer is used to normalize the significant features selected by the first pooling layer, correct the data distribution changes caused by the learning parameter update, and send the normalized features to the second convolutional layer;
[0159] The second convolutional layer is used to extract the spectral polymerization degree related information in detail from the normalized spectral data, and send the extracted spectral polymerization degree related information to the second pooling layer;
[0160] The second pooling layer is used to reduce the dimension of the extracted spectral aggregation degree related information, select significant features, and send the selected significant features to the second BN layer;
[0161] The second BN layer is used to normalize the salient features selected by the second pooling layer and send the normalized features to the Flatten layer;
[0162] The Flatten layer is used to pull the normalized features into a one-dimensional vector to obtain a one-dimensional spectral feature vector, and send the one-dimensional spectral feature vector to the fully connected layer;
[0163] The Dropout layer is used to randomly disable certain neurons in the fully connected layer during the process of sending the one-dimensional spectral feature vector of the Flatten layer to the fully connected layer, so as to prevent the model from overfitting and improve the accuracy of the test data;
[0164] The fully connected layer is used for each neuron in the fully connected layer to perform weighted calculation on part of the one-dimensional spectral feature vector and output the result to the final fully connected layer;
[0165] The final fully connected layer is used to integrate the output results of the fully connected layers and output a predicted aggregation value based on the activation function.
[0166] The labels of the training set are the aggregation values, and the activation function of the fully connected layer is linear to adapt to the training of neural networks for regression tasks;
[0167] The initial network structure parameters of the one-dimensional convolutional neural network are shown in Table 1:
[0168] Table 1
[0169]
[0170] The NAS search strategy (Bayesian optimization method) is used to optimize the hyperparameters and network structure of the one-dimensional convolutional neural network, specifically:
[0171] The NAS search strategy is implemented based on the keras-tuner hyperparameter optimization framework in TensorFlow;
[0172] The test set is used to obtain the average error of the one-dimensional convolutional neural network corresponding to different hyperparameters and network structure parameters, so as to obtain the trained one-dimensional convolutional neural network with the minimum average error as the oil-paper insulation aging diagnosis model;
[0173] Among them, the hyperparameters and network structure parameters of the trained one-dimensional convolutional neural network with the smallest average error are the optimal parameters;
[0174] Hyperparameters include: batch size, training epochs, learning rate, and loss function optimization method. The search space of hyperparameters is shown in Table 2.
[0175] Table 2
[0176]
[0177] The search space of one-dimensional convolutional neural network structure parameters is shown in Table 3;
[0178] Table 3
[0179]
[0180] In this step, the final hyperparameter search results are: batch size = 16, Epochs = 1000, learning rate = 0.001, and the Nadam method is used to optimize the loss function. The optimal parameters of the one-dimensional convolutional neural network structure for the classification task are shown in Table 4;
[0181] Table 4
[0182]
[0183]
[0184] In this step, the neural architecture search method (NAS) in this step is an automated neural network architecture optimization method. NAS can optimize the type, number and parameters of each layer in the neural network through three levels: (1) search space (2) search strategy (3) performance estimation strategy, thereby achieving the best prediction result. The search space of NAS is a set of neural network structures that can be searched, which is defined by the number of layers, the type of operation performed by each layer (convolution, pooling, dropout, batch normalization, etc.) and the structural parameters that define the specific layer (for example, the number and size of kernels in the convolution layer). The NAS solution process is as follows: Figure 1 As shown in Figure 2, the one-dimensional convolutional neural network structure after NAS optimization is as follows: Figure 2 As shown in the figure, the principle of spectral feature extraction and dimensionality reduction of oil-paper insulation is as follows Figure 3 As shown in the figure, the deviation between the predicted value of the degree of polymerization of insulation paper and the true value is as follows Figure 5 shown.
Claims
1. A transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network is characterized by The specific process of the method is: S1. Obtain an insulating oil sample of a transformer to be diagnosed as the insulating oil sample to be diagnosed, and obtain an oil-paper insulation spectrum matrix of the insulating oil sample to be diagnosed, specifically: S1-1, obtaining a sample of insulating oil to be diagnosed, performing infrared spectrum detection and Raman spectrum detection on the sample of insulating oil to be diagnosed, and obtaining an infrared spectrum and a Raman spectrum of the sample of insulating oil to be diagnosed; S1-2, performing baseline correction on the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed, specifically: setting n basis points on the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed, respectively, using the spline curve interpolation method to interpolate the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed, and then subtracting the baseline to obtain the infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed after baseline correction; Among them, η≥6; S1-3. The infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed after baseline correction are respectively standardized to obtain the standardized infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed, specifically: in, is the normalized value of the spectral intensity of the j1'th feature in the infrared spectrum of the insulating oil sample to be diagnosed, y1' j1' is the original value of the spectral intensity of the j1'th feature in the infrared spectrum of the insulating oil sample to be diagnosed, μ1' j1' is the average spectral intensity of the j1'th feature in the infrared spectra of all insulating oil samples in the first insulating oil sample set, σ1' j1' is the standard deviation of the spectral intensity at feature j1' in the infrared spectra of all insulating oil samples in the first insulating oil sample set, is the normalized value of the spectral intensity of the j2'th feature in the Raman spectrum of the insulating oil sample to be diagnosed, y2' j2' is the original value of the spectral intensity of the j2'th feature in the Raman spectrum of the insulating oil sample to be diagnosed, μ2' j2' is the average spectral intensity of feature j2' in the Raman spectra of all insulating oil samples in the first insulating oil sample set, σ2' j2' is the standard deviation of the spectral intensity at feature j2' in the Raman spectra of all insulating oil samples in the first insulating oil sample set, k is the incident light intensity of the infrared detector, s is the Raman spectrum laser power, and N is the total number of original insulating oil samples in the first insulating oil sample set; S1-4, obtaining the oil-paper insulation spectrum vector of the insulating oil sample to be diagnosed according to the standardized infrared spectrum and Raman spectrum of the insulating oil sample to be diagnosed; S2. Input the oil-paper insulation spectrum vector of the insulating oil sample to be diagnosed into the oil-paper insulation aging diagnosis model to obtain the predicted value of the polymerization degree of the insulating paper of the transformer to be diagnosed, and judge whether to replace the insulating material of the current transformer according to the predicted value of the polymerization degree.
2. The transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network according to claim 1 is characterized in that: The first insulating oil sample set is obtained by: A1. Obtain an original insulating oil sample and an original insulating paper sample, and perform infrared spectrum detection and Raman spectrum detection on the original insulating oil sample to obtain an infrared spectrum and a Raman spectrum of the original insulating oil sample, specifically: A1-1. Obtain the original insulating oil sample and the original insulating paper sample: Insulating oil and insulating paper samples are placed in aging bottles according to a preset mass ratio, and all aging bottles are placed in an oven to perform an accelerated thermal aging experiment on oil-paper insulation, and insulating oil with different aging times is obtained regularly to obtain original insulating oil samples and corresponding original insulating paper samples; A1-2. Perform infrared spectrum detection on the original insulating oil sample to obtain the infrared spectrum of the original insulating oil sample; A1-3, performing Raman spectrum detection on the original insulating oil sample to obtain a Raman spectrum of the original insulating oil sample; A2. Baseline correction is performed on the infrared spectrum and Raman spectrum of the original insulating oil sample, and abnormal original insulating oil samples are eliminated based on the infrared spectrum and Raman spectrum of the original insulating oil sample after baseline correction, so as to obtain a first insulating oil sample set, specifically: A2-1, respectively setting n' basis points on the infrared spectrum and Raman spectrum of the original insulating oil sample, interpolating the infrared spectrum and Raman spectrum of the original insulating oil sample using a spline curve interpolation method, and then subtracting the baseline to obtain the infrared spectrum and Raman spectrum of the original insulating oil sample after baseline correction; Among them, η'≥6; A2-2. Using the infrared spectrum and Raman spectrum of the original insulating oil samples after baseline correction, the abnormal original insulating oil samples are eliminated to obtain the first insulating oil sample set: First, obtain the Pearson correlation coefficient γ between the infrared spectrum X1 and the infrared spectrum Y1 of the original insulating oil sample X1,Y1 , obtain the Pearson correlation coefficient γ between the Raman spectrum X2 and the Raman spectrum Y2 of the original insulating oil sample X2,Y2 : Among them, X1 i1 is the light intensity value of the i1th feature in the infrared spectrum X1 of any original insulating oil sample, Y1 j1 is the light intensity value of the j1th feature in the infrared spectrum Y1 of any original insulating oil sample with the same aging time as X1, is the average light intensity of all features in the infrared spectrum X1, is the average light intensity of all features in the infrared spectrum Y1, M1 is the total number of features in a single infrared spectrum, γ X1,Y1 is the Pearson correlation coefficient between infrared spectrum X1 and infrared spectrum Y1, i1 is the characteristic number in infrared spectrum X1, j1 is the characteristic number in infrared spectrum Y1, X2 i2 The light intensity value of the i2th feature in the Raman spectrum X2 of any original insulating oil sample, Y2 j2 is the Raman spectrum Y2 data of any original insulating oil sample with the same aging time as X2, is the average light intensity of all features in the Raman spectrum X2, is the average light intensity of all features in the Raman spectrum Y2, M2 is the total number of features in a single Raman spectrum, γ X2,Y2 is the Pearson correlation coefficient between Raman spectrum X2 and Raman spectrum Y2, i2 is the feature number in Raman spectrum X2, and j2 is the feature number in Raman spectrum Y2; Then, the Pearson correlation coefficient γ between the infrared spectra of the original insulating oil samples was used. X1,Y1 Pearson correlation coefficient γ between the Raman spectra of the original insulating oil sample X2,Y2 Find and discard abnormal original insulating oil samples.
3. The transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network according to claim 2 is characterized in that: The abnormal original insulating oil sample meets at least one of the following conditions: a. Obtain all correlation coefficients between the infrared spectrum X1 of the original insulating oil sample and the infrared spectra of other original insulating oil samples at the same aging time. If 80% of the correlation coefficients are less than a preset correlation coefficient threshold, the original insulating oil sample corresponding to the infrared spectrum X1 of the original insulating oil sample is an abnormal original insulating oil sample; b. Obtain all correlation coefficients between the Raman spectrum X2 of the original insulating oil sample and the Raman spectra of other original insulating oil samples at the same aging time. If 80% of the correlation coefficients are less than a preset correlation coefficient threshold, the original insulating oil sample corresponding to the Raman spectrum X2 of the original insulating oil sample is an abnormal original insulating oil sample.
4. The transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network according to claim 3 is characterized in that: The oil-paper insulation aging diagnosis model is obtained by the following method: B1. Data standardization is performed on the features in the infrared spectrum and Raman spectrum of the original insulating oil sample in the first insulating oil sample set, specifically: in, is the normalized value of the spectral intensity of the j1th feature in the infrared spectrum of the nth original insulating oil sample in the first insulating oil sample set, is the normalized value of the spectral intensity of the j2th feature in the Raman spectrum of the nth original insulating oil sample in the first insulating oil sample set, y1 j1 (n) is the original value of the spectral intensity of the j1th feature in the infrared spectrum of the nth original insulating oil sample in the first insulating oil sample set, y2 j2 (n) is the original value of the spectral intensity of the j2th feature in the Raman spectrum of the nth original insulating oil sample in the first insulating oil sample set, μ1 j1 is the average spectral intensity of the j1th feature in the infrared spectra of all original insulating oil samples in the first insulating oil sample set, μ2 j2 is the average spectral intensity of the j2th feature in the Raman spectra of all original insulating oil samples in the first insulating oil sample set, σ1 j1 is the standard deviation of the spectral intensity at the j1th feature in the infrared spectra of all original insulating oil samples in the first insulating oil sample set, σ2 j2 is the standard deviation of the spectral intensity of the j2th feature in the Raman spectra of all the original insulating oil samples in the first insulating oil sample set, k is the incident light intensity of the infrared detector, and s is the Raman spectroscopy laser power; B2. Obtaining the polymerization degree of the original insulating paper sample corresponding to the original insulating oil sample in the first insulating oil sample set by using a viscosity method, and using the polymerization degree of the original insulating paper sample as a polymerization degree label of the corresponding original insulating oil sample; B3, using the polymerization degree label of the original insulating oil sample to obtain the importance index of each feature in the standardized infrared spectrum and Raman spectrum of the original insulating oil sample; Among them, the larger the importance index of a feature, the more important the feature is; B4. Sort the features in the infrared spectrum of the standardized original insulating oil sample from large to small according to the feature importance index, and sort the features in the Raman spectrum of the standardized original insulating oil sample from large to small according to the importance index, to obtain the sorted infrared spectrum and the sorted Raman spectrum, and take the first 27% of the features in the sorted infrared spectrum as the infrared spectrum features of the screened original insulating oil sample, and take the first 27% of the features in the sorted Raman spectrum as the Raman spectrum features of the screened original insulating oil sample; B5, combining the infrared spectrum characteristics of the screened original insulating oil sample and the Raman spectrum characteristics of the screened original insulating oil sample to obtain an oil-paper insulation spectrum sample matrix; B6. Use the oil-paper insulation spectrum matrix to construct training sets and test sets, use the training set to train the one-dimensional convolutional neural network and optimize the structural parameters and hyperparameters of the one-dimensional convolutional neural network, and then use the test set to test and obtain the oil-paper insulation aging diagnosis model.
5. The transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network according to claim 4 is characterized in that: The importance index of each feature in the infrared spectrum and Raman spectrum of the original insulating oil sample obtained by using the polymerization degree label of the original insulating oil sample in B3 is specifically: Among them, τ1 j1 is the importance index of the j1th feature in the infrared spectrum of the original insulating oil sample, τ2 j2 is the importance index of the j2th feature in the Raman spectrum of the original insulating oil sample, Λ1∈R N×M1 , N is the total number of original insulating oil samples in the first insulating oil sample set, Λ1 is the insulating oil infrared spectrum variable matrix, Λ2∈R N×M2 , Λ2 is the insulating oil Raman spectrum variable matrix, Λ2 (j2) is the j2th column in the matrix Λ2, Θ∈R N , Θ is the degree of polymerization label of the original insulating oil sample, Λ1 (j1) is the j1th column in the matrix Λ1.
6. The transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network according to claim 5 is characterized in that: The infrared spectrum characteristics of the original insulating oil sample after screening in B4 are specifically as follows: Infrared spectrum of original insulating oil sample 3176~2565cm -1 Band 64 wave numbers, 1527-1332 band 386 wave numbers, 1197-696cm -1 Band 504 wavenumbers; The Raman spectrum characteristics of the screened original insulating oil sample are specifically: Raman spectrum of original insulating oil 3000~2750cm -1 Frequency band: 46 frequency shifts, 1602~700cm -1 Band 248 frequency shifts.
7. The transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network according to claim 6 is characterized in that: In B6, the oil-paper insulation spectrum matrix is used to construct a training set and a test set, the training set is used to train a one-dimensional convolutional neural network while optimizing the structural parameters and hyperparameters of the one-dimensional convolutional neural network, and then the test set is used for testing to obtain an oil-paper insulation aging diagnosis model, specifically: B6-1. Use the oil-paper insulation spectrum matrix to construct training and test sets: The oil-paper insulation spectrum sample vectors of the original insulating oil samples are sampled with replacement, and the sample vectors of the oil-paper insulation spectrum of the original insulating oil samples and the polymerization degree labels of the corresponding original insulating paper samples are used as training sets, and the remaining sample vectors of the oil-paper insulation spectrum of the original insulating oil samples and the polymerization degree labels of the corresponding original insulating paper samples are used as test sets; The oil-paper insulation spectrum sample vector of the original insulating oil sample is each row vector in the oil-paper insulation spectrum sample matrix; B6-2. Use the training set to train the one-dimensional convolutional neural network, optimize the structural parameters and hyperparameters of the one-dimensional convolutional neural network, and combine the test results of the test set to obtain the oil-paper insulation aging diagnosis model; The one-dimensional convolutional neural network includes in sequence: an input layer, a Gaussian noise layer, a first convolutional layer, a first pooling layer, a first BN layer, a second convolutional layer, a second pooling layer, a second BN layer, a Flatten layer, a Dropout layer, a fully connected layer, and a final fully connected layer; The initial network structure parameters of the one-dimensional convolutional neural network are as follows: The standard deviation of the Gaussian noise layer is 0.0.5; The number of filters in the first convolutional layer is 32, the filter kernel size is 16, and the activation function is RELU; The first pooling layer is a maximum pooling operation with a pool size of 8; The number of filters in the second convolutional layer is 64, the filter kernel size is 4, and the activation function is RELU; The second pooling layer is a maximum pooling operation with a pool size of 16; The Dropout rate of the Dropout layer is 0.5; The number of neurons in the fully connected layer is 128, and the activation function is RELU; The number of neurons in the final fully connected layer is 1, and the activation function is a linear function; The NAS search strategy is used to optimize the structural parameters and hyperparameters of the one-dimensional convolutional neural network. At the same time, the test set is used to obtain the average error of the one-dimensional convolutional neural network corresponding to different hyperparameters and network structural parameters, so as to obtain the trained one-dimensional convolutional neural network with the lowest average error as the oil-paper insulation aging diagnosis model. The hyperparameters optimized for one-dimensional convolutional neural networks include: batch size, training rounds, learning rate, and loss function; The optimized structural parameters of the one-dimensional convolutional neural network include: the number of filters in the first convolutional layer, the convolution kernel size of the second convolutional layer, the pool size of the first pooling layer, the number of filters in the second convolutional layer, the convolution kernel size of the second convolutional layer, the pool size of the second pooling layer, and the number of neurons in the fully connected layer.
8. The transformer oil-paper insulation aging diagnosis method based on fusion spectrum and neural network according to claim 7 is characterized in that: The structural parameter search space for one-dimensional convolutional neural network optimization is as follows: The search space for the number of filters in the first convolutional layer is [8, 16, 32, …, 256], with a step size of 2; The search space of the convolution kernel size of the second convolution layer is [1, 2, 4, 8, 16, 32]; The pool size search space of the first pooling layer is [2, 4, 8, 16, 32]; The search space for the number of filters in the second convolutional layer is [64, 96, 128, …, 512], with a step size of 1; The search space of the convolution kernel size of the second convolution layer is [2, 4, 8, 16, 24, 32]; The pool size search space of the second pooling layer is [2, 4, 8, 16, 32]; The search space for the number of neurons in the fully connected layer is [48, 64, 80, 96, 112, 128, 256]; The hyperparameter search space for one-dimensional convolutional neural network optimization is as follows: The batch size search space is [8, 16, 32, 64]; The training round search space is [500-1200]; The learning rate search space is [0.01, 0.001]; The loss function search space is [Adam, RMSProp, Nadam, Adamax, Adagrad].
