Tool fault detection method, device and equipment in machine tool spindle and storage medium

Through edge processing equipment, the machine tool spindle load data is obtained and analyzed in real time, the load average and peak value are determined, and the fault is directly determined, which solves the problem of insufficient timeliness of tool fault detection in the prior art, and improves detection efficiency and real-timeness.

CN118951879AActive Publication Date: 2024-11-15DONGFENG HONDA ENGINE CO LTD

Patent Information

Application Number
CN202411071516.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-15
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

In the fault detection of machine tool spindle tool failures, the data processing and decision-making reasoning stages take a long time, resulting in insufficient timeliness of detection results, especially in application scenarios with high real-time requirements.

Method used

By obtaining the load values ​​of multiple spindles of the machine tool spindle during the monitoring time period, determining the load average and load peak, if it exceeds the preset interval, a tool failure is determined, and an edge processing device is used for real-time detection to reduce the data processing and decision-making reasoning stages. Improve detection efficiency.

Benefits of technology

It realizes the efficiency of machine tool spindle tool fault detection, reduces the delay time of detection results, and is suitable for application scenarios with high real-time requirements, reduces network resource consumption and improves data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118951879A_ABST
    Figure CN118951879A_ABST
Patent Text Reader

Abstract

The invention relates to a tool fault detection method and device in a machine tool spindle, equipment and a storage medium. The method comprises the steps that multiple spindle load values of the machine tool spindle in a monitoring time period are obtained; wherein each main shaft load value is a load value corresponding to each machined workpiece under the condition that the current cutter is mounted in the machine tool main shaft; determining a load average value and a load peak value based on the plurality of main shaft load values; and when it is determined that the load average value exceeds the preset load average value interval or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle breaks down. By adopting the method, the tool fault detection efficiency in the machine tool spindle can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of fault detection, and in particular to a method, device, equipment and storage medium for detecting tool faults in a machine tool spindle. Background Art

[0002] Nowadays, in the field of large-scale mechanical processing, in order to achieve continuous production and efficient processing of products, manufacturing companies use a large number of assembly line automation to process complex workpieces. However, with the increase in the number of workpieces, the components in the mechanical processing equipment, such as the tools in the machine tool spindle, will have a certain degree of failure (such as the tool in the machine tool spindle is worn). When the degree of tool failure in the machine tool spindle is large, the quality of the processed workpiece will be poor. Therefore, it is necessary to detect the operating status of the tool in the machine tool spindle.

[0003] At present, when the detection equipment detects tool faults in the machine tool spindle, it can first collect the operation data of the machine tool spindle obtained by various sensors, and then analyze the operation data through machine learning, deep learning, artificial intelligence algorithms and other methods to obtain the detection results and inform the user of the fault detection results. However, using this method, the operation data needs to go through two stages of data processing and decision reasoning to obtain the final detection results. Since these two stages often take a lot of time, the timeliness of the output detection results is affected. This problem is particularly prominent in application scenarios with high real-time requirements.

[0004] Therefore, how to improve the efficiency of tool fault detection in machine tool spindles has become an urgent problem to be solved. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment and storage medium for detecting tool faults in a machine tool spindle, which can improve the efficiency of detecting tool faults in a machine tool spindle.

[0006] In a first aspect, the present application provides a tool fault detection method in a machine tool spindle, which is applied to an edge processing device, and the method comprises:

[0007] Obtain multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle;

[0008] Based on the multiple spindle load values, determine the load average value and the load peak value;

[0009] When it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle fails.

[0010] In one of the embodiments, a plurality of spindle load values ​​of a machine tool spindle within a monitoring time period is obtained, including: real-time acquisition of operation data of the machine tool spindle within the monitoring time period, the operation data including initial spindle load values ​​corresponding to a plurality of points of a target workpiece being processed when a current tool is installed in the machine tool spindle; and, obtaining the position of the machine tool spindle when processing each point; slicing a plurality of initial spindle load values ​​based on the position of the machine tool spindle when processing each point to obtain a plurality of sliced ​​spindle load values; and using the plurality of sliced ​​spindle load values ​​as a plurality of spindle load values ​​of the machine tool spindle.

[0011] In one of the embodiments, based on the position of the machine tool spindle when processing each point, multiple initial spindle load values ​​are sliced ​​to obtain multiple spindle load values ​​after slicing, including: based on the position of the machine tool spindle when processing each point, determining the processing position of the machine tool spindle; based on the processing position, slicing multiple initial spindle load values ​​to obtain multiple spindle load values ​​after slicing.

[0012] In one of the embodiments, the preset load average value interval and the preset peak value interval are determined in the following manner: obtaining multiple historical spindle load values ​​corresponding to the machine tool spindle processing a preset first number of workpieces in a monitoring time period before the monitoring time period; determining the historical load average value and the historical load peak value based on the multiple historical spindle load values; determining the preset load average value interval based on the historical load average value, and determining the preset peak value interval based on the historical load peak value.

[0013] In one of the embodiments, real-time acquisition of operating data of a machine tool spindle within a monitoring time period includes: real-time acquisition of multiple operating data of the machine tool spindle from a device where the machine tool spindle is located; the multiple operating data are collected by the device based on a predetermined sampling frequency, and the sampling frequency is determined based on signal characteristics and dynamic response requirements, storage capacity and processing capabilities, as well as actual requirements; wherein, the signal characteristics include the speed of change of the spindle load signal of the machine tool spindle, the frequency range, and the fluctuation amplitude, the dynamic response requirement refers to the speed of change of the spindle load signal to be monitored, the storage capacity refers to the available storage space of the edge processing device, the processing capability refers to the rate at which the edge processing device processes data, and the actual requirements include the cost required to collect data.

[0014] In one of the embodiments, the method also includes: determining a current spindle load value after the current tool processes a preset second number of workpieces; obtaining a target spindle load value after processing a preset second number of workpieces when the previous tool is installed in the spindle of the machine tool; when it is determined that the difference between the current spindle load value and the target spindle load value is greater than a preset threshold, outputting an alarm message, the alarm message being used to indicate that the current tool has a fault; the preset threshold is associated with the preset second number.

[0015] In a second aspect, the present application provides a tool fault detection device in a machine tool spindle, which is applied to an edge processing device, and the device comprises:

[0016] An acquisition module is used to acquire multiple spindle load values ​​of a machine tool spindle within a monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when a current tool is installed in the machine tool spindle;

[0017] A determination module, used for determining a load average value and a load peak value based on multiple spindle load values;

[0018] The determination module is also used to determine that a current tool in the machine tool spindle has a fault when it is determined that the load average value exceeds a preset load average value interval, or the load peak value exceeds a preset peak value interval.

[0019] In a third aspect, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0020] Obtain multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle;

[0021] Based on the multiple spindle load values, determine the load average value and the load peak value;

[0022] When it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle fails.

[0023] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0024] Obtain multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle;

[0025] Based on the multiple spindle load values, determine the load average value and the load peak value;

[0026] When it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle fails.

[0027] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0028] Obtain multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle;

[0029] Based on the multiple spindle load values, determine the load average value and the load peak value;

[0030] When it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle has a fault. In the above-mentioned tool fault detection method, device, equipment and storage medium in the machine tool spindle, the edge processing device obtains multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is the load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle; based on multiple spindle load values, the load average value and the load peak value are determined; when it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle has a fault. In this way, compared with the method of analyzing the operation data through machine learning, deep learning, artificial intelligence algorithms and other methods to obtain the detection results, the tool fault detection method provided in the embodiment of the present application does not need to go through the two stages of data processing and decision reasoning, thereby improving the efficiency of tool fault detection in the machine tool spindle. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0032] Figure 1 It is a schematic diagram of an application scenario of a tool fault detection method in a machine tool spindle provided in an embodiment of the present application;

[0033] Figure 2 It is a flow chart of a method for detecting tool faults in a machine tool spindle provided in an embodiment of the present application;

[0034] Figure 3 This is a schematic diagram of operating data of a machine tool spindle when machining a single workpiece provided in an embodiment of the present application;

[0035] Figure 4 It is a schematic diagram of a boring tool processing load trend after being sliced ​​by an edge processing device provided in an embodiment of the present application;

[0036] Figure 5 is a schematic diagram of a load average value fitting control curve provided in an embodiment of the present application;

[0037] Figure 6 This is a schematic diagram of a load peak value change provided by an embodiment of the present application;

[0038] Figure 7 It is a flow chart of another method for detecting tool failure in a machine tool spindle provided in an embodiment of the present application;

[0039] Figure 8 This is a schematic diagram of anomaly detection provided by an embodiment of the present application;

[0040] Fig. 9 It is a tool trend warning schematic diagram provided by an embodiment of the present application;

[0041] Fig.10 It is a structural schematic diagram of a tool fault detection device in a machine tool spindle provided in an embodiment of the present application;

[0042] Fig.11 It is a structural schematic diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] The following introduces the application scenario of the tool fault detection method in the machine tool spindle provided in the embodiment of the present application.

[0045] See also Figure 1 , see Figure 1 , Figure 1 Schematic diagram of an application scenario of a tool fault detection method in a machine tool spindle provided in an embodiment of the present application. Figure 1As shown, it includes an edge processing device 101, a device 102 belonging to a machine tool spindle, a network cable 103, a protocol converter 104, and a data server 105. Among them, the edge processing device 101 can communicate data with the device 102 belonging to the machine tool spindle through the network cable 103 and the protocol converter 104.

[0046] Among them, the edge processing device 101 can obtain multiple spindle load values ​​of the machine tool spindle in the monitoring time period from the device 102 to which the machine tool spindle belongs through the network cable 103 and the protocol converter 104; wherein each spindle load value is the load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle; based on multiple spindle load values, the load average value and the load peak value are determined; when it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle has a fault. In this way, the efficiency of tool fault detection in the machine tool spindle can be improved.

[0047] Optionally, the edge processing device 101 may upload the acquired multiple historical spindle load values ​​of the machine tool spindle to the data server 105 via the network cable 103 .

[0048] Optionally, the edge processing device 101 may be an edge PLC device, wherein the edge PLC device may adopt a data analysis module of a programmable controller.

[0049] Optionally, the device 102 to which the machine tool spindle belongs may be a device that uses a CNC machine tool program commonly used in a CNC machine tool workshop.

[0050] Optionally, the network used by the network cable 103 may be a local area network (LAN). The LAN network is a common and mature network architecture suitable for data transmission within a local area, with low cost and simpler deployment and maintenance. In the present application, the distance between the edge processing device 101 and the device 102 where the machine tool spindle is located is relatively close, so the LAN network can provide a data transmission speed that meets the requirements.

[0051] See also Figure 2 , Figure 2 1 is a flow chart of a method for detecting tool failure in a machine tool spindle provided in an embodiment of the present application. The method may be executed by an edge processing device (eg, the edge processing device 101 described above). Figure 2 As shown, the tool fault detection method in the machine tool spindle may include but is not limited to the following steps:

[0052] S201, obtaining multiple spindle load values ​​of a machine tool spindle within a monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when a current tool is installed in the machine tool spindle.

[0053] In an optional embodiment, the edge processing device obtains multiple spindle load values ​​of the machine tool spindle within a monitoring time period, which may include: real-time acquisition of operation data of the machine tool spindle within the monitoring time period, the operation data including initial spindle load values ​​corresponding to multiple points of the target workpiece being processed when the current tool is installed in the machine tool spindle; and, obtaining the position of the machine tool spindle when processing each point; slicing the multiple initial spindle load values ​​based on the position of the machine tool spindle when processing each point to obtain multiple sliced ​​spindle load values; and using the multiple sliced ​​spindle load values ​​as multiple spindle load values ​​of the machine tool spindle.

[0054] In this embodiment, the edge processing device obtains the operating data of the machine tool spindle within the monitoring time period in real time, which may include: obtaining multiple operating data of the machine tool spindle from the device where the machine tool spindle is located in real time, and the multiple operating data are collected by the device based on a predetermined sampling frequency, and the sampling frequency is determined based on signal characteristics and dynamic response requirements, storage capacity and processing capabilities as well as actual needs; wherein, the signal characteristics include the speed of change of the spindle load signal of the machine tool spindle, the frequency range and the fluctuation amplitude, the dynamic response requirement refers to the speed of change of the spindle load signal to be monitored, the storage capacity refers to the available storage space of the edge processing device, the processing capability refers to the rate at which the edge processing device processes data, and the actual requirements include the cost required to collect data.

[0055] That is to say, the device where the machine tool spindle is located can collect the operating data of the machine tool spindle through its own sensors based on the sampling frequency predetermined by the user.

[0056] Among them, when pre-determining the sampling frequency, the following factors can be considered:

[0057] (1) Signal characteristics and dynamic response requirements

[0058] First, understand the characteristics of the spindle load signal. For example, how fast the spindle load signal changes, the frequency range, and the amplitude of fluctuation. If the signal changes very quickly or contains high-frequency components, a higher sampling frequency needs to be selected to capture subtle changes. If the instantaneous changes in the spindle load need to be precisely controlled or monitored, the sampling frequency should be high enough to obtain data in real time and make corresponding adjustments in a timely manner.

[0059] (2) Storage capacity and processing power

[0060] Consider the limitations of data storage capacity and processing power. A higher sampling frequency will generate more data and may require more storage space and computing resources to process. Therefore, it is necessary to decide the appropriate sampling frequency based on the available storage capacity and processing power.

[0061] (3) Cost and actual demand

[0062] Finally, cost factors and actual needs can be considered comprehensively. A higher sampling frequency will increase the cost of data acquisition equipment and the complexity of data processing and analysis.

[0063] In actual applications, you can directly observe the most suitable output waveform from the data tracking page of the FANUC system in the device where the machine tool spindle is located by adjusting different data sampling frequencies. And evaluate the impact of the sampling frequency on data quality and system performance to determine the best sampling frequency, as shown in Table 1.

[0064] Table 1 Sampling frequency requirements (unit: ms)

[0065]

[0066] See also Figure 3 , Figure 3 This is a schematic diagram of the operation data of a machine tool spindle when processing a single workpiece provided in an embodiment of the present application. Figure 3 The operating data shown is obtained by collecting the spindle load value and the position (horizontal axis coordinate and vertical axis coordinate) of the machine tool spindle when processing the workpiece at a sampling frequency of 100ms. Figure 3 As shown, the operating data before the dotted line is the operating data of the machine tool spindle when the machine tool spindle installs the current tool (i.e., boring cutter), and the operating data after the dotted line is the operating data of the machine tool spindle when the machine tool spindle installs the next tool (milling cutter).

[0067] In this embodiment, the edge processing device slices multiple initial spindle load values ​​based on the position of the machine tool spindle when processing each point to obtain multiple spindle load values ​​after slicing, including: determining the processing position of the machine tool spindle based on the position of the machine tool spindle when processing each point; slicing multiple initial spindle load values ​​based on the processing position to obtain multiple spindle load values ​​after slicing.

[0068] See also Figure 4 , Figure 4 1 is a schematic diagram of a boring tool processing load trend after slicing by an edge processing device provided in an embodiment of the present application. Figure 4 As shown in the figure, the horizontal axis represents the number of processing points, and the vertical axis represents the spindle load value. Figure 4It includes the spindle load values ​​after slicing corresponding to 705 workpieces processed with a boring cutter installed on the machine tool spindle through edge processing equipment, and 4 points on each workpiece (a total of 2820 points).

[0069] S202: Determine a load average value and a load peak value based on multiple spindle load values.

[0070] The multiple spindle load values ​​are spindle load values ​​corresponding to a preset number of workpieces processed by a current tool installed in the spindle of the machine tool.

[0071] In an optional embodiment, the edge processing device determines the load average value based on multiple spindle load values, which may include: in the case of processing a preset number of workpieces, determining the load average value of the machine tool spindle based on the spindle load values ​​corresponding to the preset number of workpieces processed; the load average value is used to smooth the corresponding spindle load values ​​after processing the workpieces in a time period after the historical time period, and to filter high-frequency noise.

[0072] For example, assuming the preset number is 50, after processing every 50 workpieces, the edge processing device will determine that the average load value of the machine tool spindle is (f1+f2+...+f50) / 50 based on the spindle load values ​​corresponding to the processing of these 50 workpieces, such as f1, f2,..., f50.

[0073] In an optional embodiment, the edge processing device determines the load peak based on multiple historical spindle load values, which may include: when each preset number of workpieces are processed, determining the load peak of the machine tool spindle based on the spindle load values ​​corresponding to the preset number of workpieces processed.

[0074] For example, assuming that the preset number is 50, after processing 50 workpieces, the edge processing device will determine the maximum load value from the spindle load values ​​corresponding to the processing of these 50 workpieces as the peak load value of the machine tool spindle.

[0075] S203: When it is determined that the load average value exceeds a preset load average value interval, or the load peak value exceeds a preset peak value interval, it is determined that a current tool in the machine tool spindle fails.

[0076] The load average value can be used to smooth data, filter high-frequency noise, and detect the overall trend of the load. The peak value can be used to detect sudden and abnormal load times.

[0077] In an optional embodiment, the preset load average value interval and the preset peak value interval can be determined by the edge processing device in the following manner: obtaining multiple historical spindle load values ​​corresponding to the machine tool spindle processing a preset first number of workpieces in a monitoring time period before the monitoring time period; determining the historical load average value and the historical load peak value based on the multiple historical spindle load values; determining the preset load average value interval based on the historical load average value, and determining the preset peak value interval based on the historical load peak value.

[0078] In this implementation, the edge processing device determines the preset load average interval based on the historical load average, which may include: determining the preset load average interval based on the historical load average and a preset first upper limit change value and a first lower limit change value. Optionally, the first upper limit change value may be 3, and the first lower limit change value may be -3.

[0079] For example, assuming that the historical load average value is 35, the first upper limit change value is 3, and the first lower limit change value is -3, the edge processing device may determine that the preset load average value interval is [32, 38]. In this case, if the load average value is 39, the edge processing device may determine that the load average value 39 exceeds the preset load average value interval [32, 38]. At this time, the edge processing device may determine that the current tool in the machine tool spindle is faulty.

[0080] Optionally, the edge processing device can fit a ±3 upper and lower limit control curve based on the historical load average. Figure 5 , Figure 5 Schematic diagram of a load average value fitting control curve provided in an embodiment of the present application. Figure 5 As shown, the horizontal axis represents the number of processing points, and the vertical axis represents the spindle load value.

[0081] Optionally, the edge processing device can also output a fitted control curve for the user to view.

[0082] In this implementation, the edge processing device determines the preset peak interval based on the historical load peak value, which may include: determining the preset peak interval based on the historical load peak value and a preset second upper limit change value and a preset second lower limit change value.

[0083] For example, assuming that the historical load peak is 43, the second upper limit change value is 2, and the second lower limit change value is -2, the edge processing device can determine that the preset peak interval is [41, 45]. In this case, if the load peak value in the monitoring time period is 46, the edge processing device can determine that the load peak value 46 exceeds the preset peak interval [41, 45]. At this time, the edge processing device can determine that the current tool in the machine tool spindle is faulty.

[0084] See also Figure 6 , Figure 6 Schematic diagram of load peak value variation provided by an embodiment of the present application. Figure 6 As shown, the load peak value in the preset time period is within the preset peak value interval, that is, the load peak value in the preset time period is within the range of the peak upper limit value / peak lower limit value. Therefore, it can be determined that the current tool in the machine tool spindle has no abnormality (or no failure).

[0085] In another optional implementation, the preset load average value interval and the preset peak value interval may be preset by the user based on experience.

[0086] In the embodiment of the present application, the edge processing device obtains multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is the load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle; based on the multiple spindle load values, the load average value and the load peak value are determined; when it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle has a fault. In this way, compared with the method of analyzing the operation data through machine learning, deep learning, artificial intelligence algorithms and other methods to obtain the detection results, the tool fault detection method provided in the embodiment of the present application does not need to go through the two stages of data processing and decision reasoning, thereby improving the efficiency of tool fault detection in the machine tool spindle.

[0087] In addition, the embodiment of the present application uses edge processing equipment to process and analyze operating data, which can reduce the delay time in transmitting operating data to the cloud and reduce the consumption of network resources; at the same time, it can also improve the security of operating data.

[0088] See also Figure 7 , Figure 7 1 is a flow chart of another method for detecting tool failure in a machine tool spindle provided in an embodiment of the present application. Figure 2 The method for detecting tool faults in a machine tool spindle shown differs in that Figure 7 The method shown illustrates that an edge processing device can detect a tool fault in a machine tool spindle based on a preset load threshold and a current spindle load value.

[0089] S701. Obtain the current spindle load value corresponding to processing the current workpiece.

[0090] In an optional implementation, the edge processing device may obtain the current spindle load value of the machine tool spindle from the device to which the machine tool spindle belongs via a network cable through a protocol converter.

[0091] S702, determine whether the current spindle load value is greater than a preset load threshold, if so, execute step S703, if not, execute step S704.

[0092] The preset load threshold is an instantaneous value, and the current spindle load value is also an instantaneous value. In this way, by real-time monitoring whether the load state exceeds the preset load threshold, potential tool failure or Brownian reaction can be warned.

[0093] In an optional implementation, the preset load threshold may be a load peak value within a preset time period, or may be an empirical value set by a user, which is not limited here.

[0094] That is, the edge processing device can monitor whether the spindle load value exceeds a preset load threshold.

[0095] In an optional embodiment, the edge processing device can also detect abnormal situations to monitor the load status in real time and warn of potential failures or improper operations.

[0096] S703: Determine whether the current tool in the machine tool spindle fails.

[0097] For example, assuming that the current spindle load value is 42 and the preset load threshold is 41, the edge processing device can determine that the current spindle load value 42 is greater than the preset load threshold 41. At this time, the edge processing device can determine that the current tool in the machine tool spindle is faulty.

[0098] In an optional implementation, the edge processing device may also output an abnormality detection waveform and abnormality information. Figure 8 , Figure 8 Schematic diagram of anomaly detection provided by an embodiment of the present application. Figure 8 As shown in (1), the horizontal axis represents time and the vertical axis represents the spindle load value. Figure 8 (2) in FIG. 1 is a log list of the spindle load value monitored by the edge processing device.

[0099] S704: Determine that the current tool in the machine tool spindle has not failed, and continue to obtain the next spindle load value of the current spindle load value.

[0100] In the embodiment of the present application, the edge processing device can obtain the current spindle load value corresponding to the processing of the current workpiece; determine whether the current spindle load value is greater than the preset load threshold, if so, determine that the current tool in the machine tool spindle has a fault, if not, determine that the current tool in the machine tool spindle has not a fault, and continue to obtain the next spindle load value of the current spindle load value. In this way, by real-time monitoring of whether the current spindle load value is greater than the preset load threshold, the tool in the machine tool spindle is detected for faults, which can improve the detection efficiency.

[0101] In an optional embodiment, Figure 2 and Figure 7In the tool failure detection method in the machine tool spindle shown, the edge processing device can also output an alarm message when determining that the current tool in the machine tool spindle has failed. In this way, relevant personnel can take corresponding measures, such as replacing the tool. The alarm message is used to indicate that the current tool in the machine tool spindle has failed.

[0102] Optionally, the alarm information may be an automatic alarm sound emitted by the edge processing device, or may be information output by the edge processing device to the client to indicate that the current tool has failed, etc., which is not limited here.

[0103] In an optional implementation, the edge processing device can also send the load status of the machine tool spindle to the user device, so that relevant staff can understand the production situation in real time and perform data analysis and comparison.

[0104] In an optional implementation, the edge processing device may also generate a spindle load report based on the historical spindle load value and the current spindle load value, and send the spindle load report to the user device. This is beneficial for relevant staff to conduct subsequent analysis and decision-making based on the spindle load report.

[0105] Optionally, the user device can be a remote monitoring device or a large screen or monitoring interface at the production site. In the case where the user device is a remote monitoring device, the edge processing device and the remote monitoring device can communicate through the bastion host, so that the relevant staff can remotely monitor and remotely adjust the spindle load value of the machine tool spindle. In the case where the user device is a large screen or monitoring interface at the production site, the relevant staff can monitor the spindle load value of the machine tool spindle in real time through the on-site GOT, so that the staff can make corresponding adjustments based on demand to optimize the efficiency and quality of the production workpiece.

[0106] In an optional embodiment, the edge processing device can also determine the current spindle load value after the current tool processes a preset second number of workpieces; obtain the target spindle load value after processing a preset second number of workpieces when the previous tool is installed in the spindle of the machine tool; when it is determined that the difference between the current spindle load value and the target spindle load value is greater than a preset threshold, output an alarm message, and the alarm message is used to indicate that the current tool has a fault; the preset threshold is associated with the preset second number.

[0107] See also Fig. 9 , Fig. 9 This is a tool trend warning diagram provided by an embodiment of the present application. Fig. 9As shown, the first row of waveforms is a schematic diagram of the change trend of the spindle load value after multiple slices are processed, the second row is a schematic diagram of the change trend of the spindle load value when the current tool processes the workpiece, and the third row is a schematic diagram of the change trend of the spindle load value when the previous tool processes the workpiece. Among them, in the circled position, the change trend of the spindle load value after the spindle load value when the current tool processes 2000 workpieces is the spindle load value after the previous tool processes 2000 workpieces. In this way, it can reflect the change between the spindle load value when the current tool processes 2000 workpieces and the spindle load value when the previous tool processes 2000 workpieces. After calculation, the spindle load value when the current tool processes 2000 workpieces is 10% higher than the spindle load value when the previous tool processes 2000 workpieces. Assuming that the preset threshold is 12%, the edge processing device can output an alarm message when it obtains the 2000th spindle load value.

[0108] In an optional implementation, the edge processing device may output an alarm message when the current tool has not reached the tool usage threshold and the current spindle load value belongs to a preset load range for tool replacement.

[0109] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0110] Based on the same inventive concept, the embodiment of the present application also provides a tool fault detection device in a machine tool spindle for implementing the tool fault detection method in a machine tool spindle involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the tool fault detection device in one or more machine tool spindles provided below can refer to the limitations of the tool fault detection method in the machine tool spindle above, and will not be repeated here.

[0111] See also Fig.10 , Fig.10 Schematic diagram of the structure of a tool fault detection device in a machine tool spindle provided in an embodiment of the present application. Fig.10As shown, the tool fault detection device in the machine tool spindle may include but is not limited to: an acquisition module 1001 and a determination module 1002 .

[0112] The acquisition module 1001 is used to acquire multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle;

[0113] A determination module 1002 is used to determine a load average value and a load peak value based on multiple spindle load values;

[0114] The determination module 1002 is also used to determine that the current tool in the machine tool spindle has a fault when it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval. In one embodiment, the device also includes a processing module. Among them, when the acquisition module 1001 is used to obtain multiple spindle load values ​​of the machine tool spindle within the monitoring time period, it is specifically used to: obtain the operation data of the machine tool spindle within the monitoring time period in real time, and the operation data includes the initial spindle load values ​​corresponding to multiple points of the processing target workpiece when the current tool is installed in the machine tool spindle; and, obtain the position of the machine tool spindle when processing each point; the processing module is used to slice the multiple initial spindle load values ​​based on the position of the machine tool spindle when processing each point, and obtain multiple spindle load values ​​after slicing; and use the multiple spindle load values ​​after slicing as multiple spindle load values ​​of the machine tool spindle.

[0115] In one embodiment, when the processing module is used to slice multiple initial spindle load values ​​based on the position of the machine tool spindle when processing each point to obtain multiple spindle load values ​​after slicing, it is specifically used to: determine the processing position of the machine tool spindle based on the position of the machine tool spindle when processing each point; based on the processing position, slice multiple initial spindle load values ​​to obtain multiple spindle load values ​​after slicing.

[0116] In one embodiment, the acquisition module 1001 is also used to obtain multiple historical spindle load values ​​corresponding to the machine tool spindle processing a preset first number of workpieces in a monitoring time period before the monitoring time period; the determination module 1002 is also used to determine the historical load average value and the historical load peak value based on the multiple historical spindle load values; based on the historical load average value, determine the preset load average value range, and, based on the historical load peak value, determine the preset peak value range.

[0117] In one embodiment, when the acquisition module 1001 is used to acquire the operating data of a machine tool spindle within a monitoring time period in real time, it is specifically used to: acquire multiple operating data of the machine tool spindle in real time from the device where the machine tool spindle is located; the multiple operating data are collected by the device based on a predetermined sampling frequency, and the sampling frequency is determined based on signal characteristics and dynamic response requirements, storage capacity and processing capabilities as well as actual requirements; wherein, the signal characteristics include the speed of change of the spindle load signal of the machine tool spindle, the frequency range and the fluctuation amplitude, the dynamic response requirement refers to the speed of change of the spindle load signal to be monitored, the storage capacity refers to the available storage space of the edge processing device, the processing capability refers to the rate at which the edge processing device processes data, and the actual requirements include the cost required to collect data.

[0118] In one embodiment, the determination module 1002 is further used to determine the current spindle load value after the current tool processes a preset second number of workpieces; the acquisition module 1001 is further used to obtain the target spindle load value after processing a preset second number of workpieces when the previous tool is installed in the spindle of the machine tool; the processing module is further used to output an alarm message when it is determined that the difference between the current spindle load value and the target spindle load value is greater than a preset threshold value, and the alarm message is used to indicate that the current tool has a fault; the preset threshold value is associated with the preset second number.

[0119] Each module in the tool fault detection device in the spindle of a machine tool can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a terminal device in the form of hardware, or can be stored in a memory in the terminal device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0120] In an exemplary embodiment, the present application provides a device, which may be an edge processing device, and its internal structure diagram may be as follows: Fig.11As shown. The device includes a processor, a memory, an input / output interface, a communication interface and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface and the input device are connected to the system bus through the input / output interface. The processor of the device is used to provide computing and control capabilities. The memory of the device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the device is used to exchange information between the processor and an external device. The communication interface of the device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a tool fault detection method in a machine tool spindle is implemented.

[0121] Those skilled in the art will understand that Fig.11 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the device to which the scheme of the present application is applied. The specific device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0122] In an exemplary embodiment, the present application provides a device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0123] Obtain multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle;

[0124] Based on the multiple spindle load values, determine the load average value and the load peak value;

[0125] When it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle fails.

[0126] It can be understood that the steps that can be implemented and the beneficial effects that can be achieved when the processor executes the computer program can be referred to the description of the tool fault detection method embodiment in the aforementioned related machine tool spindle, and will not be repeated here.

[0127] In an exemplary embodiment, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0128] Obtain multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle;

[0129] Based on the multiple spindle load values, determine the load average value and the load peak value;

[0130] When it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle fails.

[0131] It can be understood that the steps that can be implemented and the beneficial effects that can be achieved when the computer program is executed by the processor can be referred to the description of the tool fault detection method embodiment in the aforementioned related machine tool spindle, and will not be repeated here.

[0132] In an exemplary embodiment, the present application provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0133] Obtain multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle;

[0134] Based on the multiple spindle load values, determine the load average value and the load peak value;

[0135] When it is determined that the load average value exceeds the preset load average value interval, or the load peak value exceeds the preset peak value interval, it is determined that the current tool in the machine tool spindle fails.

[0136] It can be understood that the steps that can be implemented and the beneficial effects that can be achieved when the computer program is executed by the processor can be referred to the description of the tool fault detection method embodiment in the aforementioned related machine tool spindle, and will not be repeated here.

[0137] It should be noted that the data involved in this application (including but not limited to operating data, spindle load value, horizontal axis coordinate, vertical axis coordinate, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0138] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0139] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0140] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for detecting tool failure in a machine tool spindle, characterized in that: Applied to an edge processing device, the method comprises: Acquire multiple spindle load values ​​of the machine tool spindle within the monitoring time period; wherein each spindle load value is a load value corresponding to processing each workpiece when the current tool is installed in the machine tool spindle; Based on the plurality of spindle load values, determining a load average value and a load peak value; When it is determined that the load average value exceeds a preset load average value interval, or when the load peak value exceeds a preset peak value interval, it is determined that a fault occurs in the current tool in the machine tool spindle.

2. The method according to claim 1, characterized in that The obtaining of multiple spindle load values ​​of the machine tool spindle within the monitoring time period includes: Acquire the operation data of the machine tool spindle in the monitoring time period in real time, wherein the operation data includes initial spindle load values ​​corresponding to multiple points of the target workpiece being processed when the current tool is installed in the machine tool spindle; and acquire the position of the machine tool spindle when processing each point; Based on the position of the machine tool spindle when processing each of the points, slicing the plurality of initial spindle load values ​​to obtain a plurality of sliced ​​spindle load values; The plurality of spindle load values ​​after the slicing process are used as a plurality of spindle load values ​​of the machine tool spindle.

3. The method according to claim 2, characterized in that The method of slicing the plurality of initial spindle load values ​​based on the position of the spindle of the machine tool at each processing point to obtain a plurality of spindle load values ​​after slicing includes: Determining a processing position of the machine tool spindle based on the position of the machine tool spindle when processing each of the points; Based on the processing position, a plurality of the initial spindle load values ​​are sliced ​​to obtain a plurality of sliced ​​spindle load values.

4. The method according to claim 1, characterized in that: The preset load average value interval and the preset peak value interval are determined in the following manner: Acquire a plurality of historical spindle load values ​​corresponding to the machine tool spindle processing a preset first number of workpieces in a monitoring time period before the monitoring time period; Based on the multiple historical spindle load values, determine a historical load average value and a historical load peak value; The preset load average value interval is determined based on the historical load average value, and the preset peak value interval is determined based on the historical load peak value.

5. The method according to claim 2, characterized in that: The real-time acquisition of the operation data of the machine tool spindle within the monitoring time period includes: Acquire multiple operation data of the machine tool spindle in real time from the device where the machine tool spindle is located; The plurality of operation data are collected by the device based on a predetermined sampling frequency, and the sampling frequency is determined based on signal characteristics and dynamic response requirements, storage capacity and processing capability, and actual requirements; Among them, the signal characteristics include the speed of change of the spindle load signal of the machine tool spindle, the frequency range and the fluctuation amplitude, the dynamic response requirement refers to the speed of change of the spindle load signal that needs to be monitored, the storage capacity refers to the available storage space of the edge processing device, the processing capacity refers to the rate at which the edge processing device processes data, and the actual demand includes the cost required to collect data.

6. The method according to claim 1, characterized in that The method further comprises: Determine a current spindle load value after the current tool processes a preset second number of workpieces; Obtaining a target spindle load value after machining the preset second number of workpieces when a tool is installed in the spindle of the machine tool; When it is determined that the difference between the current spindle load value and the target spindle load value is greater than a preset threshold, an alarm message is output, wherein the alarm message is used to indicate that a fault has occurred in the current tool; the preset threshold is associated with the preset second number.

7. A tool fault detection device in a machine tool spindle, characterized in that: Applied to edge processing equipment, the device comprises: An acquisition module is used to acquire multiple spindle load values ​​of a machine tool spindle within a monitoring time period; wherein each spindle load value is a load value corresponding to machining each workpiece when a current tool is installed in the machine tool spindle; A determination module, configured to determine a load average value and a load peak value based on the plurality of spindle load values; The determination module is further configured to determine that a fault occurs in the current tool in the machine tool spindle when it is determined that the load average value exceeds a preset load average value interval, or the load peak value exceeds a preset peak value interval.

8. A device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.

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

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Main spindle monitoring device and main spindle monitoring method of machine tool

    CN112605713A

  • Machine tool cutter safety detection method and system and machine tool

    CN114102261A

  • Broken cutter detection method and device

    CN114700802A

  • Numerical control unit

    CN1550287A

  • Apparatus for detecting or predicting tool breakage

    US20040068394A1

Cited By

  • Numerical control machine tool cut-off sensing method

    CN119141325A