Motor data noise elimination method and system

By analyzing the multi-dimensional motor operation data of the two-dimensional mirror turntable, identifying controlled and uncontrolled dimensions, constructing a connected graph, and analyzing similar process combinations, we achieve efficient denoising of motor data and solve the denoising caused by differences in working processes. The problem of poor noise effect.

CN118467935BActive Publication Date: 2024-09-20XIAN GAOSHANG INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410931481.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-09-20
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

The existing motor data denoising method has poor denoising effect in the two-dimensional swing mirror turntable due to differences in operating data of the same working state in different working processes.

Method used

By obtaining multi-dimensional motor operation data, analyze the change trend of each dimension, divide the initial cutoff point and data segment, quantify the degree of control, identify controlled dimensions and uncontrolled dimensions, construct a connected graph, and analyze similar process combinations and responses Relationship, conduct comprehensive discrete analysis of data to achieve noise reduction.

Benefits of technology

It improves the accuracy of motor data denoising, avoids the impact of data differences in the same working status under different working processes, and improves the denoising effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118467935B
    Figure CN118467935B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and proposes a motor data denoising method and system, including: obtaining operation data of multiple dimensions during the operation of a motor of a two-dimensional swing mirror turntable; obtaining the degree of control of each dimension; obtaining several stages of each controlled dimension; obtaining several processes of each controlled dimension; obtaining the similarity between different processes in the same controlled dimension; constructing a connectivity graph for the operation data of each stage in each process of each dimension; obtaining the stage discreteness of each node in each connectivity graph; combining the similarity relationship between processes in a similar process combination, obtaining the comprehensive discreteness of each operation data of each dimension, and then completing the denoising of the operation data of each dimension. The present invention aims to solve the problem that the motor data denoising effect is inaccurate due to the difference in operation data under the same working state in different working processes of the motor, and directly analyzing the data changes under the same working state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for eliminating noise from motor data. Background Art

[0002] The motor is one of the key components of the turntable system, which directly affects the realization of the system performance indicators. The torque motor is a special motor developed by combining a servo motor and a drive motor. Its working principle, basic structure and basic characteristics are basically the same as those of a servo motor. It is used directly to drive the load, and the speed of the load is directly adjusted by the input control voltage signal.

[0003] In traditional motor data denoising methods, since noise data has characteristics different from normal data, the denoising process is often achieved by identifying noise data, so clustering methods are often used to identify abnormal data. The dynamic split clustering algorithm based on the connected graph constructs a connected graph for the data and sets a threshold for dynamic splitting, thereby obtaining several connected subgraphs to identify abnormal data. However, the two-dimensional swing mirror turntable contains a series of pitch and rotation operations, and the same working state will be in a variety of different working processes, which will lead to large differences in the operating data of the same working state in different working processes. Directly relying on the working state to perform noise analysis on the operating data will ignore this difference, resulting in poor noise denoising effect on the motor data. Therefore, it is necessary to perform similarity analysis on the working process, and then perform noise analysis on the operating data of the same working state under similar working processes, so as to ensure the noise denoising effect of the motor data. Summary of the invention

[0004] The present invention provides a motor data denoising method and system to solve the problem that the motor data denoising effect is inaccurate due to the difference in operating data under the same working state in different working processes of the motor and the direct analysis of data changes under the same working state. The technical solution adopted is as follows:

[0005] The present invention proposes a method for eliminating noise from motor data, which comprises the following steps:

[0006] Obtaining the operation data of multiple dimensions during the operation of the motor of the two-dimensional oscillating mirror turntable;

[0007] According to the change trend of the operating data of each dimension, several initial truncation points and several initial data segments of each dimension are obtained; according to the difference between the change trends of different initial data segments of the same dimension, the control degree of each dimension is obtained, and then the controlled dimension and the uncontrolled dimension are obtained; based on the similarity relationship of the operating data between the controlled dimension and the uncontrolled dimension, several response dimensions of each controlled dimension and several truncated data segments of each response dimension under the corresponding controlled dimension are obtained; the initial data segments of each controlled dimension are clustered and analyzed respectively to obtain several stages of each controlled dimension;

[0008] All initial data segments of each controlled dimension are divided to obtain several data segment combinations of each controlled dimension; by analyzing the distribution of the data segment combinations, a reference stage combination of each controlled dimension is obtained, and then several processes of each controlled dimension are obtained;

[0009] Based on the similarity relationship of the stage distribution in different processes of the same controlled dimension and the response relationship between the initial data segment of the controlled dimension and the truncated data segment of the response dimension, the similarity between different processes in the same controlled dimension is obtained, and then several similar process combinations of each controlled dimension are obtained;

[0010] A connectivity graph is constructed for the operating data of each stage in each process of each dimension. The stage discreteness of each node in each connectivity graph is obtained based on the distribution of the corresponding nodes of the operating data in the connectivity graph and the influence of the operating data on the response relationship between the controlled dimension and the response dimension. Combined with the similarity relationship between processes in the similar process combination, the comprehensive discreteness of each operating data in each dimension is obtained, thereby completing the denoising of the operating data in each dimension.

[0011] Optionally, the step of obtaining the reference stage combination for each controlled dimension includes the following specific methods:

[0012] For several stages of any controlled dimension, the initial data segments in each stage are numbered in the order of their first appearance, and the numbers of the corresponding stages of all the initial data segments of the controlled dimension are arranged in the order of the initial data segments to obtain the stage number sequence of the controlled dimension;

[0013] According to the elements corresponding to each initial data segment in the data segment combination in the stage number sequence of the controlled dimension, the stage number segment of each data segment combination is obtained;

[0014] The frequency of the phase number segment of each data segment combination of the controlled dimension is counted, and the data segment combination with the largest frequency is used as the reference phase combination of the controlled dimension; the phase number segment of the reference phase combination is recorded as the reference number segment of the controlled dimension.

[0015] Optionally, the several processes for obtaining each controlled dimension include the following specific methods:

[0016] Starting from the first element in the phase number sequence of the controlled dimension, construct an amplification number segment, and add one element to the amplification number segment backward each time; starting from the first amplification number segment, calculate the inverse proportional normalized value of the DTW distance between the first amplification number segment and the reference number segment as the similarity between the first amplification number segment and the reference number segment;

[0017] The similarity between the second amplification number segment and the reference number segment is obtained. If it is greater than or equal to the similarity between the first amplification number segment and the reference number segment, the amplification number segment is continued to be amplified; if it is less than the similarity between the first amplification number segment and the reference number segment, the first amplification number segment is used as a process number segment, and the element added in the second amplification number segment compared to the first amplification number segment is used as the first element in the amplification number segment and the first amplification number segment is constructed to obtain the similarity with the reference number segment, and so on, until all elements in the stage number sequence are traversed and finally a number of process number segments are obtained;

[0018] For any process number segment of the controlled dimension, several continuous initial data segments corresponding to the process number segment constitute a process.

[0019] Optionally, the obtaining of the similarity between different processes in the same controlled dimension includes the following specific methods:

[0020] According to the response relationship between the initial data segment of the controlled dimension and the truncated data segment of the response dimension, the response coefficient of each process of each controlled dimension in each response dimension is obtained;

[0021] No. The first controlled dimension The process and Similarities between processes The calculation method is:

[0022]

[0023] in, Indicates The first controlled dimension The process number segment of the process is the same as the The DTW distance between the process number segments of the process, Indicates The number of response dimensions for each controlled dimension, Indicates The first controlled dimension The process in The response coefficient of the response dimension, Indicates The first controlled dimension The process in The response coefficient of the response dimension, represents the absolute value function, Represents an exponential function with a natural constant as its base.

[0024] Optionally, the obtaining of the response coefficient of each process in each controlled dimension in each response dimension includes the following specific methods:

[0025] For any response dimension of any controlled dimension, according to the division of the initial data segments and processes of the controlled dimension, several truncated data segments of the response dimension under the controlled dimension are divided into processes to obtain several processes of the response dimension under the controlled dimension;

[0026] For any process in the controlled dimension, obtain the process in the response dimension with the same order value as the process in the controlled dimension, and record it as the corresponding process of the process in the response dimension; calculate the cosine similarity between the process and its corresponding process based on the operating data therein, and obtain the result as the response coefficient of the process in the response dimension.

[0027] Optionally, the specific method of constructing a connectivity graph for the operation data of each stage in each process in each dimension is as follows:

[0028] For any initial data segment in any process of any controlled dimension, a connectivity graph is constructed for all running data of the initial data segment as a connectivity graph of the stage corresponding to the initial data segment in the process of the controlled dimension;

[0029] For any uncontrolled dimension, the controlled dimension corresponding to the maximum value of the response degree of the uncontrolled dimension to each controlled dimension is used as the reference controlled dimension of the uncontrolled dimension; several processes of the reference controlled dimension are used as several processes of the uncontrolled dimension, and several truncated data segments of the uncontrolled dimension under the reference controlled dimension are used as stages corresponding to the truncated data segments in each process of the uncontrolled dimension; a connectivity graph is constructed for the operating data of each stage in each process of the uncontrolled dimension.

[0030] Optionally, the step of obtaining the phase discreteness of each node in each connected graph includes the following specific methods:

[0031] Obtain a connected subgraph for each node in the connected graph at each stage in each process of each dimension, and obtain a connected subgraph for each node;

[0032] According to the influence of the operation data on the response relationship between the controlled dimension and the response dimension, the response fluctuation factor of each node in each connected graph between each controlled dimension and each response dimension is obtained;

[0033] No. The first controlled dimension In the connected graph The discreteness of the phases of the nodes The calculation method is:

[0034]

[0035] in, Indicates The first controlled dimension In the connected graph The number of nodes in the connected subgraph of nodes, Indicates The first controlled dimension The number of nodes in a connected graph, Indicates The number of response dimensions for each controlled dimension, Indicates The controlled dimension and its The response dimension is The first controlled dimension In the connected graph The response fluctuation factor of each node;

[0036] For any uncontrolled dimension, take the uncontrolled dimension as the controlled dimension corresponding to the response dimension, and record it as the corresponding controlled dimension of the uncontrolled dimension; obtain the response fluctuation factor of each node in each connected graph of each uncontrolled dimension and each corresponding controlled dimension; combine the connected subgraph of each node in each connected graph of the uncontrolled dimension to obtain the stage discreteness of each node in each connected graph of each uncontrolled dimension.

[0037] Optionally, the specific method of obtaining the response fluctuation factor of each node in each connected graph of each controlled dimension and each response dimension thereof in each controlled dimension is as follows:

[0038] For any node in any of the connected graphs of a controlled dimension, the operation data corresponding to the node is recorded as the target operation data, and the target operation data is removed to obtain the decentered operation data sequence of the controlled dimension at the node;

[0039] Remove the running data with the same sequence value as the target running data in any response dimension of the controlled dimension to obtain the decimated motion data sequence of the node in the response dimension;

[0040] Calculate the cosine similarity of the two decentered motion data sequences, which is recorded as the decentered response degree of the controlled dimension and the response dimension at the node;

[0041] If the response degree of the controlled dimension and the response dimension is greater than the de-centered response degree, the difference between the response degree and the de-centered response degree is used as the response fluctuation factor of the controlled dimension and the response dimension at the node; if the response degree of the controlled dimension and the response dimension is less than or equal to the de-centered response degree, the response fluctuation factor is set as a hyperparameter.

[0042] Optionally, the obtaining of the comprehensive discreteness of each running data in each dimension includes the following specific methods:

[0043] For any process in any dimension, any stage of the connectivity graph, get the The number of neighbor nodes closest to the node, combined with the The nodes constitute The local connected subgraph of nodes;

[0044] The first The stage corresponding to the initial data segment to which the running data corresponding to each node belongs is taken as the target stage;

[0045] For any similar process of the process, if the similar process contains the target stage, the target stage of the similar process is connected to the first The node with the smallest absolute value of the difference in the stage discreteness of the nodes is taken as the The nodes are the comparison nodes of the similar process;

[0046] If the similar process does not contain the target stage, the connectivity graph of all stages of the similar process is connected to the first The node with the smallest absolute value of the difference in the stage discreteness of the nodes is taken as the The nodes are the comparison nodes of the similar process;

[0047] Get the local connected subgraph of each comparison node; calculate the The MCS value of the local connected subgraph of the node and the local connected subgraph of each comparison node, and the average of all MCS values ​​is taken as the first The nodes correspond to the comprehensive discreteness of the running data.

[0048] The present invention also proposes a motor data noise reduction system, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the steps of the above method when executing the computer program.

[0049] The beneficial effects of the present invention are as follows: the present invention quantifies the degree of control and obtains the controlled dimension and its corresponding dimension by analyzing the changes in the operating data of each dimension, completes the stage division based on the controlled dimension, and then completes the process division for each controlled dimension through the similarity relationship between the distribution of the stages; quantifies the similar process combination by analyzing the similarity relationship between the stage distribution and the response relationship between the processes; constructs a connectivity graph for each stage of each process, quantifies the stage discreteness by analyzing the influence of the operating data corresponding to each node on the response relationship, and performs a comprehensive discreteness analysis of the operating data corresponding to each node based on the nodes with similar stage discreteness under similar processes, and completes the denoising of the motor data based on the comprehensive discreteness; wherein the reference stage combination is quantified by analyzing the distribution and frequency of the data segment combination, and then based on the changes in the stage sequence of the controlled dimension and the reference The similarity relationship between the stage combinations is used to realize the process division of the initial data segment of the controlled dimension, so that the division process is more in line with the changes in the working process of the two-dimensional swing mirror turntable; by analyzing the similarity relationship between the stage distributions of different processes in the same controlled dimension, as well as the similarity relationship between the local response relationships in the response dimension, the similarity between the processes is quantified, so as to obtain similar processes, and the operating data of the same working state under similar processes are relatively similar, thereby providing a basis for the noise quantification of the operating data; finally, through the similarity relationship analysis of the node distribution between the connected graphs of each stage in each process, the comprehensive discreteness of the operating data is obtained and the noise is judged, thereby realizing the denoising of the motor data, avoiding the influence of the large difference in the operating data of the same working state under different working processes, and improving the accuracy of the motor data denoising results. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0051] Figure 1 A schematic flow chart of a method for eliminating noise from motor data provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] See also Figure 1 , which shows a flow chart of a motor data noise reduction method provided by an embodiment of the present invention, the method comprising the following steps:

[0054] Step S001, obtaining operation data of multiple dimensions during the operation of a motor of a two-dimensional oscillating mirror turntable.

[0055] The purpose of this embodiment is to clean the data generated by the motor during the operation of the two-dimensional swing mirror turntable to identify and remove abnormal data. Therefore, this embodiment first needs to collect the data during the operation of the motor and use it as operation data for subsequent processing.

[0056] Specifically, the two-dimensional oscillating mirror turntable is mainly composed of three parts: a mechanical table body, a turntable control cabinet, and control software. The laser reflection oscillating mirror table body has a common vertical turntable structure, including two frames for pitch and azimuth, a bottom and an axis system. This embodiment collects data in 9 dimensions, including current, voltage, power, speed, torque, shaft power, temperature, vibration and encoder. The collection time interval is set to 1 second. The collected time range is the data during the operation of the motor. The data of each dimension is obtained through the corresponding sensor or directly from the turntable system. The data of the same dimension is digitized, that is, the data of the same dimension is normalized, and the results are obtained as some operating data of each dimension.

[0057] It should be noted that there are several working states in the operation process of the two-dimensional oscillating mirror turntable. The same working state corresponds to the same stage, and there are multiple working processes for the two-dimensional oscillating mirror turntable. The same working process requires the same stage sequence. For example, in the pitch process, it will rotate first and then pitch, etc., then there is a certain connection between the corresponding stages; and for the acquisition of the working process, it is necessary to analyze the continuity between the stages, and it is necessary to obtain the stage combination, and by analyzing the distribution of the stage combination, the division of the process is realized, and then similar processes are analyzed based on the process and finally the motor data denoising is completed.

[0058] Step S002: according to the change trend of the operating data of each dimension, several initial truncation points and several initial data segments of each dimension are obtained; according to the difference between the change trends of different initial data segments of the same dimension, the control degree of each dimension is obtained, and then the controlled dimension and the uncontrolled dimension are obtained; based on the similarity relationship of the operating data between the controlled dimension and the uncontrolled dimension, several response dimensions of each controlled dimension and several truncated data segments of each response dimension under the corresponding controlled dimension are obtained; the initial data segments of each controlled dimension are clustered and analyzed respectively to obtain several stages of each controlled dimension.

[0059] Preferably, in one embodiment of the present invention, a number of initial truncation points and a number of initial data segments of each dimension are obtained according to the change trend of the operating data of each dimension, and the specific method includes:

[0060] For the operating data of any dimension, the operating data are arranged in chronological order, and the operating data curve of the dimension is obtained, wherein the horizontal axis is time and the vertical axis is the value of the operating data; several extreme points of the operating data curve are obtained and recorded as initial truncation points; the first operating data of the dimension is also taken as the initial truncation point, and all the operating data of the dimension are divided into data segments according to the initial truncation point to obtain several initial data segments of the dimension, wherein the initial truncation point is taken as the first operating data in each data segment; several initial truncation points and several initial data segments of each dimension are obtained according to the above method.

[0061] Preferably, in one embodiment of the present invention, the degree of control of each dimension is obtained according to the difference between the change trends of different initial data segments of the same dimension, and then the controlled dimension and the uncontrolled dimension are obtained, including the specific method of:

[0062] For any dimension, the DTW distance is calculated between any two initial data segments in the dimension, and the inverse proportional value of the mean of the DTW distance between all any two initial data segments in the dimension is used as the controlled factor of the dimension. The model shows an inverse proportional relationship. is the input of the model. The implementer can set the inverse proportional function according to the actual situation. The controlled factor of each dimension is obtained according to the above method, and a controlled threshold is preset. The controlled threshold in this embodiment is described as 0.75. The controlled factors of all dimensions are linearly normalized, and the obtained results are used as the control degree of each dimension. If the control degree of any dimension is greater than the controlled threshold, the dimension is regarded as a controlled dimension. If the control degree of any dimension is less than or equal to the controlled threshold, the dimension is regarded as an uncontrolled dimension. Then, several controlled dimensions and uncontrolled dimensions are obtained.

[0063] It should be noted that by analyzing the DTW distance of the initial data segments in the same dimension, if the DTW distance mean is smaller, the change trends between the initial data segments are more similar, the corresponding change regularity of the dimension is greater, and the corresponding degree of control is greater.

[0064] Preferably, in one embodiment of the present invention, based on the similarity relationship between the running data of the controlled dimension and the uncontrolled dimension, a plurality of response dimensions of each controlled dimension and a plurality of truncated data segments of each response dimension under the corresponding controlled dimension are obtained, and the specific method includes:

[0065] For any controlled dimension, the cosine similarity between the operating data curve of the controlled dimension and the operating data curve of each uncontrolled dimension is calculated as the response degree of each uncontrolled dimension to the controlled dimension; a response threshold is preset, and the response threshold in this embodiment is described as 0.65. If the response degree of any uncontrolled dimension to the controlled dimension is greater than the response threshold, the uncontrolled dimension is used as the response dimension of the controlled dimension. If the response degree is less than or equal to the response threshold, it is not used as the response dimension, and several response dimensions of the controlled dimension are obtained; several response dimensions of each controlled dimension are obtained according to the above method.

[0066] It should be noted that for the uncontrolled dimension, by analyzing the similarity between its change trend and that of the controlled dimension, the more similar it is, the more likely it is to be affected by the change of the controlled dimension, and the greater the degree of response, thus obtaining the response dimension.

[0067] Furthermore, for any response dimension of any controlled dimension, all the running data of the response dimension are re-divided into data segments using all the initial truncation points of the controlled dimension, and the obtained data segments are recorded as several truncated data segments of the response dimension under the controlled dimension.

[0068] Preferably, in one embodiment of the present invention, cluster analysis is performed on the initial data segments of each controlled dimension to obtain several stages of each controlled dimension, including the following specific methods:

[0069] Perform DBSCAN clustering on all initial data segments in any controlled dimension, and use the DTW distance between the initial data segments as the distance metric to obtain several clusters. Take all initial data segments in the same cluster as one stage, and obtain several stages of the controlled dimension. Obtain several stages of each controlled dimension using the above method.

[0070] Step S003: Divide all initial data segments of each controlled dimension to obtain several data segment combinations of each controlled dimension; obtain the reference stage combination of each controlled dimension by analyzing the distribution of the data segment combinations, and then obtain several processes of each controlled dimension.

[0071] Preferably, in one embodiment of the present invention, all initial data segments of each controlled dimension are divided to obtain a plurality of data segment combinations of each controlled dimension, including the specific method of:

[0072] For several stages of any controlled dimension, the initial data segments in each stage are numbered in the order of their first appearance, and the numbers of the corresponding stages of all the initial data segments of the controlled dimension are arranged in the order of the initial data segments to obtain the stage number sequence of the controlled dimension.

[0073] Furthermore, several stage combination lengths are preset. In this embodiment, the stage combination lengths are 3, 4, 5 and 6 respectively. For all initial data segments of any controlled dimension, starting from the first initial data segment with a step length of 1, the initial data segments of any stage combination length constitute a data segment combination, and so on, until the last initial data segment in the obtained data segment combination is the last initial data segment among all the initial data segments, then several data segment combinations of the controlled dimension under the stage combination length are obtained, and at the same time, according to the initial data segments in the data segment combination in the controlled dimension The corresponding elements in the stage number sequence of the controlled dimension are used to obtain the stage number segment of each data segment combination; it should be noted that a step size of 1 means that each initial data segment is used as the first data segment in the data segment combination, and there are overlapping parts between the data segment combinations; for example, when the stage number sequence is 1231435 and the stage combination length is 3, the stage number segments corresponding to each data segment combination are 123, 231, 314, 143 and 435 respectively; according to the above method, several data segment combinations of each controlled dimension under each stage combination length and the stage number segment of each data segment combination are obtained.

[0074] Preferably, in one embodiment of the present invention, by analyzing the distribution of data segment combinations, a reference stage combination of each controlled dimension is obtained, and then several processes of each controlled dimension are obtained, including the specific method of:

[0075] For any controlled dimension, count the frequency of the stage number segment of each data segment combination under all stage combination lengths of the controlled dimension, and take the data segment combination with the largest frequency as the reference stage combination of the controlled dimension; record the stage number segment of the reference stage combination as the reference number segment of the controlled dimension.

[0076] Furthermore, starting from the first element in the stage number sequence of the controlled dimension, an amplification number segment is constructed, and each time an element is added to the amplification number segment, the amplification number segment is continuously updated; starting from the first amplification number segment, the inversely proportional normalized value of the DTW distance between the first amplification number segment and the reference number segment is calculated as the similarity between the first amplification number segment and the reference number segment. This embodiment adopts Model to present inverse proportional relationship and normalization processing, is the input of the model. The implementer can set the inverse proportional function and the normalization function according to the actual situation. The similarity between the second amplification number segment and the reference number segment is obtained. If it is greater than or equal to the similarity between the first amplification number segment and the reference number segment, the amplification number segment is continued to be amplified. If it is less than the similarity between the first amplification number segment and the reference number segment, the first amplification number segment is taken as a process number segment, and the element added in the second amplification number segment compared to the first amplification number segment is restarted as the first element in the amplification number segment and the first amplification number segment is constructed. The similarity with the reference number segment is obtained according to the above method, and so on, until all elements in the stage number sequence are traversed, and finally a number of process number segments are obtained. It should be noted that for the last process number segment, the similarity of the corresponding amplification number segments gradually increases until the last element is amplified. At this time, the amplification number segment containing the last element is directly taken as a process number segment.

[0077] It should be noted that by analyzing the changes in the similarity between the amplified number segment and the reference number segment, if the similarity of the amplified number segment increases with the element amplification, then amplification will continue. If the similarity decreases, it will be truncated to obtain a process number segment, and the amplified number segment will be reconstructed to continue amplification and similarity relationship judgment, and finally several process number segments will be obtained.

[0078] Furthermore, for any process number segment of the controlled dimension, several continuous initial data segments corresponding to the process number segment constitute a process, and then several processes of the controlled dimension are obtained; several processes of each controlled dimension are obtained according to the above method.

[0079] At this point, by analyzing the distribution and frequency of the data segment combinations, quantifying the reference stage combinations, and then based on the similarity between the changes in the stage sequence of the controlled dimension and the reference stage combinations, the process division of the initial data segments of the controlled dimension is realized, making the division process more in line with the changes in the working process of the two-dimensional swing mirror turntable.

[0080] Step S004: Based on the similarity relationship between the stage distributions in different processes of the same controlled dimension and the response relationship between the initial data segment of the controlled dimension and the truncated data segment of the response dimension, the similarity between different processes in the same controlled dimension is obtained, and then several similar process combinations of each controlled dimension are obtained.

[0081] It should be noted that since the operating data of the same working state in different working processes will be quite different, it is necessary to quantify the similarity relationship between different processes of the same controlled dimension, so as to provide a basis for the discreteness analysis of nodes in the connected graphs of subsequent stages, and ensure that the node discreteness analysis process will not be affected by different working processes, and only analyze similar processes, thereby improving the accuracy of node discreteness.

[0082] Specifically, for any response dimension of any controlled dimension, according to the division of the initial data segments and processes of the controlled dimension, the several truncated data segments of the response dimension under the controlled dimension are divided into processes to obtain several processes of the response dimension under the controlled dimension; for any process of the controlled dimension, the process in the response dimension with the same order value as the process in the controlled dimension is obtained, and it is recorded as the corresponding process of the process in the response dimension; the cosine similarity between the process and its corresponding process is calculated based on the running data therein, and the result is taken as the response coefficient of the process in the response dimension; the response coefficient of each process of each controlled dimension in each response dimension is obtained according to the above method.

[0083] Furthermore, for the The first controlled dimension The process and The similarity between the two processes The calculation method is:

[0084]

[0085] in, Indicates The first controlled dimension The process number segment of the process is the same as the The DTW distance between the process number segments of the process, Indicates The number of response dimensions for each controlled dimension, Indicates The first controlled dimension The process in The response coefficient of the response dimension, Indicates The first controlled dimension The process in The response coefficient of the response dimension, represents the absolute value function, represents an exponential function with a natural constant as the base. In this embodiment, Model to present inverse proportional relationship and normalization processing, As the input of the model, the implementer can set the inverse proportional function and normalization function according to the actual situation.

[0086] It should be noted that, for different processes in the same controlled dimension, the smaller the DTW distance of the process number segment, the more similar the distribution of the corresponding stage numbers, the more similar the corresponding stage distributions, and the greater the similarity between the processes; and the response coefficient reflects the local response relationship between the controlled dimension and the response dimension in the process part. The smaller the difference in response coefficients of different processes, the more similar the response relationship, and the greater the similarity between the processes.

[0087] Furthermore, according to the above method, The similarity of any two processes in a controlled dimension is obtained, and a similarity threshold is preset. In this embodiment, the similarity threshold is described as 0.65; if the similarity of the two processes is greater than or equal to the similarity threshold, the two processes are similar processes to each other and are constructed as a similar process combination; several similar process combinations of each controlled dimension are obtained according to the above method.

[0088] So far, by analyzing the similarity relationship between the stage distributions of different processes in the same controlled dimension and the similarity relationship between the local response relationships in the response dimension, the similarity between the processes is quantified, so that similar processes are obtained, and the operating data of the same working state under similar processes are relatively similar, which provides a basis for the noise quantification of the operating data.

[0089] Step S005, construct a connectivity graph for the operating data of each stage in each process of each dimension; obtain the stage discreteness of each node in each connectivity graph based on the distribution of the operating data corresponding to the nodes in the connectivity graph and the influence of the operating data on the response relationship between the controlled dimension and the response dimension; combine the similarity relationship between the processes in the similar process combination to obtain the comprehensive discreteness of each operating data in each dimension, and then complete the denoising of the operating data in each dimension.

[0090] Preferably, in one embodiment of the present invention, a connectivity graph is constructed for the operation data of each stage in each process in each dimension, and the specific method includes:

[0091] Each initial data segment in each process of the controlled dimension corresponds to a stage. Therefore, for any initial data segment in any process of any controlled dimension, a connectivity graph is constructed for all the operating data of the initial data segment as the connectivity graph of the stage corresponding to the initial data segment in the process of the controlled dimension. At the same time, each operating data corresponds to a node in the connectivity graph.

[0092] Furthermore, for any uncontrolled dimension, the controlled dimension corresponding to the maximum value of the response degree of the uncontrolled dimension to each controlled dimension is used as the reference controlled dimension of the uncontrolled dimension; several processes of the reference controlled dimension are used as several processes of the uncontrolled dimension, and several truncated data segments of the uncontrolled dimension under the reference controlled dimension are used as stages corresponding to the truncated data segments in each process of the uncontrolled dimension; and a connectivity graph is constructed for the operating data of each stage in each process of the uncontrolled dimension according to the above method.

[0093] Preferably, in one embodiment of the present invention, the stage discreteness of each node in each connected graph is obtained according to the distribution of the corresponding nodes of the operating data in the connected graph and the influence of the operating data on the response relationship between the controlled dimension and the response dimension, and the specific method includes:

[0094] A connected subgraph is obtained for each node in the connected graph of each stage in each process of each dimension, and a connected subgraph of each node is obtained; for any node in several connected graphs of any controlled dimension, the operation data corresponding to the node is recorded as the target operation data, and the target operation data is removed to obtain the de-centered operation data sequence of the controlled dimension at the node; the operation data with the same order value as the target operation data in any response dimension of the controlled dimension is removed to obtain the de-centered motion data sequence of the node in the response dimension; the cosine similarity of the two de-centered motion data sequences is calculated and recorded as the de-centered response degree of the controlled dimension and the response dimension at the node; if the response degree of the controlled dimension to the response dimension is greater than the de-centered response degree, the difference obtained by subtracting the de-centered response degree from the response degree is used as the response fluctuation factor of the controlled dimension and the response dimension at the node; if the response degree of the controlled dimension to the response dimension is less than or equal to the de-centered response degree, the response fluctuation factor is set to a hyperparameter, which is set to 0.001 in this embodiment.

[0095] Further, The first controlled dimension In the connected graph The discreteness of the phases of the nodes The calculation method is:

[0096]

[0097] in, Indicates The first controlled dimension In the connected graph The number of nodes in the connected subgraph of nodes, Indicates The first controlled dimension The number of nodes in a connected graph, Indicates The number of response dimensions for each controlled dimension, Indicates The controlled dimension and its The response dimension is The first controlled dimension In the connected graph The response fluctuation factor of each node is obtained according to the above method; the stage discreteness of each node in each connected graph of each controlled dimension is obtained.

[0098] It should be noted that the larger the proportion of the number of nodes in the connected subgraph of the node to the number of nodes in the connected graph, the more information the node contains about the stage to which it belongs, and the smaller the stage discreteness; and the response fluctuation factor is a quantification of the change in the response degree after the removal of the corresponding operating data of the node. The larger the response fluctuation factor, the greater the impact of the removal of the corresponding operating data of the node on the response degree, then the more information the node contains about the response relationship between the controlled dimension and the response dimension, the less likely it is that the operating data is an outlier in the controlled dimension, and the smaller the stage discreteness.

[0099] Further, for any node in several connected graphs of any uncontrolled dimension, the operation data corresponding to the node is recorded as the reference operation data, and the reference operation data is removed to obtain the de-centered operation data sequence of the uncontrolled dimension at the node; the uncontrolled dimension is taken as the controlled dimension corresponding to the response dimension, and is recorded as the corresponding controlled dimension of the uncontrolled dimension; the operation data with the same order value as the reference operation data in any corresponding controlled dimension of the uncontrolled dimension is removed to obtain the de-centered motion data sequence of the node in the corresponding controlled dimension; the cosine similarity of the two de-centered motion data sequences is calculated, and is recorded as the de-centered response degree of the uncontrolled dimension and the corresponding controlled dimension at the node; if the response degree of the uncontrolled dimension to the corresponding controlled dimension is greater than the de-centered response degree, the difference obtained by subtracting the de-centered response degree from the response degree is used as the response fluctuation factor of the uncontrolled dimension and the corresponding controlled dimension at the node; if the response degree of the uncontrolled dimension to the corresponding controlled dimension is less than or equal to the de-centered response degree, the response fluctuation factor is set to a hyperparameter, which is set to 0.001 in this embodiment.

[0100] Further, The first uncontrolled dimension In the connected graph The discreteness of the phases of the nodes The calculation method is:

[0101]

[0102] in, Indicates The first uncontrolled dimension In the connected graph The number of nodes in the connected subgraph of nodes, Indicates The first uncontrolled dimension The number of nodes in a connected graph, Indicates The number of controlled dimensions for each uncontrolled dimension, Indicates The uncontrolled dimension and its The corresponding controlled dimension is The first uncontrolled dimension In the connected graph The response fluctuation factor of each node is obtained according to the above method; the stage discreteness of each node in each connected graph of each uncontrolled dimension is obtained.

[0103] It should be noted that the quantitative logic of the stage discreteness of nodes in the connected graph of the uncontrolled dimension is similar to that of the stage discreteness of nodes in the connected graph of the controlled dimension. The larger the proportion of nodes in the connected subgraph of the node, the more information it contains. At the same time, the greater the impact of removing the node operation data on the response degree, the smaller the possibility of being an outlier operation data in the uncontrolled dimension, and the smaller the stage discreteness.

[0104] Preferably, in one embodiment of the present invention, the similarity relationship between processes in the similar process combination is combined to obtain the comprehensive discreteness of each operation data in each dimension, and then the noise reduction of the operation data in each dimension is completed, including the specific method of:

[0105] For any process of any uncontrolled dimension, a similar process combination is constructed for several processes of the uncontrolled dimension based on several similar process combinations in the reference controlled dimension of the uncontrolled dimension. That is, if two processes in the reference controlled dimension are similar processes to each other, then the two processes with the same corresponding order values ​​in the uncontrolled dimension are also similar processes to each other.

[0106] For a connected graph of any stage in any process in any dimension, the number of neighboring nodes is preset. In this embodiment, the number of neighboring nodes is described as 6; Take the node as an example, get the The six nearest neighbor nodes of the node, combined with the The nodes constitute The local connected subgraph of the node; The stage corresponding to the initial data segment to which the running data corresponding to the node belongs is taken as the target stage; for any similar process of the process, if the similar process contains the target stage, the target stage of the similar process is connected to the first node in the connectivity graph. The node with the smallest absolute value of the difference in the stage discreteness of the nodes is taken as the The node is the comparison node of the similar process; if the similar process does not contain the target stage, the connectivity graph of all stages of the similar process is connected to the first node. The node with the smallest absolute value of the difference in the stage discreteness of the nodes is taken as the The nodes are the comparison nodes of the similar process; it is particularly noted that if there are multiple nodes with the smallest absolute value of the difference, they are all used as comparison nodes; according to the above method, the first Nodes are compared at each similar process, and the local connected subgraph of each compared node is obtained; calculate the The MCS value of the local connected subgraph of the node and the local connected subgraph of each comparison node, and the average of all MCS values ​​is taken as the first The comprehensive discreteness of the operating data corresponding to each node; the MCS value is a parameter for quantifying the similarity between graph structures, which is an existing method and will not be repeated in this embodiment; the comprehensive discreteness of each operating data in each dimension is obtained according to the above method.

[0107] Furthermore, a noise threshold is preset. In this embodiment, the noise threshold is described as 0.75. If the comprehensive discreteness of any operating data in any dimension is greater than the noise threshold, the operating data is noise data. The numerical mean of the operating data of the two non-noise data adjacent to the left and right of the operating data is used as the correction data of the operating data. Then, a noise judgment is made on each operating data of the dimension, and the noise data is corrected, thereby achieving denoising of the operating data of the dimension. The operating data of each dimension is denoised according to the above method.

[0108] So far, by analyzing the changes in the operating data of each dimension, the degree of control is quantified and the controlled dimension and its corresponding dimension are obtained. The stage division is completed based on the controlled dimension, and then the process division is completed for each controlled dimension through the similarity relationship between the distribution of the stages; by analyzing the similarity relationship between the processes in the stage distribution and the response relationship, the similar process combination is quantified; a connectivity graph is constructed for each process and each stage, and the stage discreteness is quantified by analyzing the impact of the operating data corresponding to each node on the response relationship, and based on the nodes with similar stage discreteness under similar processes, the comprehensive discreteness analysis of the operating data corresponding to each node is performed, and the denoising of the motor data is completed based on the comprehensive discreteness.

[0109] Another embodiment of the present invention provides a motor data noise reduction system, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the above method steps S001 to S005 are implemented.

[0110] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for eliminating noise from motor data, characterized in that: The method comprises the following steps: Obtaining the operation data of multiple dimensions during the operation of the motor of the two-dimensional oscillating mirror turntable; According to the change trend of the operating data of each dimension, several initial truncation points and several initial data segments of each dimension are obtained; according to the difference between the change trends of different initial data segments of the same dimension, the control degree of each dimension is obtained, and then the controlled dimension and the uncontrolled dimension are obtained; based on the similarity relationship of the operating data between the controlled dimension and the uncontrolled dimension, several response dimensions of each controlled dimension and several truncated data segments of each response dimension under the corresponding controlled dimension are obtained; the initial data segments of each controlled dimension are clustered and analyzed respectively to obtain several stages of each controlled dimension; All initial data segments of each controlled dimension are divided to obtain several data segment combinations of each controlled dimension; by analyzing the distribution of the data segment combinations, a reference stage combination of each controlled dimension is obtained, and then several processes of each controlled dimension are obtained; Based on the similarity relationship of the stage distribution in different processes of the same controlled dimension and the response relationship between the initial data segment of the controlled dimension and the truncated data segment of the response dimension, the similarity between different processes in the same controlled dimension is obtained, and then several similar process combinations of each controlled dimension are obtained; A connectivity graph is constructed for the operation data of each stage in each process of each dimension; the stage discreteness of each node in each connectivity graph is obtained based on the distribution of the corresponding nodes of the operation data in the connectivity graph and the influence of the operation data on the response relationship between the controlled dimension and the response dimension; the comprehensive discreteness of each operation data in each dimension is obtained by combining the similar relationship between processes in the similar process combination, and then the denoising of the operation data in each dimension is completed; The specific method of obtaining the reference stage combination of each controlled dimension includes: For several stages of any controlled dimension, the initial data segments in each stage are numbered in the order of their first appearance, and the numbers of the corresponding stages of all the initial data segments of the controlled dimension are arranged in the order of the initial data segments to obtain the stage number sequence of the controlled dimension; According to the elements corresponding to each initial data segment in the data segment combination in the stage number sequence of the controlled dimension, the stage number segment of each data segment combination is obtained; Count the frequency of the phase number segment of each data segment combination of the controlled dimension, and use the data segment combination with the largest frequency as the reference phase combination of the controlled dimension; record the phase number segment of the reference phase combination as the reference number segment of the controlled dimension; The several processes for obtaining each controlled dimension include the following specific methods: Starting from the first element in the phase number sequence of the controlled dimension, construct an amplification number segment, and add one element to the amplification number segment backward each time; starting from the first amplification number segment, calculate the inverse proportional normalized value of the DTW distance between the first amplification number segment and the reference number segment as the similarity between the first amplification number segment and the reference number segment; The similarity between the second amplification number segment and the reference number segment is obtained. If it is greater than or equal to the similarity between the first amplification number segment and the reference number segment, the amplification number segment is continued to be amplified; if it is less than the similarity between the first amplification number segment and the reference number segment, the first amplification number segment is used as a process number segment, and the element added in the second amplification number segment compared to the first amplification number segment is used as the first element in the amplification number segment and the first amplification number segment is constructed to obtain the similarity with the reference number segment, and so on, until all elements in the stage number sequence are traversed and finally a number of process number segments are obtained; For any process number segment of the controlled dimension, a plurality of continuous initial data segments corresponding to the process number segment constitute a process; The specific method of obtaining the similarity between different processes in the same controlled dimension includes: According to the response relationship between the initial data segment of the controlled dimension and the truncated data segment of the response dimension, the response coefficient of each process of each controlled dimension in each response dimension is obtained; No. The first controlled dimension The process and Similarities between processes The calculation method is: in, Indicates The first controlled dimension The process number segment of the process is the same as the The DTW distance between the process number segments of the process, Indicates The number of response dimensions for each controlled dimension, Indicates The first controlled dimension The process in The response coefficient of the response dimension, Indicates The first controlled dimension The process in The response coefficient of the response dimension, represents the absolute value function, Represents an exponential function with a natural constant as its base.

2. A motor data denoising method according to claim 1, characterized in that: The specific method of obtaining the response coefficient of each process in each controlled dimension in each response dimension includes: For any response dimension of any controlled dimension, according to the division of the initial data segments and processes of the controlled dimension, several truncated data segments of the response dimension under the controlled dimension are divided into processes to obtain several processes of the response dimension under the controlled dimension; For any process in the controlled dimension, obtain a process in the response dimension that has the same order value as the process in the controlled dimension, and record it as the corresponding process of the process in the response dimension; The cosine similarity between the process and its corresponding process is calculated based on the operation data therein, and the obtained result is used as the response coefficient of the process in the response dimension.

3. A motor data denoising method according to claim 1, characterized in that: The specific method of constructing a connectivity graph for the operation data of each stage in each process of each dimension is as follows: For any initial data segment in any process of any controlled dimension, a connectivity graph is constructed for all running data of the initial data segment as a connectivity graph of the stage corresponding to the initial data segment in the process of the controlled dimension; For any uncontrolled dimension, the controlled dimension corresponding to the maximum value of the response degree of the uncontrolled dimension to each controlled dimension is used as the reference controlled dimension of the uncontrolled dimension; Using several processes of the reference controlled dimension as several processes of the uncontrolled dimension, and using several truncated data segments of the uncontrolled dimension under the reference controlled dimension as the stages corresponding to the truncated data segments in each process of the uncontrolled dimension; A connectivity graph is constructed for the operational data of each stage in each process of this uncontrolled dimension.

4. The motor data denoising method according to claim 1, characterized in that: The specific method of obtaining the stage discreteness of each node in each connected graph includes: Obtain a connected subgraph for each node in the connected graph at each stage in each process of each dimension, and obtain a connected subgraph for each node; According to the influence of the operation data on the response relationship between the controlled dimension and the response dimension, the response fluctuation factor of each node in each connected graph between each controlled dimension and each response dimension is obtained; No. The first controlled dimension In the connected graph The discreteness of the phases of the nodes The calculation method is: in, Indicates The first controlled dimension In the connected graph The number of nodes in the connected subgraph of nodes, Indicates The first controlled dimension The number of nodes in a connected graph, Indicates The number of response dimensions for each controlled dimension, Indicates The controlled dimension and its The response dimension is The first controlled dimension In the connected graph The response fluctuation factor of each node; For any uncontrolled dimension, take the uncontrolled dimension as the controlled dimension corresponding to the response dimension, and record it as the corresponding controlled dimension of the uncontrolled dimension; obtain the response fluctuation factor of each node in each connected graph of each uncontrolled dimension and each corresponding controlled dimension; combine the connected subgraph of each node in each connected graph of the uncontrolled dimension to obtain the stage discreteness of each node in each connected graph of each uncontrolled dimension.

5. A motor data denoising method according to claim 4, characterized in that: The specific method of obtaining the response fluctuation factor of each node in each connected graph between each controlled dimension and each response dimension thereof in each controlled dimension is as follows: For any node in any of the connected graphs of a controlled dimension, the operation data corresponding to the node is recorded as the target operation data, and the target operation data is removed to obtain the decentered operation data sequence of the controlled dimension at the node; Remove the running data with the same sequence value as the target running data in any response dimension of the controlled dimension to obtain the decimated motion data sequence of the node in the response dimension; Calculate the cosine similarity of the two decentered motion data sequences, which is recorded as the decentered response degree of the controlled dimension and the response dimension at the node; If the response degree of the controlled dimension and the response dimension is greater than the detached response degree, the difference between the response degree and the detached response degree is used as the response fluctuation factor of the controlled dimension and the response dimension at the node; If the response degree of the controlled dimension to the response dimension is less than or equal to the de-centered response degree, the response fluctuation factor is set as a hyperparameter.

6. A motor data denoising method according to claim 1, characterized in that: The specific method of obtaining the comprehensive discreteness of each running data in each dimension includes: For any process in any dimension, any stage of the connectivity graph, get the The number of neighbor nodes closest to the node, combined with the The nodes constitute The local connected subgraph of nodes; The first The stage corresponding to the initial data segment to which the running data corresponding to each node belongs is taken as the target stage; For any similar process of the process, if the similar process contains the target stage, the target stage of the similar process is connected to the first The node with the smallest absolute value of the difference in the stage discreteness of the nodes is taken as the The nodes are the comparison nodes of the similar process; If the similar process does not contain the target stage, the connectivity graph of all stages of the similar process is connected to the first The node with the smallest absolute value of the difference in the stage discreteness of the nodes is taken as the The nodes are the comparison nodes of the similar process; Get the local connected subgraph of each comparison node; calculate the The MCS value of the local connected subgraph of the node and the local connected subgraph of each comparison node, and the average of all MCS values ​​is taken as the first The nodes correspond to the comprehensive discreteness of the running data.

7. A motor data noise reduction system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of a motor data denoising method as described in any one of claims 1-6 are implemented.

Citation Information

Patent Citations

  • Planetary gear fault identification method based on stacked denoising autoencoder and gated recurrent unit neural network

    CN109060347A

  • Water-turbine generator set vibration data de-noising method based on SVMD and permutation entropy

    CN115374605A

  • Simulation analysis method, device and equipment based on similar examples and medium

    CN116663338A

  • High-harmonic compensation method and system for wind turbine generator

    CN116865269A

  • Classified storage method and system based on financial text data

    CN118227798A