Insulation status detection method, device, equipment and storage medium of ring network box
By deploying numerical and image sensors in the ring box, combining empirical mode decomposition and terahertz spectrum detection, and inputting the insulation status detection model, the problem of real-time monitoring of the insulation status in the existing technology is solved, and the accuracy and response of fault warnings are improved. speed to ensure the safety and stability of the power system.
Patent Information
- Application Number
- CN202410784392.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-18
AI Technical Summary
Existing insulation monitoring methods are difficult to accurately monitor the insulation status of ring network boxes in real time, are time-consuming and costly, and are difficult to ensure the safety and stability of the power system.
Deploy numerical type sensors and image type sensors in the ring network box, obtain numerical and image features through empirical mode decomposition algorithm and terahertz time domain spectrum detection, and input them into the insulation status detection model for data fusion and intelligent analysis to determine insulation state.
Significantly improve the accuracy and response speed of insulation fault warning, ensuring the safe and stable operation of the power system.
Smart Images

Figure CN118362844B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence, and in particular to a method, device, equipment and storage medium for detecting the insulation status of a ring network box. Background Art
[0002] In modern power systems, it is crucial to maintain and monitor the insulation status of electrical equipment, especially in key power distribution facilities such as ring main boxes. As a node connecting multiple power supply lines, the insulation status of the ring main box directly affects the safety and stability of the entire power system. Traditional insulation monitoring methods often rely on regular physical inspections and simple electrical tests, which are not only time-consuming and costly, but also difficult to accurately achieve real-time monitoring of insulation status. Summary of the invention
[0003] The main purpose of the present invention is to solve the technical problem that the existing insulation monitoring method is difficult to accurately realize real-time monitoring of the insulation state.
[0004] A first aspect of the present invention provides a method for detecting the insulation status of a ring main box, the method comprising:
[0005] A plurality of sensors are built into the ring network box, wherein the plurality of sensors include numerical type sensors and image type sensors;
[0006] Acquiring numerical data related to the insulation state in the ring network box through the numerical type sensor, and extracting numerical features of the numerical data according to a preset analysis algorithm to obtain numerical features;
[0007] Performing terahertz time-domain spectroscopy detection on the insulating material in the ring network box by using the image type sensor to obtain a terahertz spectral image of the insulating material, and performing image feature extraction on the terahertz spectral image to obtain image features;
[0008] The numerical features and the image features are input into a preset insulation state detection model to obtain the insulation state type of the ring main box.
[0009] Optionally, in a first implementation of the first aspect of the present invention, the numerical data includes signal data, and the analysis algorithm includes an empirical mode decomposition algorithm;
[0010] The numerical data related to the insulation state in the ring network box is obtained by the numerical type sensor, and the numerical features of the numerical data are extracted according to a preset analysis algorithm to obtain the numerical features including:
[0011] Acquiring signal data related to the insulation status in the ring network box through the numerical type sensor;
[0012] Normalizing the signal data, and performing signal decomposition on the normalized signal data using a preset empirical mode decomposition algorithm to obtain a corresponding plurality of intrinsic mode functions;
[0013] Perform Hilbert transform on each intrinsic mode function to obtain the instantaneous frequency and instantaneous amplitude of each intrinsic mode function;
[0014] Combining the instantaneous frequencies and instantaneous amplitudes of all intrinsic mode functions, the feature vector is constructed to obtain the corresponding state characteristics.
[0015] Optionally, in a second implementation of the first aspect of the present invention, the normalizing the signal data and performing signal decomposition on the normalized signal data using a preset empirical mode decomposition algorithm to obtain the corresponding multiple intrinsic mode functions include:
[0016] Normalizing the signal data and using the normalized signal data as the original signal;
[0017] Identifying all local maxima and minima from the original signal, and constructing upper and lower envelopes based on the local maxima and local minima by a cubic spline interpolation method;
[0018] Calculating the mean of the upper and lower envelopes to obtain an average envelope, and subtracting the average envelope from the original signal to obtain a signal residual;
[0019] Extracting an intrinsic mode function from the signal residual, taking the signal residual as a new original signal, and performing an iterative operation, returning to the step of identifying all local maxima and minima from the original signal, until the signal residual cannot extract an intrinsic mode function;
[0020] The intrinsic mode functions in the iterative operation process are summarized to obtain a plurality of intrinsic mode functions corresponding to the signal data.
[0021] Optionally, in a third implementation of the first aspect of the present invention, identifying all local maxima and minima from the original signal, and constructing upper and lower envelopes according to the local maxima and local minima by a cubic spline interpolation method includes:
[0022] Performing a scanning operation on the original signal to identify all local maxima and minima from the original signal;
[0023] The cubic spline interpolation method is applied to fit a cubic polynomial curve between each pair of local maxima to generate the upper envelope;
[0024] The cubic spline interpolation method is applied to fit a cubic polynomial curve between each pair of local minima to generate the lower envelope.
[0025] Optionally, in a fourth implementation of the first aspect of the present invention, the image type sensor is used to perform terahertz time-domain spectroscopy detection on the insulating material in the ring network box to obtain a terahertz spectral image of the insulating material, and image features are extracted from the terahertz spectral image to obtain image features including:
[0026] Performing terahertz time-domain spectroscopy detection on the insulating material in the ring network box by using the image type sensor to obtain a terahertz spectral image of the insulating material;
[0027] Performing a preprocessing operation on the terahertz spectrum image, removing image noise in the terahertz spectrum image by using digital image processing technology, and obtaining a clear spectrum image after denoising;
[0028] Applying edge detection algorithm to the clear spectrum image, extracting key edge features in the insulating material, and performing wavelet transform on the clear spectrum image to decompose and obtain multi-scale wavelet features, thereby obtaining a wavelet feature map containing detail levels;
[0029] Applying statistical analysis to the wavelet feature map, calculating the energy distribution and texture characteristics of each wavelet layer in the wavelet feature map, and obtaining statistical characteristics reflecting the texture and energy distribution of the terahertz spectrum image;
[0030] The statistical features, wavelet features and key edge features are reduced in dimension by a principal component analysis method, and the image features are obtained by combining the statistical features, wavelet features and key edge features after the dimension reduction.
[0031] Optionally, in a fifth implementation of the first aspect of the present invention, applying statistical analysis to the wavelet feature map, calculating the energy distribution and texture features of each wavelet layer in the wavelet feature map, and obtaining statistical features reflecting the texture and energy distribution of the terahertz spectrum image includes:
[0032] Applying statistical analysis to the wavelet feature map, normalizing the pixel values of each wavelet layer in the wavelet feature map to obtain a normalized wavelet layer;
[0033] Performing energy calculation on the normalized wavelet layer, obtaining the total energy of each wavelet layer by calculating the square sum of all pixel values in each wavelet layer, and evaluating the energy distribution in the frequency band corresponding to each wavelet layer according to the total energy;
[0034] The texture analysis algorithm is applied to calculate the texture parameters of each wavelet layer, and the energy distribution and texture parameters of each wavelet layer are weighted averaged using a preset weight factor to obtain the statistical characteristics reflecting the texture and energy distribution of the terahertz spectral image.
[0035] Optionally, in a sixth implementation of the first aspect of the present invention, the inputting the numerical feature and the image feature into a preset insulation state detection model to obtain the insulation state type of the ring main box includes:
[0036] Inputting the numerical features and the image features into a preset insulation state detection model, wherein the insulation state detection model includes an input layer, an attention mechanism layer, a feature fusion layer, a fully connected layer, and an output layer;
[0037] Performing standardization processing on the numerical features and the image features through the input layer;
[0038] Inputting the standardized numerical features and image features into the attention mechanism layer to calculate the attention weights, and obtaining the attention weights corresponding to the numerical features and the image features;
[0039] Inputting the standardized numerical features and image features and the corresponding attention weights into the feature fusion layer for feature fusion to obtain fused features;
[0040] The fused features are input into the fully connected layer to classify the insulation state, so as to obtain the insulation state type of the ring network box, and the insulation state type of the ring network box is output through the output layer.
[0041] A second aspect of the present invention provides an insulation state detection device for a ring main box, the insulation state detection device for the ring main box comprising:
[0042] A sensor deployment module, used for embedding a plurality of sensors in the ring network box, wherein the plurality of sensors include numerical type sensors and image type sensors;
[0043] A numerical feature extraction module, used to obtain numerical data related to the insulation state in the ring network box through the numerical type sensor, and extract numerical features from the numerical data according to a preset analysis algorithm to obtain numerical features;
[0044] An image feature extraction module is used to perform terahertz time-domain spectrum detection on the insulating material in the ring network box through the image type sensor to obtain a terahertz spectrum image of the insulating material, and perform image feature extraction on the terahertz spectrum image to obtain image features;
[0045] The detection module is used to input the numerical feature and the image feature into a preset insulation state detection model to obtain the insulation state type of the ring network box.
[0046] A third aspect of the present invention provides an insulation status detection device for a ring network box, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via a line; the at least one processor calls the instructions in the memory so that the insulation status detection device of the ring network box executes the steps of the above-mentioned insulation status detection method of the ring network box.
[0047] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the above-mentioned method for detecting the insulation status of a ring main box.
[0048] The above-mentioned insulation state detection method, device, equipment and storage medium of the ring network box are achieved by deploying a variety of sensors in the ring network box, including numerical type sensors and image type sensors. The numerical type sensor is used to obtain various numerical data directly related to the insulation state, and then the data is processed by a preset analysis algorithm to extract key numerical features. At the same time, the image type sensor is specifically used to perform terahertz time-domain spectroscopy detection on the insulating materials in the ring network box, so as to obtain terahertz spectral images and extract image features. These two features are integrated into an advanced insulation state detection model, which accurately judges and outputs the insulation state type of the ring network box through data fusion and intelligent analysis. This method can significantly improve the accuracy and response speed of insulation fault warning, which is of great significance to ensuring the safe and stable operation of the power system.
[0049] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0050] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a schematic diagram of a first embodiment of a method for detecting the insulation status of a ring main box in an embodiment of the present invention;
[0052] Figure 2 It is a schematic diagram of an embodiment of an insulation state detection device of a ring main box in an embodiment of the present invention;
[0053] Figure 3 It is a schematic diagram of an embodiment of an insulation status detection device of a ring main box in an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device end including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or device ends.
[0056] To facilitate understanding of this embodiment, a method for detecting the insulation status of a ring main box disclosed in an embodiment of the present invention is first described in detail. Figure 1 As shown, the method comprises the following steps:
[0057] 101. A plurality of sensors are built into the ring network box, wherein the plurality of sensors include numerical type sensors and image type sensors;
[0058] In one embodiment of the present invention, the deployment of numerical sensors, taking current sensors and temperature sensors as examples, these devices usually need to be installed at key positions in the ring network box, and current sensors are usually installed on the incoming and outgoing cables. These positions are the only way for current to pass through, which can ensure that all currents passing through the ring network box are monitored. The temperature sensor should be installed near the components inside the ring network box that may generate heat, such as circuit breakers, connection points and transformers. The deployment of image sensors, taking terahertz time-domain spectroscopy cameras as an example, this type of sensor is used to analyze the spectral characteristics of media such as insulating materials. The camera should be installed inside the ring network box, especially near the insulating material container. This is because terahertz spectroscopy detection requires direct observation of the insulating material.
[0059] 102. Acquire numerical data related to the insulation state in the ring network box through a numerical type sensor, and extract numerical features of the numerical data according to a preset analysis algorithm to obtain numerical features;
[0060] In one embodiment of the present invention, the numerical data includes signal data, and the analysis algorithm includes an empirical mode decomposition algorithm; the numerical data related to the insulation state in the ring network box is obtained through the numerical type sensor, and the numerical feature extraction of the numerical data is performed according to a preset analysis algorithm to obtain the numerical feature, including: obtaining the signal data related to the insulation state in the ring network box through the numerical type sensor; normalizing the signal data, and performing signal decomposition on the normalized signal data through a preset empirical mode decomposition algorithm to obtain corresponding multiple intrinsic mode functions; performing Hilbert transform on each intrinsic mode function to obtain the instantaneous frequency and instantaneous amplitude of each intrinsic mode function; combining the instantaneous frequencies and instantaneous amplitudes of all intrinsic mode functions to construct a feature vector to obtain the corresponding state feature.
[0061] Specifically, first, current and voltage signals are collected in real time from key parts of the ring network box, such as cable inlets, circuit breaker contacts, and other electrical connections, through numerical sensors. These signals are transmitted to the data processing unit in real time. The data processing unit first normalizes the signals. This step is to eliminate the possible dimension and range differences between different devices and sensors to ensure the consistency of data processing and the effectiveness of comparison. Normalization is usually achieved by subtracting the mean of the signal value and then dividing it by the standard deviation. Next, the normalized signal is processed using the empirical mode decomposition algorithm. The EMD algorithm can decompose a complex signal into a series of simple functions, which are called intrinsic mode functions (IMFs). Each IMF is extracted from the original signal and each represents a different frequency component in the signal. The process of performing EMD involves iteratively extracting local extreme values from the signal and finding the envelope between the local maximum and local minimum through spline interpolation. The result of each iteration is an IMF and a residual, which is used as the input for the next iteration. This process is repeated until the residual no longer contains any useful information or is simplified to a monotonic function. Each extracted IMF is further Hilbert transformed to obtain the instantaneous frequency and instantaneous amplitude. Hilbert transform is a mathematical method that can extract the analytical signal from the real-valued signal and calculate the instantaneous frequency. The mathematical representation of Hilbert transform is:
[0062] ;
[0063] in, Denotes the Cauchy principal value. By calculating the Hilbert transform of each IMF, we can get the corresponding instantaneous frequency and instantaneous amplitude, which are the key to evaluating the signal behavior. Finally, the instantaneous frequencies and instantaneous amplitudes of all IMFs are combined to construct a feature vector.
[0064] Furthermore, the signal data is normalized, and the normalized signal data is decomposed by a preset empirical mode decomposition algorithm to obtain a plurality of corresponding intrinsic mode functions, including:
[0065] The signal data is normalized and the normalized signal data is used as the original signal; all local maxima and minima are identified from the original signal, and upper and lower envelopes are constructed according to the local maxima and local minima by using a cubic spline interpolation method; the mean of the upper and lower envelopes is calculated to obtain an average envelope, and the average envelope is subtracted from the original signal to obtain a signal residual; an intrinsic mode function is extracted from the signal residual, the signal residual is used as a new original signal, and an iterative operation is performed, returning to the step of identifying all local maxima and minima from the original signal until the signal residual cannot extract an intrinsic mode function; the intrinsic mode functions in the iterative operation are summarized to obtain multiple intrinsic mode functions corresponding to the signal data.
[0066] Specifically, the normalized data is input into the EMD algorithm as the original signal. The first step of EMD is to identify all local maxima and minima from this normalized signal. The detection of local extrema usually involves comparing the size of adjacent data points to ensure that the selected points are true local extrema. After identifying the local maxima and minima, the upper and lower envelopes of these points are constructed using the cubic spline interpolation method. Cubic spline interpolation is a smooth interpolation technique that generates a smooth curve for a set of discrete points by minimizing the integral square of the second-order derivative. Next, the average of the upper and lower envelopes is calculated to obtain the average envelope, which is subtracted from the original signal. The residual signal obtained will be used for the next round of EMD decomposition. This residual signal reflects the part of the original signal after removing the current slowest trend. The residual signal is then used as the new original signal to continue the EMD decomposition. This process is iterative, and an intrinsic mode function (IMF) is extracted at each iteration until the residual no longer contains any significant oscillation mode. Each extracted IMF is a part of the signal, specifically representing a different frequency component in the signal. Finally, all the extracted IMFs are summarized to obtain the corresponding multiple intrinsic mode functions, which are the key data for analyzing and diagnosing the insulation status of the ring network box. By synthesizing these IMFs, a feature vector containing all important frequency and amplitude information can be constructed.
[0067] Furthermore, the method of identifying all local maxima and minima from the original signal and constructing upper and lower envelopes according to the local maxima and local minima by using a cubic spline interpolation method includes: performing a scanning operation on the original signal to identify all local maxima and minima from the original signal; applying a cubic spline interpolation method to fit a cubic polynomial curve between each pair of local maxima to generate an upper envelope; and applying a cubic spline interpolation method to fit a cubic polynomial curve between each pair of local minima to generate a lower envelope.
[0068] Specifically, the processing begins with a comprehensive scan of the normalized original signal to identify all local maxima and minima. This scanning operation is usually achieved by traversing the signal data points and comparing the size of each data point with its neighboring points. Specifically, if a data point is larger than the points before and after it, then this point is marked as a local maximum; conversely, if a point is smaller than the points before and after it, it is marked as a local minimum. The importance of this step is that it lays the foundation for subsequent analysis, because only by accurately identifying the key turning points in the signal (i.e., local extreme points) can subsequent interpolation and analysis be carried out accurately. Next, it is necessary to perform cubic spline interpolation on these identified local maximum points to construct a smooth upper envelope. Cubic spline interpolation is a mathematical tool that can generate a smooth and continuous curve for a set of scattered points by minimizing the change in the curvature of the curve. Mathematically, a spline function is usually defined as a piecewise polynomial with continuous first-order and second-order derivatives at each piecewise point. For local maximum points, the goal of interpolation is to find a cubic polynomial that not only passes through the points at the maximum points, but also provides a smooth transition between adjacent maximum points. The same approach is applied to constructing the lower envelope, this time using local minimum points. The goal of interpolation is the same, that is, to generate a polynomial curve that is smooth at all local minimum points, thereby defining the lower bound of the signal.
[0069] 103. Perform terahertz time-domain spectroscopy detection on the insulating material in the ring network box by using an image type sensor to obtain a terahertz spectral image of the insulating material, and perform image feature extraction on the terahertz spectral image to obtain image features;
[0070] In one embodiment of the present invention, the image type sensor is used to perform terahertz time-domain spectroscopy detection on the insulating material in the ring network box to obtain a terahertz spectral image of the insulating material, and image feature extraction is performed on the terahertz spectral image to obtain image features, including: performing terahertz time-domain spectroscopy detection on the insulating material in the ring network box by the image type sensor to obtain a terahertz spectral image of the insulating material; performing a preprocessing operation on the terahertz spectral image to remove image noise in the terahertz spectral image by using digital image processing technology to obtain a clear spectral image after denoising. ; Apply edge detection algorithm to clear spectrum image, extract key edge features in insulating material, perform wavelet transform on the clear spectrum image, decompose to obtain multi-scale wavelet features, and obtain wavelet feature map containing detail levels; apply statistical analysis to the wavelet feature map, calculate the energy distribution and texture features of each wavelet layer in the wavelet feature map, and obtain statistical features reflecting the texture and energy distribution of terahertz spectrum image; reduce the dimension of the statistical features, wavelet features and key edge features by principal component analysis method, and obtain image features by combining the statistical features, wavelet features and key edge features after dimension reduction.
[0071] Specifically, an image type sensor, such as a terahertz time-domain spectrometer, is used to detect the insulating material in the ring network box. Terahertz time-domain spectroscopy uses electromagnetic waves in the terahertz band to penetrate the insulating material and measure its absorption and transmission characteristics at different frequencies. These measurements obtain time domain signals, which can be converted into frequency domain signals through Fourier transform to obtain a spectral image reflecting the characteristics of the insulating material. The obtained terahertz spectrum image then needs to be preprocessed, the main purpose of which is to remove noise in the image and improve the image quality. Image noise may come from interference from the instrument itself or the external environment. Denoising can usually use various digital image processing techniques, such as median filtering, Gaussian filtering, etc. The denoised image will be used for edge detection and wavelet transform. Edge detection is achieved by identifying rapid changes in pixel intensity in the image. Commonly used edge detection algorithms include Sobel operator or Canny edge detector. Wavelet transform is used to analyze the frequency and position information in the image. It can provide detailed features of the image at different scales, which is particularly important for revealing subtle changes in insulating materials. The extracted wavelet features and edge features are then further processed by statistical analysis. This includes calculating the energy distribution and texture features of each wavelet layer, such as energy, entropy, etc. These statistical features reflect the important characteristics of the terahertz spectrum image and can be used to describe the state of the insulating material. Finally, in order to reduce the complexity of the data and improve the efficiency of the analysis, the principal component analysis (PCA) method can be used to reduce the dimension of the statistical features, wavelet features, and edge features. PCA reduces the dimension by finding the main direction of change in the data and retains the most important features. The reduced-dimensional features will be combined to form the final image feature vector.
[0072] Furthermore, the method of applying statistical analysis to the wavelet feature map, calculating the energy distribution and texture features of each wavelet layer in the wavelet feature map, and obtaining statistical features reflecting the texture and energy distribution of the terahertz spectrum image includes: applying statistical analysis to the wavelet feature map, normalizing the pixel values of each wavelet layer in the wavelet feature map, and obtaining the normalized wavelet layer; performing energy calculation on the normalized wavelet layer, obtaining the total energy of each wavelet layer by calculating the sum of the squares of all pixel values in each wavelet layer, and evaluating the energy distribution in the corresponding frequency band of each wavelet layer based on the total energy; applying a texture analysis algorithm to calculate the texture parameters of each wavelet layer, and using a preset weight factor to perform weighted averaging on the energy distribution and texture parameters of each wavelet layer, and obtaining statistical features reflecting the texture and energy distribution of the terahertz spectrum image.
[0073] Specifically, each layer in the wavelet feature map represents the characteristics of the original spectral image at different frequencies and spatial resolutions. Before statistical analysis, it is a necessary step to normalize the pixel values of the wavelet layer, which helps to standardize the data scale and make subsequent analysis more stable and comparable. The normalization process usually involves subtracting the minimum value of each layer from the pixel value of the layer and dividing it by its range (the difference between the maximum and minimum values). After normalization, the next step is to calculate the total energy of each wavelet layer, which is achieved by summing the squares of all pixel values in the layer. The energy calculation reflects the total amount of energy carried by each wavelet layer in its corresponding frequency bandwidth, which can be calculated by the following formula:
[0074] ;
[0075] here, is the normalized pixel values, is the total number of pixels in the layer. The energy provides an intuitive understanding of the importance of frequency components, that is, the higher the energy, the more significant the expression of the frequency component in the image. Subsequently, texture analysis is used to calculate the texture parameters of each wavelet layer. Texture analysis can include a variety of statistical methods, such as gray-level co-occurrence matrix (GLCM) or autoregressive model, among which GLCM is a commonly used texture analysis tool that describes texture characteristics by calculating the gray-level spatial relationship between pixels. Commonly used texture parameters include contrast, uniformity, energy, and entropy. Finally, in order to integrate this information and generate a feature vector that can reflect the overall characteristics of the terahertz spectrum image, it is an effective method to use a preset weight factor to weighted average the energy distribution and texture parameters of each wavelet layer. The choice of weight factor can be adjusted according to the importance of different wavelet layers in the analysis of the state of insulating materials. For example, a higher weight can be given to a more detailed feature layer.
[0076] 104. Input the numerical features and the image features into a preset insulation state detection model to obtain the insulation state type of the ring main box.
[0077] In one embodiment of the present invention, the step of inputting the numerical features and the image features into a preset insulation state detection model to obtain the insulation state type of the ring network box includes: inputting the numerical features and the image features into a preset insulation state detection model, wherein the insulation state detection model includes an input layer, an attention mechanism layer, a feature fusion layer, a fully connected layer, and an output layer; performing standardization processing on the numerical features and the image features through the input layer; inputting the standardized numerical features and image features into the attention mechanism layer to perform attention weight calculation to obtain the attention weights corresponding to the numerical features and the image features; inputting the standardized numerical features and image features and the corresponding attention weights into the feature fusion layer to perform feature fusion to obtain fused features; inputting the fused features into the fully connected layer to perform insulation state classification to obtain the insulation state type of the ring network box, and outputting the insulation state type of the ring network box through the output layer.
[0078] Specifically, before input, all features need to be standardized to eliminate the impact of different dimensions and scales and improve the stability and efficiency of model training. Standardization usually uses Z-score standardization, and then the standardized features are sent to the attention mechanism layer in the model. In this layer, the model does not simply process each feature, but assigns different attention weights according to the importance of each feature to the prediction task. The key to this step is to allow the model to automatically learn which features are more important, so as to give higher weights to those more informative features. The calculation of attention weights can be achieved through a soft attention mechanism, and the features with attention weights are sent to the feature fusion layer. The role of this layer is to comprehensively consider all weight-adjusted features and generate a comprehensive feature representation, which will be used for the final classification task. Feature fusion usually adopts a weighted sum method, that is, each feature is multiplied by its corresponding attention weight, and then all are added up. The fused features enter the fully connected layer. The task of these layers is to further process the features and perform classification tasks to predict the insulation state type of the ring network box based on the features. Finally, the predicted insulation state type is output through the output layer, which usually involves a softmax function, which can convert the output into a probability distribution, indicating the likelihood of each possible state. The insulation state classification obtained by classification can include but is not limited to the following:
[0079] Normal state: This is the most ideal state, indicating that the insulation material in the ring main box does not show any signs of degradation. The electrical parameters (such as voltage, current) and spectral images are within the normal operating range, with no abnormal fluctuations or obvious signs of aging. Slight aging: This state indicates that the insulation material begins to show slight signs of aging, which may be caused by long-term operation or minor external influences. Generally, slight aging does not immediately affect the safe operation of the equipment, but regular monitoring is required to prevent aging from worsening. Moderate aging: At this stage, the degradation of the insulation material is more obvious and may affect the efficiency and safety of the equipment. The electrical parameters may show instability, and the spectral image may show more obvious changes in the material structure. Moderate aging requires more frequent inspections and possible maintenance interventions. Severe aging or damage: This state indicates that the insulation material has been severely degraded or damaged, posing a direct threat to the safe operation of the ring main box. In this case, immediate measures must be taken, such as replacing the insulation material or performing repairs, to avoid potential equipment failures or accidents. Potential failure: This classification is used to identify those situations where, even if the material has not yet shown significant signs of degradation in the test, it is predicted based on data analysis that it may soon enter a problem state. Identification of this state relies on advanced predictive analytics techniques, such as machine learning models, which can identify subtle patterns that could lead to failures.
[0080] In this embodiment, a variety of sensors are deployed in the ring network box, including numerical sensors and image sensors. The numerical sensors are used to obtain various numerical data directly related to the insulation status, and then these data are processed by a preset analysis algorithm to extract key numerical features. At the same time, the image sensor is specifically used to perform terahertz time-domain spectroscopy detection on the insulating materials in the ring network box, so as to obtain terahertz spectral images and extract image features. These two features are integrated into an advanced insulation status detection model, which accurately judges and outputs the insulation status type of the ring network box through data fusion and intelligent analysis. This method can significantly improve the accuracy and response speed of insulation fault warning, which is of great significance to ensuring the safe and stable operation of the power system.
[0081] The above describes the insulation state detection method of the ring main box in the embodiment of the present invention. The following describes the insulation state detection device of the ring main box in the embodiment of the present invention. Figure 2 In one embodiment of the present invention, an insulation status detection device for a ring network box includes:
[0082] A sensor deployment module 201 is used to embed multiple sensors in the ring network box, wherein the multiple sensors include numerical type sensors and image type sensors;
[0083] A numerical feature extraction module 202 is used to obtain numerical data related to the insulation state in the ring network box through the numerical type sensor, and extract numerical features from the numerical data according to a preset analysis algorithm to obtain numerical features;
[0084] An image feature extraction module 203 is used to perform terahertz time-domain spectrum detection on the insulating material in the ring network box through the image type sensor to obtain a terahertz spectrum image of the insulating material, and perform image feature extraction on the terahertz spectrum image to obtain image features;
[0085] The detection module 204 is used to input the numerical feature and the image feature into a preset insulation state detection model to obtain the insulation state type of the ring main box.
[0086] In an embodiment of the present invention, the insulation state detection device of the ring network box runs the above-mentioned insulation state detection method of the ring network box, and the insulation state detection device of the ring network box deploys a variety of sensors in the ring network box, including numerical type sensors and image type sensors. The numerical type sensor is used to obtain various numerical data directly related to the insulation state, and then the data are processed by a preset analysis algorithm to extract key numerical features. At the same time, the image type sensor is specifically used to perform terahertz time domain spectroscopy detection on the insulating material in the ring network box, so as to obtain the terahertz spectrum image and extract image features. These two features are integrated into an advanced insulation state detection model, which accurately judges and outputs the insulation state type of the ring network box through data fusion and intelligent analysis. This method can significantly improve the accuracy and response speed of insulation fault warning, which is of great significance to ensuring the safe and stable operation of the power system.
[0087] above Figure 2 The insulation state detection device of the ring network box in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The insulation state detection device of the ring network box in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0088] Figure 3: is a schematic diagram of the structure of an insulation state detection device for a ring network box provided by an embodiment of the present invention. The insulation state detection device 300 of the ring network box may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage device terminals) storing application programs 333 or data 332. Among them, the memory 320 and the storage medium 330 can be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the insulation state detection device 300 of the ring network box. Furthermore, the processor 310 may be configured to communicate with the storage medium 330, and execute a series of instruction operations in the storage medium 330 on the insulation state detection device 300 of the ring network box to implement the steps of the insulation state detection method of the ring network box.
[0089] The insulation state detection device 300 of the ring main box may also include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input and output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It can be understood by those skilled in the art that Figure 3 The structure of the insulation state detection device of the ring main box shown does not constitute a limitation on the insulation state detection device of the ring main box provided by the present invention, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0090] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for detecting the insulation status of the ring network box.
[0091] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0092] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0093] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting the insulation status of a ring main box, characterized in that: The insulation status detection of the ring network box includes: A plurality of sensors are built into the ring network box, wherein the plurality of sensors include numerical type sensors and image type sensors; Acquiring numerical data related to the insulation state in the ring network box through the numerical type sensor, and extracting numerical features of the numerical data according to a preset analysis algorithm to obtain numerical features; The insulating material in the ring network box is subjected to terahertz time-domain spectral detection by the image type sensor to obtain a terahertz spectral image of the insulating material; the terahertz spectral image is subjected to a preprocessing operation, and the image noise in the terahertz spectral image is removed by using a digital image processing technique to obtain a clear spectral image after denoising; an edge detection algorithm is applied to the clear spectral image to extract key edge features in the insulating material, and the clear spectral image is subjected to a wavelet transform to decompose and obtain multi-scale wavelet features, thereby obtaining a wavelet feature map containing detail levels; statistical analysis is applied to the wavelet feature map to calculate the energy distribution and texture features of each wavelet layer in the wavelet feature map to obtain statistical features reflecting the texture and energy distribution of the terahertz spectral image; the statistical features, wavelet features and the key edge features are subjected to dimensionality reduction by a principal component analysis method, and image features are obtained by combining the statistical features, wavelet features and the key edge features after dimensionality reduction; The numerical features and the image features are input into a preset insulation state detection model to obtain the insulation state type of the ring main box.
2. The method for detecting the insulation status of a ring main box according to claim 1, characterized in that: The numerical data includes signal data, and the analysis algorithm includes an empirical mode decomposition algorithm; The numerical data related to the insulation state in the ring network box is obtained by the numerical type sensor, and the numerical features of the numerical data are extracted according to a preset analysis algorithm to obtain the numerical features including: Acquiring signal data related to the insulation status in the ring network box through the numerical type sensor; Normalizing the signal data, and performing signal decomposition on the normalized signal data using a preset empirical mode decomposition algorithm to obtain a corresponding plurality of intrinsic mode functions; Perform Hilbert transform on each intrinsic mode function to obtain the instantaneous frequency and instantaneous amplitude of each intrinsic mode function; Combining the instantaneous frequencies and instantaneous amplitudes of all intrinsic mode functions, the feature vector is constructed to obtain the corresponding state characteristics.
3. The method for detecting the insulation status of a ring main box according to claim 2, characterized in that: The normalizing the signal data and performing signal decomposition on the normalized signal data using a preset empirical mode decomposition algorithm to obtain corresponding multiple intrinsic mode functions include: The normalizing the signal data and performing signal decomposition on the normalized signal data using a preset empirical mode decomposition algorithm to obtain corresponding multiple intrinsic mode functions include: Normalizing the signal data and using the normalized signal data as the original signal; Identifying all local maxima and minima from the original signal, and constructing upper and lower envelopes based on the local maxima and local minima by a cubic spline interpolation method; Calculating the mean of the upper and lower envelopes to obtain an average envelope, and subtracting the average envelope from the original signal to obtain a signal residual; Extracting an intrinsic mode function from the signal residual, taking the signal residual as a new original signal, and performing an iterative operation, returning to the step of identifying all local maxima and minima from the original signal, until the signal residual cannot extract an intrinsic mode function; The intrinsic mode functions in the iterative operation process are summarized to obtain a plurality of intrinsic mode functions corresponding to the signal data.
4. The method for detecting the insulation status of a ring main box according to claim 3, characterized in that: The step of identifying all local maximum values and minimum values from the original signal and constructing upper and lower envelopes according to the local maximum values and local minimum values by using a cubic spline interpolation method comprises: Performing a scanning operation on the original signal to identify all local maxima and minima from the original signal; The cubic spline interpolation method is applied to fit a cubic polynomial curve between each pair of local maxima to generate the upper envelope; The cubic spline interpolation method is applied to fit a cubic polynomial curve between each pair of local minima to generate the lower envelope.
5. The method for detecting the insulation status of a ring main box according to claim 1, characterized in that: The statistical analysis is applied to the wavelet feature map to calculate the energy distribution and texture characteristics of each wavelet layer in the wavelet feature map, and the statistical characteristics reflecting the texture and energy distribution of the terahertz spectrum image are obtained, including: Applying statistical analysis to the wavelet feature map, normalizing the pixel values of each wavelet layer in the wavelet feature map to obtain a normalized wavelet layer; Performing energy calculation on the normalized wavelet layer, obtaining the total energy of each wavelet layer by calculating the square sum of all pixel values in each wavelet layer, and evaluating the energy distribution in the frequency band corresponding to each wavelet layer according to the total energy; The texture analysis algorithm is applied to calculate the texture parameters of each wavelet layer, and the energy distribution and texture parameters of each wavelet layer are weighted averaged using a preset weight factor to obtain the statistical characteristics reflecting the texture and energy distribution of the terahertz spectral image.
6. The method for detecting the insulation status of a ring main box according to claim 1, characterized in that: The step of inputting the numerical feature and the image feature into a preset insulation state detection model to obtain the insulation state type of the ring main box includes: Inputting the numerical features and the image features into a preset insulation state detection model, wherein the insulation state detection model includes an input layer, an attention mechanism layer, a feature fusion layer, a fully connected layer, and an output layer; Performing standardization processing on the numerical features and the image features through the input layer; Inputting the standardized numerical features and image features into the attention mechanism layer to calculate the attention weights, and obtaining the attention weights corresponding to the numerical features and the image features; Inputting the standardized numerical features and image features and the corresponding attention weights into the feature fusion layer for feature fusion to obtain fused features; The fused features are input into the fully connected layer to classify the insulation state, so as to obtain the insulation state type of the ring network box, and the insulation state type of the ring network box is output through the output layer.
7. An insulation status detection device for a ring main box, characterized in that: The insulation status detection device of the ring network box comprises: A sensor deployment module, used to embed a variety of sensors in the ring network box, wherein the multiple sensors include numerical type sensors and image type sensors; A numerical feature extraction module, used to obtain numerical data related to the insulation state in the ring network box through the numerical type sensor, and extract numerical features from the numerical data according to a preset analysis algorithm to obtain numerical features; An image feature extraction module is used to perform terahertz time-domain spectral detection on the insulating material in the ring network box through the image type sensor to obtain a terahertz spectral image of the insulating material; perform a preprocessing operation on the terahertz spectral image, and remove the image noise in the terahertz spectral image by using digital image processing technology to obtain a clear spectral image after denoising; apply an edge detection algorithm to the clear spectral image to extract key edge features in the insulating material, and perform a wavelet transform on the clear spectral image to decompose and obtain multi-scale wavelet features to obtain a wavelet feature map containing detail levels; apply statistical analysis to the wavelet feature map to calculate the energy distribution and texture features of each wavelet layer in the wavelet feature map to obtain statistical features reflecting the texture and energy distribution of the terahertz spectral image; perform dimensionality reduction on the statistical features, wavelet features and the key edge features through a principal component analysis method, and obtain image features by combining the statistical features, wavelet features and the key edge features after dimensionality reduction; The detection module is used to input the numerical feature and the image feature into a preset insulation state detection model to obtain the insulation state type of the ring network box.
8. An insulation status detection device for a ring main box, characterized in that: The insulation status detection device of the ring network box comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the insulation status detection device of the ring main box to perform the steps of the insulation status detection method of the ring main box according to any one of claims 1 to 6.
9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the method for detecting the insulation status of the ring main box as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Terahertz spectroscopy feature extraction method based on convex combination kernel function principal component analysis
CN105279379A
Industrial equipment remaining useful life prediction method and system and electronic equipment
CN110377984A
Insulation power equipment on-line monitoring system based on ultraviolet and infrared cooperative detection
CN116188505A
Terahertz time-domain spectral signal denoising method and device
CN118051758A
Multi-feature fusion fraudulent text detection method and device
CN118069785A
