Personalized dynamic prediction method for remaining life of oil-immersed transformer based on meta-learning
By constructing a personalized prediction model and a discriminant model based on meta-learning, the personalized operating characteristics of the transformer are identified, which solves the problem of low prediction accuracy in the existing technology and achieves high-accuracy prediction of the remaining life of the transformer.
Patent Information
- Application Number
- CN202210217435.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-07
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-03-07
AI Technical Summary
The existing technology is difficult to describe the differences between equipment and personalized operating characteristics in transformer fault prediction and remaining life estimation, resulting in low prediction accuracy, fault false alarms and omissions, and cannot meet the needs of personalized prediction of the transformer's remaining life.
Using a method based on meta-learning, by constructing two shared generators with different structures, using meta-learning methods to optimize network parameters, generate personalized prediction models and discriminant models for each transformer, and extract common features and patterns in its historical data , identify personalized operating characteristics, and predict future dissolved gas concentration data in oil and fault occurrence time.
The accuracy of the prediction of the remaining life of the oil-immersed transformer is improved, the demand for personalized prediction of the remaining life of the transformer is met, and the prediction error is significantly reduced.
Smart Images

Figure CN114595883B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of transformer life analysis, and in particular relates to a meta-learning-based personalized dynamic prediction method for the remaining life of an oil-immersed transformer. Background Art
[0002] Transformers are one of the main equipment in the power system, and they play a pivotal role in grid interconnection and power exchange. As my country's power grid system continues to develop towards complexity and intelligence, transformer equipment plays an important role in UHV transmission and smart grid regulation. Once a failure occurs, it will cause significant losses to the power transmission of the entire power grid system and social electricity consumption. Therefore, research on transformer equipment failure prediction and future remaining life estimation is of great significance for formulating equipment inspection and maintenance strategies and ensuring the stability and safety of the power system.
[0003] Analysis of dissolved gas concentration in transformer oil is an important method for transformer fault detection and prediction. This method can determine and predict whether there are potential faults (such as overheating faults, discharge faults, etc.) without disassembling and shutting down the transformer equipment by detecting and analyzing the composition and concentration of hydrocarbon gases such as hydrogen, methane, ethane, ethylene, and acetylene dissolved in the transformer insulating oil. In recent years, some researchers have proposed fault prediction and remaining life estimation methods based on dissolved gas in transformer oil. For example, the patent application with publication number CN201710193347.6 discloses a transformer remaining life estimation method based on a hidden Markov model. This method uses a hidden Markov model to extract the typical dynamic characteristics of the transformer from normal to faulty state, and predicts the remaining life by estimating the device state transition probability; the patent application with publication number CN201610455561.X discloses a transformer remaining life detection method based on a health index. This method constructs a health index through indicators such as the transformer's aging coefficient, carbon and oxygen content, and furfural gas content, and estimates the transformer remaining life by analyzing the statistical relationship between the health index and the fault time.
[0004] The main idea of existing methods in this field is to extract typical equipment failure characteristics or patterns from the dissolved gas data in transformer oil through statistical models or machine learning models, and give fault warnings and estimate the remaining life when the operating characteristics of the equipment under test are consistent with the typical characteristics. However, affected by the personalized operating environment of the equipment, transformer failures not only depend on the typical characteristics and laws in historical data, but also on the personalized characteristics exhibited by the equipment from normal to failure. Existing models and methods only predict faults through extracted typical characteristics and statistical laws, and it is difficult to describe the differences between equipment and the impact of personalized operating characteristics on fault prediction. Therefore, in actual applications, there are low prediction accuracy, false fault reports, and missed faults, which cannot meet the needs of personalized prediction of the remaining life of transformers. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning, so as to improve the accuracy and personalization of the remaining life prediction of the oil-immersed transformer.
[0006] To achieve the above-mentioned purpose of the invention, an embodiment provides a personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning, comprising the following steps:
[0007] (1) Collect the dissolved gas concentration data in the oil generated when the faulty transformer changes from a normal state to a faulty state and perform data preprocessing to obtain the time series data as training samples;
[0008] (2) Construct two shared generators with different structures, train the shared generators according to the training samples and adopt meta-learning method to optimize the parameters of the two shared generators;
[0009] (3) Collecting the current time dissolved gas concentration data in the oil generated during the normal operation of each normal transformer and performing data preprocessing to obtain the time series data as the test sample;
[0010] (4) The test samples are respectively input into the two shared generators for parameter optimization, and the two sets of output parameters are used as the network parameters of the prediction network and the discriminant network, so as to construct a prediction model and a discriminant model for each normal transformer;
[0011] (5) using the prediction model to predict the test sample to obtain the dissolved gas concentration data in the oil at a future time, and using the discriminant model to discriminate the dissolved gas concentration data in the oil at a future time to obtain the operation status discrimination result;
[0012] (6) When the operating state judgment result of the discrimination model is a fault state, the time when the fault state occurs is subtracted from the current time to obtain the prediction result of the remaining life of the oil-immersed transformer.
[0013] Among them, the dissolved gases in oil include methane, ethane, ethylene, acetylene, and hydrogen; the dissolved gas concentration data in oil include continuous measurement data of the mass concentration or volume concentration of the dissolved gas in oil within a given time range; data preprocessing includes linear interpolation processing, that is, linear interpolation is used to replace missing values in the data.
[0014] In one embodiment, two shared generators with different structures are denoted as shared generators Gen(θ 1 ) and the shared generator Gen(θ 2 ), where the shared generator Gen(θ 1) uses a recurrent neural network and takes the dissolved gas data in oil as input to learn the time series characteristics and laws of the dissolved gas data in oil when different transformers change from normal state to fault state, and outputs a set of parameters denoted as α n , represents the shared generator Gen(θ 1 ) has the same structure as the prediction network Net(α n ) network parameters; shared generator Gen(θ 2 ) adopts a feedforward neural network, taking the dissolved gas data in oil as input to learn the personalized fault characteristics of each transformer, and outputs another set of parameters denoted as β n , represents the shared generator Gen(θ 2 )The discriminant network Net(β n ) network parameters, where θ 1 and θ 2 For two shared generators Gen(θ 1 ) and the shared generator Gen(θ 2 ) network parameters.
[0015] In step (2) of one embodiment, the shared generator is trained according to the training samples and in a meta-learning manner, including:
[0016] (a) Randomly initialize the shared generator Gen(θ 1 ) and the shared generator Gen(θ 2 ) parameter θ 1 and θ 2 ;
[0017] (b) Extract the time series data x corresponding to a faulty transformer from the training sample m And randomly divided into two segments, respectively, data x m,1 and data x m,2 , m is the index of the faulty transformer;
[0018] (c) Transform the data x m,1 Input to the shared generator Gen(θ 1 ) and Gen(θ 2 ), the two sets of output parameters are used as network parameters of the prediction network and the discrimination network respectively to construct the prediction model and the discrimination model;
[0019] (d) Transform the data x m,1 Input into the prediction model to get the prediction data x m,2 ', and predict data x m,2 'Input into the discrimination model to obtain the running state discrimination result;
[0020] (e) Calculate the prediction model for the prediction data x m,2' and data x m,2 The prediction error of the discriminant model and the discriminant error between the running state discriminant result and the actual state;
[0021] (f) Calculate the discrimination error and prediction error about the shared generator Gen(θ 1 ) and Gen(θ 2 )’s network parameters θ 1 and θ 2 The gradient of the network parameter θ is calculated by gradient descent method. 1 and θ 2 Make updates;
[0022] (g) Repeat steps (b) to (f) until the network parameter θ 1 and θ 2 convergence.
[0023] In step (4) of one embodiment, the prediction network Net(α n ) adopts the shared generator Gen(θ 1 ) is used to predict the dissolved gas concentration in oil based on the input data and output the dissolved gas concentration in oil at the future moment; the shared generator Gen(θ 1 ) According to the test sample output parameters, it actually estimates the prediction network Net(α n )’s network parameter α n The process includes: using the shared generator Gen(θ 1 ) For each normal transformer corresponding to the test sample y n Perform fitting and calculate the fitting error e; then calculate the network parameter θ 1 The gradient of the fitting error e And use the gradient descent method to adjust the network parameters θ 1 Perform an update; finally, use the gradient descent result as the network parameter α of the prediction network n , and build a prediction model.
[0024] In step (4) of one embodiment, the discriminant network Net(β n ) is adopted as the shared generator Gen(θ 2 ) structure, is used to judge the operation status according to the input data of dissolved gas concentration in oil, and output the judgment result of the operation status; the shared generator Gen(θ 2 ) According to the test sample output parameters, it actually estimates the discriminant network Net(β n ) network parameters β n The process includes: using the shared generator Gen(θ 2 ) For each normal transformer corresponding to the test sample yn Perform pooling operation to obtain the test sample y n The corresponding eigenvector z n , and then the feature vector z is transformed into n Mapped to the network parameter β of the discriminant network n , and thus construct a discriminant model.
[0025] In step (5) of one embodiment, the prediction model is used to predict the test sample to obtain the dissolved gas concentration data in the oil at a future time, including:
[0026] First, the prediction sample y n Input to the prediction model Net(α n ), according to the predicted sample y n Predict the dissolved gas concentration data in the oil at the next moment; then use the predicted sample y n The predicted dissolved gas concentration data in oil and are used as new inputs to the prediction model Net (α n ) is used to predict the concentration of dissolved gas in oil at the next moment, and this process is repeated continuously to gradually predict the concentration of dissolved gas in oil at future times.
[0027] In step (5) of one embodiment, the operating state discrimination result output by the discrimination model is between 0 and 1, and an operating state discrimination result less than 0.5 indicates that the transformer is in a normal state, and an operating state discrimination result greater than 0.5 indicates that the transformer is in a fault state.
[0028] Compared with the prior art, the present invention has the following beneficial effects:
[0029] By constructing two shared generators to extract the common features and rules in the historical data of transformers, when the dissolved gas data in the oil of different transformers are obtained, the personalized operation characteristics of the transformer can be identified and a personalized prediction model and discrimination model can be generated for each transformer, respectively predicting the future dissolved gas concentration data in the oil of the transformer and the time of fault occurrence, so as to realize the personalized prediction of the remaining life of the transformer. This method can improve the accuracy of the remaining life prediction of oil-immersed transformers and meet the needs of personalized prediction of the remaining life of transformers. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0031] Figure 1is a flow chart of a personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning provided in an embodiment;
[0032] Figure 2 is a transformer remaining life prediction error statistical diagram provided by an embodiment;
[0033] Figure 3 It is a comparison chart of transformer remaining life prediction error provided by comparison. DETAILED DESCRIPTION
[0034] To make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation methods described herein are only used to explain the present invention and do not limit the scope of protection of the present invention.
[0035] Figure 1 1 is a flow chart of a personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning provided in an embodiment. Figure 1 As shown, the embodiment provides a personalized prediction method for the remaining life of an oil-immersed transformer, comprising the following steps:
[0036] Step 1: collect the dissolved gas concentration data in the oil generated when the faulty transformer changes from a normal state to a faulty state and perform data preprocessing to obtain the time series data as training samples.
[0037] In the embodiment, the mobile phone collects the data of dissolved gas concentration in oil generated by the faulty transformer that has been shut down and the process in which the faulty transformer changes from a normal state to a faulty state, and performs data preprocessing on the data of dissolved gas concentration in oil to obtain time series data x m ,m=1,...,M. Where M represents the number of faulty transformers collected, x m represents the time series data preprocessed by the mth transformer. These time series data x m Used as training samples to train the shared generator.
[0038] Among them, the dissolved gases in oil include methane, ethane, ethylene, acetylene, and hydrogen; the dissolved gas concentration data in oil refers to the continuous measurement data of the mass concentration or volume concentration of the dissolved gas in oil within a given time range, and the measurement interval is preferably 1 day; data preprocessing includes linear interpolation processing, that is, linear interpolation is used to replace the missing values in the data.
[0039] Step 2: construct two shared generators with different structures, and train the shared generators according to the training samples and adopt a meta-learning method to optimize the network parameters of the two shared generators.
[0040] In the embodiment, two shared generators with different structures are a computing model that describes the mapping relationship between transformer data and the optimal parameter value of the remaining life prediction model, and are respectively denoted as shared generator Gen(θ 1 ) and the shared generator Gen(θ 2 ), θ 1 and θ 2 For two shared generators Gen(θ 1 ) and the shared generator Gen(θ 2 ) network parameters. Among them, the shared generator Gen(θ 1 ) uses a recurrent neural network and takes the dissolved gas data in oil as input to learn the temporal characteristics and laws of the dissolved gas data in oil when different transformers change from normal state to fault state, and outputs a set of parameters as the shared generator Gen(θ 1 ) has the same structure as the prediction network Net(α n )’s network parameter α n ; Shared generator Gen(θ 2 ) adopts a feedforward neural network, taking the dissolved gas data in oil as input to learn the personalized fault characteristics of each transformer, and outputs another set of parameters as the shared generator Gen(θ 2 )The discriminant network Net(β n ) network parameters β n .
[0041] In the embodiment, the prediction network Net(α n ) is adopted as the shared generator Gen(θ 1 ) is used to predict the dissolved gas concentration in oil based on the input data and output the dissolved gas concentration in oil at a future moment.
[0042] In the embodiment, the discriminant network Net(β n ) is adopted as the shared generator Gen(θ 2 ) is used to judge the operating status according to the input data of dissolved gas concentration in oil and output the operating status judgment result.
[0043] Based on the above shared generator Gen(θ 1 ) and the shared generator Gen(θ 2 ), according to the training samples and using meta-learning method to share the generator Gen(θ 1 ) and the shared generator Gen(θ 2 ) for training, including:
[0044] (a) Initialize the shared generator Gen(θ 1) and the shared generator Gen(θ 2 )’s network parameters θ 1 and θ 2 ;
[0045] (b) Extract the time series data x corresponding to a faulty transformer from the training sample m And randomly divided into two segments, respectively, data x m,1 and data x m,2 ;
[0046] (c) Transform the data x m,1 Input to the shared generator Gen(θ 1 ) and Gen(θ 2 ), the two sets of output parameters are used as prediction network Net(α n ) and the discriminant network Net(β n ) to build prediction models and discriminant models;
[0047] (d) Transform the data x m,1 Input into the prediction model to get the prediction data x m,2 ', and predict data x m,2 'Input into the discrimination model to obtain the running state discrimination result;
[0048] (e) Calculate the prediction model for the prediction data x m,2 ' and data x m,2 The prediction error of the discriminant model and the discriminant error between the running state discriminant result and the actual state;
[0049] (f) Calculate the discrimination error and prediction error about the shared generator Gen(θ 1 ) and Gen(θ 2 )’s network parameters θ 1 and θ 2 The gradient of the network parameter θ is calculated by gradient descent method. 1 and θ 2 Make updates;
[0050] (g) Repeat steps (b) to (f) until the network parameter θ 1 and θ 2 convergence.
[0051] The trained shared generator Gen(θ 1 ) and Gen(θ 2 ) hides the common features and rules in the historical data of the transformer, providing an accurate basis for the subsequent generation of personalized prediction models and discrimination models for each transformer.
[0052] Step 3: Collect the current dissolved gas concentration data in the oil generated during the normal operation of each normal transformer and perform data preprocessing to obtain the time series data as a test sample.
[0053] In the embodiment, the data of dissolved gas concentration in oil at the current time generated during the normal operation of each normal transformer is collected and preprocessed to form time series data y n ,n=1,...,N, N represents the number of transformers in operation. It should be noted that the data preprocessing adopts the same method as step 1, that is, linear interpolation processing.
[0054] In step 4, the test samples are respectively input into the two shared generators for parameter optimization, and the two sets of output parameters are used as the network parameters of the prediction network and the discrimination network, so as to construct the prediction model and the discrimination model for each normal transformer.
[0055] In the embodiment, the shared generator Gen(θ 1 ) According to the test sample output parameters, it actually estimates the prediction network Net(α n )’s network parameter α n The process includes: using the shared generator Gen(θ 1 ) For each normal transformer corresponding to the test sample y n Perform fitting and calculate the fitting error e; then calculate the network parameter θ 1 The gradient of the fitting error e And use the gradient descent method to adjust the network parameters θ 1 Perform an update; finally, use the gradient descent result as the network parameter α of the prediction network n , in order to construct a prediction model, where the update rate of the parameters in the gradient descent method is ρ, and the prediction network parameter set α n The calculation process can be expressed as:
[0056]
[0057] In the embodiment, the shared generator Gen(θ 2 ) According to the test sample output parameters, it actually estimates the discriminant network Net(β n ) network parameters β n The process includes: using the shared generator Gen(θ 2 ) For each normal transformer corresponding to the test sample y n Perform pooling operation to obtain the test sample y n The corresponding eigenvector z n , and then the feature vector z is transformed into n Mapped to the network parameter β of the discriminant networkn , in order to build a discriminant model. Specifically, the discriminant network Net(β n ) network parameters β n The calculation process can be expressed as:
[0058] z n =pool(θ 2,1 ,y n )
[0059] β n =φ(θ 2,2 ,z n )
[0060] Among them, θ 2,1 and θ 2,2 Represents the shared generator Gen(θ 2 ) parameters, θ 2 ={θ 2,1 ,θ 2,2}; pool(·) represents the pooling operation function and returns the matrix θ 2,1 ×y n The maximum value of each column; φ(·) represents a nonlinear activation function, and its function form is
[0061] When constructing the prediction model and the prediction model, since the sample data of each transformer is used, parameters are generated separately to construct the prediction model and the prediction model for each transformer. Therefore, personalized remaining life prediction of each transformer can be achieved.
[0062] It should be noted that the process of constructing the prediction model and the discriminant model in step (c) is the same as that in step 4.
[0063] Step 5: Use the prediction model to predict the test sample to obtain the dissolved gas concentration data in the future, and use the discriminant model to discriminate the dissolved gas concentration data in the future to obtain the operation status discrimination result.
[0064] In the embodiment, the prediction model is used to predict the test sample to obtain the dissolved gas concentration data in the oil at a future time, including:
[0065] First, the prediction sample y n Input to the prediction model Net(α n ), according to the predicted sample y n Predict the dissolved gas concentration data in the oil at the next moment; then use the predicted sample y n The predicted dissolved gas concentration data in oil and are used as new inputs to the prediction model Net (α n) is used to predict the concentration of dissolved gas in oil at the next moment, and this process is repeated continuously to gradually predict the concentration of dissolved gas in oil at future times.
[0066] In the embodiment, when using the discriminant model to discriminate the concentration data of dissolved gas in oil in the future, the prediction model Net(α n ) inputs the transformer future dissolved gas data prediction results into the discriminant model Net(β n ), and then the forward algorithm of the forward feedback neural network performs nonlinear mapping on the input prediction data to obtain the discriminant model Net(β n ) outputs the running status judgment result. Net(β n ) The operating status judgment result output is between 0 and 1. The operating status judgment result less than 0.5 indicates that the transformer is in a normal state, and greater than 0.5 indicates that the transformer is in a fault state.
[0067] Step 6: When the operation state discrimination result of the discrimination model is a fault state, the time when the fault state occurs minus the current time is subtracted to obtain a prediction result of the remaining life of the oil-immersed transformer.
[0068] In the embodiment, since the prediction model is used to record the corresponding prediction time for the concentration of dissolved gas in oil in the future, when the operation state judgment result of the judgment model is a fault state, the time when the fault state occurs is subtracted from the current time to obtain the prediction result of the remaining life of the oil-immersed transformer. This method is convenient and simple.
[0069] Experimental example
[0070] This embodiment selects 10 220kv oil-immersed transformers that have failed, and collects the data of dissolved gas concentration in the oil of these devices from normal to faulty state. The gas indicators include six types: gas, methane, ethane, ethylene, acetylene, and total hydrocarbons. According to step 1, this embodiment performs linear interpolation and other preprocessing on the collected data, and obtains a total of 7348 data after preprocessing.
[0071] Then, according to steps 2 and 3, this embodiment uses the preprocessed data to build two generators, combines the data of each transformer to generate personalized prediction models and discrimination models, and predicts the remaining life of each transformer according to step S04, and verifies the prediction results based on the actual failure time of the transformer. In order to test the reliability of the method proposed in the present invention, this embodiment verifies the equipment prediction results in a leave-one-out verification manner. The leave-one-out verification method tests each transformer once, and the selected equipment in each test is used as a test sample for remaining life prediction, and the remaining transformers are used as training samples for training the network generator model. The verification is performed 10 times in total, and each time the tested transformer has 100 data that can be used for remaining life prediction. The error of the prediction result is evaluated by the average percentage error index, and the specific calculation method is as follows:
[0072] err=|T pre –T real | / T real
[0073] Where err represents the average percentage error of the fault prediction time, T real and T pre They represent the actual result and predicted result of the remaining life of the transformer respectively.
[0074] Figure 2 The statistical results of the prediction errors of the method proposed in the present invention in 10 verification tests are given, from which it can be seen that the personalized prediction method for the remaining life of the transformer described in this embodiment has a high prediction accuracy. The average prediction error of the remaining life of 10 transformer devices is 0.167, and the variance is 0.085, which can make accurate and reliable predictions on the remaining life of the transformer.
[0075] Comparative Example
[0076] In order to illustrate the advantages of the transformer remaining life method proposed in the present invention over the traditional method, the comparison ratio uses the traditional feedforward neural network and the recursive neural network model to build the transformer remaining life prediction model respectively, and uses the same transformer data as the embodiment for verification. The verification is carried out using the leave-one-out verification method, and a total of 10 verifications are performed. Each time the remaining life of one device is predicted, and the remaining transformers are used to build the model. Each time the tested transformer has 100 data that can be used for remaining life prediction, and the prediction result error is evaluated by the average percentage error indicator. The comparison results of the average percentage errors of the traditional feedforward neural network, the recursive neural network and the method proposed in the present invention are shown in the figure. Figure 3 shown.
[0077] from Figure 3It can be seen that the average prediction error of the proposed method in 10 verifications is 16.7, which is significantly lower than the average prediction errors of the traditional feedforward neural network and recurrent neural network methods (38.6% and 24.4%). The proposed method takes into account the individual differences in the degradation process of the transformer health state, and uses cutting-edge technologies such as meta-learning and generators to optimize and adjust the traditional model, so as to obtain higher prediction accuracy.
[0078] The specific implementation methods described above provide a detailed description of the technical solutions and beneficial effects of the present invention. It should be understood that the above is only the most preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, supplements and equivalent substitutions made within the scope of the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A personalized prediction method for the remaining life of oil-immersed transformers based on meta-learning, It is characterized in that The following steps are involved: (1) Collect the dissolved gas concentration data in the oil generated when the faulty transformer changes from a normal state to a faulty state and perform data preprocessing to obtain the time series data as training samples; (2) Construct two shared generators with different structures, and train the shared generators based on the training samples and using meta-learning to optimize the parameters of the two shared generators; Two shared generators with different structures are denoted as shared generators Gen( θ 1 ) and the shared generator Gen( θ 2 ), where the shared generator Gen( θ 1 ) uses a recurrent neural network and takes the dissolved gas data in oil as input to learn the time series characteristics and laws of the dissolved gas data in oil when different transformers change from normal state to fault state, and outputs a set of parameters recorded as α n , represents the shared generator Gen( θ 1 )The prediction network Net( α n ) network parameters; shared generator Gen( θ 2 ) uses a feedforward neural network with dissolved gas data in oil as input to learn the personalized fault characteristics of each transformer and output another set of parameters recorded as β n , represents the shared generator Gen( θ 2 )The discriminant network Net( β n ) network parameters, where θ 1 and θ 2 For two shared generators Gen( θ 1 ) and the shared generator Gen( θ 2 ) parameters; The shared generator is trained based on the training samples and in a meta-learning manner, including: (a) Randomly initialize the shared generator Gen( θ 1 ) and the shared generator Gen( θ 2 ) θ 1 and θ 2 ; (b) Extract the time series data corresponding to a faulty transformer from the training sample x m And randomly divided into two parts, respectively x m,1 and data x m,2 , m is the index of the faulty transformer; (c) Data x m,1 Input to the shared generator Gen( θ 1 ) and Gen( θ 2 ), the two sets of output parameters are used as network parameters of the prediction network and the discrimination network respectively to construct the prediction model and the discrimination model; (d) Data x m,1 Input into the prediction model to get prediction data x m,2 ', and predict the data x m,2 'Input into the discrimination model to obtain the running state discrimination result; (e) Calculate the prediction model on the prediction data x m,2 ' and data x m,2 The prediction error of the discriminant model and the discriminant error between the running state discriminant result and the actual state; (f) Calculate the discrimination error and prediction error about the shared generator Gen( θ 1 ) and Gen( θ 2 ) network parameters θ 1 and θ 2 The gradient of the network parameters is calculated by gradient descent method. θ 1 and θ 2 Make updates; (g) Repeat steps (b) to (f) until the network parameters θ 1 and θ 2 convergence; (3) Collect the current dissolved gas concentration data in the oil generated during the normal operation of each normal transformer and perform data preprocessing to obtain the time series data as the test sample; (4) The test samples are input into the two shared generators for parameter optimization respectively, and the two sets of output parameters are used as the network parameters of the prediction network and the discriminant network respectively, so as to construct the prediction model and the discriminant model for each normal transformer; (5) Using the prediction model to predict the test samples to obtain the dissolved gas concentration data in the future, and using the discriminant model to discriminate the dissolved gas concentration data in the future to obtain the operation status discrimination result; (6) When the operating state judgment result of the discrimination model is a fault state, the time when the fault state occurs minus the current time is subtracted to obtain the prediction result of the remaining life of the oil-immersed transformer.
2. According to claim 1, the personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning, It is characterized in that The dissolved gases in oil include methane, ethane, ethylene, acetylene, and hydrogen; the dissolved gas concentration data in oil include continuous measurement data of the mass concentration or volume concentration of the dissolved gas in oil within a given time range; data preprocessing includes linear interpolation processing, that is, linear interpolation is used to replace missing values in the data.
3. According to claim 1, the personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning, It is characterized in that In step (4), the prediction network Net( α n ) uses the shared generator Gen( θ 1 ) is used to predict the dissolved gas concentration in oil based on the input data and output the dissolved gas concentration in oil at the future moment; the shared generator Gen( θ 1 ) According to the test sample output parameters, it actually estimates the prediction network Net( α n ) network parameters α n The process includes: using the shared generator Gen( θ 1 ) For each normal transformer corresponding test sample y n Perform fitting and calculate the fitting error e ; Then calculate the network parameters θ 1 About fitting error e The gradient of ∇ e , and use the gradient descent method to adjust the network parameters θ 1 Perform an update; finally, use the gradient descent result as the network parameter of the prediction network α n , and build a prediction model.
4. According to claim 1, the personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning, It is characterized in that In step (4), the discriminant network Net( β n ) is used as the shared generator Gen( θ 2 ) structure, is used to judge the operation status according to the input data of dissolved gas concentration in oil, and output the judgment result of the operation status; the shared generator Gen( θ 2 ) According to the test sample output parameters, it actually estimates the discriminant network Net( β n ) network parameters β n The process includes: using the shared generator Gen( θ 2 ) For each normal transformer corresponding test sample y n Perform pooling operation to obtain the test sample y n The corresponding eigenvector z n , and then the feature vector is transformed into z n Mapping to the network parameters of the discriminant network β n , and thus construct a discriminant model.
5. According to claim 1, the personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning, It is characterized in that In step (5), the prediction model is used to predict the test sample to obtain the dissolved gas concentration data in the oil at a future time, including: First, the prediction sample y n Input to the prediction model Net( α n ), according to the prediction sample y n Predict the concentration of dissolved gas in oil at the next moment; then use the predicted sample y n The predicted dissolved gas concentration data in oil and are used as new inputs to the prediction model Net ( α n ) is used to predict the concentration of dissolved gas in oil at the next moment, and this process is repeated continuously to gradually predict the concentration of dissolved gas in oil at future times.
6. According to claim 1, the personalized prediction method for the remaining life of an oil-immersed transformer based on meta-learning, It is characterized in that In step (5), the operating state discrimination result output by the discrimination model is between 0 and 1. If the operating state discrimination result is less than 0.5, it means that the transformer is in a normal state; if it is greater than 0.5, it means that the transformer is in a fault state.
