Workpiece machining mode determination method and device, equipment and storage medium

Through automatic matching processing tolerance and processing mode, the problem of tolerances and models that are not matched during the processing workpiece of the machine, improved the processing speed and accuracy, and improved the overall processing effect of the workpiece.

CN119356220APending Publication Date: 2025-01-24KEJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411494671.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In the prior art, when machine tools machining workpieces, they are prone to mismatch in machining tolerances and processing patterns, which affects the processing effect of workpieces.

Method used

By automatically matching the corresponding processing mode according to the processing tolerance, the processing speed and processing accuracy of the workpiece are improved. The specific method includes determining the movement path and processing tolerance of each tool, determining the corresponding processing mode according to the preset processing mode mapping rules, and sending this information to the machine tool.

Benefits of technology

The processing speed and processing accuracy of the workpiece have been improved, and the processing time caused by the processing tolerance and processing mode is too long or poorly effective.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356220A_ABST
    Figure CN119356220A_ABST
Patent Text Reader

Abstract

According to the workpiece machining mode determining method, device and equipment and the storage medium, the corresponding machining mode can be automatically determined according to the machining tolerance of each cutter on the moving path, so that in the follow-up machining process of a machine tool on a workpiece, the machining precision of the workpiece is improved, and the machining efficiency of the workpiece is improved. And each cutter is controlled to machine the workpiece in a machining mode corresponding to the machining tolerance. According to the embodiment of the invention, the machining speed and the machining precision of the workpiece in the process of machining the workpiece by the machine tool can be improved, the machining effect of the workpiece is improved, and the situation that the machining time of the workpiece is too long or the machining effect is poor due to mismatching of the workpiece tolerance and the machining mode is avoided. In addition, according to the embodiment of the invention, the preheating time of the main shaft corresponding to each cutter can be determined before each cutter is subjected to the finish machining process, so that the thermal elongation phenomenon caused by temperature fluctuation in the finish machining process is reduced, and the machining precision of the workpiece is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of automation, and in particular, to a method, device, equipment and storage medium for determining a workpiece processing mode. Background Art

[0002] In the prior art, before machining a workpiece, the user needs to edit the machining parameters of the workpiece in CAM (Computer Aided Manufacturing) software, and the machining parameters include machining tolerances, tool movement paths, and machining modes, etc. The machining parameters then need to be post-processed to generate a machining program that can be recognized by the machine tool, and the machining program is sent or copied to the machine tool to machine the workpiece.

[0003] However, the post-processing program currently used cannot automatically identify the processing mode output by the CAM software, and the processing program output by the post-processing only contains one processing tolerance and one processing mode. As a result, when the machine tool processes the workpiece, it is easy for the processing tolerance and the processing mode to not match, thus affecting the processing effect of the workpiece. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, equipment and storage medium for determining a workpiece processing mode. The embodiments of the present invention can automatically match the corresponding processing mode according to the processing tolerance to improve the processing speed and processing accuracy of the workpiece, and solve the technical problem in the prior art that the processing tolerance and the processing mode do not match, resulting in poor processing effect of the workpiece.

[0005] In a first aspect, an embodiment of the present invention provides a method for determining a workpiece processing mode, the method comprising:

[0006] Determine the tool path information of each tool of the machine tool during the process of machining the workpiece;

[0007] Determining a moving path of each of the tools according to the tool path information, wherein the moving path is a collection of multiple moving sub-paths;

[0008] Determining a machining tolerance of each of the moving sub-paths, wherein the machining tolerance is pre-written into the tool path information and associated with the moving sub-path corresponding to each of the tools;

[0009] Determining a processing mode corresponding to each of the moving sub-paths according to the processing tolerance and a preset processing mode mapping rule, wherein the processing mode mapping rule includes processing modes corresponding to different processing tolerances;

[0010] Each moving sub-path and the processing mode corresponding to each moving sub-path are sent to the machine tool, so that when each tool is located in the corresponding moving sub-path during the processing, the machine tool adopts the corresponding processing mode to control each tool to process the workpiece.

[0011] The processing mode mapping rules include:

[0012] In the case where the machining tolerance is greater than a first preset tolerance, determining that the machining mode corresponding to the moving subpath is a speed priority mode, wherein the speed priority mode is used to machine the workpiece based on the first preset tolerance during machining to increase the machining speed of the workpiece;

[0013] In the case where the machining tolerance is less than or equal to the first preset tolerance and greater than or equal to the second preset tolerance, determining that the machining mode corresponding to the moving sub-path is a workpiece shape priority mode, the workpiece shape priority mode is used to machine the workpiece based on a third preset tolerance during machining to improve the machining accuracy of the surface of the workpiece, the second preset tolerance is less than the first preset tolerance, and the third preset tolerance is within the range of the first preset tolerance and the second preset tolerance;

[0014] When the machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance, the machining mode corresponding to the moving sub-path is determined to be a quality priority mode, and the quality priority mode is used to process the workpiece based on the sixth preset tolerance during the machining process to improve the machining quality of the workpiece, the fifth preset tolerance is smaller than the fourth preset tolerance, the fourth preset tolerance is smaller than the second preset tolerance, and the sixth preset tolerance is within the range of the fourth preset tolerance and the fifth preset tolerance.

[0015] After determining the processing mode corresponding to each of the moving sub-paths, and before sending each of the moving sub-paths and the processing mode corresponding to each of the moving sub-paths to the machine tool, the method further includes:

[0016] In the moving sub-path corresponding to each of the tools, determining a target moving sub-path in which the machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance;

[0017] The machining process corresponding to the target moving subpath is determined to be a finishing process, and the preheating time of the spindle corresponding to each tool is determined before each tool performs the finishing process.

[0018] Wherein, the step of determining the preheating time of the spindle corresponding to each tool before each tool performs the finishing process comprises:

[0019] Determine the rotation speed of each tool when it is located in the corresponding target moving sub-path, the rotation speed is pre-written into the tool path information and associated with the corresponding moving sub-path;

[0020] The preheating time of the spindle corresponding to each tool is determined according to the rotation speed corresponding to each tool before each tool performs a finishing process.

[0021] Wherein, determining the preheating time of the spindle corresponding to each tool before each tool performs the finishing process according to the rotation speed corresponding to each tool comprises:

[0022] When the rotation speed corresponding to the tool is greater than a preset rotation speed, determining a target time length that needs to be increased for the preheating time according to a rotation speed difference between the rotation speed and the preset rotation speed;

[0023] The target time is added to the preset preheating time to obtain the preheating time of the spindle corresponding to the tool before the tool performs a finishing process.

[0024] Wherein, determining the target time length that needs to be increased for the preheating time according to the speed difference between the speed and the preset speed includes:

[0025] Determining a quotient of the speed difference and a preset reference speed;

[0026] The preset reference duration is multiplied by the quotient to obtain the target duration that needs to be increased for the preheating time.

[0027] Among them, the first preset tolerance is 0.03mm, the second preset tolerance is 0.01mm, the fourth preset tolerance is 0.009mm, and the fifth preset tolerance is 0.001mm.

[0028] In a second aspect, an embodiment of the present invention provides a device for determining a workpiece processing mode, the device comprising:

[0029] An information determination module is used to determine the tool path information of each tool of the machine tool during the process of processing the workpiece;

[0030] A path determination module, used to determine a moving path of each tool according to the tool path information, wherein the moving path is a collection of multiple moving sub-paths;

[0031] A tolerance determination module, used for determining a machining tolerance of each of the moving sub-paths, wherein the machining tolerance is pre-written into the tool path information and associated with the moving sub-path corresponding to each of the tools;

[0032] a mode determination module, configured to determine a processing mode corresponding to each of the moving sub-paths according to the processing tolerance and a preset processing mode mapping rule, wherein the processing mode mapping rule includes processing modes corresponding to different processing tolerances;

[0033] The information sending module is used to send each of the moving sub-paths and the processing mode corresponding to each of the moving sub-paths to the machine tool, so that when each of the tools is located on the corresponding moving sub-path during the processing, the machine tool adopts the corresponding processing mode to control each of the tools to process the workpiece.

[0034] In a third aspect, an embodiment of the present invention provides a workpiece processing mode determination device, the workpiece processing mode determination device comprising a processor and a memory;

[0035] The memory is used to store a computer program and transmit the computer program to the processor;

[0036] The processor is used to execute a workpiece processing mode determination method as described in the first aspect according to instructions in the computer program.

[0037] In a fourth aspect, an embodiment of the present invention provides a storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute a method for determining a workpiece processing mode as described in any one of the first aspects.

[0038] As described above, the embodiments of the present invention provide a method, device, equipment and storage medium for determining a workpiece processing mode. The embodiments of the present invention can automatically determine a corresponding processing mode according to the processing tolerance of each tool on the moving path, so that in the subsequent process of the machine tool processing the workpiece, each tool is controlled to use a processing mode corresponding to the processing tolerance to process the workpiece. The embodiments of the present invention can improve the processing speed and processing accuracy of the workpiece during the process of the machine tool processing the workpiece, improve the processing effect of the workpiece, and avoid the situation where the workpiece tolerance and the processing mode do not match, resulting in a long processing time or poor processing effect of the workpiece. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flowchart of a method for determining a workpiece processing mode provided by an embodiment of the present invention.

[0040] Figure 2 A schematic diagram of a moving path of a tool provided in an embodiment of the present invention.

[0041] Figure 3 A schematic diagram of a process for determining a processing mode provided by an embodiment of the present invention.

[0042] Figure 4 A schematic diagram of determining the preheating time of a spindle provided in an embodiment of the present invention.

[0043] Figure 5 A schematic structural diagram of a device for determining a workpiece processing mode provided by an embodiment of the present invention.

[0044] Figure 6 A schematic structural diagram of a workpiece processing mode determination device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following description and accompanying drawings fully illustrate the specific embodiments of the present application so that those skilled in the art can practice them. The examples represent possible variations only. Unless explicitly required, separate components and functions are optional, and the order of operation can vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. The scope of the embodiments of the present application includes the entire scope of the claims, and all available equivalents of the claims. In this article, each embodiment may be represented individually or generally by the term "invention", which is only for convenience, and if more than one invention is disclosed in fact, it is not intended to automatically limit the scope of the application to any single invention or inventive concept. In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, without requiring or implying any actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed. The various embodiments are described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the structures, products, etc. disclosed in the embodiments, since they correspond to the parts disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.

[0046] In the prior art, before processing a workpiece, the user needs to edit the processing parameters of the workpiece in the CAM (Computer Aided Manufacturing) software. The processing parameters include the processing tolerance, the tool movement path, and the processing mode during processing. Since different engineers have different programming techniques, different processing effects will be presented when different processing parameters are set in the programming software. After setting the processing parameters, the processing parameters need to be post-processed to generate a processing program that can be recognized by the machine tool, and the processing program is sent or copied to the machine tool to process the workpiece.

[0047] However, the post-processing program currently used cannot automatically identify the processing mode output by the CAM software, and the processing program output by the post-processing also has only one processing tolerance and one processing mode, which leads to the mismatch between the processing tolerance and the processing mode when the machine tool processes the workpiece, affecting the processing effect of the workpiece. For example, when the processing procedure is fine processing, the processing tolerance needs to be set smaller to ensure the processing accuracy. However, due to the small processing tolerance, the machine tool needs to control each processing step more accurately, which will cause the processing speed of the roughing process to slow down. Or when the processing procedure is roughing, the processing tolerance needs to be set larger to meet higher processing efficiency. However, this will cause the surface finish of the workpiece to fail to meet the requirements due to the accumulation of errors in the initial stage during the fine processing process.

[0048] Based on this, in order to solve the technical problem that the machining tolerance and machining mode of the prior art machine tool do not match during the machining of the workpiece, resulting in poor machining effect of the workpiece, an embodiment of the present invention provides a method for determining the machining mode of the workpiece. Figure 1 As shown, Figure 1 A flowchart of a method for determining a workpiece processing mode provided in an embodiment of the present invention. The method for determining a workpiece processing mode provided in an embodiment of the present invention can be executed by a workpiece processing mode determination device, and the workpiece processing mode determination device can be implemented by software and / or hardware. The workpiece processing mode determination device can be composed of two or more physical entities, or can be composed of one physical entity. For example, the workpiece processing mode determination device can be a computer or a host computer. Exemplarily, a Fagor 8060 CNC system can be installed on the workpiece processing mode determination device, and the Fagor 8060 CNC system executes the method for determining a workpiece processing mode provided in an embodiment of the present invention. The method for determining a workpiece processing mode provided in an embodiment of the present invention includes the following steps:

[0049] Step 101: Determine tool path information of each tool of a machine tool during processing of a workpiece.

[0050] In this embodiment, it is first necessary to determine the tool path information of each tool of the machine tool during the process of processing the workpiece. The tool path information includes the moving path of each tool of the machine tool during the process of processing the workpiece. For example, Figure 2 As shown, Figure 2 A schematic diagram of a moving path of a tool provided in an embodiment of the present invention, Figure 2 10 is a tool, 20 is a workpiece, and it should be noted that: Figure 2For the purpose of clear illustration, the gaps between the moving paths are exaggerated, but in reality the gaps between the moving paths are very small. The moving path of each tool needs to be set in advance by the user. For example, the user can edit the moving path of each tool when processing the workpiece in the CAM software in advance, and generate tool path information after editing. The tool path information is associated with the workpiece and stored in the workpiece processing mode determination device. The workpiece processing mode determination device can then determine the corresponding tool path information based on the type of workpiece to be processed or the identification of the workpiece.

[0051] Step 102: Determine the moving path of each tool according to the tool path information, where the moving path is a collection of multiple moving sub-paths.

[0052] After determining the tool path information of the tool, it is necessary to further analyze the tool path information to determine the moving path of each tool. In this embodiment, the moving path of each tool includes multiple moving sub-paths, and the moving sub-paths can be divided according to different processing steps in the process of processing the workpiece. The multiple moving sub-paths constitute the complete moving path of each tool during the processing.

[0053] Step 103: Determine the machining tolerance of each moving sub-path. The machining tolerance is pre-written into the tool path information and associated with the moving sub-path corresponding to each tool.

[0054] After determining the multiple moving sub-paths of each tool during the machining process, it is necessary to further determine the machining tolerance of each moving sub-path, wherein the machining tolerance is pre-written into the tool path information, and the machining tolerance is associated with the corresponding moving sub-path. Specifically, when the user pre-sets the moving path of each tool in the CAM software, it is necessary to set the machining tolerance of each moving sub-path corresponding to each tool at the same time, and the machining tolerance of each moving sub-path can be set according to the machining process corresponding to the moving sub-path. For example, when the machining process is roughing, the machining tolerance can be set larger, and when the machining process is finishing, the machining tolerance can be set smaller. After setting the machining tolerance of each moving sub-path corresponding to each tool, the user can associate the machining tolerance with the moving sub-path corresponding to each tool and generate the tool path information.

[0055] Step 104 : determining a processing mode corresponding to each moving sub-path according to the processing tolerance and a preset processing mode mapping rule, wherein the processing mode mapping rule includes processing modes corresponding to different processing tolerances.

[0056] After determining the machining tolerance of each moving sub-path, the machining mode corresponding to each moving sub-path can be determined according to the preset machining mode mapping rules, wherein the machining mode mapping rules need to be set in advance, and the machining mode mapping rules include machining modes corresponding to different machining tolerances. For example, when the machining tolerance is large, the corresponding machining mode can be set to the speed priority mode to increase the machining speed during the roughing process; and when the machining tolerance is small, the corresponding machining mode can be set to the quality priority mode to improve the machining quality during the fine machining process. After determining the machining tolerance of each moving sub-path, the machining mode corresponding to each moving sub-path can be queried in the machining mode mapping rules.

[0057] Based on the above embodiment, the processing mode mapping rules include:

[0058] When the machining tolerance is greater than the first preset tolerance, the machining mode corresponding to the moving subpath is determined to be a speed priority mode, and the speed priority mode is used to machine the workpiece based on the first preset tolerance during machining to increase the machining speed of the workpiece.

[0059] In one embodiment, when the machining tolerance is greater than the first preset tolerance, the machining accuracy requirement for the workpiece is not high, and it is suitable for rough machining. Therefore, the corresponding machining mode can be set to the speed priority mode. In the speed priority mode, the tool processes the workpiece with the first preset tolerance during the machining of the workpiece. Exemplarily, the first preset tolerance is 0.03 mm. By setting a larger tolerance, the machine tool can perform roughing and clearing at a faster speed, improve the machining speed and machining efficiency during rough machining of the workpiece, and save rough machining time. Exemplarily, when the workpiece machining mode determination method is executed by the Fagor 8060 CNC system, the Fagor 8060 CNC system can output the speed priority mode corresponding to rough machining #HSC ON [FAST, E0.03], where E is the machining tolerance.

[0060] When the machining tolerance is less than or equal to the first preset tolerance and greater than or equal to the second preset tolerance, the machining mode corresponding to the moving sub-path is determined to be the workpiece shape priority mode. The workpiece shape priority mode is used to process the workpiece based on the third preset tolerance during the machining process to improve the machining accuracy of the workpiece surface. The second preset tolerance is less than the first preset tolerance, and the third preset tolerance is within the range of the first preset tolerance and the second preset tolerance.

[0061] When the machining tolerance is less than or equal to the first preset tolerance and greater than or equal to the second preset tolerance, there are certain requirements for the machining accuracy of the workpiece, which is suitable for the semi-finishing machining process, so the corresponding machining mode can be set as the workpiece shape priority mode. In the workpiece shape priority mode, the tool processes the workpiece with the third preset tolerance during the machining process, wherein the third preset tolerance is within the range of the first preset tolerance and the second preset tolerance. Exemplarily, the second preset tolerance is set to 0.01mm and the third preset tolerance is set to 0.02mm. By reducing the machining tolerance, the machine tool can more delicately control the movement trajectory of the tool during the semi-finishing process, avoid overcutting and undercutting caused by excessive speed, make the shape and margin of the workpiece after semi-finishing more uniform, and provide more favorable conditions for the subsequent finishing process. Exemplarily, when the workpiece machining mode determination method is executed by the Fagor 8060 CNC system, the Fagor 8060 CNC system can output the workpiece shape priority mode corresponding to the semi-finishing #HSC ON[SURFACE,E0.02].

[0062] When the machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance, the machining mode corresponding to the moving sub-path is determined to be the quality priority mode. The quality priority mode is used to process the workpiece based on the sixth preset tolerance during the machining process to improve the machining quality of the workpiece. The fifth preset tolerance is smaller than the fourth preset tolerance, the fourth preset tolerance is smaller than the second preset tolerance, and the sixth preset tolerance is within the range of the fourth preset tolerance and the fifth preset tolerance.

[0063] When the machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance, the machining accuracy of the workpiece is required to be higher, and it is suitable for the finishing process. Therefore, the corresponding machining mode can be set to the quality priority mode. In the quality priority mode, the tool processes the workpiece with the sixth preset tolerance during the machining process, wherein the sixth preset tolerance is within the range of the fourth preset tolerance and the fifth preset tolerance. Exemplarily, the fourth preset tolerance is 0.009mm, the fifth preset tolerance is 0.001mm, and the sixth preset tolerance is between 0.001-0.009mm, for example, the sixth preset tolerance can be 0.002mm. By further reducing the machining tolerance, the machining accuracy of the machine tool can be further improved during the finishing process, thereby achieving a more ideal workpiece machining quality. For example, when the workpiece processing mode determination method is executed by the Fagor 8060 numerical control system, the Fagor 8060 numerical control system may output a quality priority mode #HSC ON [SURFACE, E0.001] - #HSC ON [SURFACE, E0.009] corresponding to fine processing. In one embodiment, Figure 3 As shown, Figure 3A schematic diagram of a process for determining a processing mode provided by an embodiment of the present invention.

[0064] Step 105: Send each moving sub-path and the processing mode corresponding to each moving sub-path to the machine tool, so that when each tool is located in the corresponding moving sub-path during the processing, the machine tool uses the corresponding processing mode to control each tool to process the workpiece.

[0065] Finally, each moving sub-path and the processing mode corresponding to each moving sub-path can be sent to the machine tool, so that in the subsequent process of processing the workpiece, the machine tool can control each tool to process the workpiece according to the moving sub-path where the tool is located, using the corresponding processing mode. That is, when the processing tolerance of the moving sub-path is greater than 0.03mm, the speed priority mode is used to control the tool to process the workpiece; when the processing tolerance of the moving sub-path is between 0.01-0.03mm, the workpiece shape priority mode is used to control the tool to process the workpiece; when the processing tolerance of the moving sub-path is between 0.001-0.009mm, the quality priority mode is used to control the tool to process the workpiece.

[0066] As described above, the embodiment of the present invention provides a method for determining a workpiece processing mode. The embodiment of the present invention can automatically determine a corresponding processing mode according to the processing tolerance of each tool on the moving path, so that in the subsequent process of the machine tool processing the workpiece, each tool is controlled to use a processing mode corresponding to the processing tolerance to process the workpiece. The embodiment of the present invention can improve the processing speed and processing accuracy of the workpiece during the process of the machine tool processing the workpiece, improve the processing effect of the workpiece, and avoid the situation where the workpiece tolerance and the processing mode do not match, resulting in a long processing time or poor processing effect of the workpiece.

[0067] In addition, it is also found in the actual processing process that during the long-term processing of the machine tool, a large amount of heat will be generated due to friction, cutting and other processes, resulting in an increase in the temperature of the tool. Since the thermal expansion coefficient of the tool material is not zero, the tool will undergo thermal elongation as the temperature rises. At the same time, during the processing process, since the tool is subjected to cutting force and friction force, these forces will cause the tool to produce slight deformation, further aggravating the thermal elongation phenomenon. When the tool undergoes thermal elongation, in scenarios where the precision requirements for processing the workpiece are relatively high, there will be different degrees of tool connection problems, thereby affecting the processing effect of the workpiece. In order to reduce the impact of thermal elongation during the processing, the embodiment of the present invention can also determine the preheating time of the machine tool spindle according to the rotation speed of the tool before fine processing. Specifically, on the basis of the above embodiment, after determining the processing mode corresponding to each moving sub-path, before sending each moving sub-path and the processing mode corresponding to each moving sub-path to the machine tool, it also includes:

[0068] Step 106: In the moving sub-path corresponding to each tool, determine a target moving sub-path whose machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance.

[0069] In this embodiment, it is necessary to further determine a target moving sub-path with a machining tolerance less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance in the moving sub-path corresponding to each tool. It can be understood that when the machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance, it is generally applicable to the finishing process. Therefore, in this embodiment, it is actually to determine the target moving sub-path corresponding to each tool and the finishing process.

[0070] Step 107: Determine that the machining process corresponding to the target moving subpath is a finishing process, and determine the preheating time of the spindle corresponding to each tool before each tool performs the finishing process.

[0071] After determining the target moving sub-path corresponding to each tool, the machining process corresponding to the target moving sub-path can be determined as the finishing process. After determining the target moving sub-path corresponding to the finishing process, it is necessary to further determine the preheating time of the spindle corresponding to each tool before each tool performs the finishing process, wherein the spindle is used to drive the tool to rotate. The purpose of determining the preheating time of the spindle of the machine tool in this embodiment is that the spindle of the machine tool will gradually reach a thermal equilibrium state during the preheating process, so that the temperature of the tool will gradually stabilize, reducing the thermal elongation phenomenon caused by temperature fluctuations. In one embodiment, step 107 determines the preheating time of the spindle corresponding to each tool before each tool performs the finishing process, including:

[0072] Step 1071 : Determine the rotation speed of each tool when it is located in the corresponding target moving sub-path. The rotation speed is pre-written into the tool path information and associated with the corresponding moving sub-path.

[0073] In this embodiment, when determining the preheating time of the spindle, it is first necessary to determine the rotation speed of each tool when it is located in the target moving sub-path, that is, the rotation speed of each tool during the finishing process. Similarly, the rotation speed of each tool in the target moving sub-path can be set by the user when setting the moving path of the tool in the CAM software, and the rotation speed of each tool is associated with the corresponding moving sub-path, and then the tool path information is generated together according to the moving path of the tool and the machining tolerance. It should be noted that in this embodiment, it is assumed that the rotation speed of each tool during the finishing process remains unchanged.

[0074] Step 1072: Determine the preheating time of the spindle corresponding to each tool before each tool performs a finishing process according to the rotation speed corresponding to each tool.

[0075] After determining the speed of each tool during the finishing process, it is necessary to determine the preheating time of the spindle corresponding to each tool before the finishing process is performed according to the speed corresponding to each tool. Since the increase in the spindle speed will increase the internal friction and heat generation (for example, the frictional heating of the bearing will increase with the increase in the speed, including the frictional heating of the oil-gas lubricating medium and the bearing rolling element, the frictional heating of the bearing rolling element and the raceway contact of the inner and outer rings of the bearing, etc.). The increase in heat generation causes the spindle to take longer to reach a thermal equilibrium state, that is, the preheating time will be extended. Therefore, in this embodiment, the faster the speed of each tool during the finishing process, the longer the preheating time of the spindle. Specifically, when the speed corresponding to the tool is greater than the preset speed, the target time required to increase the preheating time is determined according to the speed difference between the speed and the preset speed. The preset speed is a preset speed. For example, in this embodiment, the preset speed can be set to 16000rpm. If the speed of the tool in the target moving subpath is greater than 16000rpm, the target time required to increase the spindle can be further determined according to the speed difference between the speed and 16000rpm. It can be understood that the larger the speed difference is, the longer the target time that needs to be increased is. In one embodiment, when determining the target time that needs to be increased, the quotient of the speed difference and the preset reference speed can be determined, and the preset reference time can be multiplied by the quotient to obtain the target time that needs to be increased for the preheating time. Exemplarily, the preset reference speed can be set to 1000rpm, and the preset reference time can be set to 5 minutes. For every 1000rpm increase in the speed relative to 16000rpm, the preheating time of the spindle increases by 5 minutes. Finally, the target time is added to the preset preheating time to obtain the preheating time of the spindle corresponding to the tool before the tool performs the finishing process. The preset preheating time is a pre-set time, and the value range of the preset preheating time is 3 to 5 minutes. It can be set according to actual needs and is not specifically limited in this embodiment. In one embodiment, if Figure 4 As shown, Figure 4 A schematic diagram of determining the preheating time of a spindle provided by an embodiment of the present invention, when the rotation speed corresponding to the tool is less than or equal to the preset rotation speed, the preheating time of the spindle corresponding to the tool is determined to be the preset preheating time. After determining the preheating time of the spindle corresponding to each tool, the preheating time can be sent to the machine tool, so that the subsequent machine tool can control the spindle corresponding to each tool to preheat according to the preheating time corresponding to each tool during the process of processing the workpiece before the tool performs the finishing process.

[0076] As described above, the embodiment of the present invention can further determine the preheating time of the spindle corresponding to each tool before each tool performs the finishing process according to the rotation speed of each tool during the finishing process. By determining the preheating time of the spindle corresponding to each tool, the embodiment of the present invention can reduce the thermal elongation phenomenon caused by temperature fluctuation during the finishing process, and further improve the machining accuracy of the workpiece.

[0077] The embodiment of the present invention also provides a device for determining a workpiece processing mode, such as Figure 5 As shown, Figure 5 A schematic diagram of the structure of a workpiece processing mode determination device provided by an embodiment of the present invention. The workpiece processing mode determination device provided by an embodiment of the present invention includes:

[0078] The information determination module 201 is used to determine the tool path information of each tool of the machine tool during the process of processing the workpiece;

[0079] A path determination module 202, used to determine the moving path of each tool according to the tool path information, where the moving path is a collection of multiple moving sub-paths;

[0080] A tolerance determination module 203 is used to determine the machining tolerance of each moving sub-path, where the machining tolerance is pre-written into the tool path information and associated with the moving sub-path corresponding to each tool;

[0081] A mode determination module 204, configured to determine a processing mode corresponding to each moving sub-path according to the processing tolerance and a preset processing mode mapping rule, wherein the processing mode mapping rule includes processing modes corresponding to different processing tolerances;

[0082] The information sending module 205 is used to send each moving sub-path and the processing mode corresponding to each moving sub-path to the machine tool, so that when each tool is located in the corresponding moving sub-path during the processing, the machine tool adopts the corresponding processing mode to control each tool to process the workpiece.

[0083] Among them, the processing mode mapping rules include:

[0084] When the machining tolerance is greater than the first preset tolerance, determining that the machining mode corresponding to the moving subpath is a speed priority mode, the speed priority mode is used to machine the workpiece based on the first preset tolerance during the machining process to increase the machining speed of the workpiece;

[0085] When the machining tolerance is less than or equal to the first preset tolerance and greater than or equal to the second preset tolerance, determining that the machining mode corresponding to the moving sub-path is a workpiece shape priority mode, the workpiece shape priority mode is used to machine the workpiece based on the third preset tolerance during the machining process to improve the machining accuracy of the surface of the workpiece, the second preset tolerance is less than the first preset tolerance, and the third preset tolerance is within the range of the first preset tolerance and the second preset tolerance;

[0086] When the machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance, the machining mode corresponding to the moving sub-path is determined to be the quality priority mode. The quality priority mode is used to process the workpiece based on the sixth preset tolerance during the machining process to improve the machining quality of the workpiece. The fifth preset tolerance is smaller than the fourth preset tolerance, the fourth preset tolerance is smaller than the second preset tolerance, and the sixth preset tolerance is within the range of the fourth preset tolerance and the fifth preset tolerance.

[0087] Among them, it also includes:

[0088] a target path determination module, configured to determine, after determining a machining mode corresponding to each moving sub-path and before sending each moving sub-path and the machining mode corresponding to each moving sub-path to a machine tool, a target moving sub-path having a machining tolerance less than or equal to a fourth preset tolerance and greater than or equal to a fifth preset tolerance in the moving sub-path corresponding to each tool;

[0089] The preheating time determination module is used to determine that the machining process corresponding to the target moving sub-path is a finishing process, and to determine the preheating time of the spindle corresponding to each tool before each tool performs the finishing process.

[0090] Among them, the preheating time determination module includes:

[0091] A speed determination submodule is used to determine the speed of each tool when it is located at the corresponding target moving subpath, and the speed is pre-written into the tool path information and associated with the corresponding moving subpath;

[0092] The preheating time determination submodule is used to determine the preheating time of the spindle corresponding to each tool before each tool performs a finishing process according to the rotation speed corresponding to each tool.

[0093] Among them, the preheating time determination submodule includes:

[0094] A speed difference determination unit, used to determine a target time length that needs to be increased for the preheating time according to a speed difference between the speed and the preset speed when the speed corresponding to the tool is greater than the preset speed;

[0095] The preheating time determination unit is used to increase the target time on the basis of the preset preheating time to obtain the preheating time of the spindle corresponding to the tool before the tool performs the finishing process.

[0096] The speed difference determination unit is specifically used to determine the quotient of the speed difference and the preset reference speed; and multiply the preset reference duration by the quotient to obtain the target duration that needs to be increased for the preheating time.

[0097] Among them, the first preset tolerance is 0.03 mm, the second preset tolerance is 0.01 mm, the fourth preset tolerance is 0.009 mm, and the fifth preset tolerance is 0.001 mm.

[0098] The workpiece processing mode determination device provided in the embodiment of the present invention is included in the workpiece processing mode determination equipment and can be used to execute the workpiece processing mode determination method provided in the above embodiment, and has corresponding functions and beneficial effects.

[0099] It is worth noting that in the embodiment of the above-mentioned workpiece processing mode determination device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0100] This embodiment also provides a workpiece processing mode determination device, such as Figure 6 As shown, Figure 6 A schematic diagram of the structure of a workpiece processing mode determination device provided by an embodiment of the present invention, the workpiece processing mode determination device 30 includes a processor 300 and a memory 301;

[0101] The memory 301 is used to store the computer program 302 and transmit the computer program 302 to the processor 300;

[0102] The processor 300 is used to execute the steps in the above-mentioned embodiment of a method for determining a workpiece processing mode according to the instructions in the computer program 302 .

[0103] Exemplarily, the computer program 302 may be divided into one or more modules / units, one or more modules / units are stored in the memory 301, and are executed by the processor 300 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 302 in the workpiece processing mode determination device 30.

[0104] The workpiece processing mode determination device 30 may include, but is not limited to, a processor 300 and a memory 301. Those skilled in the art will appreciate that Figure 6It is only an example of the workpiece processing mode determination device 30 and does not constitute a limitation of the workpiece processing mode determination device 30. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the workpiece processing mode determination device 30 may also include input and output devices, network access devices, buses, etc.

[0105] The processor 300 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0106] The memory 301 may be an internal storage unit of the workpiece processing mode determination device 30, such as a hard disk or memory of the workpiece processing mode determination device 30. The memory 301 may also be an external storage device of the workpiece processing mode determination device 30, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the workpiece processing mode determination device 30. Further, the memory 301 may also include both an internal storage unit of the workpiece processing mode determination device 30 and an external storage device. The memory 301 is used to store computer programs and other programs and data required by the workpiece processing mode determination device 30. The memory 301 may also be used to temporarily store data that has been output or is to be output.

[0107] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0108] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0109] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0110] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store computer programs.

[0112] An embodiment of the present invention further provides a storage medium containing computer executable instructions. When the computer executable instructions are executed by a computer processor, they are used to perform a method for determining a workpiece processing mode. The method includes the following steps:

[0113] Determine the tool path information of each tool of the machine tool during the process of machining the workpiece;

[0114] Determine the moving path of each tool according to the tool path information, where the moving path is a collection of multiple moving sub-paths;

[0115] Determine the machining tolerance of each moving sub-path, the machining tolerance is pre-written into the tool path information and associated with the moving sub-path corresponding to each tool;

[0116] Determine a processing mode corresponding to each moving sub-path according to the processing tolerance and a preset processing mode mapping rule, wherein the processing mode mapping rule includes processing modes corresponding to different processing tolerances;

[0117] Each moving sub-path and the processing mode corresponding to each moving sub-path are sent to the machine tool, so that when each tool is located in the corresponding moving sub-path during the processing, the machine tool adopts the corresponding processing mode to control each tool to process the workpiece.

[0118] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention are described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims

1. A method for determining a workpiece processing mode, characterized in that: The method comprises: Determine the tool path information of each tool of the machine tool during the process of machining the workpiece; Determining a moving path of each of the tools according to the tool path information, wherein the moving path is a collection of multiple moving sub-paths; Determining a machining tolerance of each of the moving sub-paths, wherein the machining tolerance is pre-written into the tool path information and associated with the moving sub-path corresponding to each of the tools; Determining a processing mode corresponding to each of the moving sub-paths according to the processing tolerance and a preset processing mode mapping rule, wherein the processing mode mapping rule includes processing modes corresponding to different processing tolerances; Each moving sub-path and the processing mode corresponding to each moving sub-path are sent to the machine tool, so that when each tool is located in the corresponding moving sub-path during the processing, the machine tool adopts the corresponding processing mode to control each tool to process the workpiece.

2. A method for determining a workpiece processing mode according to claim 1, characterized in that: The processing mode mapping rules include: In the case where the machining tolerance is greater than a first preset tolerance, determining that the machining mode corresponding to the moving subpath is a speed priority mode, wherein the speed priority mode is used to machine the workpiece based on the first preset tolerance during machining to increase the machining speed of the workpiece; In the case where the machining tolerance is less than or equal to the first preset tolerance and greater than or equal to the second preset tolerance, determining that the machining mode corresponding to the moving sub-path is a workpiece shape priority mode, the workpiece shape priority mode is used to machine the workpiece based on a third preset tolerance during machining to improve the machining accuracy of the surface of the workpiece, the second preset tolerance is less than the first preset tolerance, and the third preset tolerance is within the range of the first preset tolerance and the second preset tolerance; When the machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance, the machining mode corresponding to the moving sub-path is determined to be a quality priority mode, and the quality priority mode is used to process the workpiece based on the sixth preset tolerance during the machining process to improve the machining quality of the workpiece, the fifth preset tolerance is smaller than the fourth preset tolerance, the fourth preset tolerance is smaller than the second preset tolerance, and the sixth preset tolerance is within the range of the fourth preset tolerance and the fifth preset tolerance.

3. A method for determining a workpiece processing mode according to claim 2, characterized in that: After determining the processing mode corresponding to each of the moving sub-paths, and before sending each of the moving sub-paths and the processing mode corresponding to each of the moving sub-paths to the machine tool, the method further includes: In the moving sub-path corresponding to each of the tools, determining a target moving sub-path in which the machining tolerance is less than or equal to the fourth preset tolerance and greater than or equal to the fifth preset tolerance; The machining process corresponding to the target moving subpath is determined to be a finishing process, and the preheating time of the spindle corresponding to each tool is determined before each tool performs the finishing process.

4. A method for determining a workpiece processing mode according to claim 3, characterized in that: Determining the preheating time of the spindle corresponding to each tool before each tool performs a finishing process includes: Determine the rotation speed of each tool when it is located in the corresponding target moving sub-path, the rotation speed is pre-written into the tool path information and associated with the corresponding moving sub-path; The preheating time of the spindle corresponding to each tool is determined according to the rotation speed corresponding to each tool before each tool performs a finishing process.

5. A method for determining a workpiece processing mode according to claim 4, characterized in that: The step of determining the preheating time of the spindle corresponding to each tool before each tool performs a finishing process according to the rotation speed corresponding to each tool comprises: When the rotation speed corresponding to the tool is greater than a preset rotation speed, determining a target time length that needs to be increased for the preheating time according to a rotation speed difference between the rotation speed and the preset rotation speed; The target time is added to the preset preheating time to obtain the preheating time of the spindle corresponding to the tool before the tool performs a finishing process.

6. A method for determining a workpiece processing mode according to claim 4, characterized in that: The step of determining the target time length that needs to be increased for the preheating time according to the speed difference between the speed and the preset speed includes: Determining a quotient of the speed difference and a preset reference speed; The preset reference duration is multiplied by the quotient to obtain the target duration that needs to be increased for the preheating time.

7. A method for determining a workpiece processing mode according to claim 2, characterized in that: The first preset tolerance is 0.03 mm, the second preset tolerance is 0.01 mm, the fourth preset tolerance is 0.009 mm, and the fifth preset tolerance is 0.001 mm.

8. A device for determining a workpiece processing mode, characterized in that: The device comprises: An information determination module is used to determine the tool path information of each tool of the machine tool during the process of processing the workpiece; A path determination module, used to determine a moving path of each tool according to the tool path information, wherein the moving path is a collection of multiple moving sub-paths; A tolerance determination module, used for determining a machining tolerance of each of the moving sub-paths, wherein the machining tolerance is pre-written into the tool path information and associated with the moving sub-path corresponding to each of the tools; a mode determination module, configured to determine a processing mode corresponding to each of the moving sub-paths according to the processing tolerance and a preset processing mode mapping rule, wherein the processing mode mapping rule includes processing modes corresponding to different processing tolerances; The information sending module is used to send each of the moving sub-paths and the processing mode corresponding to each of the moving sub-paths to the machine tool, so that when each of the tools is located on the corresponding moving sub-path during the processing, the machine tool adopts the corresponding processing mode to control each of the tools to process the workpiece.

9. A workpiece processing mode determination device, characterized in that: The workpiece processing mode determination device includes a processor and a memory; The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute a workpiece processing mode determination method according to any one of claims 1 to 7 according to instructions in the computer program.

10. A storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to execute a workpiece processing mode determination method according to any one of claims 1 to 7 when executed by a computer processor.