Fault identification method for boring and milling process of horizontal numerical control boring and milling machine

By installing a three-dimensional sensor on a horizontal CNC boring and milling machine, the vibration force data segment is acquired and analyzed, and combined with STL timing decomposition and cluster analysis, the faults in the boring and milling process are accurately identified, solving the problem of low accuracy in vibration analysis in the existing technology, and improving the accuracy of fault identification.

CN120116022AActive Publication Date: 2025-06-10JINAN ZHANGLI MACHINERY

Patent Information

Application Number
CN202510600227.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-12
Publication Date
2025-06-10
Estimated Expiration
2045-05-12

AI Technical Summary

Technical Problem

In the boring and milling process of horizontal CNC boring and milling machines, it is difficult to accurately identify faults through vibration data analysis, especially due to complex vibration reasons, which may be caused by actual faults or material changes, resulting in low accuracy.

Method used

Install a strained three-dimensional sensor at the connection between the spindle shell and the tool of the boring and milling machine to obtain force data segments in three directions of the spatial rectangular coordinate system, obtain residual terms through STL timing decomposition, analyze outlier data points in the residual graph, perform cluster analysis, combine mean points and cluster-like characteristics to determine the degree of abnormality of the outlier data points, and then determine whether the boring and milling process has failed.

Benefits of technology

Through this method, faults in the boring and milling process can be more accurately identified, error recognition caused by material changes, and errors in the boring and milling process can be improved, so as to ensure boring and milling quality and equipment safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120116022A_ABST
    Figure CN120116022A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of boring and milling fault identification, in particular to a boring and milling process fault identification method of a horizontal numerical control boring and milling machine. The method comprises the steps that a strain type three-dimensional sensor is installed at the joint of a main shaft shell and a tool of the boring and milling machine, and vibration force data segments in three directions are obtained; analyzing the vibration force data segment to obtain a residual term of the vibration force data segment; obtaining outlier data in each vibration force data segment according to the distribution condition of the residual term of each vibration force data segment in the residual map, and obtaining outlier data points; clustering is carried out in the space rectangular coordinate system to obtain a class cluster, and then a mean value point is obtained; obtaining the outlier abnormal degree of the outlier data points in the class cluster based on the distribution condition of the outlier data points in one class cluster and the connecting line of the class cluster center of the class cluster and the mean value point; and judging whether a fault occurs in the boring and milling process or not according to the outlier abnormal degree of the outlier data points. According to the method, clamping looseness or main shaft faults in the boring and milling process can be accurately recognized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of boring and milling fault identification, and particularly to a method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine. Background Art

[0002] A horizontal CNC boring and milling machine is a high-precision and high-efficiency CNC machine tool, mainly used for various machining operations such as boring, milling, drilling, and tapping of large or medium-sized parts. It is widely used in industries such as mold manufacturing, machining, heavy equipment, and energy equipment. During the boring and milling process of a horizontal CNC boring and milling machine, due to its complex structure and high machining accuracy requirements, some problems that affect machining quality and equipment safety are likely to occur. Therefore, real-time monitoring is required to ensure the normal progress of the boring and milling process.

[0003] The force generated by vibration is one of the main data monitored by the boring and milling machine. Existing technologies usually use data analysis algorithms for the force generated by the vibration of the boring and milling machine to capture potential abnormal boring and milling. Since periodic tremors will be formed during the boring and milling chip removal process, the STL time series decomposition algorithm is usually used to capture non-periodic and non-trending data points as abnormal trend points. However, due to the complex reasons for the vibration of the boring and milling machine, which may be caused by actual faults or the cutting material, directly using the STL time series decomposition to obtain the outlier residuals as abnormal data points has a low accuracy. Summary of the Invention

[0004] In order to solve the above technical problems, the purpose of the present invention is to provide a method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine, and the specific technical solution adopted is as follows: An embodiment of the present invention provides a method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine, and the method includes: Install a strain type three-dimensional sensor at the connection between the spindle housing and the tool of the boring and milling machine, obtain the forces in three directions of the space rectangular coordinate system within a preset time period and respectively form vibration force data segments; analyze the vibration force data segments to obtain the residual terms of the vibration force data segments; Obtain the outlier data within each vibration force data segment according to the distribution of the residual terms of each vibration force data segment in the residual plot; obtain outlier data points according to the outlier data within each vibration force data segment; Map the outlier data points into the space rectangular coordinate system and perform clustering to obtain clusters; obtain the mean points according to the forces corresponding to the moments when the forces in three directions within the vibration force data segments are not outlier data; In the space rectangular coordinate system, based on the distribution of the outlier data points within a cluster and the connection line between the cluster center and the mean point of the cluster, obtain the outlier abnormal degree of the outlier data points within the cluster; Judge whether an outlier data point is an abnormal outlier according to the outlier degree of the outlier data point; judge whether a fault occurs in the boring and milling process based on the number of abnormal outlier data points within a preset period.

[0005] Preferably, the forces in the three directions of the spatial rectangular coordinate system are the forces in the three directions of the X-axis, Y-axis, and Z-axis respectively.

[0006] Preferably, analyze the vibration force data segment to obtain the residual term of the vibration force data segment, including: Perform STL time series decomposition on the vibration force data segment in one direction to obtain the residual term in the vibration force data segment. The residual term includes different residual points, and one residual point corresponds to one data in the vibration force data segment.

[0007] Preferably, obtain the outlier data in each vibration force data segment according to the distribution of the residual term of each vibration force data segment in the residual plot, including: In the residual plot of the residual term of a vibration force data segment, obtain a preset number of residual points adjacent to the left and a preset number of residual points adjacent to the right of a residual point in the residual plot, and record them as the neighbor points of the residual point; obtain the distance from the residual point to the residual median axis in the residual plot and normalize it to obtain the distance feature term; arrange the neighbor points and the residual point in the order of the horizontal axis to obtain the local point set, and multiply the sum of the distances between each neighbor point and the residual point by the standard deviation of the distances between every two adjacent points in the local point set to obtain the local continuous distribution feature term; multiply the distance feature term by the normalized local continuous distribution feature term to obtain the outlier degree of the residual point; obtain the outlier data based on the outlier degree of the residual point corresponding to each data in each vibration force data segment; the residual median axis is the straight line of y = 0 in the residual plot.

[0008] Preferably, obtain the outlier data based on the outlier degree of the residual point corresponding to each data in each vibration force data segment, including: When the outlier degree of a residual point is greater than or equal to the first threshold, the residual point is an outlier residual point; the data in the vibration force data segment corresponding to the outlier residual point is the outlier data.

[0009] Preferably, obtain the outlier data points according to the outlier data in each vibration force data segment, including: For an outlier data, form a data point with the forces in the three directions at the moment corresponding to the outlier data, and record it as the outlier data point.

[0010] Preferably, obtain the mean point according to the forces corresponding to the moments when the forces in the three directions in the vibration force data segment are not outlier data, including: The forces in three directions at a moment when the forces in all three directions within the vibration force data segment are not outlier data are combined to form a normal data point. The means of the forces in the three directions included in all normal data points are calculated respectively to obtain the mean value of the X-axis, the mean value of the Y-axis, and the mean value of the Z-axis, which together form a mean point.

[0011] Preferably, based on the distribution of outlier data points within a cluster and the connection line between the cluster center of the cluster and the mean point, the outlier abnormality degree of the outlier data points within the cluster is obtained, including: Obtain the minimum value of the Euclidean distances between an outlier data point within a cluster and other outlier data points, denoted as the minimum distance; multiply the mean and standard deviation of the minimum distances corresponding to each outlier data point within the cluster and normalize to obtain the intra-cluster distribution characteristic term; obtain the connection line between the cluster center of the cluster and the mean point, and obtain the angles between the connection line and the three axes of the spatial rectangular coordinate system. The smallest angle is denoted as the minimum angle, and the other two angles are denoted as the first angle and the second angle respectively; calculate the angle differences between the minimum angle and the first angle and the second angle respectively, take the reciprocal of the sum of the two angle differences and normalize to obtain the azimuth characteristic term of the cluster; the sum of the intra-cluster distribution characteristic term and the azimuth characteristic term is the outlier abnormality degree of the outlier data points within the cluster.

[0012] Preferably, based on the outlier abnormality degree of the outlier data points, it is determined whether the outlier data points are abnormal outlier points, including: Obtain the standard deviation of the outlier abnormality degree of each normalized outlier data point. If the standard deviation is greater than the third threshold, obtain the outlier data points with the outlier abnormality degree greater than the second threshold after normalization, which are the abnormal outlier points.

[0013] Preferably, based on the number of abnormal outlier points within a preset time period, it is determined whether a fault occurs during the boring and milling process, including: If the number of abnormal outlier points within the preset time period is greater than or equal to the quantity threshold, an alarm is issued to notify the relevant maintenance personnel.

[0014] The embodiments of the present invention have at least the following beneficial effects: In this application, forces in three directions of a spatial rectangular coordinate system are acquired within a preset time period, and vibration force data segments are respectively formed. Then, the residual term of each vibration force data segment is obtained by using STL time series decomposition. Outlier data is obtained based on the distribution of the residual term in the residual plot, and then outlier data points are obtained. Then, the outlier data points are mapped into the spatial rectangular coordinate system for clustering analysis, and the characteristics of the forces in three dimensions are jointly analyzed, making subsequent analysis more accurate. Further, the mean point of normal data is obtained, and the clusters formed by clustering are analyzed based on the mean point. Combining the vibration occurrence situation in the actual operation process, the outlier abnormality degree of the outlier data points in each cluster is obtained, and the outlier data points caused by uneven materials are distinguished and excluded, avoiding the influence of multiple vibration causes, accurately obtaining the abnormal outlier points caused by clamping looseness or spindle failure, improving the accuracy of fault identification in the boring and milling process, and ensuring the quality of boring and milling. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0016] Figure 1 It is a method flow chart of a method for fault identification in the boring and milling process of a horizontal CNC boring and milling machine provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0017] In order to further elaborate on the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following describes in detail the specific implementation manner, structure, characteristics, and effects of a method for fault identification in the boring and milling process of a horizontal CNC boring and milling machine proposed according to the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, the specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.

[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs.

[0019] The following specifically describes the specific solution of a method for fault identification in the boring and milling process of a horizontal CNC boring and milling machine provided by the present invention in combination with the accompanying drawings.

[0020] Embodiment: The main application scenario of the present invention is as follows: during the operation of a boring and milling machine, a force sensor is used to monitor the vibration data of boring and milling, and based on the STL time series decomposition algorithm, the residuals of historical time series data are decomposed to determine whether there is a fault risk during the boring and milling process.

[0021] Please refer to Figure 1 , which shows a method flow chart of a method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine provided by an embodiment of the present invention. The method includes the following steps: Step S1, install a strain type three-dimensional sensor at the connection between the spindle housing and the tool of the boring and milling machine, obtain the forces in three directions of a spatial rectangular coordinate system within a preset time period and respectively form vibration force data segments; analyze the vibration force data segments to obtain the residual terms of the vibration force data segments.

[0022] The machining centers of horizontal CNC boring and milling machines are generally divided into the X-axis, Y-axis, Z-axis, and B-axis. This application mainly analyzes the directions of the main three axes, that is, the X, Y, and Z axes. Further, a strain type three-dimensional sensor is used for data acquisition. A strain type three-dimensional sensor is installed at the connection between the spindle housing and the tool of the boring and milling machine to respectively collect the , , forces in three directions. The forces in three directions are collected at one moment, and the vibration situation during the boring and milling process is reflected by the continuous forces. The acquisition frequency is 100 Hz, and the monitored data is transmitted to the numerical control terminal of the boring and milling machine in real time for data processing at the numerical control terminal.

[0023] In this application, the forces in three directions within a preset time period are respectively formed into vibration force data segments, and one vibration force data segment corresponds to one direction; the preset time period is the time period with a preset time length before the monitoring moment, that is, the data in the 10 seconds before the monitoring moment.

[0024] Further, it is necessary to decompose and analyze each vibration force data segment. The vibration force data segment in one direction is respectively projected into the corresponding two-dimensional plane coordinates. The horizontal axis of the coordinate is the time series, and the vertical axis is the force value. Then, the STL time series decomposition is performed on the vibration force data segment in this direction to separate the periodic term and trend term of the vibration force data segment in this direction, and the residual term of the vibration force data segment in this direction is obtained. The residual term includes multiple residual points, and one residual point corresponds to one data in the vibration force data segment. Among them, the residual term exists alone in the residual diagram (residual coordinate system). There is a horizontal line with a y value of 0 in the residual diagram (residual coordinate system) as the residual median axis. The distance between the residual point and the residual median axis represents the degree of fitting of the data point to the periodic term and trend term. The closer the residual point is to the median axis, the more the residual point conforms to the periodic term and trend term, and the farther away, the less the residual point conforms to the periodic term and trend term, and the more abnormal it is.

[0025] Step S2: Obtain the outlier data within each vibration force data segment respectively according to the distribution of the residual terms of each vibration force data segment in the residual plot; obtain the outlier data points according to the outlier data within each vibration force data segment.

[0026] Obtain the relatively outlier data within the vibration force data segment according to the residual distribution characteristics in the residual plot. Here, the analysis is based on the distance of the residual point from the mid-axis of the residual. The farther the distance of the residual point from the mid-axis of the residual, the more outlier it is. Since the deviation of the period and trend may also be the short-term deviation of the normal boring and milling pressure, it is necessary to combine the continuity between the residual point and the neighboring residual points to obtain the outlier data within the vibration force data segment. If the residual point is outlier but continuous with the neighboring residual points, it indicates the deviation of the normal boring and milling pressure. If there is a discontinuous sudden outlier, it is the outlier data caused by abnormal vibration.

[0027] Here, the outlier data is evaluated through the distance of the residual point from the mid-axis of the residual and the neighborhood continuity of the residual point. The neighborhood continuity of the residual point is obtained through the Euclidean distance between the residual point and multiple adjacent nearest residual points (in this solution, the number of selected adjacent residual points is 6, that is, 3 on the left and 3 on the right, which can reflect the neighborhood distribution of the residual point). If the Euclidean distance between a residual point and multiple adjacent residual points is smaller, and the difference degree of the Euclidean distance between every two adjacent residual points including this residual point is smaller, it means that the distance from the adjacent residual points of a residual point to this residual point is closer, and the change degree between points is more uniformly continuous, and it is more likely to be the connected force change caused by the deviation of the normal boring and milling pressure; otherwise, if the Euclidean distance between a residual point and multiple adjacent residual points is larger, and the difference degree of the Euclidean distance between every two adjacent residual points including this residual point is larger, it means that the distance from the adjacent residual points of a residual point to this residual point is farther, and the change degree between points is more sudden, and it is more likely to be the sudden change caused by abnormal vibration.

[0028] Outlier data within each vibration force data segment is obtained separately according to the distribution of the residual terms in the residual plot. Specifically, in the residual plot of the residual terms of a vibration force data segment, a preset number of residual points adjacent to the left and a preset number of residual points adjacent to the right of a residual point in the residual plot are obtained, and are denoted as the neighbor points of the residual point; the distance of the residual point from the residual mid-axis in the residual plot is obtained and normalized to obtain a distance feature term; the neighbor points and the residual point are arranged in the order of the horizontal axis to obtain a local point set, and the sum of the distances between each neighbor point and the residual point is multiplied by the standard deviation of the distances between every two adjacent points in the local point set to obtain a local continuous distribution feature term; the distance feature term and the normalized local continuous distribution feature term are multiplied to obtain the outlier degree of the residual point; based on the outlier degrees of the residual points corresponding to each data in each vibration force data segment, outlier data is obtained; the residual mid-axis is the straight line of y = 0 in the residual plot.

[0029] The calculation model for the outlier degree of a residual point is: , where, is the outlier degree of the q-th residual point among the residual points corresponding to each data in a vibration force data segment, represents the distance between the q-th residual point and the residual mid-axis. The farther the distance, the more likely the data corresponding to the residual point is outlier data. norm represents normalization, represents the distance feature term; represents the number of neighbor points, which is 6 in this application, and the preset number is 3, represents the Euclidean distance between the i-th neighbor point and the residual point. When the cumulative sum of the Euclidean distances between the adjacent residual points (neighbor points) on both sides of the residual point and the residual point is larger, it indicates that the distances from the adjacent residual points of the residual point to the residual point are farther, represents the standard deviation of the distances between every two adjacent points in the local point set. The larger the standard deviation, the more abrupt the change degree between points, and the more likely it is a mutational change caused by abnormal vibration, and the greater the probability of mutation of the data corresponding to the residual point, represents the local continuous distribution feature term. The larger this value, the greater the probability that the mutation of the data corresponding to the residual point is caused by a fault.

[0030] Further, outlier data is obtained based on the outlier degrees of the residual points corresponding to each data in each vibration force data segment. Specifically, a first threshold is set. Preferably, the first threshold value is 0.5, and it can be adjusted according to the specific scenario requirements. When the outlier degree of a residual point is greater than or equal to the first threshold, the residual point is an outlier residual point, and the data in the vibration force data segment corresponding to the outlier residual point is outlier data. Thus, the outlier data in each vibration data segment can be obtained.

[0031] Further, in order to perform a joint analysis of the forces that may fail in three directions in a three-dimensional space (space rectangular coordinate system) subsequently, it is necessary to extract the data points containing outlier data, and obtain the outlier data points according to the outlier data in each vibration force data segment. Specifically, for an outlier data, the forces in three directions at the corresponding moment of this outlier data form a data point, which is denoted as an outlier data point. Thus, the outlier data points corresponding to each outlier data can be obtained.

[0032] Step S3: Map the outlier data points into the space rectangular coordinate system and perform clustering to obtain clusters; obtain the mean points according to the forces corresponding to the moments when the forces in three directions in the vibration force data segment are not outlier data.

[0033] There are usually multiple reasons for generating vibrations. Here, the most important several reasons in the boring and milling process are analyzed. For example, the vibrations caused by faults are usually clamping looseness or spindle faults, which will cause vibrations in boring and milling cutting, have a greater impact on the quality of boring and milling products, and have a greater safety risk. In the normal boring and milling process, if the material of the boring and milling object changes during the boring and milling cutting process (that is, an object being bored and milled contains different materials), there will also be large vibrations in the monitored force, and the material change during the boring and milling cutting process is also a common phenomenon. In order to obtain accurate fault monitoring results and exclude the influence of material changes, the characteristics of the vibrations caused by clamping looseness or spindle faults and the vibrations affected by materials are analyzed here.

[0034] Further, map all the outlier data points into the space rectangular coordinate system, and the directions of the three axes of the space rectangular coordinate system are the directions when collecting the forces. Thus, the correlation characteristics between the outlier data in each dimension and the data in the dimensions corresponding to the forces in other directions can be analyzed in the space rectangular coordinate system.

[0035] Next, use the kmeans clustering algorithm to cluster all the outlier data points in the space rectangular coordinate system. The value of k is obtained by the elbow method, and the cluster centers are randomly selected. In the obtained clustering results of kmeans, the similar data will be clustered into one cluster. Because the vibration amplitudes caused by material influence are different from those caused by clamping looseness or spindle faults, the outlier data points caused by material influence and the outlier data points caused by clamping looseness or spindle faults are separated into multiple clusters. However, since the vibration amplitude corresponding to each situation cannot be absolutely determined to be a certain value, it is necessary to combine the cluster distribution characteristics here to identify whether the cluster is a material change vibration cluster or a fault vibration cluster.

[0036] Affected by the texture of each material rule, the vibration amplitudes caused by the material have high similarity, and the force values of each vibration are highly concentrated; while after the clamping becomes loose or the spindle malfunctions, random oscillations deviating from the axis will occur during the high-speed rotation of the spindle, and the vibration amplitude of boring and milling will remain randomly floating within a vibration amplitude range, being relatively discrete. On the other hand, due to the change in material, the cutting force fluctuates. Since the boring and milling tool usually enters from one material area of an object into another material area in a fixed direction. For example, during boring, the tool feeds radially (X direction), and when encountering transverse sand inclusion, it causes abrupt fluctuations; during milling, the spindle feeds axially (Z direction), and when encountering surface hard particles, it causes abrupt changes. Therefore, during the boring and milling process, due to the material transition, it usually shows fluctuating changes in a certain direction; while the loosening of the clamping or the spindle malfunction directly affects the overall cutting of the tool, so the force in multiple directions may fluctuate.

[0037] Furthermore, it is necessary to obtain all the data points without anomalies to construct a basis for subsequent analysis. According to the forces corresponding to the moments when the forces in the three directions within the vibration force data segment are not outlier data, the mean points are obtained. Specifically, a normal data point is composed of the forces in the three directions corresponding to a moment when the forces in the three directions within the vibration force data segment are not outlier data. The means of the forces in the three directions included in all the normal data points are respectively calculated to obtain the mean value of the X-axis, the mean value of the Y-axis, and the mean value of the Z-axis, which together form the mean point.

[0038] The mean point represents the average position of the force before the vibration occurs. In the space rectangular coordinate system, if the vibration is caused by a change in material, then compared with the mean point, the cluster center of the generated cluster should only have a change in one direction and has a perpendicular distribution characteristic; if the vibration is caused by a malfunction, then compared with the mean point, the cluster center of the generated cluster may have changes in multiple directions and does not have a perpendicular distribution characteristic.

[0039] Step S4, in the space rectangular coordinate system, based on the distribution of outlier data points within a cluster and the connection line between the cluster center of this cluster and the mean point, obtain the outlier anomaly degree of the outlier data points within this cluster.

[0040] Here, the outlier anomaly degree of the outlier data points is obtained based on the cluster characteristics where the outlier data points are located, which is composed of the in-cluster distribution characteristic and the cluster azimuth distribution characteristic. By obtaining the degree of uniformity of the aggregation of outlier data points within the cluster where the outlier data points are located as the in-cluster distribution characteristic, when the outlier data points within the cluster where the outlier data points are located are more aggregated and the interval distances are more uniform, it is more in line with the cluster characteristics of the vibration caused by the material change; otherwise, when the outlier data points within the cluster where the outlier data points are located are more discrete and the interval distances are more chaotic, it is more in line with the cluster characteristics of the malfunction vibration.

[0041] For the analysis of the azimuth distribution characteristics of clusters, in step S3, the mean point is obtained. Based on this as the basis, the azimuth distribution characteristics of clusters are analyzed. The connection line is obtained by connecting the cluster center and the mean point. The included angles between the connection line of the cluster center and the mean point and the three direction axes in the space rectangular coordinate system are obtained. If there is only one direction change in the cluster compared with the mean point, the included angle between the connection line and the changing direction will be very small, and the included angles between the connection line and the non-changing direction axes will be very large. (For example, if the cluster center is in the positive X-axis direction of the mean point, the included angle between the connection line and the X-axis is very small, and the included angles with the Y-axis and Z-axis are very large); in contrast, if there are multiple direction changes in the cluster compared with the mean point, the included angles between the connection line and the three direction axes will not show an extreme perpendicular distribution. Therefore, the difference between the smallest angle among the included angles with the three axes and the other two angles is used as the azimuth distribution characteristic of the cluster. The greater the difference between the smallest angle and the other two angles, the more it conforms to the characteristics of the material change vibration cluster. Otherwise, the smaller the difference, the more it indicates that there are changes in all three directions, and the more it conforms to the characteristics of the fault vibration cluster.

[0042] Based on the distribution of the outlier data points within a cluster and the connection line between the cluster center and the mean point of the cluster, the outlier degree of the outlier data points within the cluster is obtained. Specifically, the minimum value of the Euclidean distances between an outlier data point within a cluster and other outlier data points is obtained and denoted as the minimum distance; the mean and standard deviation of the minimum distances corresponding to each outlier data point within the cluster are multiplied and normalized to obtain the in-cluster distribution characteristic term; the connection line between the cluster center and the mean point of the cluster is obtained, and the included angles between the connection line and the three axes of the space rectangular coordinate system are obtained. The smallest included angle is denoted as the minimum angle, and the other two angles are denoted as the first angle and the second angle respectively; the angle differences between the minimum angle and the first angle and the second angle are calculated respectively, and the reciprocal of the sum of the two angle differences is normalized to obtain the azimuth characteristic term of the cluster; the sum of the in-cluster distribution characteristic term and the azimuth characteristic term is the outlier degree of the outlier data points within the cluster.

[0043] The calculation model for the outlier degree is: , where, represents the outlier degree of the outlier data points within the p-th cluster, represents the minimum distance corresponding to the i-th outlier data point within the cluster, that is, the Euclidean distance between the i-th outlier data point and the outlier data point closest to it, is the mean of the minimum distances corresponding to all outlier data points within the cluster. The larger this mean is, the farther the distances between all outlier data points within the cluster and the adjacent outlier data points are, the greater the overall dispersion degree is, and the more it conforms to the fault abnormality; represents the standard deviation of the minimum distances corresponding to all outlier data points within the cluster. The larger this standard deviation is, the more uneven the distribution of the outlier data points within the cluster is, and the more it conforms to the fault abnormality; , and respectively represent the minimum angular value among the angles between the line connecting the cluster center and the mean point of the cluster and the three axes in the spatial rectangular coordinate system, and the angular values of the other two angles, that is, the minimum angle, the first angle, and the second angle. is the angular difference between the minimum angle and the remaining first angle. is the angular difference between the minimum angle and the remaining second angle. The larger these two angular differences are, the more the connection line has the characteristic of vertical distribution, and the more likely the distribution orientation of the cluster is the orientation with only one direction change, and the smaller the degree of fault abnormality; the smaller the angular difference, the more likely the distribution orientation of the cluster is the orientation with multiple direction changes, and the greater the degree of fault abnormality. The norm linear normalization unifies the magnitudes of the two parts.

[0044] Thus, the outlier abnormality degree of the outlier data points within each cluster can be obtained.

[0045] Step S5, determine whether the outlier data points are abnormal outlier points according to the outlier abnormality degree of the outlier data points; judge whether the boring and milling process has a fault based on the number of abnormal outlier points within a preset time period.

[0046] According to the distribution of the outlier abnormality degrees of all outlier data points, judge whether there are abnormal outlier points. Normalize the outlier abnormality degrees of all outlier data points. After normalization, if the overall data distribution is uniform, it means that the outlier abnormality degrees of all data are similar, and there are no abnormal outlier points. All outlier data points are vibration outlier points caused by material influence; if the overall data distribution shows a bimodal characteristic, it means that there are abnormal outlier points caused by faults. At this time, because of the bimodal characteristic of the outlier data points caused by faults and the outlier data points caused by material influence, take the midpoint 0.5 as the second threshold. If the outlier abnormality degree of an outlier data point is greater than the second threshold, then the outlier data point is an abnormal outlier point, that is, an outlier data point caused by a fault.

[0047] It should be noted that when analyzing whether the distribution of the outlier abnormality degrees of the outlier data points tends to be bimodal, it can be analyzed according to the outlier abnormality degree of each outlier data point after normalization. Specifically, obtain the standard deviation of the outlier abnormality degree of each outlier data point after normalization. If the standard deviation is greater than the third threshold, it is considered that the distribution of the outlier abnormality degrees of the outlier data points tends to be bimodal. At this time, there are large differences in the outlier abnormality degrees of each outlier data point, and screening of abnormal outlier points is required. When the standard deviation is less than or equal to the third threshold, it is considered that there are no abnormal outlier points at this time, and there is no need to screen abnormal outlier points using the second threshold.

[0048] After obtaining abnormal outliers, it is considered that there is a risk of failure in the current boring and milling process. Moreover, the more abnormal outliers there are, the greater the risk of failure in the current boring and milling machine. Obtain the number of abnormal outliers within a preset time period, and use 1% of the number of all data points within the preset time period as the quantity threshold (one data point consists of the forces in three directions at one moment). If the number of abnormal outliers within the preset time period is greater than or equal to the quantity threshold, then promptly alarm and notify the relevant operation and maintenance personnel, and automatically stop the operation of the boring and milling machine to ensure the safety of boring and milling. In this application, the number of data points within the preset time period is 1000, and the quantity threshold is 10.

[0049] In summary, by performing STL time series decomposition on the forces in the three monitored directions, analyzing the residual distribution characteristics, and further analyzing the clustering characteristics in the space rectangular coordinate system in combination with the three-axis monitoring data, abnormal outliers that may exist during the boring and milling process can be obtained more accurately. After discovering the abnormal outliers, promptly stop the boring and milling process, thereby realizing a safer boring and milling method.

[0050] It should be noted that: the above sequence of the embodiments of the present invention is only for description and does not represent the superiority or inferiority of the embodiments. And the above description of specific embodiments of this specification has been made. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0051] Each embodiment in this specification is described in a progressive manner. The same or similar parts among the embodiments can be referred to each other, and the key points of each embodiment are the differences from other embodiments.

[0052] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine, characterized in that: The method includes: A strain-type three-dimensional sensor is installed at the connection between the spindle housing and the tool of the boring and milling machine to obtain the forces in three directions of the spatial rectangular coordinate system within a preset period of time and respectively form vibration force data segments; the vibration force data segment is analyzed to obtain the residual term of the vibration force data segment; Obtain outlier data in each vibration force data segment according to the distribution of the residual term of each vibration force data segment in the residual graph; obtain outlier data points according to the outlier data in each vibration force data segment; Mapping the outlier data points into a spatial rectangular coordinate system and clustering them to obtain clusters; obtaining the mean point according to the force corresponding to the moment when the forces in the three directions in the vibration force data segment are not outlier data; In a spatial rectangular coordinate system, the degree of outlier abnormality of outlier data points in a cluster is obtained based on the distribution of outlier data points in the cluster and the line connecting the cluster center and the mean point of the cluster; Whether the outlier data point is an abnormal outlier is determined based on the degree of outlier anomaly of the outlier data point; and whether a fault occurs in the boring and milling process is determined based on the number of abnormal outliers within a preset time period.

2. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 1, characterized in that: The forces in the three directions of the spatial rectangular coordinate system are respectively forces in the directions of the X-axis, the Y-axis and the Z-axis.

3. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 1, characterized in that: The step of analyzing the vibration force data segment to obtain a residual term of the vibration force data segment includes: The vibration force data segment in one direction is subjected to STL time series decomposition to obtain a residual term in the vibration force data segment, wherein the residual term includes different residual points, and one residual point corresponds to one data in the vibration force data segment.

4. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 1, characterized in that: The step of obtaining the outlier data in each vibration force data segment according to the distribution of the residual item of each vibration force data segment in the residual graph comprises: In the residual map of the residual term of a vibration force data segment, a preset number of residual points adjacent to the left side and a preset number of residual points adjacent to the right side of a residual point in the residual map are obtained, and recorded as neighbor points of the residual point; the distance of the residual point from the residual median axis in the residual map is obtained and normalized to obtain a distance feature item; the neighbor points and the residual point are arranged in the order of the horizontal axis to obtain a local point set, and the sum of the distances from each neighbor point to the residual point is multiplied by the standard deviation of the distances between every two adjacent points in the local point set to obtain a local continuous distribution feature item; the distance feature item and the normalized local continuous distribution feature item are multiplied to obtain the outlier degree of the residual point; outlier data is obtained based on the outlier degree of the residual point corresponding to each data in each vibration force data segment; the residual median axis is the straight line y=0 in the residual map.

5. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 4, characterized in that: The step of obtaining outlier data based on the outlier degree of the residual point corresponding to each data in each vibration force data segment comprises: When the outlier degree of a residual point is greater than or equal to a first threshold, the residual point is an outlier residual point; and the data in the vibration force data segment corresponding to the outlier residual point is outlier data.

6. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 1, characterized in that: The step of obtaining outlier data points according to outlier data in each vibration force data segment includes: For an outlier data, the forces in the three directions at the corresponding moment of the outlier data are combined into a data point, which is recorded as the outlier data point.

7. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 1, characterized in that: The method of obtaining the mean point according to the force corresponding to the moment when the force in the three directions in the vibration force data segment is not an outlier data comprises: The forces in the three directions corresponding to a moment when the forces in the three directions in the vibration force data segment are not outliers are combined into normal data points, and the means of the forces in the three directions contained in all normal data points are respectively calculated to obtain the X-axis mean, Y-axis mean and Z-axis mean to form the mean point.

8. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 1, characterized in that: The step of obtaining the degree of outlier abnormality of outlier data points in a cluster based on the distribution of outlier data points in the cluster and the line connecting the cluster center and the mean point of the cluster includes: Get the minimum value of the Euclidean distance between an outlier data point and other outlier data points in a cluster, record it as the minimum distance; multiply the mean and standard deviation of the minimum distance corresponding to each outlier data point in the cluster and normalize them to get the intra-cluster distribution feature item; get the line connecting the cluster center and the mean point of the cluster, and get the angle between the line and the three axes of the spatial rectangular coordinate system, the angle with the smallest angle is recorded as the minimum angle, and the other two angles are recorded as the first angle and the second angle respectively; calculate the angle difference between the minimum angle and the first angle and the second angle respectively, invert the sum of the two angle differences and normalize them to get the orientation feature item of the cluster; the sum of the intra-cluster distribution feature item and the orientation feature item is the outlier abnormality degree of the outlier data point in the cluster.

9. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 1, characterized in that: The step of judging whether an outlier data point is an abnormal outlier point according to the degree of outlier anomaly of the outlier data point comprises: The standard deviation of the outlier anomaly degree of each outlier data point after normalization is obtained. If the standard deviation is greater than the third threshold, the outlier data point whose outlier anomaly degree after normalization is greater than the second threshold is obtained as an abnormal outlier point.

10. The method for identifying faults in the boring and milling process of a horizontal CNC boring and milling machine according to claim 1, characterized in that: The determining whether a failure occurs in the boring and milling process based on the number of abnormal outliers within a preset time period includes: If the number of abnormal outliers within the preset time period is greater than or equal to the quantity threshold, an alarm will be issued to notify relevant operation and maintenance personnel.

Citation Information

Patent Citations

  • Method for monitoring operation state of numerical control machine tool

    CN117798744A

  • Sensor fault diagnosis method based on electric data analysis

    CN117928626A

  • Building engineering construction data processing method and system

    CN117932523A

  • Cutter state abnormity monitoring method based on hybrid resampling

    CN119128471A

  • Dynamic protection method for mechanical part of machine tool, and computer numerical control machine tool device

    WO2023151166A1

Cited By

  • Intelligent monitoring method and system for milling machine machining

    CN121132387A