An unbalanced partial discharge pattern recognition method based on multi-task learning and SMOTE

By generating minority class synthetic samples through multi-task learning and the SMOTE method, a multi-task learning model with a shared feature extraction network and classification branches is constructed. This solves the class bias problem caused by imbalanced partial discharge samples, improves the identification ability and accuracy of minority class discharge, and achieves efficient identification of power equipment.

CN123179098APending Publication Date: 2026-11-27GUANGZHOU KETENG INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611685640.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing deep learning models suffer from class bias in partial discharge pattern recognition due to imbalanced partial discharge samples, which leads to a decrease in their ability to identify minority classes of discharges.

Method used

We employ multi-task learning and the SMOTE (Synthetic Minority Oversampling Technique) method. By generating synthetic minority samples, we construct a multi-task learning model with a shared feature extraction network, classification branch, and regression branch. We utilize SMOTE to generate synthetic minority samples in the feature space and combine it with a weighted multi-task loss function to improve the identification ability of minority discharges.

Benefits of technology

It alleviates the imbalance problem of partial discharge sample data, avoids class bias in the model training process, improves the ability and accuracy of identifying minority discharges, and enhances the robustness and interpretability of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179098A_ABST
    Figure CN123179098A_ABST
Patent Text Reader

Abstract

The application relates to an unbalanced partial discharge mode recognition method based on multi-task learning and SMOTE. The method comprises the following steps: acquiring a partial discharge sample signal of a power equipment; generating an original phase resolution partial discharge spectrum corresponding to the partial discharge sample signal; performing a synthetic minority oversampling technique (SMOTE) processing on the original phase resolution partial discharge spectrum to obtain a training data set of a to-be-trained multi-task learning model; training the to-be-trained multi-task learning model according to the training data set to obtain a trained multi-task learning model; and determining a discharge mode recognition result of the power equipment according to the trained multi-task learning model. The method can improve the recognition ability of the model for the minority discharge.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent detection technology for power equipment, and in particular to a method for identifying unbalanced partial discharge patterns based on multi-task learning and Synthetic Minority Oversampling Technique (SMOTE). Background Technology

[0002] Electrical equipment is a core component for the safe and stable operation of a power system, and its insulation condition directly determines the reliability and service life of the power system. Partial discharge, as an early characteristic signal of insulation aging and potential faults, is an important basis for diagnosing the health status of electrical equipment. By detecting and pattern recognizing partial discharge signals, early identification of internal defects in equipment (such as air gaps, impurities, cracks, etc.) can be achieved, facilitating preventive maintenance before the fault evolves into a breakdown accident.

[0003] In recent years, with the development of deep learning technology, end-to-end models such as Convolutional Neural Networks (CNN) and Residual Networks (ResNet) have been applied to the field of partial discharge pattern recognition, effectively improving the accuracy of discharge type identification. However, most existing deep learning models are trained on balanced datasets constructed under laboratory conditions. In real industrial scenarios, partial discharge samples often exhibit an imbalanced distribution of classes. The majority class samples (discharge samples corresponding to normal operating conditions or common defects) are abundant, while minority class samples with key indicative significance, such as corona discharge and surface discharge, are very scarce. This leads to class bias in model training, causing the model to tend to learn the features of the majority class samples, resulting in a decrease in the ability to identify minority class discharges. Summary of the Invention

[0004] Therefore, it is necessary to provide a partial discharge pattern recognition method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the identification capability of a few types of discharges, in order to address the above-mentioned technical problems.

[0005] Firstly, this application provides a method for identifying unbalanced partial discharge patterns based on multi-task learning and SMOTE, including:

[0006] Acquire partial discharge sample signals from power equipment;

[0007] Generate the original phase-resolved partial discharge map corresponding to the partial discharge sample signal;

[0008] The original phase-resolved partial discharge map is subjected to synthetic minority class oversampling to obtain the training dataset for the multi-task learning model to be trained.

[0009] Based on the training dataset, the multi-task learning model to be trained is trained to obtain the trained multi-task learning model.

[0010] Based on the trained multi-task learning model, the discharge mode recognition result of the power equipment is determined.

[0011] In one embodiment, the step of performing synthetic minority class oversampling on the original phase-resolved partial discharge spectrum to obtain the training dataset for the multi-task learning model to be trained includes:

[0012] Convert the original phase-resolved partial discharge pattern of the preset type into a one-dimensional feature vector;

[0013] The synthesized vector is determined based on the one-dimensional feature vector and the nearest neighbor vector of the one-dimensional feature vector;

[0014] Generate the synthetic phase-resolved partial discharge spectrum corresponding to the synthetic vector;

[0015] The synthesized phase-resolved partial discharge map is added to the original phase-resolved partial discharge map to obtain the training dataset.

[0016] In one embodiment, the multi-task learning model to be trained includes a shared feature extraction network, a classification branch, and a regression branch;

[0017] The step of training the multi-task learning model to be trained based on the training dataset to obtain the trained multi-task learning model includes:

[0018] Based on the shared feature extraction network, feature extraction is performed on the training data in the training dataset to obtain the shared features of the training data.

[0019] The shared features are input into the classification branch to obtain the discharge pattern recognition result of the training data, and the classification loss value corresponding to the discharge pattern recognition result is determined.

[0020] The shared features are input into the regression branch to obtain the phase distribution histogram of the training data, and the regression loss value corresponding to the phase distribution histogram is determined.

[0021] The multi-task learning model to be trained is trained based on the classification loss value and the regression loss value to obtain the trained multi-task learning model.

[0022] In one embodiment, determining the discharge mode recognition result of the power equipment based on the trained multi-task learning model includes:

[0023] Acquire the partial discharge signal of the power equipment;

[0024] Generate a phase-resolved partial discharge map corresponding to the partial discharge signal;

[0025] The phase-resolved partial discharge map is input into the trained multi-task learning model to obtain the discharge pattern recognition result and phase distribution histogram corresponding to the partial discharge signal.

[0026] The discharge pattern recognition results and the phase distribution histogram are displayed.

[0027] In one embodiment, the power equipment is equipped with an ultra-high frequency sensor or a high frequency current transformer;

[0028] The acquisition of partial discharge sample signals from power equipment includes:

[0029] Receive the partial discharge sample signal from the ultra-high frequency sensor or the high frequency current transformer.

[0030] In one embodiment, generating the original phase-resolved partial discharge map corresponding to the partial discharge sample signal includes:

[0031] Background noise and interference pulses are removed from the partial discharge sample signal to obtain the partial discharge pulse;

[0032] The original phase-resolved partial discharge pattern is generated based on the amplitude and phase of the partial discharge pulse.

[0033] Secondly, this application also provides a device for identifying unbalanced partial discharge patterns based on multi-task learning and SMOTE, comprising:

[0034] The acquisition module is used to acquire partial discharge sample signals from power equipment.

[0035] The conversion module is used to generate the original phase-resolved partial discharge map corresponding to the partial discharge sample signal;

[0036] The synthesis module is used to perform minority class oversampling processing on the original phase-resolved partial discharge spectrum to obtain the training dataset of the multi-task learning model to be trained.

[0037] The training module is used to train the multi-task learning model to be trained based on the training dataset, so as to obtain the trained multi-task learning model.

[0038] The identification module is used to determine the discharge mode identification result of the power equipment based on the trained multi-task learning model.

[0039] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in any of the first aspects above.

[0040] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any of the first aspects above.

[0041] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in any of the first aspects above.

[0042] The aforementioned method, apparatus, computer device, computer-readable storage medium, and computer program product for imbalanced partial discharge pattern recognition based on multi-task learning and SMOTE acquires partial discharge sample signals from power equipment, generates original phase-resolved partial discharge maps corresponding to the partial discharge sample signals, performs synthetic minority class oversampling processing on the original phase-resolved partial discharge maps to obtain the training dataset for the multi-task learning model to be trained, trains the multi-task learning model based on the training dataset, and determines the discharge pattern recognition result of the power equipment based on the trained multi-task learning model. It can generate synthetic minority class samples in the feature space, increasing the number of minority class samples, alleviating the imbalance of partial discharge sample data, avoiding class bias in the model during training, and improving the model's ability to recognize minority class discharges. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 This is a flowchart illustrating an embodiment of an unbalanced partial discharge pattern recognition method based on multi-task learning and SMOTE.

[0045] Figure 2 This is a flowchart illustrating an unbalanced partial discharge pattern recognition method based on multi-task learning and SMOTE in another embodiment.

[0046] Figure 3This is a flowchart illustrating the unbalanced partial discharge pattern recognition method based on multi-task learning and SMOTE in another embodiment.

[0047] Figure 4 This is a structural block diagram of an unbalanced partial discharge pattern recognition device based on multi-task learning and SMOTE in one embodiment.

[0048] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0050] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0051] In one exemplary embodiment, such as Figure 1 As shown, a method for identifying unbalanced partial discharge patterns based on multi-task learning and SMOTE is provided. This embodiment illustrates the application of this method to a terminal. It is understood that this method can also be applied to a server, and to a system including both a terminal and a server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0052] Step S102: Obtain the partial discharge sample signal of the power equipment.

[0053] The electrical equipment includes, but is not limited to, transformers, gas-insulated switchgear (GIS), and cable terminals. Partial discharge sample signals refer to the partial discharge signals from electrical equipment used to train the multi-task learning model.

[0054] Optionally, an ultra-high frequency (UHF) sensor or a high-frequency current transformer (HFCT) can be installed on the power equipment to continuously collect partial discharge signals at a preset sampling rate (e.g., 1 GS / s). The collection time can be no less than a preset duration (e.g., 24 hours) to cover the partial discharge activities of the power equipment under different operating conditions. The UHF sensor or high-frequency current transformer can transmit the collected partial discharge signals to the terminal in real time through a high-speed serial bus interface (Peripheral Component Interconnect Express, PCIe) or fiber optic interface. The terminal stores the received partial discharge signals as partial discharge sample signals.

[0055] Step S104: Generate the original phase-resolved partial discharge map corresponding to the partial discharge sample signal.

[0056] Among them, the original phase-resolved partial discharge map refers to the unexpanded phase-resolved partial discharge (PRPD) map generated based on the partial discharge sample signal.

[0057] Optionally, the terminal can perform filtering and noise reduction on the partial discharge sample signal and extract pulses to remove background noise and interference pulses, obtaining a clean partial discharge pulse sequence. Based on the amplitude and phase information of the partial discharge pulses, a PRPD map is plotted to obtain the original PRPD map. It can be understood that each original PRPD map corresponds to one partial discharge pulse sequence; by collecting multiple partial discharge pulse sequences from power equipment, multiple original PRPD maps can be obtained.

[0058] Step S106: Perform synthetic minority class oversampling on the original phase-resolved partial discharge map to obtain the training dataset for the multi-task learning model to be trained.

[0059] Optionally, the terminal can flatten each original PRPD map into a one-dimensional feature vector and map it to a feature space to obtain multiple one-dimensional feature vectors in the feature space. The original PRPD map may have a discharge type label. The number of maps is counted by grouping them according to the label. If the number is less than a preset threshold, it is regarded as a minority class sample. For example, the original PRPD map under the corona discharge type. open, Less than the preset threshold Then consider this The original PRPD map is a minority class sample. The terminal can calculate the nearest neighbor sample of each minority class sample in the feature space based on the one-dimensional feature vector. Interpolation is performed between the minority class sample and its nearest neighbor sample to generate a synthetic sample corresponding to each minority class sample. The terminal can reconstruct the synthetic sample into a synthetic PRPD map, merge the synthetic PRPD map with the original PRPD map to form a balanced training dataset, and use this training dataset to train a multi-task learning model.

[0060] Step S108: Train the multi-task learning model to be trained according to the training dataset to obtain the trained multi-task learning model.

[0061] Among them, the multi-task learning model refers to a model that can complete classification tasks and discharge phase distribution regression tasks. During the feature extraction process, this model can simultaneously learn the intrinsic relationship between discharge type and its physical phase characteristics.

[0062] Optionally, the multi-task learning model to be trained may include a shared feature extraction network, a classification branch, and a regression branch. The shared feature extraction network may adopt a pre-trained ResNet-50 structure, removing its original fully connected layers and retaining convolutional layers to extract general features. The classification branch may consist of a global average pooling layer and two fully connected layers, outputting the probabilities of multiple discharge modes through Softmax. The regression branch may output the phase distribution histogram of the partial discharge sample signal to assist the model in learning representations related to the physical characteristics of the discharge.

[0063] The terminal can sequentially input the PRPD maps from the training dataset into the multi-task learning model to be trained, and obtain the discharge pattern recognition results output by the classification branch and the phase distribution histogram output by the regression branch. The classification loss is calculated based on the discharge pattern recognition results, and the regression loss is calculated based on the phase distribution histogram. The total loss value of the multi-task learning model is determined based on the classification loss and the regression loss. If the total loss value does not converge (for example, the total loss value is less than the preset value, or the difference between the total loss values ​​of two adjacent iterations is less than the preset value), the model parameters are adjusted, and the above process is iterated until the total loss value converges. The final multi-task learning model is then taken as the trained multi-task learning model.

[0064] Step S110: Determine the discharge mode recognition result of the power equipment based on the trained multi-task learning model.

[0065] Optionally, the terminal can preprocess the real-time acquired partial discharge signals and generate a PRPD map. The obtained PRPD map is then input into the trained multi-task learning model to obtain the discharge pattern recognition result output by the classification branch and the phase distribution histogram output by the regression branch. The terminal can display the discharge pattern recognition result and the phase distribution histogram in real time through a graphical interface.

[0066] The aforementioned method for imbalanced partial discharge pattern recognition based on multi-task learning and SMOTE acquires partial discharge sample signals from power equipment, generates original phase-resolved partial discharge maps corresponding to the partial discharge sample signals, performs synthetic minority class oversampling on the original phase-resolved partial discharge maps to obtain the training dataset for the multi-task learning model to be trained, trains the multi-task learning model based on the training dataset, and determines the discharge pattern recognition result of the power equipment based on the trained multi-task learning model. It can generate synthetic minority class samples in the feature space, increasing the number of minority class samples, alleviating the imbalance of partial discharge sample data, avoiding class bias in the model during training, and improving the model's ability to recognize minority class discharges.

[0067] In an exemplary embodiment, step S106 may specifically include: converting the original phase-resolved partial discharge map of a preset type into a one-dimensional feature vector; determining a synthetic vector based on the one-dimensional feature vector and its nearest neighbor vectors; generating a synthetic phase-resolved partial discharge map corresponding to the synthetic vector; and adding the synthetic phase-resolved partial discharge map to the original phase-resolved partial discharge map to obtain a training dataset.

[0068] Here, the preset type refers to the discharge type corresponding to the minority class of samples, such as corona discharge and surface discharge. The nearest neighbor vector refers to the one-dimensional feature vector that is adjacent to the current one-dimensional feature vector. The synthesized vector refers to the synthesized one-dimensional feature vector. The synthesized PRPD map refers to the PRPD map obtained based on the synthesized vector.

[0069] Optionally, the terminal can flatten the original PRPD map corresponding to a few types of partial discharge sample signals, such as corona discharge and surface discharge, into a one-dimensional feature vector and map it to a feature space, obtaining multiple one-dimensional feature vectors in the feature space. For each one-dimensional feature vector, the terminal can determine its nearest neighbor vectors (one or more). The terminal can interpolate between the one-dimensional feature vector and each nearest neighbor vector to generate a synthetic vector corresponding to the one-dimensional feature vector. The terminal can reconstruct the PRPD map from the synthetic vector and merge it with the original PRPD map to obtain the training dataset for the multi-task learning model. For example, for corona discharge types... The original PRPD map is flattened into one-dimensional feature vectors, yielding the feature space. For a one-dimensional feature vector , can Calculate and find the match in each one-dimensional feature vector. nearest neighbor One-dimensional feature vectors are obtained nearest neighbor vectors ,exist and Linear interpolation is performed between them according to a random proportion within a preset interval to obtain... The composite vectors are used to reconstruct the PRPD map, resulting in... A synthetic PRPD map, Synthetic PRPD patterns and corona discharge types The original PRPD maps were merged and used together as training data in the training dataset.

[0070] In this embodiment, the original phase-resolved partial discharge map of a preset type is converted into a one-dimensional feature vector. Based on the one-dimensional feature vector and its nearest neighbor vector, a synthetic vector is determined, and a synthetic phase-resolved partial discharge map corresponding to the synthetic vector is generated. The synthetic phase-resolved partial discharge map is added to the original phase-resolved partial discharge map to obtain a training dataset. This can increase the number of minority class samples and alleviate the problem of class imbalance in the training dataset.

[0071] In practical applications, partial discharge signals may contain multidimensional physical correlation features. For example, there may be a relationship between discharge type and phase distribution. Utilizing these multidimensional physical correlation features for physical constraints during the feature learning phase can increase the interpretability of the decision. In an exemplary embodiment, the multi-task learning model to be trained includes a shared feature extraction network, a classification branch, and a regression branch. Step S108 can specifically include: extracting features from the training data in the training dataset based on the shared feature extraction network to obtain shared features of the training data; inputting the shared features into the classification branch to obtain the discharge pattern recognition result of the training data and determining the classification loss value corresponding to the discharge pattern recognition result; inputting the shared features into the regression branch to obtain the phase distribution histogram of the training data and determining the regression loss value corresponding to the phase distribution histogram; and training the multi-task learning model to be trained based on the classification loss value and the regression loss value to obtain the trained multi-task learning model.

[0072] Among them, the shared feature extraction network refers to a network that automatically mines image features from the PRPD map through convolution and pooling operations, providing common feature inputs for subsequent classification and regression branches. This allows the two branches to no longer extract features independently, achieving feature sharing. Shared features refer to PRPD map features that are simultaneously supplied to both the classification and regression branches, including but not limited to the amplitude-phase distribution, texture, and morphology of the PRPD map.

[0073] In this model, both the classification and regression branches are sub-network modules of the multi-task learning model. The discharge pattern recognition result can be, but is not limited to, the insulation discharge type determined by the model from the input PRPD map. The classification loss value refers to the task loss value of the classification branch, used to measure the difference between the model's predicted discharge type probability distribution and the actual sample labels. The phase distribution histogram can be a one-dimensional histogram vector obtained by statistically analyzing the number of discharge pulses in each phase interval of the power frequency within the PRPD map; it is used to describe which phase angles the discharge events mainly occur at, reflecting the physical characteristics of partial discharge. The regression loss value refers to the task loss value of the regression branch, used to measure the numerical difference between the phase distribution histogram predicted by the network and the phase distribution histogram obtained from the actual PRPD statistics.

[0074] Optionally, the terminal can input the training data from the training dataset into a shared feature extraction network. The shared feature extraction network extracts features from the training data to obtain shared features. These shared features are then input into a classification branch and a regression branch, respectively. The classification branch yields the discharge pattern recognition result of the training data, and the regression branch yields the phase distribution histogram of the training data. The terminal can calculate the classification loss value based on the discharge pattern recognition result and the regression loss value based on the phase distribution histogram. The total loss value is obtained by summing the classification loss value and the regression loss value. The multi-task learning model is then iteratively trained based on the total loss value until the total loss value converges, resulting in a trained multi-task learning model.

[0075] In practical applications, the shared feature extraction network can adopt a pre-trained ResNet-50 structure, removing its original fully connected layers and retaining convolutional layers to extract general features. The classification branch can consist of a global average pooling layer and two fully connected layers, outputting the probabilities of multiple discharge modes through Softmax, and taking the category label corresponding to the maximum probability as the discharge mode recognition result. The regression branch can output the phase distribution histogram of the partial discharge sample signal to assist the model in learning representations related to the physical characteristics of the discharge. The task loss function of the classification branch can use cross-entropy loss to measure the difference between the discharge type predicted by the model and the true sample label, obtaining the classification loss value. The task loss function of the regression branch can use mean squared error (MSE) to measure the numerical difference between the phase distribution histogram predicted by the network and the phase distribution histogram obtained from the actual PRPD statistics, obtaining the regression loss value. The overall model loss function can be defined as a weighted sum of the classification loss and the regression loss.

[0076] ;

[0077] in, Represents classification loss. Indicates regression loss, and To lose weight, This represents the total loss.

[0078] In this embodiment, features are extracted from the training data in the training dataset using a shared feature extraction network to obtain shared features. These shared features are then input into the classification branch to obtain the discharge pattern recognition result of the training data. The classification loss value corresponding to the discharge pattern recognition result is determined. The shared features are then input into the regression branch to obtain the phase distribution histogram of the training data. The regression loss value corresponding to the phase distribution histogram is determined. Based on the classification loss value and the regression loss value, the multi-task learning model to be trained is trained to obtain the trained multi-task learning model. In addition to the classification task, a discharge phase distribution regression task can be added, allowing the model to learn the intrinsic relationship between the discharge type and its physical phase features during the feature extraction process, thereby improving the robustness and physical interpretability of the feature representation.

[0079] In an exemplary embodiment, step S110 may specifically include: acquiring the partial discharge signal of the power equipment; generating a phase-resolved partial discharge map corresponding to the partial discharge signal; inputting the phase-resolved partial discharge map into the trained multi-task learning model to obtain the discharge pattern recognition result and the phase distribution histogram corresponding to the partial discharge signal; and displaying the discharge pattern recognition result and the phase distribution histogram.

[0080] Among them, the partial discharge signal can be the partial discharge signal of the power equipment acquired in real time for inference.

[0081] Optionally, the terminal can acquire real-time partial discharge signals from power equipment, convert the partial discharge signals into PRPD maps, and input them into a trained multi-task learning model. The trained multi-task learning model can output discharge pattern recognition results through a classification branch and output a phase distribution histogram through a regression branch. The terminal can display the discharge pattern recognition results and phase distribution histogram in real time through a graphical interface.

[0082] In this embodiment, by acquiring the partial discharge signal of the power equipment, a phase-resolved partial discharge map corresponding to the partial discharge signal is generated. The phase-resolved partial discharge map is then input into the trained multi-task learning model to obtain the discharge pattern recognition result and phase distribution histogram corresponding to the partial discharge signal. The discharge pattern recognition result and phase distribution histogram are displayed. Based on the multi-task learning model with enhanced minority class learning effect, the discharge type and corresponding phase distribution can be inferred, thereby enhancing the accuracy of minority class discharge type recognition.

[0083] In an exemplary embodiment, an ultra-high frequency sensor or a high frequency current transformer is installed on the power equipment; the above step S102 may specifically include: receiving a partial discharge sample signal from the ultra-high frequency sensor or the high frequency current transformer.

[0084] Optionally, ultra-high frequency sensors or high-frequency current transformers can be installed on power equipment such as transformers, GIS, and cable terminals. The ultra-high frequency sensors or high-frequency current transformers can continuously collect partial discharge signals at a sampling rate of 1 GS / s, and the collection time can be no less than 24 hours to cover the partial discharge activities of power equipment under different operating conditions. The collected partial discharge signals can be transmitted to the terminal in real time through PCIe or fiber optic interface. The terminal stores and processes the received partial discharge signals as partial discharge sample signals.

[0085] In this embodiment, training data can be acquired by receiving partial discharge sample signals from an ultra-high frequency sensor or a high frequency current transformer.

[0086] In an exemplary embodiment, step S104 may specifically include: removing background noise and interference pulses from the partial discharge sample signal to obtain a partial discharge pulse; and generating an original phase-resolved partial discharge map based on the amplitude and phase of the partial discharge pulse.

[0087] Optionally, the partial discharge signals acquired on-site may be mixed with power grid noise and equipment electromagnetic interference. The terminal can filter out environmental background noise and remove interfering pulses from the acquired partial discharge sample signals to obtain a clean partial discharge pulse sequence. Each pulse in the partial discharge pulse sequence has amplitude and phase. The amplitude reflects the discharge intensity, and the phase represents the angular position of the partial discharge pulse occurrence within the power frequency voltage cycle. A partial discharge pulse (PRPD) map is plotted based on the amplitude and phase information of the partial discharge pulses. For example, the power frequency voltage phase (0°~360°) can be used as the horizontal axis, and the discharge pulse amplitude as the vertical axis to plot the PRPD map. Each point in the PRPD map represents a partial discharge event. The PRPD map can be standardized and saved at a fixed resolution (e.g., 224×224 pixels) as training data.

[0088] In this embodiment, by removing background noise and interference pulses from the partial discharge sample signal, a partial discharge pulse is obtained. Based on the amplitude and phase of the partial discharge pulse, an original phase-resolved partial discharge map is generated, which can ensure the reliability of the partial discharge sample signal and thus improve the accuracy of model training.

[0089] To facilitate a deeper understanding of the embodiments of this application by those skilled in the art, a specific example will be used for illustration below.

[0090] This application provides a method for imbalanced partial discharge pattern recognition based on multi-task learning and SMOTE, which is used to achieve high-precision identification and diagnosis of partial discharge (PD) patterns in power equipment under class imbalance conditions. The method first collects partial discharge signals during the operation of power equipment and generates PRPD maps through preprocessing steps such as filtering and pulse extraction to preserve the phase-amplitude features of the discharge. Then, SMOTE is used to generate linear interpolation data of minority class samples in the feature space, alleviating the class imbalance problem from a data perspective. Based on this, a ResNet-based multi-task learning model is constructed, consisting of a shared feature extraction network, a classification branch, and a regression branch. The classification branch distinguishes the discharge type, and the regression branch predicts the discharge phase distribution histogram, thus achieving joint feature modeling of "type-phase". The discharge type classification task and the discharge phase distribution regression task are learned simultaneously, and the physical correlation between the two is used to enhance the robustness and interpretability of feature learning. By introducing a weighted multi-task loss function and a class weight mechanism, the learning of minority class samples is strengthened and the overall generalization ability is improved. This method improves the recognition accuracy and recall rate of minority classes such as corona discharge and surface discharge on real unbalanced partial discharge datasets. It has strong robustness and interpretability and can be widely used in intelligent detection and online insulation status assessment of power equipment such as transformers, GIS, and cable terminals.

[0091] Figure 2 A flowchart illustrating an unbalanced partial discharge pattern recognition method based on multi-task learning and SMOTE is provided. Figure 2 The method for identifying unbalanced partial discharge patterns based on multi-task learning and SMOTE may include the following steps:

[0092] S201, acquire partial discharge signals;

[0093] S202, preprocess the acquired partial discharge signals to generate PRPD maps;

[0094] S203, using SMOTE to perform sample augmentation on PRPD image data to balance the number of samples in each category;

[0095] S204, a multi-task learning model is built and trained based on the enhanced dataset. The model consists of a shared feature extraction network, a classification branch and a regression branch.

[0096] S205 inputs the pre-processed partial discharge signals collected in real time into the trained multi-task learning model and outputs the discharge pattern recognition results.

[0097] By employing the aforementioned method and integrating SMOTE oversampling with a multi-task learning framework, this application collaboratively addresses the issues of imbalanced partial discharge samples and singular feature learning at both the feature space and model structure levels. Specifically, the SMOTE algorithm generates linear interpolation data for minority class samples in the feature space, effectively expanding the distribution range of training data and mitigating class bias in deep models under extreme imbalance conditions. Simultaneously, a multi-task learning model is constructed, incorporating a shared feature extraction network and task-specific branches. This introduces a discharge phase distribution regression task alongside the discharge type classification task, enabling the model to integrate physical constraint information during the feature learning phase, thereby enhancing the discriminative ability and interpretability of discharge features. The shared network uses a pre-trained ResNet structure to extract general spatial texture features. The classification branch outputs discharge mode probabilities, and the regression branch predicts the phase distribution histogram, achieving deep modeling of the joint "type-phase" features of partial discharge signals. By introducing a weighted multi-task loss function, the model significantly improves the recognition recall rate of minority class discharges (such as corona discharge and surface discharge) while maintaining overall generalization performance.

[0098] In an exemplary embodiment, step S201 may specifically include:

[0099] Install ultra-high frequency sensors or high frequency current transformers on power equipment (such as transformers, GIS, or cable terminals) to continuously collect partial discharge signals at a sampling rate of 1 GS / s.

[0100] The data collection time shall be no less than 24 hours to cover the partial discharge activity of the equipment under different operating conditions;

[0101] The acquired raw signals are transmitted in real time to the data acquisition module for storage and processing via PCIe or fiber optic interface.

[0102] In an exemplary embodiment, step S202 above may specifically include:

[0103] The original partial discharge signal is filtered and denoised, and pulses are extracted to remove background noise and interference pulses.

[0104] PRPD maps were plotted based on the amplitude and phase information of the discharge pulses.

[0105] The PRPD images were normalized and saved at a fixed resolution (224×224 pixels) and used as input samples for the deep learning model.

[0106] In an exemplary embodiment, step S203 above may specifically include:

[0107] Flatten the PRPD image into a one-dimensional feature vector and map it to the feature space;

[0108] Calculate in the feature space for each minority class sample Five (preferably) nearest neighbor samples;

[0109] Synthetic samples are generated by linear interpolation between minority class samples and their nearest neighbors at a random ratio between 0.2 and 0.8.

[0110] The synthetic samples are reconstructed into PRPD images and merged with the original data to form a balanced training set, thereby alleviating the class imbalance problem.

[0111] In an exemplary embodiment, step S204 above may specifically include:

[0112] The shared feature extraction network uses a pre-trained ResNet-50 structure, removing its original fully connected layers and retaining the convolutional layers to extract general features;

[0113] The classification branch consists of a global average pooling layer and two fully connected layers, and outputs the probability of multiple discharge modes through Softmax.

[0114] The phase distribution histogram of the discharge signal output by the regression branch is preferably divided into 36 bins, with each bin representing 10°, to assist the model in learning representations related to the physical characteristics of the discharge.

[0115] The overall loss function of the model is defined as the weighted sum of the classification loss and the regression loss:

[0116] ;

[0117] in, , The classification loss function is the cross-entropy loss function that introduces class weights, where the class weights are proportional to the reciprocal of the number of samples of each class in the training set, in order to enhance the learning effect of minority class samples.

[0118] In an exemplary embodiment, step S205 may specifically include:

[0119] The same preprocessing and spectrum generation steps are performed on the real-time acquired partial discharge signals;

[0120] Input the obtained PRPD map into the trained multi-task learning model;

[0121] The classification branch outputs the discharge pattern recognition results, and the regression branch outputs the phase distribution histogram prediction values.

[0122] The system displays the identified categories and their confidence levels in real time through a graphical interface, enabling online monitoring and early warning.

[0123] The aforementioned partial discharge pattern recognition method alleviates the imbalance problem of partial discharge data by introducing the SMOTE algorithm into the feature space to generate synthetic minority class samples, effectively preventing class bias during model training and improving the learning performance of the minority class. Furthermore, by adding a discharge phase distribution regression task in addition to the classification task, the model learns the intrinsic relationship between discharge type and its physical phase characteristics during feature extraction, thereby improving the robustness and physical interpretability of feature representation. In addition, the shared feature extraction network and dual-task branch design improve feature utilization and reduce redundant model parameters, achieving a balance between high accuracy and high efficiency. Furthermore, the introduction of a class weight mechanism into the classification loss function allows the model to automatically strengthen the learning of minority class samples during training, further improving recognition performance under imbalanced conditions.

[0124] To better illustrate the technical solutions of the embodiments of this application, a specific example is used for explanation.

[0125] This embodiment uses a classic partial discharge (PRPD) dataset, covering three typical discharge types: internal discharge, surface discharge, and corona discharge. To achieve fine-grained identification of minority class defects, this embodiment focuses on surface discharge and corona discharge as the primary experimental subjects. The original dataset contains approximately 600 images per class, totaling about 2000 PRPD images, with a resolution of 570×440 pixels. In the experiment, the dataset was divided into training and validation sets in an 8:2 ratio, and the training set underwent SMOTE oversampling enhancement to mitigate class bias caused by insufficient minority class samples.

[0126] During model training, a multi-task learning model based on a pre-trained ResNet network is used for feature extraction and joint task learning. A shared feature extraction network extracts general spatial texture features; the classification branch outputs the probability of the discharge type, and the regression branch predicts the phase distribution histogram, thereby fully exploring amplitude-phase complementary features and their physical correlation information. The optimization algorithm chosen is Adam, with an initial learning rate set to... The weight decay coefficient is The batch size is 16, the number of training rounds is set to 80, and the overall loss function of the model is a weighted sum of the classification loss and the regression loss. , The classification loss uses class weighted cross-entropy to reinforce minority class learning.

[0127] Experimental results show that the multi-task learning model in this embodiment can converge quickly, the training process is stable, and the loss function tends to plateau within a short number of rounds. After SMOTE enhancement, the model's ability to identify minority class discharge samples is significantly improved, with both classification accuracy and F1 score reaching high levels. Furthermore, the phase histogram predicted by the regression branch is highly consistent with the true distribution. This embodiment fully verifies the effectiveness of the method in this application under class imbalance conditions, achieving high-precision identification of fine-grained defects such as corona discharge and surface discharge, and possesses good practical engineering application value and prospects for promotion.

[0128] In one exemplary embodiment, such as Figure 3 As shown, a method for identifying unbalanced partial discharge patterns based on multi-task learning and SMOTE is provided. This method includes the following steps:

[0129] Step S301: Acquire partial discharge sample signals from power equipment;

[0130] Step S302: Generate the original phase-resolved partial discharge map corresponding to the partial discharge sample signal;

[0131] Step S303: Convert the original phase-resolved partial discharge pattern of the preset type into a one-dimensional feature vector;

[0132] Step S304: Determine the synthesized vector based on the one-dimensional feature vector and its nearest neighbor vectors.

[0133] Step S305: Generate the synthesized phase-resolved partial discharge spectrum corresponding to the synthesized vector;

[0134] Step S306: Add the synthesized phase-resolved partial discharge map to the original phase-resolved partial discharge map to obtain the training dataset;

[0135] Step S307: Based on the shared feature extraction network, feature extraction is performed on the training data in the training dataset to obtain the shared features of the training data;

[0136] Step S308: Input the shared features into the classification branch to obtain the discharge pattern recognition result of the training data, and determine the classification loss value corresponding to the discharge pattern recognition result;

[0137] Step S309: Input the shared features into the regression branch to obtain the phase distribution histogram of the training data, and determine the regression loss value corresponding to the phase distribution histogram;

[0138] Step S310: Train the multi-task learning model to be trained based on the classification loss value and the regression loss value to obtain the trained multi-task learning model.

[0139] Step S311: Acquire the partial discharge signal of the power equipment;

[0140] Step S312: Generate a phase-resolved partial discharge map corresponding to the partial discharge signal;

[0141] Step S313: Input the phase-resolved partial discharge map into the trained multi-task learning model to obtain the discharge pattern recognition result and phase distribution histogram corresponding to the partial discharge signal.

[0142] Step S314: Display the discharge pattern recognition results and phase distribution histogram.

[0143] Optionally, during model training, the terminal can acquire partial discharge sample signals collected by UHF sensors or high-frequency current transformers, generate original PRPD maps based on the partial discharge sample signals, convert a few types of original PRPD maps into one-dimensional feature vectors, determine the nearest neighbor vectors of the one-dimensional feature vectors, and generate synthetic vectors based on the one-dimensional feature vectors and their nearest neighbor vectors. This results in the generation of synthetic PRPD maps corresponding to the synthetic vectors, which are then combined with the original PRPD maps to form a training dataset. The terminal can also extract features from the training data in the training dataset using a shared feature extraction network to obtain shared features. These shared features are then input into the classification branch to obtain discharge pattern recognition results. The classification loss value is calculated based on the discharge pattern recognition results. Alternatively, the shared features can be input into the regression branch to obtain a phase distribution histogram. The regression loss value is calculated based on the phase distribution histogram. The total loss value (classification loss and regression loss) is calculated, and the multi-task learning model to be trained is iteratively trained using the total loss value until the total loss value converges, resulting in a trained multi-task learning model.

[0144] During the model inference process, the terminal can acquire the real-time collected partial discharge signals of the power equipment, generate the PRPD map corresponding to the partial discharge signal, input the PRPD map into the trained multi-task learning model, obtain the discharge pattern recognition result and phase distribution histogram, and display the discharge pattern recognition result and phase distribution histogram in real time.

[0145] The aforementioned imbalanced partial discharge pattern recognition method based on multi-task learning and SMOTE can generate minority class synthetic samples in the feature space, increase the number of minority class samples, alleviate the imbalance of partial discharge sample data, avoid class bias in the model during training, and improve the model's ability to recognize minority class discharges.

[0146] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0147] Based on the same inventive concept, this application also provides a partial discharge pattern recognition device for implementing the partial discharge pattern recognition method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more partial discharge pattern recognition device embodiments provided below can be found in the limitations of the partial discharge pattern recognition method described above, and will not be repeated here.

[0148] In one exemplary embodiment, such as Figure 4 As shown, an unbalanced partial discharge pattern recognition device based on multi-task learning and SMOTE is provided, including: an acquisition module 402, a conversion module 404, a synthesis module 406, a training module 408, and a recognition module 410, wherein:

[0149] Acquisition module 402 is used to acquire partial discharge sample signals of power equipment;

[0150] The conversion module 404 is used to generate the original phase-resolved partial discharge spectrum corresponding to the partial discharge sample signal;

[0151] The synthesis module 406 is used to perform minority class oversampling processing on the original phase-resolved partial discharge spectrum to obtain the training dataset of the multi-task learning model to be trained.

[0152] The training module 408 is used to train the multi-task learning model to be trained based on the training dataset, so as to obtain the trained multi-task learning model.

[0153] The identification module 410 is used to determine the discharge mode identification result of the power equipment based on the trained multi-task learning model.

[0154] In an exemplary embodiment, the synthesis module 406 is further configured to convert the original phase-resolved partial discharge map of a preset type into a one-dimensional feature vector; determine a synthesis vector based on the one-dimensional feature vector and the nearest neighbor vector of the one-dimensional feature vector; generate a synthesized phase-resolved partial discharge map corresponding to the synthesis vector; and add the synthesized phase-resolved partial discharge map to the original phase-resolved partial discharge map to obtain the training dataset.

[0155] In an exemplary embodiment, the training module 408 is further configured to: extract features from the training data in the training dataset based on the shared feature extraction network to obtain shared features of the training data; input the shared features into the classification branch to obtain the discharge pattern recognition result of the training data, and determine the classification loss value corresponding to the discharge pattern recognition result; input the shared features into the regression branch to obtain the phase distribution histogram of the training data, and determine the regression loss value corresponding to the phase distribution histogram; and train the multi-task learning model to be trained based on the classification loss value and the regression loss value to obtain the trained multi-task learning model.

[0156] In an exemplary embodiment, the identification module 410 is further configured to acquire the partial discharge signal of the power equipment; generate a phase-resolved partial discharge map corresponding to the partial discharge signal; input the phase-resolved partial discharge map into the trained multi-task learning model to obtain the discharge pattern recognition result and the phase distribution histogram corresponding to the partial discharge signal; and display the discharge pattern recognition result and the phase distribution histogram.

[0157] In an exemplary embodiment, the acquisition module 402 is further configured to receive the partial discharge sample signal from the ultra-high frequency sensor or the high frequency current transformer.

[0158] In an exemplary embodiment, the conversion module 404 is further configured to remove background noise and interference pulses from the partial discharge sample signal to obtain a partial discharge pulse; and generate the original phase-resolved partial discharge spectrum based on the amplitude and phase of the partial discharge pulse.

[0159] Each module in the aforementioned partial discharge pattern recognition device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0160] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When executed by the processor, the computer program implements a method for recognizing unbalanced partial discharge patterns based on multi-task learning and SMOTE. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0161] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0162] In one exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0163] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above-described method embodiments.

[0164] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0165] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0166] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0167] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0168] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for identifying unbalanced partial discharge patterns based on multi-task learning and SMOTE, characterized in that, The method includes: Acquire partial discharge sample signals from power equipment; Generate the original phase-resolved partial discharge map corresponding to the partial discharge sample signal; The original phase-resolved partial discharge map is subjected to synthetic minority class oversampling to obtain the training dataset for the multi-task learning model to be trained. Based on the training dataset, the multi-task learning model to be trained is trained to obtain the trained multi-task learning model. Based on the trained multi-task learning model, the discharge mode recognition result of the power equipment is determined.

2. The method according to claim 1, characterized in that, The process of synthesizing minority class oversampling on the original phase-resolved partial discharge spectrum to obtain the training dataset for the multi-task learning model to be trained includes: Convert the original phase-resolved partial discharge pattern of the preset type into a one-dimensional feature vector; The synthesized vector is determined based on the one-dimensional feature vector and the nearest neighbor vector of the one-dimensional feature vector; Generate the synthetic phase-resolved partial discharge spectrum corresponding to the synthetic vector; The synthesized phase-resolved partial discharge map is added to the original phase-resolved partial discharge map to obtain the training dataset.

3. The method according to claim 1, characterized in that, The multi-task learning model to be trained includes a shared feature extraction network, a classification branch, and a regression branch; The step of training the multi-task learning model to be trained based on the training dataset to obtain the trained multi-task learning model includes: Based on the shared feature extraction network, feature extraction is performed on the training data in the training dataset to obtain the shared features of the training data. The shared features are input into the classification branch to obtain the discharge pattern recognition result of the training data, and the classification loss value corresponding to the discharge pattern recognition result is determined. The shared features are input into the regression branch to obtain the phase distribution histogram of the training data, and the regression loss value corresponding to the phase distribution histogram is determined. The multi-task learning model to be trained is trained based on the classification loss value and the regression loss value to obtain the trained multi-task learning model.

4. The method according to claim 1, characterized in that, The step of determining the discharge mode recognition result of the power equipment based on the trained multi-task learning model includes: Acquire the partial discharge signal of the power equipment; Generate a phase-resolved partial discharge map corresponding to the partial discharge signal; The phase-resolved partial discharge map is input into the trained multi-task learning model to obtain the discharge pattern recognition result and phase distribution histogram corresponding to the partial discharge signal. The discharge pattern recognition results and the phase distribution histogram are displayed.

5. The method according to claim 1, characterized in that, The power equipment is equipped with ultra-high frequency sensors or high frequency current transformers. The acquisition of partial discharge sample signals from power equipment includes: Receive the partial discharge sample signal from the ultra-high frequency sensor or the high frequency current transformer.

6. The method according to claim 1, characterized in that, The process of generating the original phase-resolved partial discharge map corresponding to the partial discharge sample signal includes: Background noise and interference pulses are removed from the partial discharge sample signal to obtain the partial discharge pulse; The original phase-resolved partial discharge pattern is generated based on the amplitude and phase of the partial discharge pulse.

7. A device for identifying unbalanced partial discharge patterns based on multi-task learning and SMOTE, characterized in that, The device includes: The acquisition module is used to acquire partial discharge sample signals from power equipment. The conversion module is used to generate the original phase-resolved partial discharge spectrum corresponding to the partial discharge sample signal; The synthesis module is used to perform minority class oversampling processing on the original phase-resolved partial discharge spectrum to obtain the training dataset of the multi-task learning model to be trained. The training module is used to train the multi-task learning model to be trained based on the training dataset, so as to obtain the trained multi-task learning model. The identification module is used to determine the discharge mode identification result of the power equipment based on the trained multi-task learning model.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.