Vibration signal pin fault detection method and system based on GASF-BP

Through the vibration signal detection method based on GASF-BP, the power consumption and load rate imbalance problem in the cloud service platform calculation method is solved, high-precision detection of transmission line pin faults is achieved, the cost is reduced and the detection efficiency is improved.

CN118568541APending Publication Date: 2024-08-30ELECTRIC POWER RES INST OF GUANGXI POWER GRID CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410635336.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing cloud service platform computing methods suffer from large power consumption, unbalanced load rates, high costs, and are difficult to achieve high-precision detection of pin failures in transmission lines, especially in harsh environments.

Method used

The vibration signal detection method based on GASF-BP is used to collect and preprocess the vibration signals, convert the Cartesian coordinate system to the polar coordinate system, and use the back propagation neural network to identify the signals collected by the sensor, combined with adaptive filtering filter and wavelet transform to remove noise and improve signal quality and recognition accuracy.

Benefits of technology

It reduces network power consumption, optimizes load balancing, improves detection efficiency and accuracy, reduces detection costs, and can promptly identify the fault status of transmission line pins to prevent potential accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568541A
    Figure CN118568541A
Patent Text Reader

Abstract

The invention relates to the technical field of computer platform load balancing, and discloses a vibration signal pin fault detection method and system based on GASF-BP. According to the method, firstly, a vibration sensor is used for collecting vibration data that a transmission tower pin possibly falls off; then, the one-dimensional vibration signal is subjected to dimension raising by adopting a GASF technology and is converted into a high-dimensional feature image; and then, the generated GASF image is identified and classified through a BP neural network, and a tower vibration signal is detected in real time, so that the purpose of identifying the falling of the pin is achieved. According to the method, the accuracy of time sequence data feature description by the GASF method and the image recognition rapidity of the BP neural network are integrated, and the detection effect of the pin falling fault is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of computer platform load balancing, and in particular to a vibration signal pin fault detection method and system based on GASF-BP. Background Art

[0002] In recent years, with the rapid development of the national economy, my country's power industry has also entered a new period of large-scale construction. By the end of 2022, the total length of the national power grid's 110 kV and above transmission line loops will reach 1.2 million kilometers. However, the rapid development of power construction has also brought a series of problems, especially in the operation of transmission lines. Harsh environment (hail, acid rain, strong wind), mechanical vibration, and material aging factors lead to defects in power components, such as pin shedding, insulator self-explosion, wire breakage of the guy tower, and line damage caused by external forces. It has seriously affected the normal operation of the transmission line and caused huge losses to the social economy.

[0003] Pins are important components that connect the conductors of transmission lines to supports (such as poles and towers). They play the role of fixing and supporting the conductors to ensure the normal operation of the transmission lines. However, long-term exposure of pins to harsh environmental conditions, such as high temperature, humidity, chemicals, etc., can easily lead to metallic corrosion of the pins, weaken their structural strength, and increase the risk of them falling off when working in the external environment; in addition, as a key component of the transmission line, pins are affected by natural weather factors such as wind, ice and snow, and lightning strikes, which make the pins subject to abnormal mechanical forces, resulting in breakage or deformation; in addition, there may be defects in the production and manufacturing process of the pins, such as unqualified materials, improper processes, etc., which can also make the pins extremely prone to failure.

[0004] Once the pin fails, it may gradually loosen or even fall off, and the structural rigidity of the transmission tower will also decrease, posing a serious threat to the safety of the tower. If this problem is not discovered and handled in time, it may lead to instability or even collapse of the power system, causing major impacts on social and economic activities and public life. In serious cases, it may cause the tower to tilt or collapse. Similar accidents have occurred from time to time in recent years, causing serious economic losses to the power grid. Therefore, in order to ensure the safety of the transmission tower, it is necessary to detect the looseness of the pins in advance, perform timely maintenance, and prevent accidents.

[0005] In the past few decades, power grid companies have mainly used traditional manual inspection methods to conduct power inspections. Inspectors need to hold instruments and climb poles. The harsh geological environment not only affects the work efficiency of inspectors, but may even cause certain personal injuries to inspectors. In addition, the inspection labor intensity is high, and the inspection quality will be affected by the subjective factors of the operators. In harsh environments, the inspection scope will also be greatly limited. In recent years, drones have been widely used by power departments due to their small size, low cost, and good maneuverability. They reduce the workload of operators and improve the inspection scope and efficiency. Some detection devices (such as laser sensors, visible light / infrared / ultraviolet image acquisition equipment, rangefinders, etc.) are integrated into drones to detect key components on power systems. However, for the tiny components of transmission line pins, it is difficult for drones to collect images and the recognition accuracy is not high. Therefore, the method of deploying vibration sensors is used to accurately identify the falling of pins. Summary of the invention

[0006] In view of the above-mentioned problems, the present invention is proposed.

[0007] Therefore, the technical problem solved by the present invention is: the existing cloud service platform calculation method has large power consumption, load rate rewards and penalties, high cost, and the optimization problem of how to distribute task requests to each host to achieve load balancing.

[0008] To solve the above technical problems, the present invention provides the following technical solutions: a vibration signal pin fault detection method based on GASF-BP, comprising: collecting original vibration signals and preprocessing the collected original vibration signals; performing coordinate system conversion processing on time series data in a Cartesian coordinate system, converting the Cartesian coordinate system into a polar coordinate system, and understanding the relationship between time series data from the perspective of the polar coordinate system; using a back propagation neural network as image recognition, training the BP neural network, converting the vibration signal collected by the sensor into a GASF image and inputting it into the trained neural network for recognition.

[0009] As a preferred solution of the vibration signal pin fault detection method based on GASF-BP described in the present invention, wherein: the collection of original vibration signals includes using an exciter to generate low-frequency and high-energy elastic waves in the transmission tower, the elastic waves propagate in the rigid structure of the transmission tower, and cause the tower to vibrate as a whole or locally, generating a vibration signal containing pin operation status information; a vibration sensor is installed at the other end of the transmission tower, the sensor receives the generated vibration signal, receives and converts the vibration signal into an electrical signal, and collects platform parameters of the cloud service end.

[0010] As a preferred solution of the vibration signal pin fault detection method based on GASF-BP described in the present invention, wherein: the preprocessing of the collected original vibration signal includes filtering, noise reduction and sampling;

[0011] The filtering includes the following steps: for the input vibration signal x(n), after passing through a transverse filter with adjustable parameters, the output is y(n), and the LMS algorithm automatically adjusts the parameters of the filter according to the error between the output signal y(n) of the filter and the expected signal d(n);

[0012] The input vibration signal is a vector X(n) = [x(n), x(n-1), ..., x(nL)] T , the output of the LMS adaptive filter is y(n), which is expressed as:

[0013]

[0014] Among them, W(n) is the weight coefficient of the filter, L is the order of the filter, i represents the specific order of the filter, T represents the transpose, and w i Expressed as the weight coefficient of the i-th order;

[0015] Define the error signal as e(n), the expected signal as d(n), and the expression is:

[0016] e(n)=d(n)-y(n)=d(n)-W T (n)X(n)

[0017] The minimum mean square value of the error signal e(n) is taken as the optimal statistical criterion, and the cost function J(n) is defined as:

[0018] J(n)=E[e 2 (n)]

[0019] The change of cost function J(n) over time characterizes the convergence speed and convergence accuracy of LMS filter. When cost function J(n) takes the minimum value, the weight coefficient of LMS filter is the optimal value. Using the steepest descent algorithm, adjust the weight vector W(n) of LMS filter along the steepest descent direction of performance surface, search for the minimum point of performance surface, and solve the optimal weight vector W opt , the expression of the steepest descent direction is:

[0020]

[0021] in, Expressed as the partial derivative of the cost function with respect to the weight vector;

[0022] Then the update formula for calculating the LMS adaptive filter weight vector is:

[0023] W(n+1)=W(n)+μ(-▽J)=W(n)+2μe(n)X(n)

[0024] Among them, μ is the step size factor, and μ>0 is always a positive number, and W(n+1) is the updated weight vector.

[0025] As a preferred solution of the vibration signal pin fault detection method based on GASF-BP described in the present invention, the noise reduction includes the vibration signal s to be analyzed received by the vibration sensor, which is expressed as:

[0026]

[0027] in, represents the vibration signal to be analyzed, n(t) is the noise signal contained in the fault signal, and s(t) represents the original vibration signal received by the sensor;

[0028] Discrete sampling of the vibration signal generated by the transmission tower is performed to obtain N discrete signals f(n), n = 0, 1, ..., N-1, then the wavelet transform coefficient of f(t) is W f (j,k), the expression is:

[0029]

[0030] In the actual collection and calculation of vibration signals, the following dual-scale equation is used for recursive calculation to obtain a recursive implementation method:

[0031] S f (j+1,k)=S f (j,k)*h(j,k)

[0032] W f (j+1,k)=S f (j,k)*g(j,k)

[0033] Among them, S f (j+1,k) represents the approximate part of the signal at scale j+1 and position k, k represents the signal position, j represents the scale, h and g represent the low-pass filter and high-pass filter of the scale function φ(t) and the wavelet function ψ(t), respectively. f (0,k) represents the original signal f(k), S f (j,k) represents the approximation coefficient on scale j, W f (j, k) represents the wavelet coefficient, and the wavelet transform reconstruction formula is expressed as:

[0034]

[0035] Among them, S f(j-1,k) represents the approximate signal at the finer scale j-1 and position k, Represented as the coefficients of the reconstruction filter.

[0036] As a preferred solution of the vibration signal pin fault detection method based on GASF-BP described in the present invention, wherein: the coordinate system conversion processing of the time series data in the Cartesian coordinate system includes forming a 1*n-dimensional time series vector X={X1,X2,…,X n}, rescale X and scale all elements of vector X to between [-1,1]. The scaling formula is:

[0037]

[0038] Among them, x i is the original element in x, is the scaled element, maxX represents the coefficient of the reconstruction filter, and minX represents the minimum value in the vector X;

[0039] Convert the scaled acceleration time series into polar coordinates, and use the angle and radius of the polar coordinates to represent the acceleration value and the corresponding timestamp respectively;

[0040] The scaled acceleration value is encoded with an angle. The acceleration value is between [0, π]. The acceleration value is encoded with the angle cosine function, mapped to the range of [0, 1], and then multiplied by π to get the corresponding angle value.

[0041] The timestamp is used as the radius of the polar coordinates, normalized to be between [0,1], and then multiplied by a suitable constant. The expression is as follows:

[0042]

[0043] Among them, t i For x i The corresponding timestamp, M is the normalization factor, N is the constant factor of the regularized polar coordinate system span, is x i The radian representation in the polar coordinate system is the cosine of the angle, r i is the corresponding radius, θ i Expressed as an angle in polar coordinates, Represented as a collection of scaled elements, Indicates that the arc cosine calculation is performed on the element;

[0044] Use GAF to reconstruct the vibration time series and get the sequence X. Import it into GAF to get the two-dimensional time series diagram, that is, the Gram and angle fields, which are expressed as follows:

[0045]

[0046] Among them, A GASF (i,j) is expressed as the Gram and angular field matrix, cos(θ i +θ j ) is expressed as a matrix element expression, and i, j are polar coordinate angle numbers.

[0047] As a preferred solution of the vibration signal pin fault detection method based on GASF-BP described in the present invention, wherein: the use of back propagation neural network as image recognition includes network construction and feature extraction;

[0048] The network construction includes constructing a back propagation neural network model for image recognition, which usually includes an input layer, a hidden layer and an output layer; the input layer receives a feature vector as input, the hidden layer includes multiple neurons, and the output layer represents the classification result;

[0049] The feature extraction uses a color histogram to describe the color features of the image, a gray-level co-occurrence matrix to extract the texture features of the image, and an edge detection algorithm to extract the contour features of the image;

[0050] The color feature color histogram divides the color space of the image into several regions, counts the number or proportion of pixels in each region, and obtains a histogram representing the color distribution of the image; the color histogram reflects the distribution of different colors in the image, and describes and compares the color features;

[0051] The texture feature represents the texture structure and texture distribution between pixels in the image, and reflects the visual characteristics of homogeneous phenomena in the image. The grayscale co-occurrence matrix calculates the relationship and occurrence frequency of grayscale values ​​between pixels in the image, and the texture feature is obtained by counting the co-occurrence matrix between pixel pairs.

[0052] The outline feature describes the boundary shape and outline information of an object or region, and uses the Canny edge detection algorithm to calculate the rate of change of pixel values ​​in the image to detect boundary pixels.

[0053] As a preferred solution of the vibration signal pin fault detection method based on GASF-BP described in the present invention, wherein: the training of the BP neural network includes using a back propagation algorithm to update the weights and biases in the network to minimize the error between the prediction result and the actual label, so that the network can accurately judge whether the pin of the transmission tower has fallen off;

[0054] The neural network algorithm satisfies local convergence and has a gradient descent method at the same time, and adopts the LM algorithm with stable performance, which is expressed as:

[0055] x s+1 =x s -(H+αI) -1 G

[0056] Among them, H is the matrix of multidimensional vectors, G is the first-order gradient of multidimensional vectors, x s is the function extreme value of the previous step, α is the step size, I is the identity matrix, x s+1 Represented as the function value after iteration.

[0057] Another object of the present invention is to provide a vibration signal pin fault detection system based on GASF-BP. The high-precision sensor and preprocessing steps of the original vibration acquisition module ensure the quality and reliability of the input data and provide noise-free vibration signals for subsequent processing. The coordinate system conversion processing module reveals the periodicity and trend of time series data by converting the Cartesian coordinate system into the polar coordinate system, thereby enhancing the interpretability of the data. The BP neural network recognition module utilizes well-trained neural networks and GASF image inputs to deeply analyze and accurately identify vibration signals, thereby enhancing the intelligent diagnosis and predictive maintenance capabilities of the system. The coordinated work of the three modules improves the efficiency and accuracy of vibration signal processing and provides strong technical support for the state monitoring and fault prediction of complex systems.

[0058] The present invention provides the following technical solution: a vibration signal pin fault detection system based on GASF-BP, comprising: an original vibration acquisition module, a coordinate system conversion processing module, and a BP neural network recognition module;

[0059] The original vibration acquisition module acquires the original vibration signal and pre-processes the acquired original vibration signal;

[0060] The coordinate system conversion processing module performs coordinate system conversion processing on the time series data in the Cartesian coordinate system, converts the Cartesian coordinate system into a polar coordinate system, and understands the relationship between the time series from the perspective of the polar coordinate system;

[0061] The BP neural network recognition module uses a back propagation neural network as image recognition, trains the BP neural network, and converts the vibration signal collected by the sensor into a GASF image and inputs it into the trained neural network for recognition.

[0062] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0063] A computer-readable storage medium stores a computer program, which implements the steps of the method described above when executed by a processor.

[0064] Beneficial effects of the present invention: The present invention provides a GASF-BP-based vibration signal pin fault detection method that reduces power consumption in the network, uses a fitness function to measure the load balance between the cloud network and the server (host), and converts the load balance problem into an optimization problem, so that it can be applied to processing resource optimization. Using the results of the particle swarm as the initial population of the genetic algorithm, the present invention achieves better results in terms of execution cost, load balance, and completion time. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0066] Figure 1 A schematic diagram of the installation of a vibration sensor for a vibration signal pin fault detection method based on GASF-BP is provided as an embodiment of the present invention.

[0067] Figure 2 A block diagram of the image recognition process of a vibration signal pin fault detection method based on GASF-BP provided in the second embodiment of the present invention.

[0068] Figure 3 A block diagram of a vibration signal pin fault detection method for bookstore road based on deep learning, which is a vibration signal pin fault detection method based on GASF-BP, provided in the second embodiment of the present invention. DETAILED DESCRIPTION

[0069] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0070] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0071] Example 1

[0072] like Figure 1 , Figure 2As shown in FIG. 1 , an embodiment of the present invention provides a vibration signal pin fault detection method based on GASF-BP, comprising:

[0073] S1: collecting original vibration signals and preprocessing the collected original vibration signals;

[0074] It should be noted that filtering, noise reduction and sampling;

[0075] Furthermore, the filtering is expressed as:

[0076] It should be noted that the adaptive filter is used for processing, and the coefficients of the adaptive filter can automatically and continuously adapt to the vibration signal to obtain the best expected response. For the input vibration signal x(n), after passing through the transverse filter with adjustable parameters, the output is y(n). The LMS algorithm automatically adjusts the filter parameters according to the error between the filter output signal y(n) and the expected signal d(n);

[0077] The input vibration signal is a vector X(n) = [x(n), x(n-1), ..., x(nL)] T , the output of the LMS adaptive filter is y(n), expressed as:

[0078]

[0079] Among them, W(n) is the weight coefficient of the filter, L is the order of the filter, i represents the specific order of the filter, T represents the transpose, and w i Expressed as the weight coefficient of the i-th order;

[0080] Define the error signal as e(n) and the expected signal as d(n), expressed as:

[0081] e(n)=d(n)-y(n)=d(n)-W T (n)X(n)

[0082] The minimum mean square value of the error signal e(n) is taken as the optimal statistical criterion, and the cost function J(n) is defined as:

[0083] J(n)=E[e 2 (n)]

[0084] The change of cost function J(n) over time characterizes the convergence speed and convergence accuracy of the LMS filter. When the cost function J(n) takes the minimum value, the weight coefficient of the LMS filter is the optimal value. Using the steepest descent algorithm, the LMS filter weight vector W(n) is adjusted along the steepest descent direction of the performance surface to search for the minimum point of the performance surface. ▽J continuously adjusts and updates the filter weight vector w(n) to approach the optimal weight vector W opt , solve the optimal weight vector Wopt , the direction of the steepest descent is expressed as:

[0085]

[0086] in, Expressed as the partial derivative of the cost function with respect to the weight vector;

[0087] Then the update formula for calculating the LMS adaptive filter weight vector is:

[0088] W(n+1)=W(n)+μ(-▽J)=W(n)+2μe(n)X(n)

[0089] Where μ is the step size factor, and μ>0 is always a positive number, ▽J is the direction of the fastest descent, and W(n+1) is the updated weight vector;

[0090] Furthermore, the noise reduction is represented as using the wavelet threshold denoising method to denoise the filtered signal, performing wavelet transform on the filtered signal, decomposing the signal into wavelet coefficients of different scales and frequencies. After the vibration signal is decomposed by wavelet, the amplitude of the wavelet coefficient of the signal is large, while the amplitude of the wavelet coefficient of the noise is small. The selection of wavelet coefficients can be achieved by setting the threshold. The coefficients less than the threshold are regarded as the wavelet coefficients of the noise. These coefficients are removed, and the remaining coefficients are retained as the wavelet coefficients of the effective signal. The denoised signal can be reconstructed by performing inverse wavelet transform using the retained wavelet coefficients. The denoising process reduces the random noise in the signal and improves the clarity and readability of the signal.

[0091] The vibration signal s to be analyzed received by the vibration sensor is expressed as:

[0092]

[0093] in, represents the vibration signal to be analyzed, n(t) is the noise signal contained in the fault signal, and s(t) represents the original vibration signal received by the sensor;

[0094] Discrete sampling of the vibration signal generated by the transmission tower is performed to obtain N discrete signals f(n), n = 0, 1, ..., N-1, then the wavelet transform coefficient is W f (j,k), expressed as:

[0095]

[0096] The following equations of double scale are used for recursive calculation to obtain the recursive implementation method:

[0097] S f (j+1,k)=S f(j,k)*h(j,k)

[0098] W f (j+1,k)=S f (j,k)*g(j,k)

[0099] Among them, S f (j+1, k) represents the approximate (or smoothed) part of the signal at scale j+1 and position k, k represents the signal position, j represents the scale, h and g represent the low-pass filter and high-pass filter of the scale function φ(t) and the wavelet function ψ(t), respectively. f (0,k) represents the original signal f(k), S f (j,k) represents the approximation coefficient on scale j, W f (j, k) represents the wavelet coefficient, and the wavelet transform reconstruction formula is expressed as:

[0100]

[0101] Among them, S f (j-1,k) represents the approximate signal at the finer scale j-1 and position k, Represented as the coefficients of the reconstruction filter.

[0102] S2: Perform coordinate conversion processing on the time series data in the Cartesian coordinate system, convert the Cartesian coordinate system into a polar coordinate system, and understand the relationship between the time series from the perspective of the polar coordinate system;

[0103] Furthermore, the coordinate system transformation processing of time series data in the Cartesian coordinate system includes Gramian Angular Field (GAF), which is an effective method to study the relationship characteristics between time series data and timestamps. By converting time series data into matrix form, the closeness between data signals and time can be clearly revealed, and the structure and complexity of the data can be displayed. The core idea of ​​the GAF method is to combine the time information and numerical information in the time series data, and reflect the relationship between the data through the change of angle, so as to more intuitively understand the characteristics and laws of time series data, deeply analyze and mine the dynamic changes and evolution process of time series data, and provide more powerful support for data analysis and prediction;

[0104] According to the vibration signal, n time series data points are given to form a 1*n dimensional time series vector X={X1,X2,…,X n}, rescale X and scale all elements of vector X to between [-1,1]. The scaling formula is:

[0105]

[0106] Among them, x i is the original element in x, is the scaled element, maxX represents the maximum value in vector X, and minX represents the minimum value in vector X;

[0107] Convert the scaled acceleration time series into polar coordinates, and use the angle and radius of the polar coordinates to represent the acceleration value and the corresponding timestamp respectively;

[0108] Furthermore, the Cartesian coordinate system is converted into a polar coordinate system, expressed as:

[0109] The scaled acceleration value is encoded with an angle. The acceleration value is between [0, π]. The acceleration value is encoded with the angle cosine function, mapped to the range of [0, 1], and then multiplied by π to get the corresponding angle value.

[0110] The timestamp is used as the radius of the polar coordinates, normalized to be between [0,1], and then multiplied by a suitable constant, expressed as:

[0111]

[0112] Among them, t i For x i The corresponding timestamp, M is the normalization factor, N is the constant factor of the regularized polar coordinate system span, is x i The radian representation in the polar coordinate system is the cosine of the angle, r i is the corresponding radius, θ i Expressed as an angle in polar coordinates, Represented as a scaled element A collection of Represented as an element Do arccosine calculations;

[0113] Furthermore, we can understand the relationship between time series from the perspective of polar coordinates, reconstruct the vibration time series using GAF, and import the sequence X into GAF to obtain a two-dimensional time series diagram, namely the Gram and angular field, which can be expressed as:

[0114]

[0115] Among them, A GASF (i,j) is expressed as the Gram and angular field matrix, cos(θ i +θ j ) is expressed as a matrix element expression, and i, j are polar coordinate angle numbers.

[0116] S3: Figure 2 As shown, a back propagation neural network is used for image recognition, a GASF image is prepared, the color features, texture features and contour features of the image are extracted through the neural network, the BP neural network is trained, and the vibration signal collected by the sensor is converted into a GASF image and input into the trained neural network for recognition.

[0117] Furthermore, back propagation neural network is used for image recognition.

[0118] It should be noted that the network is constructed and features are extracted;

[0119] Furthermore, network construction includes building a back-propagation neural network model for image recognition, which usually includes an input layer, a hidden layer, and an output layer; the input layer receives a feature vector as input, the hidden layer contains multiple neurons, and the output layer represents the classification result;

[0120] Furthermore, feature extraction includes using color histogram to describe the color features of the image, gray-level co-occurrence matrix to extract the texture features of the image, and edge detection algorithm to extract the contour features of the image;

[0121] Furthermore, color features include color histograms that divide the color space of an image into several regions, count the number or proportion of pixels in each region, and obtain a histogram representing the color distribution of the image; the color histogram reflects the distribution of different colors in the image, and describes and compares color features;

[0122] Furthermore, texture features include the texture structure and texture distribution between pixels in the image, reflecting the visual characteristics of homogeneous phenomena in the image. The gray-level co-occurrence matrix calculates the relationship and frequency of occurrence of gray values ​​between pixels in the image, and the texture features are obtained by counting the co-occurrence matrix between pixel pairs;

[0123] Furthermore, the contour features include the boundary shape and contour information of the object or region, and the Canny edge detection algorithm is used to calculate the rate of change of pixel values ​​in the image to detect the boundary pixels;

[0124] Furthermore, the BP neural network is trained, and the vibration signal collected by the sensor is converted into a GASF image and input into the trained neural network for recognition as follows:

[0125] It should be noted that the back-propagation algorithm is used to update the weights and biases in the network;

[0126] To minimize the error between the predicted result and the actual label, the network can accurately determine whether the pins of the transmission tower have fallen off;

[0127] The neural network algorithm satisfies local convergence and has a gradient descent method at the same time, and adopts the LM algorithm with stable performance, which is expressed as:

[0128] x s+1 =x s -(H+αI) -1 G

[0129] Among them, H is the matrix of multidimensional vectors, G is the first-order gradient of multidimensional vectors, x s is the function extreme value of the previous step, α is the step size, and I is the identity matrix;

[0130] The larger the α value, the closer the algorithm is to the steepest descent method, and the smaller the α value, the closer the algorithm is to the Gauss-Newton algorithm;

[0131] Use the test data set to evaluate the performance of the trained neural network model. Input the test data into the network for prediction, then compare it with the actual label, and calculate the accuracy and recall evaluation indicators to measure the performance of the model.

[0132] The signal collected by the vibration sensor is converted into an image and input into the trained neural network model for real-time state recognition. By extracting features from the image and forward propagating the neural network, the prediction result can be obtained, thereby realizing the detection of whether the pin has fallen off abnormally.

[0133] Example 2

[0134] like Figure 3 As shown in FIG. 1 , an embodiment of the present invention provides a vibration signal pin fault detection system based on GASF-BP, comprising:

[0135] Raw vibration acquisition module: Through high-precision sensor acquisition equipment, this module can ensure that the acquired vibration signal has high fidelity and reliability. The preprocessing step further improves the data quality and removes possible noise interference, laying a solid foundation for subsequent analysis and processing.

[0136] Coordinate system conversion processing module: Converting the time series data in the Cartesian coordinate system to the polar coordinate system not only simplifies the data structure, but also makes the periodicity and trend of the time series data more obvious, which helps to more deeply understand the dynamic characteristics and periodic changes of the vibration signal, and provides a new perspective for signal analysis and feature extraction.

[0137] BP neural network recognition module: Utilizing the powerful learning ability of the back propagation neural network (BPNN), this module can effectively identify complex patterns and features from vibration signals. By converting vibration signals into GASF image format and combining the image recognition capabilities of neural networks, the system can achieve high-accuracy vibration signal classification and anomaly detection, thereby improving the system's intelligent diagnosis and predictive maintenance capabilities.

[0138] Example 3

[0139] An embodiment of the present invention is different from the first two embodiments in that:

[0140] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the 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 for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0141] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0142] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0143] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0144] Example 4

[0145] As an embodiment of the present invention, a vibration signal pin fault detection method based on GASF-BP is provided. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0146] This method collects the vibration signals of the transmission tower pins and performs preprocessing, feature extraction, feature selection, and model building to determine the working status of the transmission tower pins and to warn of transmission line faults. Experimental results show that this method has the following significant features:

[0147] 1) Improvement of detection accuracy: By combining the GASF dimensionality upgrade method, it is possible to more accurately determine whether the pin has fallen off abnormally, avoiding the misjudgment and missed judgment existing in traditional methods and improving the detection accuracy.

[0148] 2) Improvement of detection efficiency: This paper introduces a vibration signal pin fault detection method based on GASF-BP. This method can efficiently identify the working conditions that may cause the pins of the transmission line to fall off, and can issue early warning notifications to relevant staff in time, thereby effectively improving the detection efficiency of the pins falling off of the transmission line.

[0149] The pin fall-off detection method proposed in this paper is compared with the detection method based on UAV image recognition, and the results are shown in Table 1.

[0150] Table 1 Test accuracy of different methods

[0151]

[0152] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A vibration signal pin fault detection method based on GASF-BP, characterized in that: include: Collecting original vibration signals and preprocessing the collected original vibration signals; Perform coordinate conversion on the time series data in the Cartesian coordinate system, convert the Cartesian coordinate system into the polar coordinate system, and understand the relationship between time series from the perspective of the polar coordinate system; Back propagation neural network is used as image recognition, BP neural network is trained, and the vibration signal collected by the sensor is converted into GASF image and input into the trained neural network for recognition.

2. A vibration signal pin fault detection method based on GASF-BP as claimed in claim 1, characterized in that: The collecting of the original vibration signal includes using a vibration exciter to generate a low-frequency, high-energy elastic wave in the transmission tower, the elastic wave propagates in the rigid structure of the transmission tower, and causes the tower to vibrate as a whole or locally, generating a vibration signal containing information on the operating status of the pin; a vibration sensor is installed at the other end of the transmission tower, the sensor receives the generated vibration signal, receives and converts the vibration signal into an electrical signal, and collects platform parameters of the cloud service end.

3. A vibration signal pin fault detection method based on GASF-BP as claimed in claim 2, characterized in that: The preprocessing of the collected original vibration signal includes filtering, noise reduction and sampling; The filtering includes the following steps: for the input vibration signal x(n), after passing through a transverse filter with adjustable parameters, the output is y(n), and the LMS algorithm automatically adjusts the parameters of the filter according to the error between the output signal y(n) of the filter and the expected signal d(n); The input vibration signal is a vector X(n) = [x(n), x(n-1), ..., x(nL)] T , the output of the LMS adaptive filter is y(n), expressed as: Among them, W(n) is the weight coefficient of the filter, L is the order of the filter, i is the specific order of the filter, T is the transpose, and w i is the weight coefficient of the i-th order; Define the error signal as e(n) and the expected signal as d(n), expressed as: e(n)=d(n)-y(n)=d(n)-W T (n)X(n) The minimum mean square value of the error signal e(n) is taken as the optimal statistical criterion, and the cost function J(n) is defined as: J(n)=E[e 2 (n)] The change of cost function J(n) over time characterizes the convergence speed and convergence accuracy of LMS filter. When cost function J(n) takes the minimum value, the weight coefficient of LMS filter is the optimal value. Using the steepest descent algorithm, adjust the weight vector W(n) of LMS filter along the steepest descent direction of performance surface, search for the minimum point of performance surface, and solve the optimal weight vector Wopt. The steepest descent direction is expressed as: in, Expressed as the partial derivative of the cost function with respect to the weight vector; Then the update formula for calculating the LMS adaptive filter weight vector is: Where μ is the step size factor, and μ>0 is always a positive number. is the direction of fastest descent, and W(n+1) is the updated weight vector.

4. A method for detecting pin faults based on vibration signals of GASF-BP as claimed in claim 3, characterized in that: The noise reduction includes the vibration signal s to be analyzed received by the vibration sensor, which is expressed as: in, represents the vibration signal to be analyzed, n(t) is the noise signal contained in the fault signal, and s(t) is the original vibration signal received by the sensor; Discrete sampling of the vibration signal generated by the transmission tower is performed to obtain N discrete signals f(n), n = 0, 1, ..., N-1, then the wavelet transform coefficient is W f (j,k), expressed as: The following equations of double scale are used for recursive calculation to obtain the recursive implementation method: S f (j+1,k)=S f (j,k)*h(j,k) W f (j+1,k)=S f (j,k)*g(j,k) Among them, S f (j+1,k) represents the approximate part of the signal at scale j+1 and position k, k represents the signal position, j represents the scale, h and g represent the low-pass filter and high-pass filter of the scale function φ(t) and the wavelet function ψ(t), respectively. f (0,k) represents the original signal f(k), S f (j,k) represents the approximation coefficient on scale j, W f (j, k) represents the wavelet coefficient, and the wavelet transform reconstruction formula is expressed as: Among them, S f (j-1,k) represents the approximate signal at the finer scale j-1 and position k, Represented as the coefficients of the reconstruction filter.

5. A vibration signal pin fault detection method based on GASF-BP as claimed in claim 4, characterized in that: The coordinate system conversion processing of the time series data in the Cartesian coordinate system includes: giving n time series data points according to the vibration signal to form a 1*n-dimensional time series vector X={X1, X2, ..., X n }, rescale X and scale all elements of vector X to between [-1,1]. The scaling formula is: Among them, x i is the original element in x, is the scaled element, maxX represents the maximum value in vector X, and minX represents the minimum value in vector X; Convert the scaled acceleration time series into polar coordinates, and use the angle and radius of the polar coordinates to represent the acceleration value and the corresponding timestamp respectively; The scaled acceleration value is encoded with an angle. The acceleration value is between [0, π]. The acceleration value is encoded with the angle cosine function, mapped to the range of [0, 1], and then multiplied by π to get the corresponding angle value. The timestamp is used as the radius of the polar coordinates, normalized to the range [0,1], and then multiplied by a constant, expressed as: Among them, t i For x i The corresponding timestamp, M is the normalization factor, N is the constant factor of the regularized polar coordinate system span, is x i The radian representation in the polar coordinate system is the cosine of the angle, r i is the corresponding radius, θ i Expressed as an angle in polar coordinates, Represented as a scaled element A collection of Represented as an element Do arccosine calculations; The vibration time series is reconstructed using GAF, and the sequence X is imported into GAF to obtain a two-dimensional time series diagram, namely the Gram and angle fields, which are expressed as: Among them, A GASF (i,j) is expressed as the Gram and angular field matrix, cos(θ i +θ j ) is expressed as a matrix element expression, i is expressed as, and j is expressed as the polar coordinate angle number.

6. A method for detecting pin faults using vibration signals based on GASF-BP as claimed in claim 5, characterized in that: The use of back propagation neural network as image recognition includes network construction and feature extraction; The network construction includes constructing a back propagation neural network model for image recognition, which includes an input layer, a hidden layer and an output layer; the input layer receives a feature vector as input, the hidden layer includes multiple neurons, and the output layer represents the classification result; The feature extraction uses a color histogram to describe the color features of the image, a gray-level co-occurrence matrix to extract the texture features of the image, and an edge detection algorithm to extract the contour features of the image; The color features include a color histogram that divides the color space of an image into several regions, counts the number or proportion of pixels in each region, and obtains a histogram representing the color distribution of the image; the color histogram reflects the distribution of different colors in the image, and describes and compares the color features; The texture features include the texture structure and texture distribution between pixels in the image, reflecting the visual characteristics of homogeneous phenomena in the image. The grayscale co-occurrence matrix calculates the relationship and occurrence frequency of grayscale values ​​between pixels in the image, and the texture features are obtained by counting the co-occurrence matrix between pixel pairs. The contour features include the boundary shape and contour information of the object or region, and the Canny edge detection algorithm is used to calculate the change rate of pixel values ​​in the image to detect boundary pixels.

7. A method for detecting pin faults using vibration signals based on GASF-BP as claimed in claim 6, characterized in that: The training of the BP neural network includes using a back propagation algorithm to update the weights and biases in the network to minimize the error between the predicted result and the actual label, so that the network can accurately determine whether the pins of the transmission tower have fallen off; The neural network algorithm satisfies local convergence and has a gradient descent method at the same time, and adopts the LM algorithm with stable performance, which is expressed as: x s+1 =x s -(H+αI) -1 G Among them, H is the matrix of multidimensional vectors, G is the first-order gradient of multidimensional vectors, x s is the function extreme value of the previous step, α is the step size, I is the identity matrix, x s+1 Represented as the function value after iteration.

8. A system using a GASF-BP-based vibration signal pin fault detection method as claimed in any one of claims 1 to 7, characterized in that: It includes original vibration acquisition module, coordinate system conversion processing module and BP neural network recognition module; The original vibration acquisition module acquires the original vibration signal and pre-processes the acquired original vibration signal; The coordinate system conversion processing module performs coordinate system conversion processing on the time series data in the Cartesian coordinate system, converts the Cartesian coordinate system into a polar coordinate system, and understands the relationship between the time series from the perspective of the polar coordinate system; The BP neural network recognition module uses a back propagation neural network as image recognition, trains the BP neural network, and converts the vibration signal collected by the sensor into a GASF image and inputs it into the trained neural network for recognition.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Gasf-BP-based vibration signal pin fault detection method and system

    WO2025241889A1