A method and system for predicting copper loss of transformer

Through the time-series sensing neural network rTCN-Attention prediction model, three-dimensional image data is used to capture transformer operating condition information, accurately predict the degree of copper loss and issue early warnings, solving the problem of inaccurate copper loss prediction in the existing technology and reducing energy loss.

CN118551275BActive Publication Date: 2024-10-11STATE GRID SHANDONG ELECTRIC POWER CO WEISHAN POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411008185.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-11
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

The existing technology cannot accurately predict the copper loss of the transformer, especially when the load changes suddenly, resulting in inaccurate prediction results and the inability to adjust the working state in advance to avoid energy loss.

Method used

The time-series aware neural network rTCN-Attention prediction model is used to capture the dependencies of time series by generating three-dimensional image data and convolution processing, building an improved prediction model to accurately predict the degree of copper loss, and issuing early warnings based on the prediction results.

Benefits of technology

It improves the accuracy of copper loss prediction, issues early warning, reduces copper loss during transformer operation, and avoids misleading prediction results due to accidental state changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551275B_ABST
    Figure CN118551275B_ABST
Patent Text Reader

Abstract

The present invention proposes a transformer copper loss prediction method and system, which belongs to the field of electric power technology, including: collecting historical operating data of the transformer; preprocessing the collected historical operating data; calculating the power efficiency according to the collected power signal, and characterizing the copper loss degree with the inverse of the power efficiency; generating training samples of the transformer copper loss prediction model; constructing an improved time-series perception neural network rTCN-Attention prediction model, and training to obtain the final prediction model; obtaining current operating data, and using the improved time-series perception neural network rTCN-Attention prediction model to predict the copper loss degree at the next moment; determining the warning level according to the predicted copper loss degree. The present invention improves the accuracy of transformer copper loss prediction by preprocessing to generate three-dimensional image data and constructing a time-series perception neural network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electric power technology, and in particular relates to a transformer copper loss prediction method and system. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] A transformer is a device that uses the principle of electromagnetic induction to change AC voltage. In actual operation, the output power of the transformer is always less than the input power, and there is a large loss. The loss of the transformer causes the electrical energy to be converted into other forms such as heat energy during the transmission and conversion process, and fails to be effectively transferred to the end user, which means that the system requires more raw energy to meet the same electrical energy demand, thereby increasing the overall energy consumption of the power system.

[0004] The losses of a transformer mainly include iron loss and copper loss. The iron loss is mainly composed of the hysteresis loss and eddy current loss of the structural components of the transformer. It is a fixed loss and has nothing to do with the size and nature of the load circuit. The copper loss is the energy loss caused by the resistance generated when the current passes through the copper wire of the transformer winding. Therefore, the copper loss is also called "variable loss" and can be reduced by adjusting the operating voltage or current of the transformer.

[0005] When the load of the transformer changes suddenly, it may cause instantaneous changes in its output voltage, current and other parameters. This change is usually short-lived. Once the load stabilizes, the transformer will regain its balance. The existing transformer copper loss monitoring method is to measure the current and voltage values ​​at a certain moment, and calculate the power based on this to determine the current loss value. However, this type of method has errors and cannot effectively identify accidental mutations of the equipment, resulting in inaccurate prediction results. In addition, most of the existing technologies only judge the current state and cannot "prevent problems before they happen", that is, they cannot adjust the working state of the transformer in advance to avoid energy loss. Summary of the invention

[0006] In order to overcome the shortcomings of the above-mentioned prior art, the present invention proposes a transformer copper loss prediction method and system, which realizes the comprehensive consideration of the stage state of the transformer by generating three-dimensional image data and constructing a time-series perception neural network rTCN-Attention prediction model, and accurately predicts the copper loss degree of the next time interval, so as to issue early warning information and reduce the copper loss during the operation of the transformer.

[0007] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:

[0008] In a first aspect, a transformer copper loss prediction method is disclosed, comprising:

[0009] Collect historical operating data of the transformer, including current signal, voltage signal, power signal and temperature information;

[0010] Preprocess the collected historical operating condition data to generate current waveforms, voltage waveforms and temperature line graphs of the primary winding and the secondary winding in each time interval T;

[0011] The power efficiency is calculated based on the collected power signal, and the reciprocal of the power efficiency is used to represent the copper loss degree;

[0012] Generate training samples for transformer copper loss prediction model;

[0013] Construct an improved time-series-aware neural network rTCN-Attention prediction model;

[0014] Training the prediction model: Based on the data of the training samples and the improved time series perception neural network rTCN-Attention prediction model, the final prediction model is trained;

[0015] The current operating condition data at time interval T is obtained, and the test samples are preprocessed to predict the copper loss degree at the next moment using the improved time series perception neural network rTCN-Attention prediction model;

[0016] The warning level is determined based on the predicted copper loss level.

[0017] In a second aspect, a transformer copper loss prediction system is disclosed, comprising:

[0018] The acquisition module is configured to: acquire historical operating data of the transformer, including: current signal, voltage signal, power signal and temperature information;

[0019] Preprocessing module: preprocesses the collected historical operating data to generate current waveforms, voltage waveforms and temperature line graphs of the primary winding and the secondary winding in each time interval T;

[0020] The power efficiency is calculated based on the collected power signal, and the reciprocal of the power efficiency is used to represent the copper loss degree;

[0021] Sample generation module: generates training samples for transformer copper loss prediction model;

[0022] Model building module: building an improved time series-aware neural network rTCN-Attention prediction model;

[0023] Training the prediction model: Based on the data of the training samples and the improved time series perception neural network rTCN-Attention prediction model, the final prediction model is trained;

[0024] Prediction module: obtain the current working condition data at time interval T, preprocess to obtain test samples, and use the improved time series perception neural network rTCN-Attention prediction model to predict the copper loss degree at the next moment;

[0025] Early warning module: Determines the early warning level based on the predicted copper loss level.

[0026] In a third aspect, an electronic device is disclosed, including a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the steps of the above-mentioned transformer copper loss prediction method are completed.

[0027] In a fourth aspect, a computer-readable storage medium is disclosed for storing computer instructions, which, when executed by a processor, complete the steps of the above-mentioned transformer copper loss prediction method.

[0028] Compared with the prior art, the present invention has the following beneficial effects:

[0029] 1. The present invention provides a transformer copper loss prediction method and system, which stacks voltage and current waveforms and temperature line graphs of operating condition information over a period of time into three-dimensional image data, and incorporates the phased state changes of the transformer over time into the copper loss prediction, thereby avoiding misleading the prediction results due to accidental state changes;

[0030] 2. The present invention designs a time-series perception neural network rTCN-Attention prediction model, which performs convolution processing on three-dimensional image data through a 2D convolution layer to obtain the dependency of the time series, and uses dilated convolution to expand the receptive field of the convolution layer, so that the network can capture the operating information of the transformer within the entire time interval T and find the dependency therein without increasing the number of parameters, thereby improving the prediction accuracy while ensuring the calculation speed; the output layer of the network is improved, and the last classification layer is replaced by a regression layer, so as to realize the prediction value of the copper loss degree, rather than a fuzzy classification category, and accurately provide prediction results and warning levels.

[0031] 3. The present invention designs a time-series perception neural network rTCN-Attention prediction model, which obtains the influence of the transformer state at each time in the input image data on the copper loss degree by connecting the channel attention mechanism in parallel to each convolutional layer, thereby improving the accuracy of the prediction results.

[0032] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0034] Figure 1 This is a flow chart of a transformer copper loss prediction method described in Embodiment 1 of the present invention.

[0035] Figure 2 Schematic diagram of the architecture of the timing-aware neural network rTCN-Attention prediction model described in Example 1 of the present invention. DETAILED DESCRIPTION

[0036] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0037] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.

[0038] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0039] Embodiment 1

[0040] In one or more embodiments, a transformer copper loss monitoring method is disclosed, such as Figure 1 As shown, the following steps are included:

[0041] Step 1: Collect historical operating data of the transformer, including current signal, voltage signal, power signal and temperature information; specifically:

[0042] The current signal is collected, and the current of the primary winding and the secondary winding is measured in real time using a current transmitter to obtain the initial current waveform diagrams of the primary winding and the secondary winding.

[0043] The voltage signal is collected, and the voltage of the primary winding and the secondary winding is measured in real time using a voltage sensor to obtain the initial voltage waveform of the primary winding and the secondary winding.

[0044] The power signal is collected and the power at the input and output ends of the transformer is measured using a power analyzer.

[0045] Collect temperature information and use temperature sensors to measure the temperature of the primary and secondary windings in real time when the transformer is running.

[0046] Step 2: Preprocess the collected historical operating data; specifically:

[0047] The collected initial current waveform, initial voltage waveform and temperature information are preprocessed, and the collected operating condition data are divided into segmented signals with time T as the interval. The initial current waveform and initial voltage waveform of the primary winding and the secondary winding in each time interval T are amplified in turn to enhance the amplitude of the signal so that the signal can be accurately processed in subsequent analysis; the Kalman filter is used for filtering to filter out the noise in the nonlinear system and the dynamic system; the current waveform and voltage waveform of the primary winding and the secondary winding in each time interval T are obtained; the temperature information is divided into several sample segments according to the time interval T, and the temperature value of each sample segment is adjusted to , the calculation formula is:

[0048]

[0049] in, is the normalized temperature value at time t, is the actual measured temperature value at time t, is the minimum temperature value of the sample segment, It is the maximum temperature value of this sample segment.

[0050] A primary winding temperature line graph and a secondary winding temperature line graph are generated according to the normalized temperature data.

[0051] Compared with directly using the voltage, current and temperature values ​​at a certain moment in history to predict the degree of copper loss, using the voltage waveform, current waveform and temperature line graph within the time interval can better obtain the changing information of the transformer working state, and enhance the ability to extract the time characteristics and contextual semantic features of the features according to the changing trends over time and the mutual influence.

[0052] Step 3: Calculate the power efficiency based on the collected power signal, and use the inverse of the power efficiency to represent the copper loss degree.

[0053] Calculate the power efficiency of the transformer based on the input power and output power of the transformer , the expression is as follows:

[0054]

[0055] in, is the time interval, is the transformer input power at time t, is the transformer output power at time t.

[0056] Power efficiency is used to characterize the degree of copper loss. The higher the power efficiency, the smaller the copper loss. The lower the power efficiency, the greater the copper loss. The degree of copper loss is the inverse of the power efficiency. The expression is as follows:

[0057]

[0058] in, Indicates the degree of copper loss.

[0059] Step 4: Generate training samples for the transformer copper loss prediction model. Preprocess the transformer historical operating data to obtain the current waveform, voltage waveform and temperature line graph of the primary winding and secondary winding in each time interval T. Splice them in the z-axis direction to form a three-dimensional image, transpose the three-dimensional image (x, y, z) to (z, y, x), and generate sample input data. The input data represents the change of data over time series in the third dimension. The waveform of each operating condition information at each time interval not only represents the current, voltage, and temperature values ​​at each moment, but also includes the change of each operating condition information in the time dimension. If only the operating condition information at a certain moment in one dimension is considered, the calculation of the copper loss degree will be affected by the occasional voltage and current, especially at the moment when the transformer increases or decreases the load, a sudden increase or decrease in current or voltage value is obtained, resulting in poor accuracy of the predicted copper loss degree and providing erroneous warning information. Therefore, the selection of voltage and current waveforms can capture the characteristics of the change trend and periodicity of the operating condition data within a certain time period. The temperature of the transformer is not like the voltage and current which can change suddenly. It is a relatively stable variable. It takes a period of time for the state change to cause the temperature change. Including the temperature in the data set of the prediction sample can ensure the stability of the prediction model, and using multiple variables to predict the copper loss of the future transformer can provide more accurate prediction results.

[0060] The copper loss degree calculated at the end time of the time interval T+1 in the historical data is used as the label of the sample data at the time interval T.

[0061] 80% of all samples are divided into training sets, and 20% of all samples are divided into validation sets.

[0062] Step 5: Build an improved time series perception neural network rTCN-Attention prediction model, such as Figure 2As shown in the figure, the backbone framework of the rTCN-Attention prediction model consists of three TCN convolution modules in parallel. The main network of each TCN convolution module is a 2D convolution layer, a batch normalization layer, a LeakyReLU layer, a 2D convolution layer, a batch normalization layer, a LeakyReLU layer, and a Dropout layer connected in sequence. Among them, the 2D convolution layer uses dilated convolution. The introduction of dilated convolution can increase the rate of increase of the receptive field, capture a wider range of contextual information, extract the effect of the transformer historical data on the current state in the time series, and reduce the number of network layers, so as to quickly train the network and extract features. In addition, the convolution layer in the time series-aware neural network is improved from a one-dimensional convolution to a two-dimensional convolution, so as to more effectively extract the deep semantic features of the constructed three-dimensional image data. A Dropout layer is added to each TCN convolution module to prevent overfitting.

[0063] A channel attention mechanism is added to the TCN convolution module, which is parallel to each convolution layer in the TCN convolution module. The channel attention mechanism consists of a global pooling layer, a convolution layer, an activation layer, a fully connected layer, and a softmax layer. The convolution kernel size of the convolution layer is 1×1, and the number of channels is the number of image frames of the input data in the z-axis direction. The number of channels of the fully connected layer is also the number of image frames of the input data in the z-axis direction. The weights with the same dimension as the number of channels are obtained, thereby obtaining the influence of the state of the transformer on the copper loss degree at each time point in the input image data.

[0064] Each convolution layer under the channel attention mechanism is specifically that after each convolution kernel of the convolution layer is multiplied by the weight obtained by the attention mechanism, the sum of the products of the convolution kernels and weights of all channels is the output of this convolution layer, expressed as:

[0065] ;

[0066] in, To increase the output of the convolutional layer of the attention mechanism; is the i-th convolution kernel of the convolution layer; is the weight of the i-th channel obtained by the attention mechanism; i is the number of feature map channels.

[0067] If only the time series-aware neural network is used to extract features, the network will attach the same importance to each moment of the three-dimensional image data, but ignores the fact that the copper loss degree at the next moment may be greatly affected by the transformer state at a closer time distance, but the influence of the state at some previous moments cannot be ignored. Therefore, the improved channel attention mechanism can autonomously learn to assign a larger weight to the moment with a greater impact on the predicted copper loss degree within the time interval, and a smaller weight to the moment with a smaller impact, thereby improving the accuracy of time series data prediction.

[0068] The regressionLayer is used to replace the classificationLayer at the end of the traditional TCN network, and the softmax of the previous layer is deleted, so that the network output is the regressed copper loss degree instead of the category.

[0069] Step 6: Train the prediction model. Input the sample data of the training set into the constructed improved time series perception neural network rTCN-Attention prediction model. Use the copper loss degree of historical data as a label to train the regression prediction model. Use ten-fold cross validation to verify the accuracy through the validation set. Save the model with the highest accuracy in the iterative process as the final prediction model.

[0070] Step 7: Obtain the current operating condition data at time interval T, preprocess to obtain test samples, and use the improved time series perception neural network rTCN-Attention prediction model to predict the copper loss degree at the next moment.

[0071] Step 8: Determine the warning level according to the predicted copper loss degree. When the predicted copper loss degree is less than the first preset copper loss standard, the transformer is in normal condition and no warning is required. When the predicted copper loss degree is greater than or equal to the first preset copper loss standard and less than the second preset copper loss standard, the transformer is in poor condition and a first-level alarm is issued. The transformer can be slightly adjusted in load and cooled. When the predicted copper loss degree is greater than the second preset copper loss standard, the transformer is in poor condition and a second-level alarm is issued. The transformer needs to be immediately adjusted in load and cooled.

[0072] Embodiment 2

[0073] In one or more embodiments, a transformer copper loss monitoring system is disclosed, specifically comprising:

[0074] The acquisition module is configured to: acquire historical operating data of the transformer, including: current signal, voltage signal, power signal and temperature information;

[0075] Preprocessing module: preprocesses the collected historical operating data to generate current waveforms, voltage waveforms and temperature line graphs of the primary winding and the secondary winding in each time interval T;

[0076] The power efficiency is calculated based on the collected power signal, and the reciprocal of the power efficiency is used to represent the copper loss degree;

[0077] Sample generation module: generates training samples for transformer copper loss prediction model;

[0078] Model building module: building an improved time series-aware neural network rTCN-Attention prediction model;

[0079] Training the prediction model: Based on the data of the training samples and the improved time series perception neural network rTCN-Attention prediction model, the final prediction model is trained;

[0080] Prediction module: obtain the current working condition data at time interval T, preprocess to obtain test samples, and use the improved time series perception neural network rTCN-Attention prediction model to predict the copper loss degree at the next moment;

[0081] Early warning module: Determines the early warning level based on the predicted copper loss level.

[0082] Embodiment 3

[0083] This embodiment provides an electronic device, including a memory and a processor, and computer instructions stored in the memory and running on the processor. When the computer instructions are run by the processor, the steps of the above transformer copper loss monitoring method are completed.

[0084] Embodiment 4

[0085] This embodiment provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the steps of the above transformer copper loss monitoring method are completed.

[0086] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0087] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0088] These computer program instructions can also be loaded onto a computer or other programmable data processing device, and a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0089] The description of each embodiment in the above embodiments has different emphases. For parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0090] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A transformer copper loss prediction method, characterized in that: include: Collect historical operating data of the transformer, including current signal, voltage signal, power signal and temperature information; Preprocess the collected historical operating condition data to generate current waveforms, voltage waveforms and temperature line graphs of the primary winding and the secondary winding in each time interval T; The power efficiency is calculated based on the collected power signal, and the reciprocal of the power efficiency is used to represent the copper loss degree; Generate training samples for transformer copper loss prediction model; Construct an improved time-series-aware neural network rTCN-Attention prediction model; Training the prediction model: Based on the data of the training samples and the improved time series perception neural network rTCN-Attention prediction model, the final prediction model is trained; The current operating condition data at time interval T is obtained, and the test samples are preprocessed to predict the copper loss degree at the next moment using the improved time series perception neural network rTCN-Attention prediction model; Determine the warning level based on the predicted copper loss level; The training samples of the transformer copper loss prediction model are generated by preprocessing the transformer historical operating condition data to obtain the current waveform diagram, voltage waveform diagram and temperature line diagram of the primary winding and the secondary winding in each time interval T, splicing them in the z-axis direction to form a three-dimensional image, transposing the three-dimensional image (x, y, z) to (z, y, x), generating sample input data, and the input data uses the third dimension to represent the change of data with time series; The copper loss degree calculated at the end time of time interval T+1 in the historical data is used as the label of the sample data at time interval T; 80% of all samples are divided into training sets, and 20% of all samples are divided into validation sets; Construct the improved time series perception neural network rTCN-Attention prediction model, the backbone framework of the rTCN-Attention prediction model is composed of three TCN convolution modules in parallel, and the main network of each TCN convolution module is a 2D convolution layer, a batch normalization layer, a LeakyReLU layer, a 2D convolution layer, a batch normalization layer, a LeakyReLU layer and a Dropout layer connected in sequence; The 2D convolution layer uses dilated convolution to capture more extensive context information and extract the effect of transformer historical data on the current state in the time series; A channel attention mechanism is added to the TCN convolution module, which is parallel to each convolution layer in the TCN convolution module. The channel attention mechanism consists of a global pooling layer, a convolution layer, an activation layer, a fully connected layer, and a softmax layer. The convolution kernel size of the convolution layer is 1×1, and the number of channels is the number of image frames of the input data in the z-axis direction. The number of channels of the fully connected layer is also the number of image frames of the input data in the z-axis direction. The weights of the same dimension as the number of channels are obtained, thereby obtaining the influence of the transformer state on the copper loss degree at each time point in the input image data; Each convolution layer under the channel attention mechanism is specifically that after each convolution kernel of the convolution layer is multiplied by the weight obtained by the attention mechanism, the sum of the products of the convolution kernels and weights of all channels is the output of this convolution layer, expressed as: ; in, To increase the output of the convolutional layer of the attention mechanism; is the i-th convolution kernel of the convolution layer; is the weight of the i-th channel obtained by the attention mechanism; i is the number of feature map channels; The regressionLayer is used to replace the last classificationLayer of the traditional TCN network, and the softmax of the previous layer is deleted, so that the network output is the regressed copper loss degree.

2. A transformer copper loss prediction method according to claim 1, characterized in that: The process of preprocessing the collected historical operating condition data is as follows: Preprocess the collected initial current waveform, initial voltage waveform, initial power waveform and temperature information, divide the collected working condition data into segmented signals with time T as interval, perform signal amplification processing on the initial current waveform and initial voltage waveform of the primary winding and the secondary winding in each time interval T in turn, and enhance the amplitude of the signal so that the signal can be accurately processed in subsequent analysis; The Kalman filter is used to filter out the noise in the nonlinear system and dynamic system; Obtaining the current waveform and voltage waveform of the primary winding and the secondary winding in each time interval T; The temperature information is divided into several sample segments according to the time interval T, and the temperature value of each sample segment is adjusted to , the calculation formula is: ; in, is the normalized temperature value at time t, is the actual measured temperature at time t, is the minimum temperature value of the sample segment, is the maximum temperature value of the sample segment; A primary winding temperature line graph and a secondary winding temperature line graph are generated according to the normalized temperature data.

3. A transformer copper loss prediction method according to claim 1, characterized in that: The power efficiency is calculated based on the collected power signal, and the reciprocal of the power efficiency is used to characterize the copper loss degree, specifically: Calculate the power efficiency of the transformer based on the input power and output power of the transformer , the expression is as follows: ; in, is the time interval, is the transformer input power at time t, is the transformer output power at time t; The power efficiency is used to characterize the degree of copper loss. The copper loss degree is the inverse of the power efficiency. The expression is as follows: ; in, Indicates the degree of copper loss.

4. A transformer copper loss prediction system, characterized in that: include: The acquisition module is configured to: acquire historical operating data of the transformer, including: current signal, voltage signal, power signal and temperature information; Preprocessing module: preprocesses the collected historical operating data to generate current waveforms, voltage waveforms and temperature line graphs of the primary winding and the secondary winding in each time interval T; The power efficiency is calculated based on the collected power signal, and the reciprocal of the power efficiency is used to represent the copper loss degree; Sample generation module: generates training samples for transformer copper loss prediction model; Model building module: building an improved time series-aware neural network rTCN-Attention prediction model; Training the prediction model: Based on the data of the training samples and the improved time series perception neural network rTCN-Attention prediction model, the final prediction model is trained; Prediction module: obtain the current working condition data at time interval T, preprocess to obtain test samples, and use the improved time series perception neural network rTCN-Attention prediction model to predict the copper loss degree at the next moment; Early warning module: determines the early warning level according to the predicted copper loss degree; The training samples of the transformer copper loss prediction model are generated by preprocessing the transformer historical operating condition data to obtain the current waveform diagram, voltage waveform diagram and temperature line diagram of the primary winding and the secondary winding in each time interval T, splicing them in the z-axis direction to form a three-dimensional image, transposing the three-dimensional image (x, y, z) to (z, y, x), generating sample input data, and the input data uses the third dimension to represent the change of data with time series; The copper loss degree calculated at the end time of time interval T+1 in the historical data is used as the label of the sample data at time interval T; 80% of all samples are divided into training sets, and 20% of all samples are divided into validation sets; Construct the improved time series perception neural network rTCN-Attention prediction model, the backbone framework of the rTCN-Attention prediction model is composed of three TCN convolution modules in parallel, and the main network of each TCN convolution module is a 2D convolution layer, a batch normalization layer, a LeakyReLU layer, a 2D convolution layer, a batch normalization layer, a LeakyReLU layer and a Dropout layer connected in sequence; The 2D convolution layer uses dilated convolution to capture more extensive context information and extract the effect of transformer historical data on the current state in the time series; A channel attention mechanism is added to the TCN convolution module, which is parallel to each convolution layer in the TCN convolution module. The channel attention mechanism consists of a global pooling layer, a convolution layer, an activation layer, a fully connected layer, and a softmax layer. The convolution kernel size of the convolution layer is 1×1, and the number of channels is the number of image frames of the input data in the z-axis direction. The number of channels of the fully connected layer is also the number of image frames of the input data in the z-axis direction. The weights of the same dimension as the number of channels are obtained, thereby obtaining the influence of the transformer state on the copper loss degree at each time point in the input image data; Each convolution layer under the channel attention mechanism is specifically that after each convolution kernel of the convolution layer is multiplied by the weight obtained by the attention mechanism, the sum of the products of the convolution kernels and weights of all channels is the output of this convolution layer, expressed as: ; in, To increase the output of the convolutional layer of the attention mechanism; is the i-th convolution kernel of the convolution layer; is the weight of the i-th channel obtained by the attention mechanism; i is the number of feature map channels; The regressionLayer is used to replace the last classificationLayer of the traditional TCN network, and the softmax of the previous layer is deleted, so that the network output is the regressed copper loss degree.

5. An electronic device, characterized in that: The invention comprises a memory and a processor and computer instructions stored in the memory and executed on the processor. When the computer instructions are executed by the processor, the transformer copper loss prediction method according to any one of claims 1 to 3 is completed.

6. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, complete the transformer copper loss prediction method according to any one of claims 1 to 3.