Improved graph invariant moment-based axle center trajectory classification method and device, and medium

By refining the vibration data of rotating machinery and improving the application of graphical invariant moment function groups, shaft center trajectory graphics are generated and classified, solving the problem of low classification accuracy of shaft center trajectory in existing technologies and achieving more efficient fault diagnosis.

CN123160929APending Publication Date: 2026-11-24JIANGXI DATANG INT XINYU NO 2 POWER GENERATION CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611072890.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-20
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, shaft center trajectory classification is based solely on the working data of rotating machinery and fixed thresholds, ignoring the shape details of the shaft center trajectory, resulting in low classification accuracy.

Method used

Vibration data of rotating machinery is collected, purified, and then used to generate a shaft center trajectory graphic. An improved set of graphic invariant moment functions is used to construct an image shape feature vector, which is then input into a preset classification model for classification, thereby enhancing the invariance of the shaft center trajectory to translation, rotation, and scaling transformations.

Benefits of technology

It improves the classification accuracy and efficiency of axis trajectory, can intuitively reflect the motion state of the axis, facilitates feature extraction and classification recognition, and ensures the accuracy of classification results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160929A_ABST
    Figure CN123160929A_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, and medium for classifying shaft center trajectory based on improved graphic invariant moments, which improves the classification accuracy of shaft center trajectory. The method includes: acquiring vibration data of a target rotating machine; refining the vibration data to obtain refined vibration data; generating a shaft center trajectory graphic of the target rotating machine based on the refined vibration data, and determining the corresponding binarized image of the shaft center trajectory graphic; determining an initial set of invariant moment functions; constructing a new set of invariant moment functions based on multiple initial invariant moment functions to enhance the invariance of the shaft center trajectory to translation, rotation, and scaling transformations; using the new set of invariant moment functions to determine the image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image; inputting the image shape feature vector into a preset classification model for classification to obtain the classification result of the shaft center trajectory of the target rotating machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of rotating machinery fault diagnosis technology, and in particular to a method, device and medium for classifying shaft center trajectories based on an improved graphical invariant torque. Background Technology

[0002] With the implementation of the new generation of coal-fired power plant upgrading action plan, traditional coal-fired power plants are playing a safety net role and gradually undergoing transformation and upgrading. This places higher technical demands on existing thermal power units, including the widespread application of technologies such as deeper peak shaving, increased load change rate, and start-stop peak shaving. This presents greater challenges to the safe operation of rotating machinery in thermal power units, necessitating improved fault diagnosis efficiency to prevent major accidents. Under the background of new generation coal-fired power technology, the vibration of rotating machinery has become a key concern. For vibration fault diagnosis, shaft center trajectory can provide diagnostic evidence. Therefore, if the shaft center trajectory of rotating machinery can be identified and classified, vibration fault diagnosis can be completed efficiently and promptly, allowing for early detection and resolution of problems, preventing escalation and larger safety accidents.

[0003] Currently, shaft center trajectories are typically classified by comparing the operating data of the rotating machinery with a fixed threshold. However, this method, which relies solely on operating data, ignores the shape details of the shaft center trajectory, resulting in low classification accuracy. Summary of the Invention

[0004] This invention provides a method, apparatus, and medium for classifying shaft center trajectories based on an improved graphical invariant moment, which mainly improves the classification accuracy of shaft center trajectories in rotating machinery.

[0005] According to a first aspect of the present invention, a method for classifying axisymmetric trajectories based on improved graphical invariant moments is provided, comprising: In response to the shaft center trajectory classification signal of the target rotating machinery, vibration data of the target rotating machinery is collected; The vibration data is purified to obtain the purified vibration data. Based on the purified vibration data, the shaft center trajectory graphic of the target rotating machinery is generated, and the corresponding binarized image of the shaft center trajectory graphic is determined. An initial set of invariant moment functions is determined. Based on multiple initial invariant moment functions in the initial set of invariant moment functions, a new set of invariant moment functions is constructed to enhance the invariance of the axis trajectory to translation, rotation, and scaling transformations. The new set of invariant moment functions is used to determine the image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image. The image shape feature vector is then input into a preset classification model for classification to obtain the classification result of the axis trajectory of the target rotating machinery.

[0006] Optionally, The initial invariant moment function set includes multiple initial invariant moment functions, the first initial invariant moment function being: The second initial invariant moment function is: The third initial invariant moment function is: The fourth initial invariant moment function is: The fifth initial invariant moment function is: The sixth initial invariant moment function is: The seventh initial invariant moment function is: ;in, For the i-th initial invariant moment, , The order of the image in the x-coordinate direction The order of the y-coordinate direction The original moments below, , .

[0007] Optionally, a new set of invariant moment functions can be constructed based on multiple initial invariant moment functions in the initial set of invariant moment functions, which can enhance the invariance of the axis-centered trajectory translation, rotation, and scaling transformations, including: The new invariant moment function set contains multiple new invariant moment functions, the first of which is: The second new invariant moment function is: The third new invariant moment function is: The fourth new invariant moment function is: The fifth new invariant moment function is: The sixth new invariant moment function is: ,in, For the j-th new invariant moment, .

[0008] Optionally, the image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image is determined using the new set of invariant moment functions, including: The original moments of the binarized image are determined as follows: ,in, The order of the binarized image in the x-coordinate direction. The order of the y-coordinate direction The original moments under the current and Corresponding to the width and height in the binarized image size parameters, For the binarized image in pixel coordinates The grayscale value at that location; Based on different orders sum order The original moments under the combination are used to determine multiple initial invariant moments of the binarized image using the initial invariant moment function set. Based on each initial invariant moment, multiple new invariant moments of the binarized image are determined using the new invariant moment function set. Each new invariant moment generates an image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image.

[0009] Optionally, the vibration data is purified to obtain purified vibration data, including: The vibration data is decomposed into multi-scale vibration signals according to frequency to obtain multi-band vibration signals. Random noise is applied to each frequency band vibration signal to obtain the corresponding noise-treated frequency band vibration signal. For each frequency band vibration signal after applying noise, the highest frequency vibration signal in the frequency band vibration signal after applying noise is determined and extracted as the first stage vibration signal component. The second highest frequency vibration signal is determined and extracted from the frequency band vibration signal after the high-frequency noise component is extracted as the second stage vibration signal component. Thus, the extraction of the next stage vibration signal component continues in the frequency band vibration signal after the vibration signal component is extracted in the previous step, until the frequency band vibration signal after the stage vibration signal component is finally extracted can no longer be decomposed, thus obtaining multiple stage vibration signal components corresponding to each multi-frequency band vibration signal. For each stage vibration signal component corresponding to each multi-frequency band vibration signal, independent noise identification is performed on the stage vibration signal component. Based on the independent noise identification results, the vibration data is purified to obtain the purified vibration data.

[0010] Optionally, independent noise identification is performed on the vibration signal components of the stage, including: The frequency of the vibration signal component in the stage is determined, the total energy and signal length of the vibration signal in the frequency band to which the vibration signal component in the stage belongs are determined, and the preset fault characteristic frequency range of the vibration signal in the frequency band is determined. A threshold adjustment coefficient is determined based on the signal component frequency and the preset fault characteristic frequency range. The noise threshold of the stage vibration signal component is then dynamically determined based on the threshold adjustment coefficient, the total signal energy, and the signal length. ,in, For noise threshold, For threshold adjustment coefficient, Frequency band vibration signal Total signal energy Vibration signal in frequency band The signal length; Independent noise identification is performed based on the corresponding stage vibration signal components according to the noise threshold.

[0011] Optionally, determining the binarized image corresponding to the axis trajectory graphic includes: Determine the graphic complexity of the axis trajectory graph; Based on the aforementioned graphic complexity, an edge detection threshold, a target hole filling algorithm, and a binarization local window size threshold are determined. Then, based on the edge detection threshold, the target hole filling algorithm, and the binarization local window size threshold, adaptive edge detection, contour-guided hole filling, and dynamic binarization image quality enhancement operations are sequentially performed on the axis trajectory graphic to obtain the binarized image. The method for determining the graphical complexity of the axis trajectory graph includes: Determine the total number of connected edge segments and the pixel length of each connected edge segment in the axis trajectory graph, and determine the edge continuity index parameters based on the total number of connected edge segments and the pixel length of each connected edge segment. : ,in, The total number of connected edge segments, For the first The pixel length of each connected edge segment; Determine the preset local window size, the average pixel grayscale value within the preset local window, and the pixel grayscale value of the axis-centered trajectory graphic. Based on the preset local window size, the average pixel grayscale value, and the pixel grayscale value, determine the noise level index parameter. for: ,in, To preset local window size, pixel coordinates pixel grayscale value at the location This represents the average grayscale value of the pixels. The ideal geometric figure corresponding to the axisymmetric trajectory pattern is determined, as are the total number of contour points in the axisymmetric trajectory pattern and the distance from each contour point in the axisymmetric trajectory pattern to the ideal geometric figure. Based on the total number of contour points and the distance, shape regularity index parameters are determined. for: ,in, The total number of contour points, For the first The distance from each contour point to the ideal geometry; Determine the edge continuity index parameters respectively The noise level index parameters and the shape regularity index parameters The corresponding weighting coefficients, based on the weighting coefficients, are applied to the edge continuity index parameters. The noise level index parameters and the shape regularity index parameters Perform a weighted summation, and determine the graphic complexity of the axis trajectory graphic based on the weighted summation result.

[0012] According to a second aspect of the present invention, an axial trajectory classification device based on an improved graphical invariant moment is provided, comprising: The acquisition unit is used to acquire vibration data of the target rotating machinery in response to the shaft center trajectory classification signal of the target rotating machinery; A purification processing unit is used to purify the vibration data to obtain the purified vibration data. The determining unit is used to generate the shaft center trajectory graphic of the target rotating machinery based on the purified vibration data, and to determine the binarized image corresponding to the shaft center trajectory graphic. The classification unit is used to determine the initial invariant moment function set, construct a new invariant moment function set based on multiple initial invariant moment functions in the initial invariant moment function set to enhance the invariance of the axis trajectory to translation, rotation and scaling transformations, and use the new invariant moment function set to determine the image shape feature vector with translation, rotation and scaling invariance corresponding to the binarized image, and input the image shape feature vector into a preset classification model for classification to obtain the classification result of the axis trajectory of the target rotating machinery.

[0013] According to a third aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the above-described method for classifying axisymmetric trajectories based on improved graphical invariant moments.

[0014] According to a fourth aspect of the present invention, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the above-described method for classifying axisymmetric trajectories based on improved graphical invariant moments.

[0015] The present invention provides a method, apparatus, and medium for classifying shaft center trajectories based on improved graphical invariant moments. Compared with the current method of classifying shaft center trajectories solely by comparing the working data of rotating machinery with a fixed threshold, the present invention purifies the vibration data, eliminating the influence of noise in the data, thereby improving the classification accuracy and efficiency of subsequent shaft center trajectory classification. By converting one-dimensional vibration data into two-dimensional graphics, the motion state of the shaft center (such as precession direction and trajectory shape) can be intuitively reflected, facilitating subsequent feature extraction and classification. By constructing a new set of invariant moment functions from the initial set of invariant moment functions, the invariance to translation, rotation, and scaling transformations of the shaft center trajectory can be strengthened. Thus, the image shape feature vector constructed by the new set of invariant moment functions can accurately reflect the essential shape of the graphic, thereby improving the classification accuracy of subsequent classification of shaft center trajectories based on image shape feature vectors. Attached Figure Description

[0016] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings: Figure 1 The flowchart of an axisymmetric trajectory classification method based on improved graphical invariant moments provided by an embodiment of the present invention is shown. Figure 2 This diagram illustrates an optimal classification surface of a directed acyclic graph support vector machine according to an embodiment of the present invention. Figure 3 This illustrates a directed acyclic graph (DAG) of multiple classes of samples in a directed acyclic graph support vector machine provided by an embodiment of the present invention. Figure 4 The flowchart of another axis trajectory classification method based on improved graphical invariant moments provided by an embodiment of the present invention is shown; Figure 5 This diagram illustrates the structure of a center trajectory classification device based on an improved graphical invariant moment, according to an embodiment of the present invention. Figure 6 This invention provides a schematic diagram of another axis trajectory classification device based on an improved graphical invariant moment, according to an embodiment of the present invention. Figure 7 A schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention is shown. Detailed Implementation

[0017] The present invention will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the present application can be combined with each other.

[0018] Currently, the common method of classifying shaft center trajectories by comparing the working data of rotating machinery with fixed thresholds ignores the shape details of the shaft center trajectory, resulting in low classification accuracy.

[0019] To address the aforementioned problems, embodiments of the present invention provide a method for classifying axisymmetric trajectories based on an improved graphical invariant moment, such as... Figure 1 As shown, the method includes: 101. In response to the shaft center trajectory classification signal of the target rotating machinery, collect the vibration data of the target rotating machinery.

[0020] In this embodiment of the invention, the target rotating machinery can be a steam turbine, compressor, or other similar machinery. This embodiment of the invention does not specifically limit the type of target rotating machinery. Vibration signals of the target rotating machinery can be collected using eddy current sensors as vibration data. For example, two eddy current sensors mounted on bearing housings at 90° angles to each other can be used to collect radial vibration signals of the rotor in the x and y directions, obtaining two synchronous raw data streams as vibration data.

[0021] 102. The vibration data is purified to obtain purified vibration data.

[0022] In this embodiment of the invention, the vibration data is first detrended by using polynomial fitting to eliminate low-frequency drift, and then normalized by scaling the data to the [0,1] interval to eliminate dimensional effects and stabilize subsequent processing. The processed vibration data is then decomposed into signals of different frequency bands, and noise is removed independently for each segment. This process purifies the acquired vibration data. This embodiment of the invention removes noise from the vibration data, ensuring data usability and enabling the synthesis of clear and well-defined axis trajectory graphics.

[0023] 103. Generate the shaft center trajectory graphic of the target rotating machinery based on the purified vibration data, and determine the corresponding binarized image of the shaft center trajectory graphic.

[0024] In this embodiment of the invention, the purified vibration data is a time-domain displacement signal. A two-dimensional coordinate system is constructed with time t as the horizontal axis, displacement x(t) in the x-direction as the vertical axis, and displacement y(t) in the y-direction as the vertical axis. If the vibration data is an acceleration signal, it needs to be converted into a displacement signal through quadratic integration (high-pass filtering + polynomial fitting is used during the integration process to eliminate integration drift and ensure that the displacement signal has no trend term). Further, the x(t) and y(t) coordinate points are connected in time sequence to form the axis-centered motion trajectory. To smooth the trajectory roughness caused by noise, cubic spline interpolation can be used to generate a continuous and smooth axis-centered trajectory graphic. For example, the trajectory of an imbalance fault is elliptical, the trajectory of an misalignment fault is "figure-eight shaped", and the trajectory of a rubbing fault has "burrs" on the edges. Then, the generated trajectory graphic is grayscaled and normalized to eliminate the influence of dimensions. Finally, the processed graphic is binarized to obtain a binarized image. This invention converts one-dimensional vibration data into two-dimensional graphics, which can intuitively reflect the motion state of the axis (such as precession direction and trajectory shape), facilitating subsequent feature extraction and classification.

[0025] 104. Determine the initial invariant moment function set. Based on the multiple initial invariant moment functions in the initial invariant moment function set, construct a new invariant moment function set that can enhance the invariance of the shaft center trajectory translation, rotation, and scaling transformations. Use the new invariant moment function set to determine the image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image. Input the image shape feature vector into the preset classification model for classification to obtain the classification result of the shaft center trajectory of the target rotating machinery.

[0026] In this embodiment of the invention, an initial set of invariant moment functions with fundamental invariance to translation, rotation, and scaling transformations is first determined. This initial set of invariant moment functions reflects the basic global shape characteristics of the graphic, such as the major-to-minor axis ratio of an ellipse and the intersection angle of a figure-eight shape. Then, the initial set of invariant moment functions is optimized to construct a new set of invariant moment functions. Specific methods include: local weighted optimization: introducing Gaussian weight functions to the higher-order moments (such as moments reflecting shape symmetry) in the initial invariant moment functions, assigning higher weights to key areas such as trajectory edges and intersections, enhancing robustness to local shape changes; multi-scale fusion: combining initial invariant moments of different scales (such as lower-order moments reflecting large-scale shapes and higher-order moments reflecting details), and using linear weighted fusion to adapt to axisymmetric trajectories of different sizes (such as the micro-trajectory of a small fault and the extended trajectory of a large fault); and transformation regularization: introducing regularization terms for translation, rotation, and scaling transformations into the moment function calculation, forcing the new invariant moments to be less sensitive to these transformations by minimizing the feature differences after the transformations. Therefore, following the above method, a new set of invariant moment functions can be constructed, which significantly enhances the invariance of the image to translation, rotation, and scaling transformations. Furthermore, for the binarized image, eigenvalues ​​are calculated using multiple new invariant moment functions from the new set. Each new invariant moment function corresponds to a scalar eigenvalue, reflecting the image's shape characteristics in that moment dimension (such as the eccentricity of an ellipse or the symmetry of a figure-eight). These eigenvalues ​​are then arranged sequentially to form a multidimensional image shape feature vector. This vector encapsulates the core shape information of the image and is insensitive to translation (overall movement of the trajectory), rotation (change in trajectory angle), and scaling (scaling of the trajectory size). This invention constructs a new set of invariant moment functions that enhances invariance to translation, rotation, and scaling. This ensures that the feature vectors can stably reflect the nature of the fault even when these transformations occur on the axis trajectory. For example, when speed fluctuations cause the trajectory graphic to scale (scaling transformation), traditional invariant moments may cause feature vector deviations due to scaling sensitivity, while the new invariant moments can maintain feature stability and avoid misclassification. When load changes cause trajectory angle shifts (rotation transformation), the insensitivity of the new invariant moments to rotation ensures that the feature vectors are unaffected. In summary, by constructing the initial set of invariant moment functions into a new set of invariant moment functions, this invention strengthens the invariance to translation, rotation, and scaling transformations on the axis trajectory. As a result, the image shape feature vectors constructed using the new set of invariant moment functions can accurately reflect the essential shape of the graphic, thereby improving the classification accuracy of subsequent classification of the axis trajectory based on the image shape feature vectors.

[0027] Furthermore, after determining the image shape feature vector, a preset classification model is needed to classify the shaft center trajectory based on this image shape feature vector. To ensure classification accuracy, the preset classification model needs to be trained and constructed first. Based on this, the method includes: constructing a preset initial classification model; obtaining a sample dataset, wherein the sample dataset includes image shape feature vectors of shaft center trajectory graphics of sample rotating machinery with annotation information, wherein the annotation information includes actual classification results of the shaft center trajectory, including different types of fault results (such as imbalance fault, misalignment fault, collision fault, etc.) and normal results; dividing the sample dataset into a training set and a test set, using the training set to train the preset initial classification model, and using the test set to test the trained preset initial classification model, and finally using the trained preset initial classification model that meets the test conditions as the preset classification model.

[0028] Specifically, during model training, a pre-defined initial classification model is first constructed, followed by the acquisition of a sample dataset. The dataset is ensured to contain all necessary files. The data is converted to a format understandable by the pre-defined initial classification model, and finally, the model is trained and tested. Specifically, the dataset can be divided first: using random or specific strategies (such as stratified sampling), the sample dataset is divided into a training set and a test set. The model is then trained using the training set, and tested using the test set to evaluate its performance on unseen data. Precision, recall, and other metrics on the test set are calculated and recorded. If the model performance does not meet the requirements, it can return to the training phase for further iterations or adjustments. This process yields a pre-defined classification model that meets the requirements. The model structure of the pre-defined initial classification model in this embodiment can be the same as the model structure of the pre-defined classification model. The pre-defined classification model can be a directed acyclic graph support vector machine, which includes a root node and leaf nodes. Figure 2 This demonstrates an optimal classification surface for a directed acyclic graph support vector machine (DAG). , , ) Schematic diagram, Figure 3 This paper demonstrates a directed acyclic graph (DAG) for multiple classes of samples in a directed acyclic graph support vector machine (SVM). The image shape feature vector is then input into the root node of the SVM for identification and classification. The fault type is output at the leaf node, ultimately yielding the fault classification result and achieving fault diagnosis. This embodiment of the invention uses a model to classify the shaft trajectory of rotating machinery, improving classification accuracy and efficiency.

[0029] The present invention provides a method for classifying shaft center trajectories based on improved graphical invariant moments. Compared with the current method of classifying shaft center trajectories solely by comparing the working data of rotating machinery with a fixed threshold, the present invention purifies the vibration data, eliminating the influence of noise in the data, thereby improving the classification accuracy and efficiency of subsequent shaft center trajectory classification. By converting one-dimensional vibration data into two-dimensional graphics, the motion state of the shaft center (such as precession direction and trajectory shape) can be intuitively reflected, facilitating subsequent feature extraction and classification. By constructing a new set of invariant moment functions from the initial set of invariant moment functions, the invariance to translation, rotation, and scaling transformations of the shaft center trajectory can be strengthened. Thus, the image shape feature vector constructed by the new set of invariant moment functions can accurately reflect the essential shape of the graphic, thereby improving the classification accuracy of subsequent classification of shaft center trajectories based on image shape feature vectors.

[0030] Furthermore, to better illustrate the above process of classifying axis center trajectories, as a refinement and extension of the above embodiments, this invention provides another method for classifying axis center trajectories based on improved graphical invariant moments, such as... Figure 4 As shown, the method includes: 201. In response to the shaft center trajectory classification signal of the target rotating machinery, collect the vibration data of the target rotating machinery.

[0031] Specifically, sensors are used to collect vibration data of the bearings on the target rotating machinery during its movement.

[0032] 202. The vibration data is decomposed into multi-scale vibration signals according to frequency to obtain multi-band vibration signals. Random noise is applied to each frequency band vibration signal to obtain the corresponding noise-treated frequency band vibration signal.

[0033] 203. For each frequency band vibration signal after applying noise, determine and extract the highest frequency vibration signal in the frequency band vibration signal after applying noise as the first stage vibration signal component. Determine and extract the second highest frequency vibration signal in the frequency band vibration signal after extracting the high-frequency noise component as the second stage vibration signal component. Continue to extract the next stage vibration signal component in the frequency band vibration signal after the vibration signal component is extracted in the previous step until the frequency band vibration signal after the stage vibration signal component is finally extracted can no longer be decomposed, thus obtaining multiple stage vibration signal components corresponding to each multi-frequency band vibration signal.

[0034] 204. For each stage vibration signal component corresponding to each multi-frequency band vibration signal, perform independent noise identification on the stage vibration signal component, and purify the vibration data based on the independent noise identification results to obtain the purified vibration data.

[0035] In this embodiment of the invention, the vibration data is first decomposed into multiple scales according to frequency. For example, the vibration signal (vibration data) is decomposed into three levels to obtain a multi-band vibration signal, including: low-frequency component (D1): mainly containing a 100Hz fault signal; mid-frequency component (D2): containing some transitional frequency interference; and high-frequency component (D3): mainly containing high-frequency noise. Then, for each frequency band vibration signal, further decomposition is performed. Before decomposition, a set of random white noise is added to each frequency band vibration signal to coarsen the signal, making it easier to clearly separate different frequency components during subsequent decomposition. For example, the original D1 signal is a mixture of "high-frequency noise + 200Hz harmonics." After adding white noise, the signal waveform becomes rougher, but the fluctuation characteristics of different frequency components are amplified, providing a basis for subsequent decomposition. Furthermore, multiple rounds of signal decomposition are needed for each frequency band vibration signal after noise is applied. The first round of decomposition extracts the highest frequency component (e.g., pure noise >500Hz) as the first-stage vibration signal component. The second round of decomposition further decomposes the remaining signal, extracting the second-highest frequency component (e.g., 200Hz fault harmonics) as the second-stage vibration signal component. Subsequent rounds repeat the decomposition process until the remaining signal can no longer be decomposed (i.e., it becomes a monotonic signal). To eliminate the random effects of adding white noise, the above steps can be repeated multiple times, adding different white noise each time. Each time, multiple stage vibration signal components corresponding to different decomposition rounds are obtained. The average of the multiple stage vibration signal components corresponding to the same decomposition round is taken as the stage vibration signal component for that decomposition round. Subsequently, independent noise identification needs to be performed on each stage of the vibration signal component. Based on this, the method includes: determining the signal component frequency of the stage vibration signal component; determining the total signal energy and signal length of the vibration signal in the frequency band to which the stage vibration signal component belongs; and determining a preset fault characteristic frequency range for the frequency band vibration signal; determining a threshold adjustment coefficient based on the signal component frequency and the preset fault characteristic frequency range; and dynamically determining the noise threshold of the stage vibration signal component based on the threshold adjustment coefficient, the total signal energy, and the signal length. ,in, For noise threshold, For threshold adjustment coefficient, Frequency band vibration signal Total signal energy Vibration signal in frequency band The signal length; based on the noise threshold, independent noise identification is performed on the corresponding stage vibration signal component.

[0036] Specifically, the frequency of the stage vibration signal is extracted: the main frequency components of the signal component are extracted through spectrum analysis (such as Fast Fourier Transform) as the signal component frequency; parameters of the frequency band vibration signal are extracted: total signal energy: the total energy of the frequency band vibration signal in the time domain is calculated, which can be obtained by multiplying the square of the signal root mean square value by the signal duration; signal length: the duration of the signal is directly obtained (such as the time corresponding to the number of sampling points) as the signal length. A preset fault characteristic frequency range for the frequency band vibration signal is set according to actual needs. Then, the threshold adjustment coefficient is dynamically adjusted according to the degree of matching between the signal component frequency and the preset fault characteristic frequency range. If the signal component frequency falls within the preset fault characteristic frequency range, the adjustment coefficient is smaller (to reduce threshold sensitivity); if the signal component frequency deviates from the preset fault characteristic frequency range, the adjustment coefficient is larger (to increase threshold sensitivity). Finally, the noise threshold is calculated by combining the threshold adjustment coefficient, the total signal energy, and the signal length. Finally, the amplitude of the stage vibration signal component is compared with the calculated noise threshold. If the amplitude exceeds the threshold, the component is determined to be noise; if the amplitude does not exceed the threshold, it is determined to be a valid signal. The noise components are then removed or corrected to obtain the normal signal components, which can then be used to reconstruct the purified vibration data.

[0037] This invention effectively distinguishes between noise and valid signals under different operating conditions by dynamically adjusting the threshold adjustment coefficient and calculating the dynamic noise threshold by combining the total signal energy and signal length. For example, when the signal frequency is close to the fault characteristic range, reducing the threshold sensitivity can avoid misjudging weak fault signals as noise; when the frequency deviates from the fault range, increasing the threshold sensitivity can effectively filter out irrelevant noise, providing a cleaner signal basis for subsequent fault feature extraction and classification, thereby improving the accuracy and efficiency of subsequent shaft center trajectory classification.

[0038] 205. Generate the shaft center trajectory graphic of the target rotating machinery based on the purified vibration data, and determine the corresponding binarized image of the shaft center trajectory graphic.

[0039] In this embodiment of the invention, purified vibration data of the target rotating machinery is acquired. This data includes two orthogonal vibration signals in the X and Y directions. Time synchronization calibration is performed on the vibration signals in both directions to ensure that the X and Y signals at the same time point correspond to the same position of the axis center in the horizontal plane. Using time as the horizontal axis, X-direction vibration displacement as the vertical axis, and Y-direction vibration displacement as the horizontal axis, the purified vibration data is converted into a two-dimensional coordinate point sequence. Then, the two-dimensional coordinate points are connected in chronological order to form a continuous trajectory of the axis center motion. To eliminate trajectory roughness caused by possible residual minor noise in the purified data, cubic spline interpolation is used to smooth the coordinate points: for example, using the coordinate points as interpolation nodes, a cubic spline function is constructed to generate denser interpolation points. Connecting the interpolation points and coordinate points forms a smooth axis center trajectory graphic, ensuring continuous and unbroken trajectory edges. Furthermore, in order to classify the axis trajectory, the axis trajectory graphic needs to be binarized into a binarized image. Therefore, step 205 specifically includes: determining the graphic complexity of the axis trajectory graphic; determining an edge detection threshold, a target hole-filling algorithm, and a binarized local window size threshold based on the graphic complexity; and performing adaptive edge detection, contour-guided hole-filling, and dynamic binarization image quality enhancement operations on the axis trajectory graphic sequentially based on the edge detection threshold, the target hole-filling algorithm, and the binarized local window size threshold to obtain the binarized image. The method for determining the graphic complexity of the axis trajectory graphic includes: determining the total number of connected edge segments and the pixel length of each connected edge segment in the axis trajectory graphic; and determining edge continuity index parameters based on the total number of connected edge segments and the pixel length of each connected edge segment. : ,in, The total number of connected edge segments, For the first The pixel length of each connected edge segment is determined; a preset local window size, the average pixel grayscale value within the preset local window, and the pixel grayscale value of the axis-centered trajectory graphic are determined; and noise level index parameters are determined based on the preset local window size, the average pixel grayscale value, and the pixel grayscale value. for: ,in, To preset local window size, pixel coordinates pixel grayscale value at the location The average grayscale value of pixels is used; the ideal geometric shape corresponding to the axis trajectory graphic is determined, the total number of contour points of the axis trajectory graphic and the distance from each contour point in the axis trajectory graphic to the ideal geometric shape are determined, and shape regularity index parameters are determined based on the total number of contour points and the distance. for: ,in, The total number of contour points, For the first The distances from each contour point to the ideal geometry are determined; the edge continuity index parameters are determined respectively. The noise level index parameters and the shape regularity index parameters The corresponding weighting coefficients, based on the weighting coefficients, are applied to the edge continuity index parameters. The noise level index parameters and the shape regularity index parameters Perform a weighted summation, and determine the graphic complexity of the axis trajectory graphic based on the weighted summation result.

[0040] Specifically, the edge continuity index parameter is calculated as follows: The total number of connected edge segments in the axis trajectory graphic and the pixel length of each connected edge segment are counted. The index parameter reflecting the degree of edge continuity is obtained through the average relationship between the total number and the lengths of each segment. The noise level index parameter is calculated as follows: A preset local window size is set according to actual needs. The average pixel grayscale value of the axis trajectory graphic within this window and the pixel grayscale value of the axis trajectory graphic are calculated. Based on this information, an index parameter reflecting the noise level of the graphic is determined. The shape regularity index parameter is calculated as follows: The ideal geometric shape corresponding to the graphic (such as an ellipse, figure-eight shape, etc.) is determined. The total number of contour points of the graphic is counted. The distance from each contour point to the ideal geometric shape is calculated. The index parameter reflecting the regularity of the graphic is obtained through the average relationship between the total number and each distance. Finally, weight coefficients are assigned to the above three index parameters according to actual needs. The overall complexity value of the axis trajectory graphic is obtained by weighted summation as the graphic complexity. Furthermore, reasonable edge detection thresholds, binarization local window size thresholds, and target hole-filling algorithms are determined based on the graphic complexity of the axis trajectory graphic. For example, when the complexity is high, the edge detection threshold is lowered to capture more edge details; when the complexity is low, the edge detection threshold is increased to reduce noise interference. When the complexity is high, the binarization local window size is reduced to adapt to local shape changes; when the complexity is low, the binarization local window size is increased to smooth noise. When the complexity is high, a contour-guided hole-filling algorithm is selected to preserve complex shape features; when the complexity is low, a simple morphological filling algorithm is selected to improve efficiency. Furthermore, the edge detection threshold is used to capture subtle and redundant edges of the graphic. Based on these subtle and redundant edges, effective edges of the graphic are extracted. Based on the effective edges of the graphic, effective axis trajectory graphics are extracted from the axis trajectory graphic to ensure that the graphic contour is continuous and unbroken. Next, based on the graphic contour of the effective axis-center trajectory, a target hole-filling algorithm is used to identify the hole regions inside the contour (such as the black area at the intersection of the figure 8). Using contour pixels as seed points, the algorithm grows and fills into the holes, ensuring that the filled shape is consistent with the original contour, thus obtaining the filled effective axis-center trajectory graphic. Then, according to the binarization local window size threshold, the filled effective axis-center trajectory graphic is divided into multiple local windows. For each window, the pixel grayscale mean and variance are calculated, and the binarization threshold is dynamically set. Based on the binarization threshold, the pixels are divided into foreground and background, thus obtaining a binarized image.

[0041] The embodiments of the present invention can improve the quality of graphics by performing edge extraction and hole filling. The process of dynamically determining the threshold size of the binarized local window based on the complexity of the graphics can accurately capture the subtle edges of the graphics, reduce noise interference, and thus ensure the accuracy and feature richness of the binarized image.

[0042] 206. Determine the initial invariant moment function set. Based on the multiple initial invariant moment functions in the initial invariant moment function set, construct a new invariant moment function set that can enhance the invariance of the axis trajectory translation, rotation, and scaling transformations. Use the new invariant moment function set to determine the image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image. Input the image shape feature vector into the preset classification model for classification to obtain the classification result of the axis trajectory of the target rotating machinery.

[0043] In this embodiment of the invention, the initial invariant moment function group consists of multiple initial invariant moment functions, each of which includes: the first initial invariant moment function is shown below: , The second initial invariant moment function is shown below: , The third initial invariant moment function is shown below: , The fourth initial invariant moment function is shown below: , The fifth initial invariant moment function is shown below: , The sixth initial invariant moment function is shown below: , The seventh initial invariant moment function is shown below:

[0044] in, For the i-th initial invariant moment, , The order of the graph in the x-coordinate direction. The order of the y-coordinate direction The original moments below, , .

[0045] Furthermore, after determining the aforementioned initial invariant moment functions, it is necessary to construct a new set of invariant moment functions based on each initial invariant moment function to enhance the invariance of the axis trajectory under translation, rotation, and scaling transformations. This new set of invariant moment functions consists of multiple new invariant moment functions, each including: The first new invariant moment function is shown below: , The second new invariant moment function is shown below:

[0046] The third new invariant moment function is shown below:

[0047] The fourth new invariant moment function is shown below:

[0048] The fifth new invariant moment function is shown below:

[0049] The sixth new invariant moment function is shown below:

[0050] in, For the j-th new invariant moment, .

[0051] Furthermore, after constructing the new set of invariant moment functions, it is necessary to use each of the new invariant moment functions in the new set of invariant moment functions to determine the image shape feature vector with translation, rotation, and scaling invariance. Based on this, the method includes: determining the original moments of the binarized image as: ,in, The order of the binarized image in the x-coordinate direction. The order of the y-coordinate direction The original moments under the current and Corresponding to the width and height in the binarized image size parameters, For the binarized image in pixel coordinates Gray values ​​at different orders; sum order The original moments under the combination are used to determine multiple initial invariant moments of the binarized image using the initial invariant moment function set. Based on each initial invariant moment, multiple new invariant moments of the binarized image are determined using the new invariant moment function set. Each new invariant moment generates an image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image.

[0052] Specifically, for each pixel in the binarized image, based on its horizontal and vertical coordinates in the image, the sum of the products of the pixel's grayscale value and the corresponding powers of its horizontal and vertical coordinates is calculated to obtain the primitive moments of the corresponding order. The horizontal and vertical coordinates cover the width and height of the image, and the grayscale value represents the brightness of the pixel. Based on combinations of primitive moments of different orders (such as combinations of low-order and high-order primitive moments), multiple initial invariant moments are generated through a pre-defined set of initial invariant moment functions. The purpose of the initial invariant moment function set is to initially eliminate information related to image position and orientation in the primitive moments, retaining the core features related to shape. Each initial invariant moment is further processed by a new invariant moment function set to generate multiple new invariant moments. These new invariant moments combine to form the final image shape feature vector. This feature vector remains invariant to image translation (position movement), rotation (direction change), and scaling (size scaling), meaning that the core information of the feature vector remains stable regardless of the geometric transformations performed on the image. For example, if the final calculated initial invariant moments are: , , , , , , Substituting the above initial invariant moments into the corresponding new invariant moment functions, we obtain the new invariant moments as follows: , , , , , Then the final image shape feature vector with translation, rotation, and scaling invariance can be: The image shape feature vector generated by the newly constructed set of invariant moment functions in this embodiment of the invention has triple invariance to translation, rotation, and scaling, which can effectively eliminate the interference of image geometric transformation on feature extraction, thereby improving the classification accuracy of subsequent axisymmetric trajectories.

[0053] Finally, the image shape feature vectors, which are invariant to translation, rotation, and scaling, are directly input into the directed acyclic graph support vector machine (DAG) to obtain the shaft center trajectory classification result. During the training of the DAG, a sample dataset is pre-acquired. This dataset includes image shape feature vectors of the shaft center trajectory graphics of rotating machinery with different fault labeling information and non-fault labeling information. Different fault samples are classified pairwise to obtain different combinations of binary classification results. The node with the highest accuracy is selected as the preceding node to prepare for subsequent overall recognition. The DAG is used for classification, with one binary classifier trained for every two classes of samples. Multiple classifiers are included. Starting from the root node, based on the final combination of classification nodes determined by the binary classification, the image shape feature vector of the sample to be tested is input into the DAG for classification. The fault type is output at the leaf node, ultimately obtaining the fault classification result and achieving fault diagnosis.

[0054] According to another method for classifying shaft center trajectories based on improved graphical invariant moments provided by the present invention, compared with the current method of classifying shaft center trajectories solely based on the comparison of the working data of rotating machinery with a fixed threshold, the present invention can eliminate the influence of noise in the data by purifying the vibration data, thereby improving the classification accuracy and efficiency of subsequent shaft center trajectory classification; by converting one-dimensional vibration data into two-dimensional graphics, the motion state of the shaft center (such as precession direction and trajectory shape) can be intuitively reflected, facilitating subsequent feature extraction and classification; by constructing an initial set of invariant moment functions into a new set of invariant moment functions, the invariance to translation, rotation, and scaling transformations of the shaft center trajectory can be strengthened, so that the image shape feature vector constructed by the new set of invariant moment functions can accurately reflect the essential shape of the graphics, thereby improving the classification accuracy of subsequent classification of shaft center trajectories based on image shape feature vectors.

[0055] Furthermore, as Figure 1 In a specific implementation, this invention provides a centerline trajectory classification device based on an improved graphical invariant moment, such as... Figure 5 As shown, the device includes: a collection unit 31, a purification processing unit 32, a determination unit 33, and a classification unit 34.

[0056] The acquisition unit 31 can be used to acquire vibration data of the target rotating machinery in response to the shaft trajectory classification signal of the target rotating machinery.

[0057] The purification processing unit 32 can be used to purify the vibration data to obtain the purified vibration data.

[0058] The determining unit 33 can be used to generate the shaft center trajectory graphic of the target rotating machinery based on the purified vibration data, and determine the binarized image corresponding to the shaft center trajectory graphic.

[0059] The classification unit 34 can be used to determine an initial set of invariant moment functions, construct a new set of invariant moment functions based on multiple initial invariant moment functions in the initial set of invariant moment functions, and use the new set of invariant moment functions to determine the image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image. The image shape feature vector is then input into a preset classification model for classification to obtain the classification result of the shaft trajectory of the target rotating machinery.

[0060] In specific application scenarios, the initial invariant moment function set includes multiple initial invariant moment functions, the first initial invariant moment function being: The second initial invariant moment function is: The third initial invariant moment function is: The fourth initial invariant moment function is: The fifth initial invariant moment function is: The sixth initial invariant moment function is: The seventh initial invariant moment function is: ;in, For the i-th initial invariant moment, , The order of the image in the x-coordinate direction The order of the y-coordinate direction The original moments below, , .

[0061] In specific application scenarios, in order to construct a new set of invariant moment functions that can enhance the invariance of translation, rotation, and scaling transformations of the axis trajectory, the new set of invariant moment functions contains multiple new invariant moment functions. The first new invariant moment function is: The second new invariant moment function is: The third new invariant moment function is: The fourth new invariant moment function is: The fifth new invariant moment function is: The sixth new invariant moment function is: ,in, For the j-th new invariant moment, .

[0062] In specific application scenarios, in order to determine image shape feature vectors that are invariant to translation, rotation, and scaling, such as Figure 6As shown, the classification unit 34 includes a determination module 341 and a feature generation module 342.

[0063] The determining module 341 can be used to determine the original moments of the binarized image as follows: ,in, The order of the binarized image in the x-coordinate direction. The order of the y-coordinate direction The original moments under the current and Corresponding to the width and height in the binarized image size parameters, For the binarized image in pixel coordinates The grayscale value at that location.

[0064] The feature generation module 342 can be used to generate features based on different orders. sum order The original moments under the combination are used to determine multiple initial invariant moments of the binarized image using the initial invariant moment function set. Based on each initial invariant moment, multiple new invariant moments of the binarized image are determined using the new invariant moment function set. Each new invariant moment generates an image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image.

[0065] In specific application scenarios, in order to purify vibration data, the purification processing unit 32 includes a decomposition module 321, a component extraction module 322, and a noise identification module 323.

[0066] The decomposition module 321 can be used to decompose the vibration data according to frequency at multiple scales to obtain multi-frequency vibration signals, and apply random noise to each frequency band vibration signal to obtain the frequency band vibration signal after applying noise.

[0067] The component extraction module 322 can be used to determine and extract the highest frequency vibration signal in each frequency band vibration signal after applying noise as the first stage vibration signal component, and determine and extract the second highest frequency vibration signal in the frequency band vibration signal after extracting the high-frequency noise component as the second stage vibration signal component. Thus, the extraction of the next stage vibration signal component continues in the frequency band vibration signal after the vibration signal component is extracted in the previous step, until the frequency band vibration signal after the final stage vibration signal component is extracted can no longer be decomposed, thereby obtaining multiple stage vibration signal components corresponding to each multi-frequency band vibration signal.

[0068] The noise identification module 323 can be used to perform independent noise identification on each stage vibration signal component corresponding to each multi-frequency band vibration signal, and to purify the vibration data based on the independent noise identification results to obtain the purified vibration data.

[0069] In specific application scenarios, in order to independently identify noise in the stage vibration signal components, the noise identification module 323 can be used to determine the signal component frequency of the stage vibration signal component, determine the total signal energy and signal length of the vibration signal in the frequency band to which the stage vibration signal component belongs, and determine the preset fault characteristic frequency range of the vibration signal in the frequency band; determine a threshold adjustment coefficient based on the signal component frequency and the preset fault characteristic frequency range, and dynamically determine the noise threshold of the stage vibration signal component based on the threshold adjustment coefficient, the total signal energy, and the signal length. ,in, For noise threshold, For threshold adjustment coefficient, Frequency band vibration signal Total signal energy Vibration signal in frequency band The signal length; based on the noise threshold, independent noise identification is performed on the corresponding stage vibration signal component.

[0070] In specific application scenarios, in order to determine the binarized image corresponding to the axis trajectory graphic, the determination unit 33 includes a complexity determination module 331 and an image enhancement module 332.

[0071] The complexity determination module 331 can be used to determine the graphic complexity of the axis trajectory graphic.

[0072] The image enhancement module 332 can be used to determine the edge detection threshold, target hole filling algorithm, and binarization local window size threshold based on the graphic complexity, and then perform adaptive edge detection, contour-guided hole filling, and dynamic binarization image quality enhancement operations on the axis trajectory graphic based on the edge detection threshold, the target hole filling algorithm, and the binarization local window size threshold, to obtain the binarized image.

[0073] In specific application scenarios, to determine the graphic complexity of the axis-centered trajectory graphic, the complexity determination module 331 can be used to determine the total number of connected edge segments and the pixel length of each connected edge segment in the axis-centered trajectory graphic, and determine the edge continuity index parameters based on the total number of connected edge segments and the pixel length of each connected edge segment. : ,in, The total number of connected edge segments, For the first The pixel length of each connected edge segment is determined; a preset local window size, the average pixel grayscale value within the preset local window, and the pixel grayscale value of the axis-centered trajectory graphic are determined; and noise level index parameters are determined based on the preset local window size, the average pixel grayscale value, and the pixel grayscale value. for: ,in, To preset local window size, pixel coordinates pixel grayscale value at the location The average grayscale value of pixels is used; the ideal geometric shape corresponding to the axis trajectory graphic is determined, the total number of contour points of the axis trajectory graphic and the distance from each contour point in the axis trajectory graphic to the ideal geometric shape are determined, and shape regularity index parameters are determined based on the total number of contour points and the distance. for: ,in, The total number of contour points, For the first The distances from each contour point to the ideal geometry are determined; the edge continuity index parameters are determined respectively. The noise level index parameters and the shape regularity index parameters The corresponding weighting coefficients, based on the weighting coefficients, are applied to the edge continuity index parameters. The noise level index parameters and the shape regularity index parameters Perform a weighted summation, and determine the graphic complexity of the axis trajectory graphic based on the weighted summation result.

[0074] It should be noted that other corresponding descriptions of the functional modules involved in the axisymmetric trajectory classification device based on improved graphic invariant moments provided in this embodiment of the invention can be found in the following references. Figure 1 The corresponding description of the method shown will not be repeated here.

[0075] Based on the above, Figure 1Accordingly, this embodiment of the invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the following steps: in response to a classification signal of the shaft center trajectory of a target rotating machine, acquiring vibration data of the target rotating machine; refining the vibration data to obtain refined vibration data; generating a shaft center trajectory graphic of the target rotating machine based on the refined vibration data, and determining a binarized image corresponding to the shaft center trajectory graphic; determining an initial set of invariant moment functions, constructing a new set of invariant moment functions based on multiple initial invariant moment functions in the initial set of invariant moment functions to enhance the invariance of the shaft center trajectory to translation, rotation, and scaling transformations, and using the new set of invariant moment functions to determine an image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image; inputting the image shape feature vector into a preset classification model for classification, and obtaining the classification result of the shaft center trajectory of the target rotating machine.

[0076] Based on the above, Figure 1 The method shown and as Figure 5 The embodiment of the device shown in the invention also provides a physical structure diagram of a computer device, such as... Figure 7 As shown, the computer device includes: a processor 41, a memory 42, and a computer program stored in the memory 42 and executable on the processor. Both the memory 42 and the processor 41 are mounted on a bus 43. When the processor 41 executes the program, it performs the following steps: responding to a classification signal of the shaft center trajectory of a target rotating machine, it acquires vibration data of the target rotating machine; it purifies the vibration data to obtain purified vibration data; it generates a shaft center trajectory graphic of the target rotating machine based on the purified vibration data, and determines a binarized image corresponding to the shaft center trajectory graphic; it determines an initial set of invariant moment functions, constructs a new set of invariant moment functions based on multiple initial invariant moment functions in the initial set of invariant moment functions to enhance the invariance of the shaft center trajectory to translation, rotation, and scaling transformations, and uses the new set of invariant moment functions to determine the image shape feature vector corresponding to the binarized image with translation, rotation, and scaling invariance; it inputs the image shape feature vector into a preset classification model for classification, and obtains the classification result of the shaft center trajectory of the target rotating machine.

[0077] Through the technical solution of this invention, the vibration data is purified to eliminate noise, thereby improving the classification accuracy and efficiency of subsequent shaft center trajectory classification. By converting one-dimensional vibration data into two-dimensional graphics, the motion state of the shaft center (such as precession direction and trajectory shape) can be intuitively reflected, facilitating subsequent feature extraction and classification. By constructing a new set of invariant moment functions from the initial set of invariant moment functions, the invariance to translation, rotation, and scaling transformations of the shaft center trajectory is strengthened. Thus, the image shape feature vector constructed by the new set of invariant moment functions can accurately reflect the essential shape of the graphic, thereby improving the classification accuracy of subsequent classification of the shaft center trajectory based on the image shape feature vector.

[0078] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0079] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for classifying the trajectory of an axis based on improved graph invariant moments, characterized by, include: In response to the shaft center trajectory classification signal of the target rotating machinery, vibration data of the target rotating machinery is collected; The vibration data is purified to obtain the purified vibration data. Based on the purified vibration data, the shaft center trajectory graphic of the target rotating machinery is generated, and the corresponding binarized image of the shaft center trajectory graphic is determined. An initial set of invariant moment functions is determined. Based on multiple initial invariant moment functions in the initial set of invariant moment functions, a new set of invariant moment functions is constructed to enhance the invariance of the axis trajectory to translation, rotation, and scaling transformations. The new set of invariant moment functions is used to determine the image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image. The image shape feature vector is then input into a preset classification model for classification to obtain the classification result of the axis trajectory of the target rotating machinery.

2. The method according to claim 1, characterized in that, The initial invariant moment function set includes multiple initial invariant moment functions, the first initial invariant moment function being: The second initial invariant moment function is: The third initial invariant moment function is: The fourth initial invariant moment function is: The fifth initial invariant moment function is: The sixth initial invariant moment function is: The seventh initial invariant moment function is: ;in, For the i-th initial invariant moment, , The order of the image in the x-coordinate direction The order of the y-coordinate direction The original moments below, , .

3. The method according to claim 2, characterized in that, Based on multiple initial invariant moment functions in the aforementioned initial invariant moment function set, a new set of invariant moment functions is constructed to enhance the invariance of the axis-centered trajectory under translation, rotation, and scaling transformations, including: The new invariant moment function set contains multiple new invariant moment functions, the first of which is: The second new invariant moment function is: The third new invariant moment function is: The fourth new invariant moment function is: The fifth new invariant moment function is: The sixth new invariant moment function is: ,in, For the j-th new invariant moment, .

4. The method according to any one of claims 2-3, characterized in that, Determining the image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image using the new set of invariant moment functions includes: The original moments of the binarized image are determined as follows: ,in, The order of the binarized image in the x-coordinate direction. The order of the y-coordinate direction The original moments under the current and Corresponding to the width and height in the binarized image size parameters, For the binarized image in pixel coordinates The grayscale value at that location; Based on different orders sum order The original moments under the combination are used to determine multiple initial invariant moments of the binarized image using the initial invariant moment function set. Based on each initial invariant moment, multiple new invariant moments of the binarized image are determined using the new invariant moment function set. Each new invariant moment generates an image shape feature vector with translation, rotation, and scaling invariance corresponding to the binarized image.

5. The method according to claim 1, characterized in that, The vibration data is purified to obtain purified vibration data, including: The vibration data is decomposed into multi-scale vibration signals according to frequency to obtain multi-band vibration signals. Random noise is applied to each frequency band vibration signal to obtain the corresponding noise-treated frequency band vibration signal. For each frequency band vibration signal after applying noise, the highest frequency vibration signal in the frequency band vibration signal after applying noise is determined and extracted as the first stage vibration signal component. The second highest frequency vibration signal is determined and extracted from the frequency band vibration signal after the high-frequency noise component is extracted as the second stage vibration signal component. Thus, the extraction of the next stage vibration signal component continues in the frequency band vibration signal after the vibration signal component is extracted in the previous step, until the frequency band vibration signal after the stage vibration signal component is finally extracted can no longer be decomposed, thus obtaining multiple stage vibration signal components corresponding to each multi-frequency band vibration signal. For each stage vibration signal component corresponding to each multi-frequency band vibration signal, independent noise identification is performed on the stage vibration signal component. Based on the independent noise identification results, the vibration data is purified to obtain the purified vibration data.

6. The method according to claim 5, characterized in that, Independent noise identification of the vibration signal components in the aforementioned stage includes: The frequency of the vibration signal component in the stage is determined, the total energy and signal length of the vibration signal in the frequency band to which the vibration signal component in the stage belongs are determined, and the preset fault characteristic frequency range of the vibration signal in the frequency band is determined. A threshold adjustment coefficient is determined based on the signal component frequency and the preset fault characteristic frequency range. The noise threshold of the stage vibration signal component is then dynamically determined based on the threshold adjustment coefficient, the total signal energy, and the signal length. ,in, For noise threshold, For threshold adjustment coefficient, Frequency band vibration signal Total signal energy Vibration signal in frequency band The signal length; Independent noise identification is performed based on the corresponding stage vibration signal components according to the noise threshold.

7. The method according to claim 1, characterized in that, Determining the binarized image corresponding to the axis trajectory graphic includes: Determine the graphic complexity of the axis trajectory graph; Based on the aforementioned graphic complexity, an edge detection threshold, a target hole filling algorithm, and a binarization local window size threshold are determined. Then, based on the edge detection threshold, the target hole filling algorithm, and the binarization local window size threshold, adaptive edge detection, contour-guided hole filling, and dynamic binarization image quality enhancement operations are sequentially performed on the axis trajectory graphic to obtain the binarized image. The method for determining the graphical complexity of the axis trajectory graph includes: Determine the total number of connected edge segments and the pixel length of each connected edge segment in the axis trajectory graph, and determine the edge continuity index parameters based on the total number of connected edge segments and the pixel length of each connected edge segment. : ,in, The total number of connected edge segments, For the first The pixel length of each connected edge segment; Determine the preset local window size, the average pixel grayscale value within the preset local window, and the pixel grayscale value of the axis-centered trajectory graphic. Based on the preset local window size, the average pixel grayscale value, and the pixel grayscale value, determine the noise level index parameter. for: ,in, To preset local window size, pixel coordinates pixel grayscale value at the location This represents the average grayscale value of the pixels. The ideal geometric figure corresponding to the axisymmetric trajectory pattern is determined, as are the total number of contour points in the axisymmetric trajectory pattern and the distance from each contour point in the axisymmetric trajectory pattern to the ideal geometric figure. Based on the total number of contour points and the distance, shape regularity index parameters are determined. for: ,in, The total number of contour points, For the first The distance from each contour point to the ideal geometry; Determine the edge continuity index parameters respectively The noise level index parameters and the shape regularity index parameters The corresponding weighting coefficients, based on the weighting coefficients, are applied to the edge continuity index parameters. The noise level index parameters and the shape regularity index parameters Perform a weighted summation, and determine the graphic complexity of the axis trajectory graphic based on the weighted summation result.

8. A device for classifying axisymmetric trajectories based on improved graphical invariant moments, characterized in that, include: The acquisition unit is used to acquire vibration data of the target rotating machinery in response to the shaft center trajectory classification signal of the target rotating machinery; A purification processing unit is used to purify the vibration data to obtain the purified vibration data. The determining unit is used to generate the shaft center trajectory graphic of the target rotating machinery based on the purified vibration data, and to determine the binarized image corresponding to the shaft center trajectory graphic. The classification unit is used to determine the initial invariant moment function set, construct a new invariant moment function set based on multiple initial invariant moment functions in the initial invariant moment function set to enhance the invariance of the axis trajectory to translation, rotation and scaling transformations, and use the new invariant moment function set to determine the image shape feature vector with translation, rotation and scaling invariance corresponding to the binarized image, and input the image shape feature vector into a preset classification model for classification to obtain the classification result of the axis trajectory of the target rotating machinery.

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

10. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.