Numerical control machining tool system automatic construction method, device, equipment and medium

CN122044088BActive Publication Date: 2026-08-11CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-04-20
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0004]本申请的主要目的在于提供一种数控加工刀具系统自动构建方法、装置、设备及介质,旨在解决现有数控加工过程中因人工装夹刀具系统要素存在误差,导致实际刀具系统状态与离线仿真状态不一致,进而引发碰撞事故的技术问题

Benefits of technology

[0015] This application proposes an automatic construction method, apparatus, equipment, and medium for CNC machining tool systems. First, it analyzes real-time data during CNC machining to obtain tool data information, including tool drawing number, tool holder drawing number, and clamping length. Then, based on the tool data information, it retrieves the corresponding geometric parameters from a pre-set tool system file and establishes geometric models of the tool and tool holder respectively. Finally, it assembles the models to ensure the clamping length matches the actual clamping length. This allows for the automatic replication of a tool system consistent with the on-site machining state within an open-source simulation engine, effectively solving the problem that pre-simulation alone cannot avoid abnormal collisions in the tool system caused by human error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122044088B_ABST
    Figure CN122044088B_ABST
Patent Text Reader

Abstract

This application discloses an automatic construction method, apparatus, equipment, and medium for CNC machining tool systems, relating to the field of CNC machining. The method includes: real-time acquisition of data during CNC machining; determining the tool drawing number, tool holder drawing number, and clamping length based on the data; retrieving and obtaining corresponding geometric parameter information from a preset tool system file based on the tool drawing number and tool holder drawing number; establishing a tool geometric model and a tool holder geometric model based on the geometric parameter information; adjusting the clamping position of the tool geometric model relative to the tool holder geometric model; assembling the tool geometric model and the tool holder geometric model to form a tool system assembly, ensuring that the virtual clamping length of the tool system assembly matches the actual clamping length. This application aims to solve the problem that errors in manual clamping of tool system elements during existing CNC machining processes lead to inconsistencies between the actual tool system state and the offline simulation state, resulting in collision accidents.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of CNC machining, and in particular to a method, apparatus, equipment and medium for automatically constructing a CNC machining tool system. Background Technology

[0002] In the field of CNC machining of structural components, NC programs usually need to be simulated offline using simulation software before they can be sent to the production site for execution.

[0003] However, due to the significant amount of manual intervention involved in existing CNC machining processes—such as the manual clamping of tool system elements like cutting tools, extension rods, and tool holders onto the machine tool spindle—relying solely on pre-simulated offline operations cannot completely prevent quality and safety incidents during actual machining. Human error can easily lead to abnormal tool breakage, causing substantial damage to both the tool and the machine tool itself. Summary of the Invention

[0004] The main objective of this application is to provide an automatic construction method, apparatus, equipment, and medium for CNC machining tool systems, aiming to solve the technical problem that errors in manual tool system clamping during existing CNC machining processes lead to inconsistencies between the actual tool system state and the offline simulation state, thereby causing collision accidents.

[0005] To achieve the above objectives, this application provides an automatic construction method for a CNC machining tool system, comprising: acquiring data during the CNC machining process in real time; determining tool data information based on the data, the tool data information including tool drawing number, tool holder drawing number, and clamping length; retrieving and obtaining corresponding geometric parameter information from a preset tool system file based on the tool drawing number and the tool holder drawing number; establishing a tool geometric model and a tool holder geometric model based on the geometric parameter information; adjusting the clamping position of the tool geometric model relative to the tool holder geometric model; assembling the tool geometric model and the tool holder geometric model to form a tool system assembly, such that the virtual clamping length of the tool system assembly is consistent with the clamping length.

[0006] Optionally, the tool data information further includes an extension rod drawing number, and the method further includes: retrieving and obtaining the geometric parameter information of the extension rod from the preset tool system file based on the extension rod drawing number, and establishing an extension rod geometric model based on the extension rod geometric parameter information; adjusting the clamping position of the tool geometric model relative to the tool holder geometric model, and assembling the tool geometric model and the tool holder geometric model to form a tool system assembly, includes: adjusting the clamping position of the tool geometric model relative to the extension rod geometric model and the tool holder geometric model, and assembling the tool geometric model, the tool holder geometric model and the extension rod geometric model to form a tool system assembly.

[0007] Optionally, establishing the tool geometry model and the tool holder geometry model based on the geometric parameter information includes: constructing a piecewise function of the tool profile in the first quadrant of the tool tip coordinate system based on the tool geometry parameter information, and generating the tool geometry model based on the piecewise function; determining the rotational element of the tool holder profile in the first quadrant of the tool holder coordinate system based on the tool holder geometry parameter information, and generating the tool holder geometry model based on the rotational element.

[0008] Optionally, adjusting the clamping position of the tool geometry model relative to the extension rod geometry model and the tool holder geometry model, and assembling the tool geometry model, the tool holder geometry model, and the extension rod geometry model, includes: calculating the actual working length of the tool based on the clamping length and the length of the extension rod geometry model; and determining the clamping position of the tool geometry model in the extension rod geometry model and the tool holder geometry model based on the actual working length of the tool.

[0009] Optionally, establishing the geometric model of the extension rod based on the geometric parameter information of the extension rod includes: constructing a function of the extension rod profile in the first quadrant of the extension rod coordinate system according to the geometric parameter information of the extension rod, and generating the geometric model of the extension rod based on the function.

[0010] Optionally, the geometric parameters of the tool include one or more of the following: tool diameter, tool clamping diameter, tool base radius, tool taper, tool cutting edge length, and tool length.

[0011] Optionally, the geometric parameters of the extension rod include the diameter and length of the extension rod.

[0012] Furthermore, to achieve the above objectives, this application also provides an automatic construction device for a CNC machining tool system, comprising: a data acquisition module for acquiring data during the CNC machining process in real time; a tool basic information determination module for determining tool data information based on the data, wherein the tool data information includes a tool drawing number, a tool holder drawing number, and a clamping length; a geometric information acquisition module for retrieving and acquiring corresponding geometric parameter information from a preset tool system file based on the tool drawing number and the tool holder drawing number; a geometric model construction module for establishing a tool geometric model and a tool holder geometric model based on the geometric parameter information; and a model testing and adjustment module for adjusting the clamping position of the tool geometric model relative to the tool holder geometric model, assembling the tool geometric model and the tool holder geometric model to form a tool system assembly, such that the virtual clamping length of the tool system assembly is consistent with the clamping length.

[0013] This application also provides an automatic construction device for a CNC machining tool system, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method in any of the above possible implementations.

[0014] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method in any of the possible implementations described above.

[0015] This application proposes an automatic construction method, apparatus, equipment, and medium for CNC machining tool systems. First, it analyzes real-time data during CNC machining to obtain tool data information, including tool drawing number, tool holder drawing number, and clamping length. Then, based on the tool data information, it retrieves the corresponding geometric parameters from a pre-set tool system file and establishes geometric models of the tool and tool holder respectively. Finally, it assembles the models to ensure the clamping length matches the actual clamping length. This allows for the automatic replication of a tool system consistent with the on-site machining state within an open-source simulation engine, effectively solving the problem that pre-simulation alone cannot avoid abnormal collisions in the tool system caused by human error. Attached Figure Description

[0016] Figure 1 A flowchart illustrating the automatic construction method for a CNC machining tool system provided in this application embodiment;

[0017] Figure 2 A schematic diagram of the tool geometry model provided in the embodiments of this application;

[0018] Figure 3 A schematic diagram of the geometric model of the tool holder provided in the embodiments of this application;

[0019] Figure 4 A schematic diagram of the geometric model of the extension rod provided in the embodiments of this application;

[0020] Figure 5 This is a schematic diagram of the geometric model of the CNC machining tool system provided in this embodiment;

[0021] Figure 6 A structural block diagram of the automatic construction device for CNC machining tool system provided in the embodiments of this application;

[0022] Figure 7 This is a schematic diagram of the structure of the automatic construction device for the CNC machining tool system provided in the embodiments of this application.

[0023] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0024] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0025] In the field of CNC machining of structural components, NC programs usually need to be simulated offline using simulation software before they can be sent to the production site for execution.

[0026] However, due to the significant amount of manual intervention in existing CNC machining processes—such as the need for manual clamping of tool system elements like cutting tools, extension rods, and tool holders onto the machine tool spindle—relying solely on pre-simulated offline operations cannot completely prevent quality and safety incidents during actual machining. Human error, such as an operator incorrectly installing the wrong cutting tool, extension rod, or tool holder, leading to incorrect tool system specifications, or an incorrect tool clamping length resulting in an excessively long or short working length, can easily cause abnormal tool breakage during machining or collisions between non-cutting parts of the tool system and the worktable, resulting in significant damage to the cutting tool, parts, and machine tool.

[0027] To address the aforementioned issues, this application provides an automatic construction method, apparatus, equipment, and medium for CNC machining tool systems. The solution described in this application will be detailed below.

[0028] Figure 1 The flowchart of the automatic construction method for CNC machining tool system provided in Embodiment 1 of this application is shown below. Figure 1 The automatic construction method for a CNC machining tool system may include the following steps:

[0029] S11. Real-time acquisition of data during CNC machining.

[0030] The data in the CNC machining process refers to the data released by the CNC machining data acquisition platform.

[0031] It should be noted that the CNC machining tool system constructed in this embodiment does not directly participate in data acquisition, but obtains real-time data acquisition of the tool machining process by subscribing to data published by the CNC machining data acquisition platform.

[0032] In the specific implementation process, real-time data acquisition of the machining process is obtained by subscribing to the data released by the CNC machining data acquisition platform.

[0033] For example, during the CNC machining of a certain part, the data stream, including tool-related information, can be obtained in real time by subscribing to platform data.

[0034] S12. Determine tool data information based on data from the CNC machining process. Tool data information includes tool drawing number, tool holder drawing number, and clamping length.

[0035] The tool drawing number identifies the tool currently being machined and can be used to determine the tool's geometric parameters. The tool holder drawing number identifies the tool holder currently being machined and can be used to determine the tool holder's geometric parameters. The clamping length refers to the clamping length of the tool system currently being machined, i.e., the offset distance from the tool tip to the spindle end face, which can be used to determine the assembly position of the tool system. The tool drawing number, tool holder drawing number, and clamping length are all indispensable information.

[0036] In the specific implementation process, the data acquired in real time during the machining process is analyzed to extract the essential information required to establish the tool system model, including the tool drawing number, tool holder drawing number, and clamping length.

[0037] For example, to construct a CNC machining tool system, this embodiment acquires data streams including tool-related information during the current CNC machining process in real time, and parses the tool drawing number GXLZY2GNT / 12*14*40R3, tool holder drawing number BBT50-MEGA13N-90, and clamping length used in the current machining process. ,in This indicates the clamping length of the tool system.

[0038] In one embodiment, the tool data information may further include an extension rod drawing number, which is used to identify the extension rod currently being machined and can correspondingly determine the geometric parameter information of the extension rod.

[0039] It should be noted that extension rods are not always used during the machining process. Generally, when the working length of the tool is insufficient to machine the features of the part, extension rods are used to connect the tool and the tool holder to extend the working length of the tool. Therefore, the extension rod drawing number is optional information.

[0040] For example, this embodiment also obtains the extension rod drawing number ST20-NBS13-60 used in the current machining process by acquiring the data stream including tool-related information in real time during the current CNC machining process.

[0041] S13. Based on the tool drawing number and tool holder drawing number, retrieve and obtain the corresponding geometric parameter information from the preset tool system file.

[0042] The preset tool system file refers to a pre-created *.csv file containing geometric parameter information for all tools, extension rods, and tool holders. This file allows for real-time retrieval of the corresponding geometric parameter information for each tool, extension rod, and tool holder. The geometric parameter information includes general geometric parameters for the tools and geometric point information for the tool holders.

[0043] It is understood that in this embodiment, retrieving and obtaining the corresponding geometric parameter information from the preset tool system file based on the tool drawing number and the tool holder drawing number means: retrieving and obtaining the general geometric parameter information corresponding to the tool drawing number from the tool CSV file based on the tool drawing number, and retrieving and obtaining the geometric point information corresponding to the tool holder drawing number from the tool holder CSV file based on the tool holder drawing number.

[0044] In the specific implementation process, based on the tool drawing number obtained in step S12, the tool information used for the current machining is retrieved from the tool CSV file, and its corresponding general geometric parameter information, including the tool diameter, is obtained. Tool clamping diameter Cutting tool bottom angle radius tool taper Cutting blade length Tool length .

[0045] Furthermore, based on the tool holder drawing number obtained in step S12, the tool holder information currently used in machining is retrieved from the tool holder CSV file, and its corresponding geometric point information is obtained, including the coordinates of tool holder contour point 1. 2. Coordinates of tool holder outline point 2 3 coordinates of the tool holder outline point 4 coordinates of the tool holder outline point 5 coordinates of the tool holder outline point 6 coordinates of the tool holder outline point 7 coordinates of the tool holder outline point 8 coordinates of the tool holder outline points 9 coordinates of the tool holder outline point Coordinates of point 10 on the tool sheath outline .

[0046] It should be noted that since the tool holder model is more complex than the tool model, and the tool holder is not a key element in forming the features of the part during the machining process, the geometric accuracy requirement of its model is not high. In order to simplify the definition of the tool holder model, this embodiment uses a rotary element composed of 10-point polyline drawing to define the tool holder contour.

[0047] For example, the current tool drawing number is GXLZY2GNT / 12*14*40R3. The general geometric parameters of the tool can be retrieved from the tool CSV file: tool diameter... Tool clamping diameter Tool base corner radius tool taper , blade length Tool length The current tool holder drawing number is BBT50-MEGA13N-90. The coordinates of tool holder contour point 1 are retrieved from the tool holder CSV file. 2. Coordinates of tool holder outline point 2 3 coordinates of the tool holder outline point 4 coordinates of the tool holder outline point 5 coordinates of the tool holder outline point 6 coordinates of the tool holder outline point 7 coordinates of the tool holder outline point 8 coordinates of the tool holder outline points 9 coordinates of the tool holder outline point Coordinates of point 10 on the tool sheath outline .

[0048] In one embodiment, step S13 may further include: retrieving and obtaining the geometric parameter information of the extension rod from a preset tool system file based on the extension rod drawing number.

[0049] Specifically, if extension rods are used, the system retrieves the information of the extension rod currently being processed from the extension rod CSV file based on the read extension rod drawing number, and obtains its corresponding general geometric parameters, including the extension rod diameter. and extension rod length .

[0050] For example, if the current extension rod drawing number is ST20-NBS13-60, the diameter of the extension rod can be retrieved. Length of extension pole .

[0051] S14. Based on the geometric parameter information, establish the tool geometric model and the tool holder geometric model respectively.

[0052] Among them, the tool geometry model refers to the three-dimensional model of the tool constructed in the open-source simulation engine through parametric modeling, and the tool holder geometry model refers to the three-dimensional model of the tool holder constructed through the polyline method.

[0053] In the specific implementation process, this embodiment can construct a piecewise function of the tool profile in the first quadrant of the tool tip coordinate system based on the tool's geometric parameter information, and generate a tool geometric model based on the piecewise function; and determine the rotational element of the tool holder profile in the first quadrant of the tool holder coordinate system based on the tool holder's geometric parameter information, and generate a tool holder geometric model based on the rotational element.

[0054] Please see Figure 2 , Figure 2 This is a schematic diagram illustrating the construction of a tool geometry model based on the tool's geometric parameter information provided in this embodiment, as shown below. Figure 2 As shown, this embodiment can construct a tool geometry model in an open-source simulation engine based on the tool's general geometric parameter information using a parametric modeling approach. First, a function of the tool profile in the first quadrant of its own tool tip ZOX coordinate system is constructed. ,when hour:

[0055] (1)

[0056] when hour:

[0057] (2)

[0058] In equations (1) and (2), Indicates the diameter of the cutting tool. Indicates the radius of the tool's bottom corner. Indicates the blade length, Indicates the taper of the cutting tool. Indicates the length of the cutting tool.

[0059] Among them, when and When, it is characterized by the tool profile of a bullnose end mill; when and When, it is characterized by the tool profile of the ball end mill; when and When, it is characterized by the tool profile of a flat-end mill; when and When, it is characterized as the tool profile of a tapered milling cutter.

[0060] Secondly, the tool profile is circumscribed in the first quadrant of its own tool tip ZOX coordinate system by a function. The tool geometry model is obtained by rotating the axis 360°.

[0061] For example, the tool currently in use, part number GXLZY2GNT / 12*14*40R3, is a bullnose end mill with a bottom angle of 3mm. In this embodiment, the tool profile is first constructed as a function in the first quadrant of its own tool tip ZOX coordinate system. :

[0062] (2-1)

[0063] Therefore, through the tool profile in the first quadrant of its own tool tip ZOX coordinate system... Around The tool geometry model is obtained by rotating the axis 360°.

[0064] Please see Figure 3 , Figure 3 A schematic diagram illustrating the construction of a tool holder geometric model based on the tool holder's geometric parameter information provided in this embodiment is shown below. Figure 3 As shown, this embodiment can construct the geometric model of the tool holder in an open-source simulation engine based on the geometric point information of the tool holder and using the polyline modeling method.

[0065] Specifically, connect the coordinates of the tool holder contour point 1 in sequence. 2. Coordinates of tool holder outline point 2 3 coordinates of the tool holder outline point 4 coordinates of the tool holder outline point 5 coordinates of the tool holder outline point 6 coordinates of the tool holder outline point 7 coordinates of the tool holder outline point 8 coordinates of the tool holder outline points 9 coordinates of the tool holder outline point coordinates of point 10 on the tool holder profile Construct the tool holder profile in the first quadrant of the ZOX coordinate system at its bottom center, and rotate around it. The axis rotates 360° to generate the geometric model of the tool holder.

[0066] For example, the coordinates of tool holder contour point 1 are connected sequentially. 2. Coordinates of tool holder outline point 2 3 coordinates of the tool holder outline point 4 coordinates of the tool holder outline point 5 coordinates of the tool holder outline point 6 coordinates of the tool holder outline point 7 coordinates of the tool holder outline point 8 coordinates of the tool holder outline points 9 coordinates of the tool holder outline point coordinates of point 10 on the tool holder profile Obtain the rotation element of the tool holder profile in the first quadrant of the ZOX coordinate system at its bottom center, and rotate this rotation element around... The axis can rotate 360°, and the geometric model of the tool holder can be built in an open-source simulation engine.

[0067] In one embodiment, step S14 may further include: establishing a geometric model of the extension rod based on the geometric parameter information of the extension rod.

[0068] In the specific implementation process, this embodiment can construct a function of the extension rod profile in the first quadrant of the extension rod coordinate system based on the geometric parameter information of the extension rod, and generate the extension rod geometric model based on the function.

[0069] Please see Figure 4 , Figure 4 A schematic diagram illustrating the construction of the geometric model of the extension rod based on its geometric parameters, as provided in this embodiment, is shown below. Figure 4 As shown, this embodiment can construct the geometric model of the extension rod in an open-source simulation engine based on the geometric parameter information of the extension rod using a parametric modeling approach. First, the first quadrant function of the extension rod's profile in the ZOX coordinate system at its bottom center is constructed. :

[0070] (3)

[0071] In equation (3), Indicates the diameter of the extension rod. This indicates the length of the extension rod.

[0072] Secondly, through functions Around The geometric model of the extension rod is obtained by rotating the shaft 360°.

[0073] For example, if the current extension rod drawing number is ST20-NBS13-60, the diameter of the extension rod can be retrieved. Length of extension pole In this embodiment, the first step is to construct the first quadrant function of the ZOX coordinate system at the center of the bottom of the extension rod. :

[0074] (3-1)

[0075] Therefore, the extension rod profile is expressed as a function in the first quadrant of the ZOX coordinate system at its own tip. Around The geometric model of the extension rod is obtained by rotating the shaft 360°.

[0076] S15. Adjust the clamping position of the tool geometry model relative to the tool holder geometry model, assemble the tool geometry model and the tool holder geometry model to form a tool system assembly, so that the virtual clamping length of the tool system assembly is consistent with the clamping length.

[0077] It should be noted that step S15 is to ensure that the clamping position of the tool in the tool system in the open-source simulation engine is consistent with the actual clamping position. Tool holder , The position is where the tool holder mates with the end face of the machine tool spindle; the actual clamping length is the tool holder... , The distance from the position to the tool tip needs to be adjusted, therefore the clamping depth of the tool in the tool holder needs to be adjusted so that the virtual clamping length equals the actual clamping length. .

[0078] In the specific implementation process, by adjusting the axial position of the tool geometry model within the tool holder geometry model, the distance from the end face of the tool system assembly to the tool tip is made equal to the actual clamping length. .

[0079] In one embodiment, step S15 may further include: adjusting the clamping position of the tool geometry model relative to the extension rod geometry model and the tool holder geometry model, and assembling the tool geometry model, the tool holder geometry model and the extension rod geometry model to form a tool system assembly.

[0080] Please see Figure 5 , Figure 5 This is a schematic diagram of the geometric model of the CNC machining tool system provided in this embodiment, such as... Figure 5 As shown, in the specific implementation process, this embodiment first assembles the extension rod geometric model and the tool holder geometric model (the extension rod is inserted into the tool holder), and then inserts the tool geometric model into the extension rod and tool holder assembly.

[0081] Specifically, based on the actual clamping length Calculate the actual working length of the tool based on the length of the extension rod. :

[0082] (4)

[0083] in, Indicates the length of the extension rod. Indicates the actual clamping length. This indicates the Z-axis coordinate of point 8 on the tool holder profile.

[0084] Furthermore, based on tool length and the actual working length of the cutting tool Determine the clamping position of the tool geometry model in the extension rod and tool holder, i.e., the length of the clamped portion of the tool. .

[0085] Therefore, by making the length of the clamped part of the tool equal to The distance from the blade tip to the end face of the blade sheath is... Even if the virtual clamping length of the tool system assembly is consistent with the clamping length, the construction of the CNC machining tool system is completed.

[0086] For example, the actual working length of the tool for:

[0087] (4-1)

[0088] Therefore, the clamping length of the current tool GXLZY2GNT / 12*14*40R3 in the open-source simulation engine is... .

[0089] This application proposes an automatic construction method for CNC machining tool systems. By constructing a general mathematical model of the tool system, it supports rapid modeling of various types of tools such as milling cutters, drills, and reamers, effectively enhancing the versatility of the tool system. Simultaneously, this method independently stores the geometric parameters of each element, such as the tool, extension rod, and tool holder, in *.csv file format. This not only facilitates unified management of the various elements of the tool system but also improves the convenience of maintaining and updating geometric parameters.

[0090] Furthermore, the tool system model constructed in this application clearly distinguishes between the cutting edge and the tool holder based on the structural characteristics of real machining tools, enabling the model to perform geometric Boolean operations and interference collision detection. The cutting edge can be used to perform Boolean subtraction operations between the tool system and the workpiece to simulate the material removal process; the tool holder, extension rod, and tool sleeve can be used for interference collision detection between the tool system and the workpiece and the machine tool table, providing a real-time simulation model for the CNC machining process of complex parts.

[0091] Based on the above embodiments, Figure 6 This is a structural block diagram of an automatic tool-building device for a CNC machining tool system according to one embodiment of this application, such as... Figure 6 As shown, the automatic construction device 600 for the CNC machining tool system may include: a data acquisition module 610, a tool basic information determination module 620, a geometric information acquisition module 630, a geometric model construction module 640, and a model testing and adjustment module 650.

[0092] The data acquisition module 610 is used to acquire data in real time during CNC machining; the tool basic information determination module 620 is used to determine tool data information based on the data, including tool drawing number, tool holder drawing number, and clamping length; the geometric information acquisition module 630 is used to retrieve and obtain the corresponding geometric parameter information from the preset tool system file based on the tool drawing number and tool holder drawing number; the geometric model construction module 640 is used to build tool geometric models and tool holder geometric models based on the geometric parameter information; and the model testing and adjustment module 650 is used to adjust the clamping position of the tool geometric model relative to the tool holder geometric model, assemble the tool geometric model and the tool holder geometric model to form a tool system assembly, so that the virtual clamping length of the tool system assembly is consistent with the clamping length.

[0093] In an exemplary embodiment, the tool basic information determination module 620 can also be used to retrieve and obtain the geometric parameter information of the extension rod from a preset tool system file based on the extension rod drawing number, and establish a geometric model of the extension rod based on the geometric parameter information of the extension rod.

[0094] In an exemplary embodiment, the geometric model construction module 640 can also be used to construct a piecewise function of the tool profile in the first quadrant of the tool tip coordinate system based on the tool's geometric parameter information, and generate a tool geometric model based on the piecewise function; determine the rotational element of the tool holder profile in the first quadrant of the tool holder coordinate system based on the tool holder's geometric parameter information, and generate a tool holder geometric model based on the rotational element.

[0095] In an exemplary embodiment, the model test adjustment module 650 can also be used to calculate the actual working length of the tool based on the clamping length and the length of the extension rod geometric model; and to determine the clamping position of the tool geometric model in the extension rod geometric model and the tool holder geometric model based on the actual working length of the tool.

[0096] In an exemplary embodiment, the tool basic information determination module 620 can also be used to construct a function of the extension rod profile in the first quadrant of the extension rod coordinate system based on the geometric parameter information of the extension rod, and generate a geometric model of the extension rod based on the function.

[0097] In an exemplary embodiment, the geometric parameter information of the tool in the geometric information acquisition module 630 includes one or more of the following: tool diameter, tool clamping diameter, tool base corner radius, tool taper, tool cutting edge length, and tool length.

[0098] In an exemplary embodiment, the geometric parameter information of the extension rod in the geometric information acquisition module 630 includes the extension rod diameter and the extension rod length.

[0099] Those skilled in the art should understand that the division of the various modules in the embodiments is merely a logical functional division. In actual applications, they can be fully or partially integrated into one or more actual carriers. These modules can be implemented entirely in software through processing unit calls, entirely in hardware, or a combination of software and hardware. It should be noted that each module in the automatic construction device for a CNC machining tool system in this embodiment corresponds one-to-one with each step in the automatic construction method for a CNC machining tool system in the aforementioned embodiments. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned automatic construction method for a CNC machining tool system, which will not be repeated here.

[0100] Based on the above embodiments, Figure 7 This is a schematic diagram of an automatic construction device for a CNC machining tool system according to one embodiment of this application, as shown below. Figure 7As shown, the device may include a processor 710, a communication interface 720, a memory 730, and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 can call logical instructions in the memory 730 to execute an automatic construction method for a CNC machining tool system. The method includes: acquiring data in real time during the CNC machining process; determining tool data information based on the data, including tool drawing number, tool holder drawing number, and clamping length; retrieving and obtaining corresponding geometric parameter information from a preset tool system file based on the tool drawing number and tool holder drawing number; establishing a tool geometric model and a tool holder geometric model based on the geometric parameter information; adjusting the clamping position of the tool geometric model relative to the tool holder geometric model; assembling the tool geometric model and the tool holder geometric model to form a tool system assembly, such that the virtual clamping length of the tool system assembly is consistent with the actual clamping length.

[0101] Furthermore, the logical instructions in the aforementioned memory 730 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0102] Based on the above embodiments, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute an automatic construction method for a CNC machining tool system provided by the above methods. The method includes: acquiring data in real time during the CNC machining process; determining tool data information based on the data, the tool data information including tool drawing number, tool holder drawing number, and clamping length; retrieving and obtaining corresponding geometric parameter information from a preset tool system file based on the tool drawing number and tool holder drawing number; establishing a tool geometric model and a tool holder geometric model based on the geometric parameter information; adjusting the clamping position of the tool geometric model relative to the tool holder geometric model; assembling the tool geometric model and the tool holder geometric model to form a tool system assembly, so that the virtual clamping length of the tool system assembly is consistent with the clamping length.

[0103] Based on the above embodiments, in another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements an automatic construction method for a CNC machining tool system provided by the methods described above. The method includes: acquiring data during the CNC machining process in real time; determining tool data information based on the data, the tool data information including tool drawing number, tool holder drawing number, and clamping length; retrieving and obtaining corresponding geometric parameter information from a preset tool system file based on the tool drawing number and tool holder drawing number; establishing a tool geometric model and a tool holder geometric model based on the geometric parameter information; adjusting the clamping position of the tool geometric model relative to the tool holder geometric model; assembling the tool geometric model and the tool holder geometric model to form a tool system assembly, such that the virtual clamping length of the tool system assembly is consistent with the actual clamping length.

[0104] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. An automatic construction method for a CNC machining tool system, characterized in that, The method includes: Real-time acquisition of data collected during CNC machining; Based on the collected data, tool data information is determined, which includes tool drawing number, tool holder drawing number, and actual clamping length. Based on the tool drawing number and the tool holder drawing number, the corresponding geometric parameter information is retrieved from the preset tool system file; Based on the aforementioned geometric parameter information, establish the tool geometric model and the tool holder geometric model respectively; Adjust the clamping position of the tool geometry model relative to the tool holder geometry model, assemble the tool geometry model and the tool holder geometry model to form a tool system assembly, so that the virtual clamping length of the tool system assembly is consistent with the actual clamping length.

2. The method according to claim 1, characterized in that, The tool data information also includes the extension rod drawing number, and the method further includes: Based on the extension rod drawing number, the geometric parameter information of the extension rod is retrieved from the preset tool system file and obtained, and a geometric model of the extension rod is established based on the geometric parameter information of the extension rod. The step of adjusting the clamping position of the tool geometry model relative to the tool holder geometry model, and assembling the tool geometry model and the tool holder geometry model to form a tool system assembly includes: Adjust the clamping position of the tool geometry model relative to the extension rod geometry model and the tool holder geometry model, and assemble the tool geometry model, the tool holder geometry model and the extension rod geometry model to form a tool system assembly.

3. The method according to claim 1, characterized in that, The step of establishing the tool geometry model and the tool holder geometry model based on the geometric parameter information includes: Based on the geometric parameters of the tool, a piecewise function of the tool profile in the first quadrant of the tool tip coordinate system is constructed, and a tool geometric model is generated based on the piecewise function; Based on the geometric parameter information of the tool holder, the rotational element of the tool holder contour in the first quadrant of the tool holder coordinate system is determined, and the tool holder geometric model is generated based on the rotational element.

4. The method according to claim 2, characterized in that, The step of adjusting the clamping position of the tool geometry model relative to the extension rod geometry model and the tool holder geometry model, and assembling the tool geometry model, the tool holder geometry model, and the extension rod geometry model includes: The actual working length of the tool is calculated based on the actual clamping length and the length of the extension rod geometric model. The clamping position of the tool geometry model in the extension rod geometry model and the tool sleeve geometry model is determined based on the actual working length of the tool.

5. The method according to claim 2, characterized in that, The step of establishing a geometric model of the extension rod based on its geometric parameters includes: Based on the geometric parameters of the extension rod, a function is constructed to represent the profile of the extension rod in the first quadrant of the extension rod coordinate system, and a geometric model of the extension rod is generated based on the function.

6. The method according to claim 1, characterized in that, The geometric parameters of the cutting tool include one or more of the following: tool diameter, tool clamping diameter, tool base radius, tool taper, tool cutting edge length, and tool length.

7. The method according to claim 2, characterized in that, The geometric parameters of the extension rod include its diameter and length.

8. An automatic tool-building device for CNC machining systems, characterized in that, include: The data acquisition module is used to acquire data collected during the CNC machining process in real time. The tool basic information determination module is used to determine tool data information based on the collected data. The tool data information includes the tool drawing number, tool holder drawing number, and actual clamping length. The geometric information acquisition module is used to retrieve and obtain the corresponding geometric parameter information from a preset tool system file based on the tool drawing number and the tool holder drawing number; A geometric model construction module is used to build tool geometric models and tool holder geometric models based on the geometric parameter information, respectively. The model testing and adjustment module is used to adjust the clamping position of the tool geometry model relative to the tool holder geometry model, assemble the tool geometry model and the tool holder geometry model to form a tool system assembly, so that the virtual clamping length of the tool system assembly is consistent with the actual clamping length.

9. An automatic tool-building device for CNC machining systems, characterized in that, include: At least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The device contains a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Numerical control processing, modeling and implementing method of yellow mud drum national handcraft

    CN106354099A

  • Cutter clamping length determination method and device, equipment and storage medium

    CN113901654A