Data processing method, idle stroke elimination method, anti-collision method and related equipment thereof

By obtaining and processing the real-time physical quantity when machining the first workpiece by the machine tool and dynamically adjusting the boundary threshold value when machining the second workpiece, the problem of inaccurate feed speed determination in the prior art is solved, and processing efficiency and safety are improved.

CN120065898APending Publication Date: 2025-05-30INTELLIGENT GRINDOCTOR TECH SHENZHEN CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411493816.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-30
Filing Date
2024-10-24
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The prior art is difficult to accurately determine the feed speed of the machining tool during machine tool processing, resulting in reduced processing efficiency and safety, and rely too much on manual experience.

Method used

By obtaining the real-time physical quantity of the spindle when the machine tool is machining the first workpiece, processing these data according to preset rules to determine the first threshold value, and using this threshold value as the boundary threshold value when machining the second workpiece, the feed speed is dynamically adjusted.

Benefits of technology

Accurate control of the feed speed of machining tools is achieved, processing efficiency is improved, idle time is reduced, and processing safety is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120065898A_ABST
    Figure CN120065898A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method, an idle stroke eliminating method, an anti-collision method and related equipment thereof. The idle stroke eliminating method comprises the following steps: acquiring a real-time physical quantity of a main shaft when a machine tool machines a first workpiece; processing the real-time physical quantity according to a preset rule to determine a first threshold value; the first threshold value serves as a boundary threshold value when the second workpiece is machined; compared with the problem that a fixed boundary threshold value is determined depending on manual experience at present, the method comprises the steps that the real-time physical quantity of a main shaft is obtained when a machine tool machines a first workpiece; processing the real-time physical quantity according to a preset rule to determine a first threshold value; the first threshold value is used as the boundary threshold value when the second workpiece is machined, so that the boundary threshold value when the machining tool machines can be adjusted in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of numerical control machine tools, and particularly to a data processing method, an idle stroke elimination method, a collision prevention method, and related devices thereof. Background Art

[0002] With the continuous progress of modern machine tool processing technology, people have put forward more stringent requirements for processing efficiency, quality, and production safety. During the actual machining process of machine tools, the time-consuming of the feed idle stroke of the machining tool is too long. Therefore, shortening the idle stroke time is an important means to improve machining efficiency.

[0003] Currently, the commonly adopted idle stroke elimination method usually compares the real-time data collected during the machining process of the machining tool with a fixed threshold manually adjusted based on the spindle no-load power to determine the feed speed of the machining tool.

[0004] However, during the actual machining process, the spindle no-load power will change due to factors such as materials, tool wear, and cutting conditions. Therefore, using a fixed threshold cannot accurately determine the feed speed of the machining tool. At the same time, the existing methods for determining the fixed threshold rely too much on manual experience, which is likely to cause inconsistent machining quality of workpieces, as well as significant reduction in machining efficiency and safety. Summary of the Invention

[0005] The main technical problem to be solved by this application is to provide a data processing method, an idle stroke elimination method, a collision prevention method, and related devices thereof, which can dynamically adjust the boundary threshold, thereby accurately controlling the feed speed of the machining tool and improving machining efficiency.

[0006] To solve the above technical problem, a technical solution adopted by this application is: providing a data processing method, the method includes: obtaining the real physical quantity of the spindle when the machine tool processes the first workpiece; processing the real physical quantity according to a preset rule to determine a first threshold; using the first threshold as the boundary threshold when processing the second workpiece.

[0007] To solve the above technical problem, another technical solution adopted by this application is: providing an idle stroke elimination method, the method includes: obtaining the real physical quantity and the boundary threshold when processing the second workpiece, the boundary threshold is obtained based on the above data processing method; wherein, when the real physical quantity of the machine tool processing the second workpiece is less than or equal to the boundary threshold, controlling the feed speed between the machining tool of the machine tool and the second workpiece to be a first feed speed; and when the real physical quantity is greater than the boundary threshold, controlling the feed speed between the machining tool of the machine tool and the second workpiece to be a second feed speed, the second feed speed is less than the first feed speed

[0008] To solve the above technical problems, another technical solution adopted by this application is: to provide a collision prevention method, the method comprising: obtaining real-time physical quantities and boundary thresholds when machining a second workpiece, the boundary thresholds being obtained based on the above data processing method; wherein, when the real-time physical quantities of the machine tool machining the second workpiece are greater than the boundary thresholds, controlling the machine tool to stop machining.

[0009] To solve the above technical problems, another technical solution adopted by this application is: to provide a data processing device, the device comprising: an acquisition module for acquiring real-time physical quantities of the main shaft when the machine tool machines a first workpiece; a determination module for processing the real-time physical quantities according to a preset rule to determine a first threshold; a control module for using the first threshold as a boundary threshold when machining a second workpiece, wherein, when the real-time physical quantities of the machine tool machining the second workpiece are less than or equal to the first threshold, controlling the feed rate between the machining tool of the machine tool and the second workpiece to be a first feed rate; and when the real-time physical quantities are greater than the first threshold, controlling the feed rate between the machining tool and the second workpiece to be a second feed rate, the second feed rate being less than the first feed rate.

[0010] To solve the above technical problems, another technical solution adopted by this application is: to provide a collision prevention device, the device comprising: an acquisition module for acquiring real-time physical quantities of the main shaft when the machine tool machines a first workpiece; a determination module for processing the real-time physical quantities according to a preset rule to determine a second threshold; a control module for using the second threshold as a collision prevention threshold when machining a second workpiece, wherein, when the real-time physical quantities of the machine tool machining the second workpiece are greater than the second threshold, controlling the machine tool to stop machining.

[0011] To solve the above technical problems, another technical solution adopted by this application is: to provide an electronic device comprising a memory and a processor, the memory storing program instructions, and the processor retrieving the program instructions from the memory to execute the above data processing method and / or empty stroke method and / or collision prevention method.

[0012] To solve the above technical problems, another technical solution adopted by this application is: to provide a storage medium including stored program data, the program data being used to implement the above data processing method and / or empty stroke method and / or collision prevention method when executed by a processor.

[0013] In the above solution, compared with the problem of currently relying on manual experience to determine a fixed boundary threshold, the present application obtains the real-time physical quantity of the spindle when the machine tool processes the first workpiece; processes the real-time physical quantity according to a preset rule to determine the first threshold; and uses the first threshold as the boundary threshold when processing the second workpiece, thereby being able to adjust the boundary threshold in real time when the processing tool is processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings, where:

[0015] Figure 1 is a schematic flowchart of an exemplary embodiment of the data processing method provided by the present application;

[0016] Figure 2 is Figure 1 a schematic flowchart of an exemplary embodiment of step S120 in the illustrated data processing method;

[0017] Figure 3 is Figure 2 a schematic flowchart of an exemplary embodiment after step S230 in the illustrated data processing method;

[0018] Figure 4 is Figure 2 a schematic flowchart of an exemplary embodiment of step S220 in the illustrated data processing method;

[0019] Figure 5 is Figure 4 a schematic flowchart of an exemplary embodiment before step S410 in the illustrated data processing method;

[0020] Figure 6 is Figure 2 a schematic flowchart of an exemplary embodiment of step S210 in the illustrated data processing method;

[0021] Figure 7 is Figure 3 a schematic flowchart of an exemplary embodiment after step S320 in the illustrated data processing method;

[0022] Figure 8 is a schematic flowchart of an exemplary embodiment of the data processing method provided by the present application;

[0023] Figure 9 is Figure 8Flow diagram of an exemplary embodiment of step S820 in the illustrated data processing method;

[0024] Figure 10 is Figure 9 Flow diagram of an exemplary embodiment after step S930 in the illustrated data processing method;

[0025] Figure 11 Structural diagram of an exemplary embodiment of the machining process curve provided by this application;

[0026] Figure 12 is Figure 9 Flow diagram of an exemplary embodiment of step S920 in the illustrated data processing method;

[0027] Figure 13 Structural diagram of an exemplary embodiment of the empty stroke elimination device provided by this application;

[0028] Figure 14 Structural diagram of an exemplary embodiment of the anti-collision device provided by this application;

[0029] Figure 15 Structural diagram of an exemplary embodiment of the electronic device provided by this application;

[0030] Figure 16 Structural diagram of an exemplary embodiment of the storage medium provided by this application. Detailed implementation manners

[0031] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. It can be understood that the specific embodiments described herein are only used to explain the present application, rather than limiting the present application. Additionally, it should be noted that for the sake of description, only parts related to the present application rather than all structures are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0032] First of all, it should be noted that during the machining process of a machine tool, there is a period of empty stroke time before the machining tool contacts the workpiece. Since the sizes of the workpieces vary, in order to ensure that the machining tool does not collide with the workpiece, during the process of the machining tool approaching the workpiece, generally, it will first approach at a relatively fast speed for a certain distance, and then reduce the speed and slowly approach the workpiece. This method results in a large part of the empty stroke being traveled at a slower speed, greatly wasting the machining time.

[0033] In the prior art, generally, a threshold value for switching the feed rate of a machine tool is set by technicians with rich on-site experience. It can be understood that determining this threshold value requires a lot of trial cutting. Due to the continuity of machining monitoring, the curve of the above threshold value displayed on the monitoring software is a straight line parallel to the time axis. It can be understood that there are many uncertain factors during the machining process, such as grinding wheel replacement, grinding wheel wear, and the existence of repaired parts. Using the above threshold value to eliminate the idle stroke under these uncertain factors is likely to cause inconsistent machining quality of workpieces, as well as significant reduction in machining efficiency and safety.

[0034] The present application proposes a data processing method that can be applied to machine tool machining. For example, it can be applied to the fields of idle stroke monitoring and anti-collision monitoring. Specifically, the boundary threshold value for machining the second workpiece of the machine tool is determined according to the real-time physical quantity of the main shaft when the machine tool processes the first workpiece, so as to improve the real-time performance of the boundary threshold value, thereby ensuring the accuracy of the feed rate and shortening the idle stroke time.

[0035] The data processing method of the present application can be applied to the following industrial Internet scenarios.

[0036] In the system architecture of a possible industrial Internet scenario, it includes a server, edge devices, and numerically controlled machine tools. Among them, the server can communicate directly with the numerically controlled machine tool, and the server can also communicate indirectly with the numerically controlled machine tool through an edge computer. In addition, the server can be an industrial cloud platform, a physical server, or a device of a physical server. Among them, the industrial cloud platform can be a public cloud platform or a private cloud platform of an enterprise. The physical server can be built using a single physical server or multiple servers to form a server group. The edge device is used to collect information and serve as an intermediate medium to transmit the communication between the server and the numerically controlled machine tool. Among them, a single edge device can correspond to multiple numerically controlled machine tools, and multiple edge devices correspond to one numerically controlled machine tool associated with themselves one by one.

[0037] The execution subject of the data processing method of the present application can directly execute the following embodiments through the numerically controlled machine tool, or can control the numerically controlled machine tool to execute through the edge computer. Specifically, it is not limited here.

[0038] Now, the idle stroke elimination method of the present application will be described in combination with the above architecture. It should be understood that this description is only exemplary, and the present application is not limited to the implementation manner under this description.

[0039] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of an exemplary embodiment of the data processing method provided by the present application. Specifically, it can include the following steps:

[0040] S110: Obtain the real-time physical quantity of the main shaft when the machine tool processes the first workpiece.

[0041] A machine tool is a device used to process materials such as metals and plastics. A machine tool typically consists of a machine body, a spindle, a feed system, a control system, etc. Exemplarily, the machine tool can be a numerically controlled machine tool.

[0042] The first workpiece refers to the material processed by the machine tool. Exemplarily, the first workpiece can be a metal material.

[0043] The spindle is the shaft in the machine tool used to rotate the machining tool or the workpiece, providing power and rotational speed for machining operations on the workpiece.

[0044] Real-time physical quantities can reflect the machining state of the machine tool. Exemplarily, the real-time physical quantities can be physical quantities such as the spindle motor power, spindle motor torque, current of the spindle motor, cutting force, vibration in the cutting area, sound in the cutting area, or temperature in the cutting area. The real-time physical quantities of the spindle can be monitored through sensors.

[0045] When the machine tool processes the first workpiece, the data processing device monitors the real-time physical quantities of the spindle of the machine tool in real time. Specifically, when the machine tool processes the first workpiece, the data processing device can monitor the spindle motor power of the spindle of the machine tool in real time.

[0046] S120: Process the real-time physical quantities according to a preset rule to determine the first threshold.

[0047] The preset rule is an important guiding rule in the machining process of the machine tool, used to ensure the safety, efficiency, and accuracy of machining. Exemplarily, the preset rule can be a rule artificially preset according to the machining characteristics of the machine tool.

[0048] The first threshold is obtained by processing the real-time physical quantities of the spindle of the machine tool when machining the first workpiece according to the preset rule. Exemplarily, the first threshold is generally greater than the real-time physical quantities of the spindle before the machining tool contacts the workpiece.

[0049] The data processing device processes the obtained real-time physical quantities according to the preset rule to determine the first threshold.

[0050] S130: Use the first threshold as the boundary threshold when machining the second workpiece.

[0051] It can be seen that the data processing method of the embodiment of the present application obtains the real-time physical quantities of the spindle when the machine tool processes the first workpiece; processes the real-time physical quantities according to the preset rule to determine the first threshold; uses the first threshold as the boundary threshold when machining the second workpiece, improving the convenience and accuracy of threshold acquisition.

[0052] In particular, when the present data processing method is applied to the field of eliminating idle strokes, the present embodiment further provides an idle stroke elimination method, which includes all the steps of S110-S130, that is, while obtaining the boundary threshold through the data processing method, the real-time physical quantity during the machining of the second workpiece is obtained. The idle stroke elimination method further includes:

[0053] When the real-time physical quantity of the machine tool machining the second workpiece is less than or equal to the boundary threshold, control the feed rate between the machining tool of the machine tool and the second workpiece to be the first feed rate; and when the real-time physical quantity is greater than the boundary threshold, control the feed rate between the machining tool of the machine tool and the second workpiece to be the second feed rate, and the second feed rate is less than the first feed rate.

[0054] The second workpiece refers to the material machined by the machine tool. Since the boundary threshold for machining the second workpiece needs to be determined by the real-time physical quantity of the main shaft during the machining of the first workpiece, the machining time of the machine tool for the first workpiece should be earlier than that for the second workpiece. Exemplarily, the second workpiece can be machined after the first workpiece, or after machining the first workpiece, a certain number of workpieces are spaced apart, and then the second workpiece is machined. Among them, the feed rate for machining the intermediate spaced workpieces can be the same as the feed rate for machining the first workpiece.

[0055] The boundary threshold is the threshold for controlling the feed rate between the machining tool of the machine tool and the second workpiece. Exemplarily, the first threshold can be used as the boundary threshold. The purpose of setting the boundary threshold is that when the machining tool is not in contact with the workpiece, the machining tool travels towards the workpiece at the first feed rate. If the real-time physical quantity of the main shaft rises above the boundary threshold, it means that the machining tool is in contact with the workpiece. At this time, control the machining tool to travel towards the workpiece at the second feed rate. At the same time, in order to ensure the machining quality and safety, the second feed rate is less than the first feed rate.

[0056] The feed rate refers to the moving speed of the machining tool relative to the workpiece during the machining process of the machine tool. Exemplarily, when determining the feed rate, in addition to considering the real-time physical quantity of the embodiments of the present application, it is also necessary to consider the workpiece material characteristics, process requirements, and tool material for machining.

[0057] When machining the first workpiece, the first threshold can be determined according to the real-time physical quantity of the main shaft during the machining of the first workpiece, and the first threshold is used as the boundary threshold for machining the second workpiece. The feed rate between the machining tool and the second workpiece is controlled by the boundary threshold. When the real-time physical quantity is less than or equal to the boundary threshold, control the feed rate between the machining tool of the machine tool and the second workpiece to be the first feed rate; when the real-time physical quantity is greater than the boundary threshold, control the feed rate between the machining tool of the machine tool and the second workpiece to be the second feed rate, and the second feed rate is less than the first feed rate.

[0058] It can be seen that the idle stroke elimination method according to the embodiments of the present application obtains the real-time physical quantity of the spindle when the machine tool processes the first workpiece; processes the real-time physical quantity according to a preset rule to determine a first threshold; uses the first threshold as the boundary threshold when processing the second workpiece, improving the convenience and accuracy of threshold acquisition; wherein, when the real-time physical quantity of the machine tool processing the second workpiece is less than or equal to the boundary threshold, the feed speed between the processing tool of the machine tool and the second workpiece is controlled to be a first feed speed; and when the real-time physical quantity is greater than the boundary threshold, the feed speed between the processing tool of the machine tool and the second workpiece is controlled to be a second feed speed, and the second feed speed is less than the first feed speed. Thereby, the boundary threshold during the processing of the processing tool can be adjusted in real time, and the feed speed for processing the second workpiece can be determined by the boundary threshold adjusted in real time and the real-time physical quantity of processing the second workpiece, improving the accuracy of the feed speed and shortening the idle stroke time.

[0059] In some embodiments, the idle stroke elimination method according to the embodiments of the present application may further include some or all of the steps between S210 and S720 described below.

[0060] Based on the above embodiments, the embodiments of the present application use Figure 2 The flowchart details how to determine the first threshold. Please refer to Figure 2 , Figure 2 is Figure 1 The flowchart of an exemplary embodiment of step S120 in the data processing method shown. Specifically, the process of step S120 processing the real-time physical quantity according to a preset rule to determine the first threshold specifically includes the following steps:

[0061] S210: Generate a processing process curve of the machine tool processing the first workpiece. One coordinate axis of the processing process curve is the real-time physical quantity, and the other coordinate axis of the processing process curve is time.

[0062] The processing process curve of the first workpiece describes the change of the real-time physical quantity when the machine tool processes the first workpiece. Exemplarily, the processing process curve can be represented by a two-dimensional coordinate axis, where one coordinate axis represents the real-time physical quantity and the other coordinate axis represents time. Exemplarily, time can be used as the abscissa and the real-time physical quantity can be used as the ordinate.

[0063] The data processing device monitors the real-time physical quantity of the machine tool when processing the workpiece in real time, takes the real-time physical quantity and time as the ordinate and abscissa of the two-dimensional coordinates respectively, and plots the real-time physical quantity monitored during the process of the machine tool processing the first workpiece on the two-dimensional coordinates to generate a processing process curve of the machine tool processing the first workpiece. Specifically, the data processing device can monitor the spindle motor power of the machine tool when processing the workpiece in real time and use the spindle motor power as one coordinate axis of the two-dimensional coordinates to plot the processing process curve.

[0064] S220: Determine the spindle no-load physical quantity according to the curve slope of the machining process curve.

[0065] The curve slope refers to the slope of the tangent line at a certain point on the machining process curve. The curve slope in the machining process curve reflects the change rate of the real-time physical quantity. The curve slope has positive and negative values. The point with the largest curve slope in the machining process curve indicates that the real-time physical quantity rises fastest, and the point with the smallest curve slope indicates that the real-time physical quantity drops fastest.

[0066] In this embodiment, the spindle no-load physical quantity can refer to the power consumed by the spindle when rotating under no-load conditions of the machine tool. The spindle no-load physical quantity can represent the real-time physical quantity of the spindle before the machining tool contacts the workpiece. In practical applications, as the machining time increases, the friction of the machine tool will increase accordingly, which will cause the spindle no-load physical quantity to gradually increase. In addition, due to changes in factors such as workpiece material, tool wear, and cutting conditions, the spindle no-load physical quantity will fluctuate accordingly.

[0067] The data processing device determines the curve slope in the machining process curve and determines the spindle no-load physical quantity of the machine tool under no-load conditions according to the curve slope.

[0068] S230: Use the spindle no-load physical quantity multiplied by a preset multiple as the first threshold.

[0069] The preset multiple can be a multiple set in advance by humans. Exemplarily, through the results of continuous experiments, the relationship between the first threshold and the spindle no-load physical quantity can be obtained and expressed in the form of a multiple; it can also be set based on manual experience. It should be noted that since the first threshold is the trigger physical quantity when the machining tool contacts the second workpiece, the value of the first threshold can be greater than the spindle no-load physical quantity when machining the first workpiece. Exemplarily, the preset multiple can be any value within the range of 1.05 times to 1.4 times, such as 1.06 times, 1.07 times, 1.1 times, 1.2 times, and 1.3 times, etc. In some other embodiments, the preset multiple can also be less than 1.05 times or greater than 1.4 times, which is not specifically limited here, as long as the first threshold can reflect the real-time physical quantity when the machining tool contacts the second workpiece.

[0070] The data processing device determines the preset multiple according to the specific situation during machining and uses the spindle no-load physical quantity multiplied by the preset multiple as the first threshold.

[0071] It can be seen that the data processing method according to the embodiments of the present application generates a machining process curve for the machine tool to machine the first workpiece. One coordinate axis of the machining process curve is a real-time physical quantity, and the other coordinate axis is time. The no-load physical quantity of the main shaft is determined according to the curve slope of the machining process curve, and the no-load physical quantity of the main shaft multiplied by a preset multiple is used as the first threshold. Thus, the first threshold is determined according to the generated machining process curve, simplifying the determination of the no-load physical quantity of the main shaft and improving the real-time performance of the first threshold.

[0072] Based on the above embodiments, the embodiments of the present application use Figure 3 The flowchart details how to visualize the first threshold during the machining of the second workpiece. Please refer to Figure 3 , Figure 3 which Figure 2 is a schematic flowchart of an exemplary embodiment after step S230 in the shown data processing method. Specifically, after taking the no-load physical quantity of the main shaft multiplied by a preset multiple as the first threshold in step S230, the following steps are further included:

[0073] S310: Generate a machining process curve for the machine tool to machine the second workpiece.

[0074] The machining process curve of the second workpiece describes the change of the real-time physical quantity during the machining of the second workpiece by the machine tool. Exemplarily, the machining process curve can be represented by a two-dimensional coordinate axis, where one coordinate axis represents the real-time physical quantity and the other coordinate axis represents time. Exemplarily, time can be used as the abscissa and the real-time physical quantity as the ordinate.

[0075] The data processing device monitors the real-time physical quantity during the machining of the second workpiece by the machine tool in real time, takes the real-time physical quantity and time as the ordinate and abscissa of the two-dimensional coordinate respectively, and plots the real-time physical quantity monitored during the machining process of the second workpiece by the machine tool on the two-dimensional coordinate to generate a machining process curve for the machine tool to machine the second workpiece.

[0076] S320: Display the first threshold within the machining process curve of the second workpiece.

[0077] The data processing device can display the first threshold in the form of a straight line on the two-dimensional coordinate within the machining process curve of the second workpiece. Exemplarily, to improve the user experience, the first threshold can be displayed before the second workpiece starts machining or after the second workpiece is machined.

[0078] It can be seen that the data processing method according to the embodiments of the present application generates a machining process curve for the machine tool to machine the second workpiece, and displays the first threshold within the machining process curve of the second workpiece. Displaying the first threshold and the second machining process curve on the same coordinate axis makes the machining process more transparent and intuitive, improving the user experience.

[0079] Based on the above embodiments, the embodiments of the present application adopt Figure 4 a flowchart to elaborate in detail how to determine the spindle no-load physical quantity according to the curve slope. Please refer to Figure 4 , Figure 4 which Figure 2 is a schematic flowchart of an exemplary embodiment of step S220 in the data processing method shown. Specifically, the steps of determining the spindle no-load physical quantity according to the curve slope of the machining process curve in step S220 specifically include the following steps:

[0080] S410: Determine the coordinate point with the maximum slope in the machining process curve as the target coordinate point, or determine any coordinate point within a predetermined range of the maximum slope in the machining process curve as the target coordinate point.

[0081] The target coordinate point refers to the coordinate point with the maximum slope in the machining process curve of the first workpiece. In the machining process curve of the first workpiece, the coordinate point with the maximum slope represents the point where the real-time physical quantity rises fastest. Generally speaking, when the machining tool contacts the first workpiece, the real-time physical quantity of the machine tool rises fastest. Therefore, the point with the maximum slope can represent a process node with the largest change in a certain real-time physical quantity in the rough grinding stage, such as the time point when just entering the rough grinding stage.

[0082] In another embodiment, during the machining process, due to detection errors or environmental factors, etc., the point where the maximum slope appears may not be the point where the machining tool contacts the first workpiece. Since the present application may include steps of data smoothing processing before, any coordinate point within a predetermined range near the maximum slope in the machining process curve can be used as the target coordinate point.

[0083] The data processing device can use the coordinate point with the maximum slope in the machining process curve of the first workpiece as the target coordinate point, or can use any coordinate point within a predetermined range of the maximum slope in the machining process curve as the target coordinate point.

[0084] S420: Determine a time point at a preset distance from the time point corresponding to the target coordinate point as the target time point.

[0085] The time point refers to the value of the target coordinate point corresponding to the time axis. Since the real-time physical quantity has a certain degree of fluctuation, a time point at a preset distance from the time point corresponding to the target coordinate point can be determined as the target time point.

[0086] The preset distance can be set artificially in advance. Exemplarily, the preset distance can be 0 times to 0.5 times the time point corresponding to the target coordinate point, for example, it can be 0.1 times, 0.2 times, 0.3 times, and 0.4 times the time point corresponding to the target coordinate point, etc.

[0087] After determining the target coordinate point, the data processing device determines a time point at a preset distance from the time point corresponding to the target coordinate point as the target time point.

[0088] S430: Use the real-time physical quantity of the main shaft corresponding to the target time point as the no-load physical quantity of the main shaft.

[0089] When the data processing device determines the target time point, the target time point can be the time point when the machining tool has not contacted the first workpiece, or the time point when the machining tool has just contacted the first workpiece. Use the real-time physical quantity of the main shaft corresponding to the target time point as the no-load physical quantity of the main shaft.

[0090] It can be seen that the data processing method in the embodiment of the present application determines the coordinate point with the maximum slope in the machining process curve as the target coordinate point, or determines any coordinate point within a predetermined range of the maximum slope in the machining process curve as the target coordinate point; determines a time point at a preset distance from the time point corresponding to the target coordinate point as the target time point; uses the real-time physical quantity of the main shaft corresponding to the target time point as the no-load physical quantity of the main shaft. This can simplify the method for determining the no-load physical quantity of the main shaft.

[0091] Based on the above embodiments, the embodiment of the present application uses Figure 5 The flowchart details how to determine the maximum value of the curve slope. Please refer to Figure 5 , Figure 5 is Figure 4 The schematic flowchart of an exemplary embodiment before step S410 in the shown data processing method. Specifically, before step S410 determines the coordinate point with the maximum slope in the machining process curve as the target coordinate point, or determines any coordinate point within a predetermined range of the maximum slope in the machining process curve as the target coordinate point, the data processing method further includes the following steps:

[0092] S510: Take the derivative of the machining process curve to obtain a derivative curve.

[0093] Taking the derivative means obtaining a derivative function for the machining process curve, and the derivative function represents the slope of the machining process curve at each point.

[0094] The derivative curve is a visual representation of the derivative function. The derivative curve represents the rate of change of a certain point in the machining process curve, and through the derivative function, the rate of change of the real-time physical quantity during the machining process can be seen.

[0095] In other embodiments, it is also possible to obtain the point with the fastest rate of change of the real-time physical quantity in the machining process curve by integrating the machining process curve, so as to obtain the no-load physical quantity of the main shaft.

[0096] The data processing device takes the derivative or integral of the machining process curve to obtain a derivative curve or an integral curve.

[0097] S520: Determine the coordinate point of the maximum slope in the machining process curve based on the derivative curve, or determine any coordinate point within a predetermined range of the maximum slope in the machining process curve based on the derivative curve.

[0098] The coordinate point of the maximum slope in the machining process curve represents the fastest change rate of the real-time physical quantity. When machining the first workpiece, when the machining tool just contacts the first workpiece, the change rate of the real-time physical quantity is usually the fastest. Therefore, selecting the coordinate point of the maximum slope as the target coordinate point is based on practical applications and is more in line with the change of the real-time physical quantity.

[0099] At the same time, for the convenience of practical applications, any point within a predetermined range of the maximum slope in the machining process curve can also be taken as the target coordinate point. Among them, the predetermined range can be set artificially in advance.

[0100] The data processing device determines the coordinate point with the largest value in the derivative curve, or selects any coordinate point near the coordinate point with the largest value. The coordinate point with the largest value in the derivative curve is also the coordinate point of the maximum slope in the machining process curve.

[0101] It can be seen that the data processing method of the embodiment of the present application takes the derivative of the machining process curve to obtain the derivative curve; determines the coordinate point of the maximum slope in the machining process curve based on the derivative curve, or determines any coordinate point within a predetermined range of the maximum slope in the machining process curve based on the derivative curve. Thus, the point with the maximum change rate of the real-time physical quantity can be obtained, and further the physical quantity of the spindle under no-load can be obtained.

[0102] Based on the above embodiment, the embodiment of the present application uses Figure 6 The flowchart details how to generate the machining process curve for machining the first workpiece. Please refer to Figure 6 , Figure 6 is Figure 2 The flowchart of an exemplary embodiment of step S210 in the shown data processing method. Specifically, generating the machining process curve of the machine tool for machining the first workpiece in step S210 specifically includes the following steps:

[0103] S610: Construct an initial machining curve with the time during the machining process of the machine tool for machining the first workpiece as the abscissa value and the real-time physical quantity corresponding to each time point as the ordinate value.

[0104] The initial machining curve refers to the change curve of the real-time physical quantity monitored by sensors, etc. Since there are certain fluctuations in the real-time physical quantity during the machining process, the shape of the initial machining curve is not an ideal smooth curve.

[0105] To represent the change of real-time physical quantities, the data processing device can use the time during the machining of the first workpiece by the machine tool as the abscissa value, the real-time physical quantities corresponding to each time point as the ordinate value, and display the monitored real-time physical quantities in the form of a curve on this coordinate axis.

[0106] S620: Smooth the initial machining curve to obtain the machining process curve.

[0107] Since the initial machining curve is not a smooth curve and is not convenient for derivative processing or integral processing, the initial machining curve can be smoothed so that the initial machining curve is transformed into an ideal machining curve, and the smoothed initial machining curve is used as the machining process curve for derivative processing or integral processing.

[0108] The data processing device plots the real-time physical quantities monitored in real time as the initial machining curve and smooths the initial machining curve to obtain the machining process curve.

[0109] It can be seen that the data processing method of the embodiment of the present application uses the time during the machining of the first workpiece by the machine tool as the abscissa value, the real-time physical quantities corresponding to each time point as the ordinate value, constructs the initial machining curve, and smooths the initial machining curve to obtain the machining process curve. This can facilitate subsequent derivative processing or integral processing.

[0110] Based on the above embodiment, the embodiment of the present application uses Figure 7 The flowchart details how to achieve interaction between the target object and the machining process curve. Please refer to Figure 7 , Figure 7 is Figure 3 The schematic flowchart of an exemplary embodiment after step S320 in the shown data processing method. Specifically, after step S320 displays the first threshold within the machining process curve of the second workpiece, the following steps are further included:

[0111] S710: In response to the first click operation of the target object, display one or more of the machining process curve of the machine tool machining the first workpiece, the machining process curve of the second workpiece, and the first threshold.

[0112] The target object can be the user operating the idle stroke elimination device. Exemplarily, in the interaction interface between the data processing device and the target object, the target object can display one or more of the machining process curve of the machine tool machining the first workpiece, the machining process curve of the second workpiece, and the first threshold through the first click operation, and the data processing device responds to the first click operation of the target object and displays one or more of the machining process curve of the machine tool machining the first workpiece, the machining process curve of the second workpiece, and the first threshold.

[0113] S720: In response to a second click operation on the target object, one or more of the machining process curves of the first workpiece by the machine tool, the machining process curve of the second workpiece, and the first threshold value are hidden.

[0114] The second click operation can be a minimization operation or a closing operation, which is not specifically limited herein. As long as it can hide one or more of the machining process curves of the first workpiece by the machine tool, the machining process curve of the second workpiece, and the first threshold value. Herein, "hide" means not to display one or more of the machining process curves of the first workpiece by the machine tool, the machining process curve of the second workpiece, and the first threshold value to the target object in the interaction interface.

[0115] In response to the second click operation on the target object, the data processing device does not display one or more of the machining process curves of the first workpiece by the machine tool, the machining process curve of the second workpiece, and the first threshold value in the interaction interface.

[0116] It can be seen that the data processing method according to the embodiment of the present application displays one or more of the machining process curves of the first workpiece by the machine tool, the machining process curve of the second workpiece, and the first threshold value in response to the first click operation on the target object; and hides one or more of the machining process curves of the first workpiece by the machine tool, the machining process curve of the second workpiece, and the first threshold value in response to the second click operation on the target object. Thus, the user experience can be improved.

[0117] Based on the embodiment of the above data processing method, the embodiment of the present application uses Figure 8 The flowchart details how to determine the anti-collision threshold value. Please refer to Figure 8 , Figure 8 which is a schematic flowchart of an exemplary embodiment of the anti-collision method provided by the present application. Specifically, it includes the following steps:

[0118] S810: Obtain the real-time physical quantity of the spindle when the machine tool processes the first workpiece.

[0119] A machine tool is a device used to process materials such as metals and plastics. A machine tool usually consists of a machine body, a spindle, a feed system, a control system, etc. Exemplarily, the machine tool can be a numerically controlled machine tool.

[0120] The first workpiece refers to the material processed by the machine tool. Exemplarily, the first workpiece can be materials such as metals and plastics.

[0121] The spindle is the shaft in the machine tool used to rotate the machining tool or the workpiece, providing power and rotational speed for machining the workpiece.

[0122] The real-time physical quantity can reflect the machining state of the machine tool. Exemplarily, the real-time physical quantity can be physical quantities such as the spindle motor power, spindle motor torque, current of the spindle motor, cutting force, vibration of the cutting area, sound of the cutting area, or temperature of the cutting area. The real-time physical quantity of the spindle can be monitored by a sensor.

[0123] During the process of the machine tool machining the first workpiece, the anti-collision device monitors the real-time physical quantity of the spindle in the machine tool in real time. Specifically, the anti-collision device can monitor the spindle motor power in real time.

[0124] S820: Process the real-time physical quantity according to a preset rule to determine a second threshold.

[0125] The preset rule is an important guiding rule in the machine tool machining process, which is used to ensure the safety, efficiency, and accuracy of machining. Exemplarily, the preset rule can be a rule artificially preset according to the machining characteristics of the machine tool.

[0126] The second threshold is obtained by processing the real-time physical quantity of the spindle of the machine tool machining the first workpiece according to the preset rule. The process of the machining tool approaching the workpiece can be roughly divided into two stages. The first stage is the rapid approach stage, and the second stage is the slow approach stage. The traveling speed in the first stage is greater than that in the second stage. The second threshold in the embodiment of the present application is usually judged in the first stage to prevent collision with the workpiece during rapid approach.

[0127] The anti-collision device processes the acquired real-time physical quantity according to the preset rule to determine the second threshold.

[0128] S830: Use the second threshold as the anti-collision threshold when machining the second workpiece. When the real-time physical quantity of the machine tool machining the second workpiece is greater than the anti-collision threshold, control the machine tool to stop machining.

[0129] The second workpiece refers to the material machined by the machine tool. Since the boundary threshold when machining the second workpiece needs to be determined by the real-time physical quantity of the spindle during the machining of the first workpiece, the machining time of the machine tool for the first workpiece should be earlier than that for the second workpiece. Exemplarily, the second workpiece can be machined after the first workpiece, or after machining the first workpiece, a certain number of workpieces are spaced, and then the second workpiece is machined. The feed speed of the intermediate spaced workpieces during machining can be the same as that of machining the first workpiece.

[0130] The anti-collision threshold is the threshold for controlling the machine tool to stop machining. Exemplarily, the second threshold can be used as the anti-collision threshold. The purpose of setting the anti-collision threshold is that during the rapid approach stage of the machining tool, if the real-time physical quantity of the spindle rises above the anti-collision threshold, it means that the machining tool collides with the workpiece during the rapid approach stage, and at this time, the machine tool needs to be controlled to stop machining.

[0131] When the anti-collision device processes the first workpiece, it determines a second threshold based on the real-time physical quantity of the spindle during the processing of the first workpiece, and uses the second threshold as the anti-collision threshold when processing the second workpiece. Whether to stop the machine tool from processing is controlled by the anti-collision threshold.

[0132] It can be seen that the anti-collision method of the embodiment of the present application obtains the real-time physical quantity of the spindle when the machine tool processes the first workpiece; processes the real-time physical quantity according to a preset rule to determine the second threshold; uses the second threshold as the anti-collision threshold when processing the second workpiece, where when the real-time physical quantity of the machine tool processing the second workpiece is greater than the anti-collision threshold, the machine tool is controlled to stop processing. Thus, the anti-collision threshold can be adjusted in real time, preventing the cutting tool from colliding with the second workpiece and ensuring the processing safety.

[0133] Based on the above embodiments, the embodiments of the present application use Figure 9 The flowchart details how to determine the second threshold. Please refer to Figure 9 , Figure 9 is Figure 8 A schematic flowchart of an exemplary embodiment of step S820 in the anti-collision method shown. Specifically, the process of step S820 processing the real-time physical quantity according to a preset rule to determine the second threshold specifically includes the following steps:

[0134] S910: Generate a processing curve of the machine tool processing the first workpiece. One coordinate axis of the processing curve is the real-time physical quantity, and the other coordinate axis of the processing curve is time.

[0135] The processing curve of the first workpiece describes the change of the real-time physical quantity when the machine tool processes the first workpiece. Exemplarily, the processing curve can be represented by a two-dimensional coordinate axis, where one coordinate axis represents the real-time physical quantity and the other coordinate axis represents time. Exemplarily, time can be used as the abscissa and the real-time physical quantity can be used as the ordinate.

[0136] The anti-collision device monitors the real-time physical quantity of the machine tool when processing the workpiece in real time, takes the real-time physical quantity and time as the ordinate and abscissa of the two-dimensional coordinate respectively, and plots the real-time physical quantity of the machine tool during the processing of the first workpiece on the two-dimensional coordinate to generate a processing curve of the machine tool processing the first workpiece. Specifically, the empty stroke elimination device can monitor the spindle motor power of the machine tool when processing the workpiece in real time and use the spindle motor power as one coordinate axis of the two-dimensional coordinate to plot the processing curve.

[0137] S920: Determine the spindle no-load physical quantity according to the curve slope of the processing curve.

[0138] The curve slope refers to the slope of the tangent line at a certain point on the machining process curve. The curve slope in the machining process curve reflects the change rate of the real-time physical quantity. The curve slope has positive and negative values. The point with the largest curve slope in the machining process curve indicates that the real-time physical quantity rises fastest, and the point with the smallest curve slope indicates that the real-time physical quantity drops fastest.

[0139] The spindle no-load physical quantity refers to the power consumed when the spindle rotates under no-load conditions of the machine tool. In this embodiment, the spindle no-load physical quantity can represent the real-time physical quantity of the spindle before the machining tool contacts the workpiece. In practical applications, as the machining time of the machine tool increases, its friction force will increase accordingly, which will cause the spindle no-load physical quantity to gradually increase. In addition, due to changes in factors such as workpiece material, tool wear, and cutting conditions, the spindle no-load physical quantity will fluctuate.

[0140] The anti-collision device determines the curve slope in the machining process curve and determines the spindle no-load physical quantity of the machine tool under no-load conditions according to the curve slope.

[0141] S930: Use the spindle no-load physical quantity multiplied by a preset multiple as the second threshold.

[0142] The preset multiple can be a multiple set in advance manually. Exemplarily, through the results of continuous experiments, the relationship between the second threshold and the spindle no-load physical quantity can be obtained and expressed in the form of a multiple; it can also be set according to manual experience. It should be noted that since the second threshold is the threshold to prevent the machining tool from colliding with the second workpiece during the rapid feed stage before the machining tool contacts the first workpiece, the second threshold is usually greater than the spindle no-load physical quantity when machining the first workpiece. Exemplarily, the preset multiple can be any value within the range of 1.1 times to 1.45 times, such as 1.2 times, 1.3 times, 1.4 times, 1.41 times, and 1.42 times, etc. In some other embodiments, the preset multiple can also be less than 1.1 times or greater than 1.45 times, and no specific limitation is made here, as long as the second threshold can reflect the real-time physical quantity when the machining tool collides with the first workpiece during the rapid feed stage.

[0143] The anti-collision device determines the preset multiple between the second threshold and the spindle no-load physical quantity according to the specific situation during machining, and uses the spindle no-load physical quantity multiplied by the preset multiple as the second threshold.

[0144] It can be seen that the anti-collision method according to the embodiment of the present application generates a machining process curve for machining the first workpiece by the machine tool. One coordinate axis of the machining process curve is a real-time physical quantity, and the other coordinate axis of the machining process curve is time; the no-load physical quantity of the main shaft is determined according to the curve slope of the machining process curve; the no-load physical quantity of the main shaft multiplied by a preset multiple is used as the second threshold. Thus, the second threshold is determined according to the generated machining process curve, which simplifies the determination of the no-load physical quantity of the main shaft and improves the real-time performance of the second threshold.

[0145] Based on the above embodiments, the embodiment of the present application uses Figure 10 The flowchart details how to achieve the visualization of the second threshold during the machining of the second workpiece. Please refer to Figure 10 , Figure 10 is Figure 9 FIG. is a schematic flowchart of an exemplary embodiment after step S930 in the anti-collision method shown. Specifically, after step S930 takes the no-load physical quantity of the main shaft multiplied by a preset multiple as the second threshold, the following steps are further included:

[0146] S1010: Generate a machining process curve for machining the second workpiece by the machine tool.

[0147] The machining process curve of the second workpiece describes the change of the real-time physical quantity during the machining of the second workpiece by the machine tool. Exemplarily, the machining process curve can be represented by a two-dimensional coordinate axis, where one coordinate axis represents the real-time physical quantity and the other coordinate axis represents time. Exemplarily, time can be used as the abscissa and the real-time physical quantity as the ordinate.

[0148] The anti-collision device monitors the real-time physical quantity during the machining of the second workpiece by the machine tool in real time, takes the real-time physical quantity and time as the ordinate and abscissa of the two-dimensional coordinate respectively, and plots the real-time physical quantity monitored during the machining process of the second workpiece by the machine tool on the two-dimensional coordinate to generate a machining process curve for machining the second workpiece by the machine tool.

[0149] S1020: Display the second threshold within the machining process curve of the second workpiece.

[0150] The anti-collision device can display the second threshold in the form of a straight line on the two-dimensional coordinate within the machining process curve of the second workpiece. Exemplarily, in order to improve the user experience, the display of the second threshold can be before the second workpiece starts machining or after the second workpiece is machined.

[0151] Please refer to Figure 11 , Figure 11 is a schematic structural diagram of an exemplary embodiment of the machining process curve provided by the present application. In Figure 11The machining process curves of the first workpiece and the second workpiece, as well as the first threshold and the second threshold, are shown. The machining process of the first workpiece is that the workpiece to be machined is switched to the first workpiece, and the machining tool starts to approach the first workpiece until it contacts the first workpiece, and then rough grinding of the first workpiece is started. After the rough grinding is completed, finish grinding is carried out, and finally the machining of the first workpiece is completed, and the first workpiece is switched to the second workpiece. It should be noted that, among them, the process of changing the workpiece and the process of the machining tool approaching are both the spindle idling stages. The machining process curve can be the curve generated during the process of the machining tool approaching the first workpiece after the workpiece change is completed. Therefore, the coordinate point for calculating the maximum slope value in the machining process curve should be calculated starting from after the workpiece change is completed.

[0152] It can be seen that the anti-collision method of the embodiment of the present application generates the machining process curve of the machine tool machining the second workpiece; the second threshold is shown within the machining process curve of the second workpiece. The second threshold and the second machining process curve are shown on the same coordinate axis, making the machining process more transparent and intuitive, and improving the user experience.

[0153] Based on the above embodiments, the embodiments of the present application adopt Figure 12 The flowchart details how to determine the spindle no-load physical quantity according to the curve slope. Please refer to Figure 12 , Figure 12 is Figure 9 The flowchart of an exemplary embodiment of step S920 in the anti-collision method shown. Specifically, the steps of determining the spindle no-load physical quantity according to the curve slope of the machining process curve in step S920 specifically include the following steps:

[0154] S1110: Determine the coordinate point with the maximum slope value in the machining process curve as the target coordinate point, or determine any coordinate point within a predetermined range of the maximum slope value in the machining process curve as the target coordinate point.

[0155] The target coordinate point refers to the coordinate point with the maximum slope value in the machining process curve of the first workpiece. In the machining process curve of the first workpiece, the coordinate point with the maximum slope value represents the point where the real-time physical quantity rises fastest. Generally speaking, when the machining tool contacts the first workpiece, the real-time physical quantity of the machine tool rises fastest.

[0156] During the machining process, due to detection errors or environmental factors, etc., the point where the maximum slope value appears is not the point where the machining tool contacts the first workpiece, and the real-time physical quantity at that moment of contact is monitored. Therefore, any coordinate point within a predetermined range near the maximum slope value in the machining process curve can be used as the target coordinate point.

[0157] The anti-collision device can use the coordinate point with the largest slope in the machining process curve of the first workpiece as the target coordinate point, or use any coordinate point within a predetermined range of the maximum slope value in the machining process curve as the target coordinate point.

[0158] S1120: Determine a time point at a preset distance from the time point corresponding to the target coordinate point as the target time point.

[0159] The time point refers to the value of the target coordinate point corresponding to the time axis. Since the real-time physical quantity has a certain degree of fluctuation, a time point at a preset distance from the time point corresponding to the target coordinate point can be determined as the target time point.

[0160] The preset distance can be set artificially in advance. Exemplarily, the preset distance can be 0 times to 0.5 times the time point corresponding to the target coordinate point, for example, it can be 0.1 times, 0.2 times, 0.3 times, and 0.4 times the time point corresponding to the target coordinate point, etc.

[0161] After the anti-collision device determines the target coordinate point, it determines a time point at a preset distance from the time point corresponding to the target coordinate point as the target time point.

[0162] S1130: Use the real-time physical quantity of the main shaft corresponding to the target time point as the no-load physical quantity of the main shaft.

[0163] When the anti-collision device determines the target time point, the target time point can be the time point when the machining tool has not yet contacted the first workpiece, or the time point when the machining tool has just contacted the first workpiece. Use the real-time physical quantity of the main shaft corresponding to the target time point as the no-load physical quantity of the main shaft.

[0164] It can be seen that the anti-collision method in the embodiment of the present application determines the coordinate point with the maximum slope value in the machining process curve as the target coordinate point, or determines any coordinate point within a predetermined range of the maximum slope value in the machining process curve as the target coordinate point; determines a time point at a preset distance from the time point corresponding to the target coordinate point as the target time point; uses the real-time physical quantity of the main shaft corresponding to the target time point as the no-load physical quantity of the main shaft. This can simplify the method of determining the no-load physical quantity of the main shaft.

[0165] Therefore, for an empty stroke elimination / anti-collision method provided by the present application, compared with the method of setting a threshold curve by manually setting a threshold in the prior art, the threshold setting of the present application is obtained based on the machining curve of the previous workpiece, so the threshold curve of the present application is different from the threshold curve in the prior art. Since the threshold curve of the present application is generated iteratively, the threshold curve connected after machining multiple workpieces is not parallel to the time axis, and the influence of the power increase caused by the grinding wheel wear has been reflected in the iteratively generated threshold.

[0166] Please refer toFigure 13 , Figure 13 is a schematic structural diagram of an exemplary embodiment of the blanking device provided by the present application. The data processing device includes a first acquisition module 1301 and a first determination module 1302. When the data processing device is a blanking device, it further includes a first control module 1303. The first acquisition module 1301 is configured to acquire the real-time physical quantity of the spindle when the machine tool processes the first workpiece; the first determination module 1302 is configured to process the real-time physical quantity according to a preset rule to determine a first threshold; the first control module 1303 is configured to use the first threshold as the boundary threshold when processing the second workpiece, where when the real-time physical quantity of the machine tool processing the second workpiece is less than or equal to the first threshold, the feed speed between the processing tool of the machine tool and the second workpiece is controlled to be a first feed speed; and when the real-time physical quantity is greater than the first threshold, the feed speed between the processing tool and the second workpiece is controlled to be a second feed speed, and the second feed speed is less than the first feed speed.

[0167] In the above solution, the blanking device according to the embodiment of the present application acquires the real-time physical quantity of the spindle when the machine tool processes the first workpiece; processes the real-time physical quantity according to a preset rule to determine a first threshold; uses the first threshold as the boundary threshold when processing the second workpiece; where when the real-time physical quantity of the machine tool processing the second workpiece is less than or equal to the boundary threshold, the feed speed between the processing tool of the machine tool and the second workpiece is controlled to be a first feed speed; and when the real-time physical quantity is greater than the boundary threshold, the feed speed between the processing tool of the machine tool and the second workpiece is controlled to be a second feed speed, and the second feed speed is less than the first feed speed. Thereby, the boundary threshold during the processing of the processing tool can be adjusted in real time, and the feed speed for processing the second workpiece is determined by the boundary threshold adjusted in real time and the real-time physical quantity of processing the second workpiece, improving the accuracy of the feed speed and shortening the blanking time.

[0168] Please refer to Figure 14 , Figure 14 is a schematic structural diagram of an exemplary embodiment of the anti-collision device provided by the present application. The anti-collision device includes a second acquisition module, a second determination module, and a second control module; the second acquisition module is configured to acquire the real-time physical quantity of the spindle when the machine tool processes the first workpiece; the second determination module is configured to process the real-time physical quantity according to a preset rule to determine a second threshold; the second control module is configured to use the second threshold as the anti-collision threshold when processing the second workpiece, where when the real-time physical quantity of the machine tool processing the second workpiece is greater than the second threshold, the machine tool is controlled to stop processing.

[0169] For the above solution, the anti-collision device according to the embodiment of the present application acquires the real-time physical quantity of the spindle when the machine tool processes the first workpiece; processes the real-time physical quantity according to a preset rule to determine a second threshold; uses the second threshold as the anti-collision threshold when processing the second workpiece. Wherein, when the real-time physical quantity of the machine tool processing the second workpiece is greater than the anti-collision threshold, the machine tool is controlled to stop processing. Thus, the anti-collision threshold can be adjusted in real time to prevent the cutting tool from colliding with the second workpiece and ensure the processing safety.

[0170] Among them, the functions of each module can be referred to the embodiments of the data processing method and / or the idle stroke elimination method and / or the anti-collision method, which will not be elaborated here.

[0171] To implement the data processing method and / or the idle stroke elimination method and / or the anti-collision method of the above embodiments, the present application proposes another electronic device. Specifically, please refer to Figure 15 , Figure 15 is a schematic structural diagram of an embodiment of the electronic device provided by the present application.

[0172] The electronic device 15 includes a memory 1501 and a processor 1502. Among them, the memory 1501 and the processor 1502 are coupled.

[0173] The memory 1501 is used to store program data, and the processor 1502 is used to execute the program data to implement the data processing method and / or the idle stroke elimination method and / or the anti-collision method of the above embodiments.

[0174] In this embodiment, the processor 1502 can also be called a CPU (Central Processing Unit, central processing unit). The processor 1502 may be an integrated circuit chip with signal processing capabilities. The processor 1502 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor 1502 may also be any conventional processor, etc.

[0175] The present application also provides a computer-readable storage medium 16, as Figure 16 shown, the computer-readable storage medium 16 is used to store program data 1601. When the program data 1601 is executed by the processor, it is used to implement the data processing method and / or the idle stroke elimination method and / or the anti-collision method in the method embodiments of the present application.

[0176] In the embodiments of the data processing method, and / or the method for eliminating the idle stroke, and / or the anti-collision method of the present application, when the method involved is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a device, such as a computer-readable storage medium. Based on such understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.

[0177] The above are only the embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.

Claims

1. A data processing method, characterized in that: The method comprises: Acquire the real-time physical quantity of the spindle when the machine tool processes the first workpiece; Processing the real-time physical quantity according to a preset rule to determine a first threshold; The first threshold is used as a boundary threshold when processing the second workpiece.

2. The method according to claim 1, characterized in that: The step of processing the real-time physical quantity according to a preset rule to determine a first threshold comprises: Generate a machining process curve of the first workpiece machined by the machine tool, wherein one coordinate axis of the machining process curve is a real-time physical quantity, and another coordinate axis of the machining process curve is time; Determine the spindle no-load physical quantity according to the curve slope of the machining process curve; A preset multiple of the spindle no-load physical quantity is used as the first threshold.

3. The method according to claim 2, characterized in that The step after taking the preset multiple of the spindle no-load physical quantity as the first threshold also includes: generating a machining process curve of the second workpiece by the machine tool; The first threshold value is displayed within a machining process curve of the second workpiece.

4. The method according to claim 2, characterized in that: The step of determining the spindle no-load physical quantity according to the curve slope of the machining process curve comprises: Determine the coordinate point with the maximum slope in the machining process curve as the target coordinate point, or determine any coordinate point within a predetermined range of the maximum slope in the machining process curve as the target coordinate point; Determine a time point at a preset distance from the time point corresponding to the target coordinate point as the target time point; The real-time physical quantity of the spindle corresponding to the target time point is used as the no-load physical quantity of the spindle.

5. The method according to claim 4, characterized in that Before the step of determining the coordinate point with the maximum slope in the machining process curve as the target coordinate point, or determining any coordinate point within a predetermined range of the maximum slope in the machining process curve as the target coordinate point, the method further includes: Derivative the machining process curve to obtain a derivative curve; The coordinate point of the maximum slope in the machining process curve is determined based on the derivative curve, or any coordinate point within a predetermined range of the maximum slope in the machining process curve is determined based on the derivative curve.

6. The method according to claim 4, characterized in that The preset distance is 0 times to 0.5 times the time point corresponding to the target coordinate point.

7. The method according to claim 2, characterized in that The step of generating a machining process curve of the machine tool machining the first workpiece comprises: An initial processing curve is constructed by taking the time during which the machine tool processes the first workpiece as the horizontal axis value and the real-time physical quantity corresponding to each time point as the vertical axis value; The initial processing curve is smoothed to obtain the processing process curve.

8. The method according to claim 2, characterized in that: The numerical range of the preset multiple is 1.05 times to 1.4 times.

9. The method according to claim 3, characterized in that: The method further comprises: In response to a first click operation on the target object, displaying one or more of a machining process curve of the first workpiece, a machining process curve of the second workpiece, and a first threshold value by the machine tool; In response to a second click operation on the target object, one or more of a machining process curve of the machine tool machining the first workpiece, a machining process curve of the second workpiece, and the first threshold are hidden.

10. A method for eliminating empty space, characterized in that: The method comprises: Acquire real-time physical quantities and boundary thresholds when processing the second workpiece, wherein the boundary thresholds are acquired based on the method described in any one of claims 1 to 9; Among them, when the real-time physical quantity of the machine tool processing the second workpiece is less than or equal to the boundary threshold, the feed speed between the machine tool's processing tool and the second workpiece is controlled to be a first feed speed; and when the real-time physical quantity is greater than the boundary threshold, the feed speed between the machine tool's processing tool and the second workpiece is controlled to be a second feed speed, and the second feed speed is less than the first feed speed.

11. A collision prevention method, characterized in that: The method comprises: Acquire the real-time physical quantity of the spindle when the machine tool processes the first workpiece; Processing the real-time physical quantity according to a preset rule to determine a second threshold; using the second threshold as an anti-collision threshold when processing a second workpiece; When the real-time physical quantity of the second workpiece processed by the machine tool is greater than the anti-collision threshold, the machine tool is controlled to stop processing.

12. The anti-collision method according to claim 11, characterized in that: The step of processing the real-time physical quantity according to a preset rule to determine the second threshold comprises: Generate a process curve of the machine tool processing the first workpiece, wherein one coordinate axis of the processing process curve is a real-time physical quantity, and another coordinate axis of the processing process curve is time; Determine the spindle no-load physical quantity according to the curve slope of the machining process curve; A preset multiple of the spindle no-load physical quantity is used as the second threshold.

13. The anti-collision method according to claim 12, characterized in that: The preset multiple is 1.1 to 1.45 times.

14. The anti-collision method according to claim 11, characterized in that: The step after taking the preset multiple of the spindle no-load physical quantity as the first threshold also includes: generating a machining process curve of the second workpiece by the machine tool; The second threshold value is displayed within a machining process curve of the second workpiece.

15. The anti-collision method according to claim 11, characterized in that: The step of determining the spindle no-load physical quantity according to the curve slope of the machining process curve comprises: Determine the coordinate point with the maximum slope in the machining process curve as the target coordinate point, or determine any coordinate point within a predetermined range of the maximum slope in the machining process curve as the target coordinate point; Determine a time point at a preset distance from the time point corresponding to the target coordinate point as the target time point; The real-time physical quantity of the spindle corresponding to the target time point is used as the no-load physical quantity of the spindle.

16. A data processing device, characterized in that: The device comprises: An acquisition module, used for acquiring the real-time physical quantity of the spindle when the machine tool processes the first workpiece; A determination module, configured to process the real-time physical quantity according to a preset rule to determine a first threshold; The control module is used to use the first threshold as a boundary threshold when processing the second workpiece.

17. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores program instructions, and the processor retrieves the program instructions from the memory to execute the method according to any one of claims 1 to 16.

18. A storage medium, characterized in that: include: Program data is stored, and when the program data is executed by a processor, it is used to implement the method according to any one of claims 1 to 16.

Citation Information

Cited By

  • Potential collision detection and optimization method for processing path trajectory simulation

    CN120762347A

  • A potential collision detection and optimization method for machining path trajectory simulation

    CN120762347B