Workpiece machining method and device, machine tool equipment and storage medium

By using composite cutting tools on machine tools, including a combination of dovetail cutters and chamfering cutters, the problems of low workpiece processing efficiency and high cost are solved, enabling multi-type chamfering processing without tool changes, thus improving efficiency and reducing costs.

CN120861948AActive Publication Date: 2025-10-31YILI PRECISION MFG CO LTD

Patent Information

Application Number
CN202511407181.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2025-10-31
Estimated Expiration
2045-09-29

AI Technical Summary

Technical Problem

Existing technologies have low workpiece processing efficiency, require downtime and repositioning operations due to changing different tools, which increases processing time, and cost is high when machining complex products with multiple tools.

Method used

A composite tool is used, consisting of a tool holder and a tool head connected in sequence. The tool head includes a dovetail cutter and a chamfering cutter. The trajectory of the composite tool is generated by obtaining the center position of the workpiece and the machining contour. The composite tool is controlled to perform machining according to the combined trajectory, realizing tool-free machining of two types of chamfering.

Benefits of technology

It improves workpiece processing efficiency, reduces tool changes, lowers processing costs, and provides more clamping positions for machine tools to equip with a variety of tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120861948A_ABST
    Figure CN120861948A_ABST
Patent Text Reader

Abstract

The invention discloses a workpiece machining method and device, machine tool equipment and a storage medium, relates to the field of machine tool machining, and is applied to the machine tool equipment which is provided with a compound tool, and the compound tool comprises a tool handle and a tool bit which are sequentially connected. The method comprises the steps that the workpiece center position of a to-be-machined workpiece in machine tool equipment is obtained, and a first contour needing to be machined through the chamfering cutter and a second contour needing to be machined through the dovetail cutter in the to-be-machined workpiece are obtained; according to the center position of the workpiece and the first contour, a chamfering machining track of the compound tool is generated, and according to the center position of the workpiece and the second contour, a dovetail machining track of the compound tool is generated; and controlling a compound tool clamped on the machine tool equipment, and machining the workpiece to be machined according to a tool path formed by combining the chamfering machining path and the dovetail machining path. The problem that the workpiece machining efficiency is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of machine tool processing technology, and in particular to workpiece processing methods, apparatus, machine tool equipment and storage media. Background Technology

[0002] In the product processing industry, chamfering is a crucial post-processing step used to remove burrs and other imperfections from workpiece edges. In actual processing, two different cutting tools are typically used, such as a chamfering cutter and a dovetail cutter. Each tool change requires machine downtime, tool switching, and repositioning, increasing processing time and resulting in low workpiece processing efficiency.

[0003] The above content is only used to help understand the technical solutions of the embodiments of this application, and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this application is to provide a workpiece processing method, apparatus, machine tool equipment, and storage medium, aiming to solve the technical problem of low workpiece processing efficiency.

[0005] To achieve the above objectives, this application provides a workpiece machining method applied to a machine tool. The machine tool is equipped with a composite cutting tool, which includes a tool holder and a cutting head connected in sequence. The cutting head includes a dovetail cutter and a chamfering cutter connected in sequence. The chamfering cutter is located at the end away from the tool holder, and the dovetail cutter is located at the end closer to the tool holder. The method includes: Obtain the workpiece center position of the workpiece to be processed on the machine tool equipment, and obtain the first contour of the workpiece to be processed by the chamfering cutter and the second contour of the workpiece to be processed by the dovetail cutter; Based on the center position of the workpiece and the first contour, a chamfering machining trajectory of the composite tool is generated, and based on the center position of the workpiece and the second contour, a dovetail machining trajectory of the composite tool is generated. The composite tool held in the machine tool is controlled to process the workpiece according to a tool path that is a combination of the chamfering machining path and the dovetail machining path.

[0006] In one embodiment, the step of obtaining the workpiece center position of the workpiece to be processed on the machine tool equipment includes: When the workpiece to be processed is assembled on the machine tool, a scanning operation is performed on the workpiece to be processed to detect the vertical state of the workpiece on the machine tool. When the vertical state is vertical, the probe on the machine tool is used to perform a probe scanning operation on the workpiece to be processed to obtain the coordinate data of the workpiece to be processed in the machine tool coordinate system of the machine tool. The center position of the workpiece to be processed is determined using the coordinate data.

[0007] In one embodiment, the step of controlling the composite tool held in the machine tool to process the workpiece according to a tool path composed of a chamfering machining path and a dovetail machining path includes: Based on the chamfering machining trajectory and the dovetail machining trajectory, the machining cutting state of the workpiece to be processed is determined; When the machining cutting state is the expected cutting state, the tool path is generated based on the chamfering machining path and the dovetail machining path; The composite tool held in the machine tool is controlled to process the workpiece according to the tool path.

[0008] In one embodiment, the step of determining the machining cutting state of the workpiece to be machined based on the chamfering machining trajectory and the dovetail machining trajectory includes: Based on the relative positions between the dovetail cutter and the chamfering cutter in the composite tool, a first following trajectory of the dovetail cutter following the chamfering machining trajectory in the composite tool is determined, and a second following trajectory of the chamfering cutter following the dovetail machining trajectory in the composite tool is determined. The machining and cutting state of the workpiece to be processed is determined by the first following trajectory and the second following trajectory.

[0009] In one embodiment, the step of determining the machining cutting state of the workpiece to be processed through the first following trajectory and the second following trajectory includes: Obtain the three-dimensional coordinates of the workpiece to be processed; Based on the workpiece's three-dimensional coordinates and the first following trajectory, the first following trajectory's first following cutting state on the workpiece to be processed is detected, and based on the workpiece's three-dimensional coordinates and the second following trajectory, the second following cutting state of the second following trajectory on the workpiece to be processed is detected; If the first following cutting state is no cutting and the second following cutting state is no cutting, the machining cutting state is determined to be the expected cutting state. When the first following cutting state is cutting, and / or the second following cutting state is cutting, the machining cutting state is determined to be an unexpected cutting state.

[0010] In one embodiment, a transition connector is provided between the dovetail cutter and the chamfering cutter, and the workpiece machining method further includes the following steps: When the machining cutting state is an unexpected cutting state and the machine tool is equipped with multiple composite tools, a target composite tool for machining the workpiece is re-determined from among the multiple composite tools; wherein the thickness of the transition connecting parts of different composite tools among the multiple composite tools is different; The target tool trajectory for machining the workpiece by the target composite tool is obtained, the target composite tool is clamped, and the target composite tool is controlled to machine the workpiece according to the target tool trajectory.

[0011] In one embodiment, the step of re-determining the target composite tool for machining the workpiece from among the plurality of composite tools includes: A composite tool whose cutting state is an unexpected cutting state is used as an interference reference tool. An initial tool is determined among the plurality of composite tools, and the initial tool is not the interference reference tool. The connection thickness deviation is calculated based on the thickness of the transition connector in the interference reference tool and the thickness of the transition connector in the initial tool. The first and second following trajectories of the interference reference tool are adjusted according to the connection thickness deviation to obtain the first translation trajectory after the adjustment of the first following trajectory and the second translation trajectory after the adjustment of the second following trajectory. Based on the first translation trajectory and the adjusted second translation trajectory, the cutting state of the initial tool is detected; If the cutting state of the tool is an unexpected cutting state, then the initial tool is re-determined among the plurality of composite tools, and the step of calculating the connection thickness deviation based on the thickness of the transition connector in the interference reference tool and the thickness of the transition connector in the initial tool is returned, until the cutting state of the initial tool is the expected cutting state. The initial tool whose cutting state is the expected cutting state is taken as the target composite tool.

[0012] Furthermore, to achieve the above objectives, this application provides a workpiece processing apparatus applied to a machine tool. The machine tool is equipped with at least one composite tool, which includes a tool holder and a cutting head connected to the tool holder. The cutting head includes a dovetail cutter and a chamfering cutter connected in sequence. The chamfering cutter is disposed at the end away from the tool holder, and the dovetail cutter is disposed at the end closer to the tool holder. The workpiece processing apparatus includes: The acquisition module is used to acquire the workpiece center position of the workpiece to be processed on the machine tool equipment, and to acquire the first contour of the workpiece to be processed by the chamfering cutter and the second contour of the workpiece to be processed by the dovetail cutter. The generation module is used to generate a chamfering machining trajectory of the composite tool based on the center position of the workpiece and the first contour, and to generate a dovetail machining trajectory of the composite tool based on the center position of the workpiece and the second contour. The machining module is used to control the composite tool held in the machine tool to machine the workpiece according to a tool path that is a combination of the chamfering machining path and the dovetail machining path.

[0013] Furthermore, to achieve the above objectives, embodiments of this application also provide a machine tool device, the machine tool device 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 steps of the workpiece machining method described above.

[0014] In addition, to achieve the above objectives, embodiments of this application also provide a storage medium, which is a computer-readable storage medium, on which a program for implementing a workpiece processing method is stored, and the program for implementing the workpiece processing method is executed by a processor to implement the steps of the workpiece processing method as described above.

[0015] In addition, to achieve the above objectives, this application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the workpiece processing method described above.

[0016] One or more technical solutions proposed in this application have at least the following technical effects: The workpiece machining method of this application can be applied to machine tool equipment, which is equipped with a composite tool. The composite tool includes a tool holder and a tool head connected to the tool holder. The tool head includes a dovetail cutter and a chamfering cutter connected in sequence. The chamfering cutter is located at the end away from the tool holder, and the dovetail cutter is located at the end closer to the tool holder. Since the composite tool in this application includes a dovetail cutter and a chamfering cutter, it is convenient to achieve two different types of chamfering with a single composite tool, thereby improving machining efficiency.

[0017] Specifically, the center position of the workpiece to be processed on the machine tool is obtained, and the first contour to be processed by the chamfering tool and the second contour to be processed by the dovetail tool are also obtained. This facilitates the generation of the chamfering machining trajectory of the composite tool based on the workpiece center position. Based on the workpiece center position and the second contour, the dovetail machining trajectory of the composite tool is generated so as to control the composite tool clamped on the machine tool to process the workpiece according to the tool trajectory composed of the chamfering machining trajectory and the dovetail machining trajectory. This enables the same workpiece to be chamfered with different types of chamfering using a single composite tool. During the processing of the workpiece, there is no need to change tools. The composite tool can be directly controlled to process according to the tool trajectory, thereby improving the processing efficiency of the workpiece. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with those described herein and, together with the specification, serve to explain the principles of those embodiments.

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic flowchart of one embodiment of the workpiece processing method of this application; Figure 2 This is a schematic diagram of the composite tool structure in the workpiece machining method of this application embodiment; Figure 3 for Figure 2 A magnified view of a portion of point A in the middle section; Figure 4 This is a schematic diagram of the chamfering tool in the composite cutting tool used in the workpiece machining method of this application. Figure 5 This is a schematic diagram of the dovetail cutter in the composite tool used in the workpiece machining method of this application. Figure 6 This is a schematic diagram of the modular structure of the workpiece processing device according to an embodiment of this application; Figure 7 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the workpiece processing method in the embodiments of this application.

[0021] The objectives, features, and advantages of the embodiments described in this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

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

[0023] To better understand the technical solutions of the embodiments of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0024] In the product processing field, chamfering is a crucial post-processing step used to remove burrs and other imperfections from workpiece edges. In actual processing, two different tools are typically used, such as a chamfering tool and a dovetail cutter. Each tool change requires machine downtime, tool switching, and repositioning, increasing processing time and leading to low workpiece processing efficiency. Furthermore, machining complex product structures often involves multiple tools, frequently resulting in insufficient machine tool positions and necessitating splitting the tool magazine. For example, it may be impossible to load all tools into the tool magazine at once, requiring the machining process to be divided into multiple stages, with tools loaded according to each stage, further increasing processing costs. Therefore, currently, workpiece processing suffers from both low efficiency and high costs.

[0025] Therefore, this application provides a workpiece machining method applied to a machine tool. The machine tool is equipped with a composite tool, which includes a tool holder and a tool head connected to the tool holder. The tool head includes a dovetail cutter and a chamfering cutter connected in sequence. The chamfering cutter is located at the end away from the tool holder, and the dovetail cutter is located at the end closer to the tool holder. Since the composite tool in this application includes a dovetail cutter and a chamfering cutter, it is convenient to achieve two different types of chamfering with a single composite tool, thereby improving machining efficiency.

[0026] Specifically, the process involves obtaining the center position of the workpiece on the machine tool and identifying the first contour requiring chamfering and the second contour requiring dovetail cutting. This facilitates the generation of a chamfering trajectory for the composite tool based on the workpiece center position. Furthermore, based on the workpiece center position and the second contour, a dovetail cutting trajectory for the composite tool is generated. This allows control of the composite tool, clamped on the machine tool, to process the workpiece according to the tool trajectory formed by the combination of the chamfering and dovetail cutting trajectories. This enables the use of a single composite tool to perform different types of chamfering on the same workpiece without the need for tool changes. The composite tool can be directly controlled to follow the tool trajectory, thus improving processing efficiency. Moreover, since a composite tool can perform two different types of chamfering without the need for multiple tools, tool costs are reduced, and more clamping positions can be reserved on the machine tool to accommodate multiple different types of tools.

[0027] Based on this, the embodiments of this application provide a workpiece processing method, referring to... Figures 1 to 3 , Figure 1 This is a flowchart illustrating the first embodiment of the workpiece processing method of this application. Figure 2 This is a schematic diagram of the composite cutting tool. Figure 3 for Figure 2 The enlarged view of part A shows a workpiece machining method applied to a machine tool equipped with a composite tool. The composite tool includes a tool holder and a tool head connected in sequence. The tool head includes a dovetail cutter and a chamfering cutter connected in sequence. The chamfering cutter is located at the end furthest from the tool holder, and the dovetail cutter is located at the end closest to the tool holder. The method includes steps S10 to S30. Step S10: Obtain the workpiece center position of the workpiece to be processed on the machine tool equipment, and obtain the first contour of the workpiece to be processed by the chamfering cutter and the second contour of the workpiece to be processed by the dovetail cutter. It should be noted that the machine tool is equipped with at least one composite tool, which combines the functions of a chamfering cutter and a dovetail cutter. That is, the composite tool can perform both chamfering and dovetail cutting operations. Both dovetail cutters and chamfering cutters are used for chamfering. A dovetail cutter is a cutter shaped like a dovetail, while a chamfering cutter is a traditional chamfering cutter. For example, the shape of a chamfering cutter can be a cone or a frustum. The larger base area of ​​the chamfering cutter is closer to the larger base area of ​​the dovetail cutter. For example, refer to... Figure 3 As can be seen, YW refers to a dovetail cutter, DJ refers to a chamfering cutter, and the cutting head in a composite tool can be symmetrical up and down or left and right.

[0028] Machine tool equipment can hold compound tools by clamping tool holders. For example, when machining is required using a compound tool, the compound tool can be clamped in the machine tool equipment. When machining is not required using a compound tool, the compound tool can be installed in the tool holder of the machine tool equipment. The tool holder is used to store the tool, and the machine tool equipment can have multiple tool holders.

[0029] In composite cutting tools, a tapered angle and a neck are sequentially connected between the tool holder and the tool head, for example, referring to... Figure 2 and Figure 3 As can be seen, D1 refers to the tool holder, DT refers to the tool head, D2 refers to the tool tip, D3 refers to the tool neck, the conical angle is used for transition connection, and the tool neck is used to avoid unnecessary collisions with the workpiece during machining, thus preventing workpiece scrap. A transition connector D4 is also provided between the dovetail cutter and the chamfering cutter. The transition connector is used to connect the dovetail cutter and the chamfering cutter. The shape of the transition connector can be cylindrical. The top of the transition connector connects to the dovetail cutter, and the bottom of the transition connector connects to the chamfering cutter. The transition connector between the dovetail cutter and the chamfering cutter helps to strengthen the tool, thereby improving the reliability of compound tool machining. R1 refers to the chamfering edge of the chamfering cutter, and R2 refers to the dovetail edge of the dovetail cutter.

[0030] The workpiece to be processed is the workpiece that needs to be processed. The center position of the workpiece is its geometric center. When the workpiece needs to be processed, it can be mounted on the machining table of the machine tool, and then the center position of the workpiece after it is placed on the machine tool is detected. The first contour is the contour of the workpiece to be processed that needs to be chamfered, and the second contour is the contour to be processed using a dovetail cutter. The first and second contours can be specified by the machine tool operator or preset; this embodiment does not specifically limit this. For example, after the workpiece to be processed is mounted on the machine tool, it can be scanned to obtain a three-dimensional image of the workpiece. The first and second contours can be specified in the three-dimensional image for subsequent processing. The first contour can also carry a first processing parameter, and the second contour can also carry a second processing parameter. The first processing parameter can be the cutting depth of the first contour, and the second processing parameter can be the cutting depth of the second contour. The first contour, the second contour, the first processing parameter, and the second processing parameter can be set based on actual conditions; this embodiment does not specifically limit this.

[0031] For example, after the workpiece to be processed is assembled on the machine tool, the center position of the workpiece to be processed is detected, and the first contour of the workpiece to be processed by the chamfering tool and the second contour of the workpiece to be processed by the dovetail tool are obtained.

[0032] In a feasible embodiment, step S10 further includes steps S11 to S13: Step S11: With the workpiece to be processed assembled on the machine tool, perform a scanning operation on the workpiece to be processed to detect the vertical state of the workpiece on the machine tool. It should be noted that the workpiece to be processed can be mounted on the machining table of the machine tool to fix it in place for subsequent processing. The dial indicator scanning operation refers to using a measuring device such as a dial indicator to scan and measure the surface of the workpiece to detect its verticality relative to the machining table. If the workpiece is not perpendicular to the table, it may cause errors such as offset during processing, leading to inaccurate processing and potentially even scrapping the workpiece. Therefore, in this embodiment, after the workpiece is mounted on the machine tool, a dial indicator scanning operation is required to detect its verticality.

[0033] For example, a dial indicator can be used to perform continuous contact scanning along the circumference of the workpiece to be processed, recording the dial indicator needle offset. When there is no offset, or the offset is within a preset allowable offset threshold, the vertical state of the workpiece is determined to be vertical. When the offset exceeds the preset allowable offset threshold, the vertical state is determined to be offset. The preset allowable offset range can be set based on actual conditions; this embodiment does not impose specific limitations on it. The preset allowable offset range should not be set too wide to avoid subsequent processing errors. When the vertical state of the workpiece is offset, the position of the workpiece needs to be adjusted, and the dial indicator scanning operation continues until the vertical state is vertical.

[0034] Step S12: When the vertical state is vertical, the probe on the machine tool is used to perform a probe scanning operation on the workpiece to be processed to obtain the coordinate data of the workpiece in the machine tool coordinate system of the machine tool. Step S13: Determine the center position of the workpiece to be processed using coordinate data.

[0035] It should be noted that the machine tool is equipped with a probe. The probe scanning operation includes four-sided centering, which refers to controlling the probe to sequentially contact the positive and negative sides of the workpiece along the X-axis and Y-axis of the machine coordinate system on the reference horizontal plane to center the workpiece on four sides. The probe scanning operation also includes scanning the top surface of the workpiece to obtain its coordinate data. The reference horizontal plane is parallel to the plane containing the X and Y axes.

[0036] The coordinate data includes top surface coordinate data and side surface coordinate data. The side surface coordinate data includes the first side surface coordinate data of the positive and negative sides of the workpiece in the X-axis direction and the second side surface coordinate data of the positive and negative sides in the Y-axis direction, at the height of the reference horizontal plane. The machine tool coordinate system is the inherent coordinate system preset at the factory.

[0037] For example, in a vertical position, a probe on the machine tool is used to center the workpiece on four sides of a reference horizontal plane. This yields the side coordinates of the workpiece along the X-axis and Y-axis at its height on the reference horizontal plane. The probe then performs a top-surface scan to obtain the top-surface coordinates. Based on the first side coordinates, the center coordinates of the workpiece on the X-axis are calculated. Based on the second side coordinates, the center coordinates on the Y-axis are calculated. Based on the top-surface coordinates, the center coordinates on the Z-axis are calculated. These three center coordinates are then used as the workpiece's center position. Alternatively, when determining the center coordinates on the Z-axis, the workpiece's height can also be obtained. Using the height and the top-surface coordinates, the center coordinates on the Z-axis can be calculated.

[0038] This embodiment determines the center position of the workpiece and then uses the center position of the workpiece as the origin of the workpiece coordinate system, so as to facilitate subsequent processing of the workpiece based on the workpiece coordinate system and improve the accuracy of processing.

[0039] Step S20: Based on the workpiece center position and the first contour, generate the chamfering machining trajectory of the composite tool, and based on the workpiece center position and the second contour, generate the dovetail machining trajectory of the composite tool. It should be noted that the chamfering machining trajectory is the trajectory of the chamfering cutter in the composite tool for machining the first contour, and the dovetail machining trajectory is the trajectory of the dovetail cutter in the composite tool for machining the second contour.

[0040] The center position of the workpiece can be used as the origin of the workpiece coordinate system, which makes it easier to ensure that the coordinate system on which the chamfering machining trajectory is based is also the workpiece coordinate system, and the coordinate system on which the dovetail machining trajectory is based is also the workpiece coordinate system.

[0041] The chamfering machining trajectory includes the rotational speed, feed rate, depth of cut, and machining path of the composite tool when machining the first contour. The dovetail machining trajectory includes the rotational speed, feed rate, depth of cut, and machining path of the composite tool when machining the second contour. The feed rate is the relative movement speed between the composite tool and the workpiece, and the rotational speed is the rotational speed of the composite tool itself. For example, when machining the first contour, the rotational speed of the composite tool can be between 10,000 and 15,000 rpm, the feed rate can be between 1,000 and 2,000 mmpm, and the depth of cut can be between 0.05 and 0.2 mm, which can be determined based on the actual situation. When machining the second contour, the rotational speed of the composite tool can be between 10,000 and 15,000 rpm, the feed rate can be between 1,000 and 2,000 mmpm, and the depth of cut can be between 0.05 and 0.2 mm, which can be determined based on the actual situation. This embodiment does not impose specific limitations on these parameters.

[0042] When a composite tool runs along a chamfering machining trajectory, since both the chamfering tool and the dovetail tool are mounted on the composite tool, their rotational speed and feed rate are consistent. The machining path can sequentially include the infeed path, cutting path, and retraction path. The infeed path represents the path from the initial position of the composite tool to the position where it needs to be machined on the workpiece. The cutting path is the path along the contour, and the retraction path is the path the composite tool exits after the contour cutting is complete. Both the dovetail machining trajectory and the chamfering machining trajectory include a retraction path. For example, the cutting path in the dovetail machining trajectory is the path of the dovetail tool along the second contour, while the cutting path in the chamfering machining trajectory is the path of the chamfering tool along the first contour.

[0043] For example, the center position of the workpiece can be taken as the origin of the workpiece coordinate system. Based on the coordinates of the first contour in the workpiece coordinate system and the cutting depth carried by the first contour, the chamfering machining trajectory of the chamfering tool in the composite tool in the workpiece coordinate system can be generated. Specifically, based on the coordinates of the first contour and the cutting depth of the first contour, the chamfering machining trajectory of the first cutting edge point of the chamfering tool in the composite tool in the workpiece coordinate system can be generated. The first cutting edge point can be any point among the chamfering cutting edges of the chamfering tool. This embodiment does not make specific limitations on this.

[0044] The cutting depth of the first contour can be used as the cutting depth in the chamfering machining trajectory. Based on the coordinates of the second contour in the workpiece coordinate system and the cutting depth carried by the second contour, the dovetail machining trajectory of the dovetail cutter in the composite tool in the workpiece coordinate system is generated. Specifically, based on the coordinates of the second contour and the cutting depth of the second contour, the dovetail machining trajectory of the second cutting edge point of the dovetail cutter in the composite tool in the workpiece coordinate system is generated. The second cutting edge point can be any point among the dovetail cutting edges of the dovetail cutter; this embodiment does not impose specific limitations on this.

[0045] The first profile coordinates are the set of coordinates of multiple points on the first profile in the workpiece coordinate system, and the second profile coordinates are the set of coordinates of multiple points on the second profile in the workpiece coordinate system.

[0046] Step S30: Control the composite tool clamped in the machine tool equipment to process the workpiece according to the tool path which is a combination of chamfering machining path and dovetail machining path.

[0047] It should be noted that the composite tool can be clamped on the machine tool. When the composite tool is clamped on the machine tool, it is also perpendicular to the machining table of the machine tool. If it is detected that the composite tool is not perpendicular, it needs to be adjusted until the composite tool is perpendicular to the machining table.

[0048] The toolpath is a composite of the chamfering trajectory and the dovetail machining trajectory. The machining sequence for the workpiece can be either first machining according to the chamfering trajectory and then according to the dovetail machining trajectory, or vice versa. This embodiment does not impose a specific limitation on this. There can also be a transition trajectory between the chamfering trajectory and the dovetail machining trajectory. This transition trajectory allows the composite tool to transition between the two trajectories. For example, the transition trajectory can be the trajectory between the end point of the retraction path in the chamfering trajectory and the start point of the infeed path in the dovetail machining trajectory, or it can be the trajectory between the start point of the infeed path in the chamfering trajectory and the end point of the retraction path in the dovetail machining trajectory. This embodiment does not impose a specific limitation on this.

[0049] For example, a composite tool clamped in a machine tool is controlled to process the workpiece according to the tool path. The composite tool can be clamped after the workpiece is assembled in the machine tool, or it can be clamped before the workpiece is assembled; this embodiment does not specifically limit this.

[0050] To better understand this embodiment, please refer to Figure 4 and Figure 5 This section provides a brief explanation of the process of machining a workpiece using a composite cutting tool. Figure 4This is a schematic diagram of a chamfering tool in a composite cutting tool system machining the workpiece. Figure 5 This is a schematic diagram illustrating the machining of the workpiece by the dovetail cutter in a composite tooling system. To facilitate observation of the individual machining processes of the dovetail cutter and chamfering cutter, they are not shown in the same image in this embodiment. The diagram illustrates the individual machining processes of the dovetail cutter and chamfering cutter on the workpiece. Figure 4 FD in this context refers to a composite tool. Figure 4 The complete composite tool is not shown in the figure. L1 is the first contour of the workpiece to be processed, and G1 is the chamfering machining trajectory. Figure 5 FD in this context refers to a composite tool. Figure 5 The complete composite tool is not shown in the figure. L2 is the second contour of the workpiece to be machined, and G2 is the dovetail machining trajectory.

[0051] The workpiece machining method of this embodiment can be applied to machine tool equipment equipped with a composite tool. The composite tool includes a tool holder and a tool head connected to the tool holder. The tool head includes a dovetail cutter and a chamfering cutter connected in sequence. The chamfering cutter is located at the end away from the tool holder, and the dovetail cutter is located at the end closer to the tool holder. Since the composite tool in this embodiment includes a dovetail cutter and a chamfering cutter, it is convenient to achieve two different types of chamfering with a single composite tool, thereby improving machining efficiency.

[0052] Specifically, the center position of the workpiece to be processed on the machine tool is obtained, and the first contour to be processed by the chamfering tool and the second contour to be processed by the dovetail tool are also obtained. This facilitates the generation of the chamfering machining trajectory of the composite tool based on the workpiece center position. Based on the workpiece center position and the second contour, the dovetail machining trajectory of the composite tool is generated so as to control the composite tool clamped on the machine tool to process the workpiece according to the tool trajectory composed of the chamfering machining trajectory and the dovetail machining trajectory. This enables the same workpiece to be chamfered with different types of chamfering using a single composite tool. During the processing of the workpiece, there is no need to change tools. The composite tool can be directly controlled to process according to the tool trajectory, thereby improving the processing efficiency of the workpiece.

[0053] In a feasible embodiment, step S30 further includes steps S31 to S33: Step S31: Determine the machining cutting state of the workpiece to be processed based on the chamfering machining trajectory and the dovetail machining trajectory; Step S32: When the machining cutting state is the expected cutting state, the tool path is generated based on the chamfering machining path and the dovetail machining path; Step S33: Control the composite tool held in the machine tool to process the workpiece according to the tool trajectory.

[0054] It should be noted that the machining cutting state can reflect whether the workpiece has been mistakenly machined. The machining cutting state can be detected based on the chamfering and dovetail machining paths. For example, the machining cutting state can be either the expected or unexpected cutting state. An expected cutting state indicates that the composite tool's machining of the workpiece meets expectations, meaning there is no mistaken machining. An unexpected cutting state indicates that the composite tool's machining of the workpiece does not meet expectations, suggesting that the composite tool mistakenly machined areas other than the first contour of the workpiece, or mistakenly machined areas other than the second contour of the workpiece while machining the first contour.

[0055] For example, the machining cutting state of the workpiece is detected based on the chamfering machining trajectory and the dovetail machining trajectory. This detection of the machining cutting state is performed before the composite tool begins machining the workpiece. If the machining cutting state is the expected cutting state, a tool path is generated based on the chamfering machining trajectory and the dovetail machining trajectory. The composite tool, clamped in the machine tool, is then controlled to machine the workpiece according to the tool path. The machine tool can hold the tool holder of the composite tool to clamp it.

[0056] This embodiment detects the cutting state before machining the workpiece using a composite tool, thereby ensuring the accuracy of machining the workpiece and improving the reliability of machining using a composite tool.

[0057] In a feasible embodiment, step S31 includes steps S311 to S312: Step S311: Based on the relative position between the dovetail cutter and the chamfering cutter in the composite tool, determine the first following trajectory of the dovetail cutter following the chamfering machining trajectory in the composite tool, and determine the second following trajectory of the chamfering cutter following the dovetail machining trajectory in the composite tool. It should be noted that since both the dovetail cutter and the chamfering cutter are fixed on the composite tool, when one cutter is running, the other will also follow. Therefore, when the composite tool is running along the chamfering machining trajectory, the chamfering cutter can machine the first contour through the chamfering machining trajectory, while the dovetail cutter is also running along it at the same time. Therefore, it is necessary to determine the first following trajectory to detect whether there is any erroneous machining. When running along the dovetail machining trajectory, the dovetail cutter can also machine the second contour through the dovetail machining trajectory, while the dovetail cutter is also running along it at the same time. Therefore, it is necessary to determine the second following trajectory to detect whether there is any erroneous machining.

[0058] The first following trajectory is the trajectory of the dovetail cutting edge of the dovetail cutter following the chamfering machining trajectory; the second following trajectory is the trajectory of the chamfering cutting edge of the chamfering cutter following the dovetail machining trajectory. The first following trajectory includes the trajectory coordinates of the dovetail cutting edge as it follows the chamfering machining trajectory. For example, a first reference line can be determined on the surface of the dovetail cutting edge, and the first following trajectory can be the trajectory coordinates of the first reference line as it follows the chamfering machining trajectory. The first reference line is a line from a point on the bottom contour along the dovetail cutting edge to the top contour. The first reference line can be the shortest line between the bottom and top contours on the dovetail cutting edge.

[0059] The second following trajectory includes the trajectory coordinates of the chamfering edge as it follows the dovetail machining trajectory. For example, a second reference line can be determined on the surface of the chamfering edge, and the second following trajectory can be the trajectory coordinates of the second reference line as it follows the chamfering machining trajectory. The second reference line is a line from a point on the bottom contour along the chamfering edge to the top contour, and the first reference line can be the shortest line between the bottom and top contours on the chamfering edge.

[0060] The relative positions include a first relative position and a second relative position. The first relative position includes a first sub-relative position between the first cutting point of the chamfering tool and multiple first reference points on the first reference line. The first sub-relative position may include the relative coordinates between the first reference point and the first cutting point. The relative coordinates may be the difference between the coordinates of the first reference point and the coordinates of the first cutting point when the composite tool is stationary. The first relative position also includes a second sub-relative position between the second cutting point of the dovetail cutter and multiple second reference points on the second reference line. The second sub-relative position may include the relative coordinates between the second reference point and the second cutting point. The relative coordinates may be the difference between the coordinates of the second reference point and the coordinates of the second cutting point when the composite tool is stationary. Among the multiple first reference points on the first reference line are points of the top and bottom contours of the dovetail cutter. Other first reference points can be set based on actual conditions. Similarly, among the multiple first reference points on the second reference line are points of the top and bottom contours of the chamfering tool. Other first reference points can be set based on actual conditions. This embodiment does not impose specific limitations on this.

[0061] For example, a first following trajectory can be determined based on a first relative position and a chamfering machining trajectory. Specifically, for each first target reference point in the first baseline (where a first target reference point is any point on the first baseline), a first target sub-relative position of the first target reference point is obtained from the first relative position. Based on the relative coordinate relationship between the first tool point and the first target reference point in the first target sub-relative position, the first sub-trajectory of the chamfering machining trajectory when moving from the first tool point to the first target reference point is calculated. When multiple first sub-trajectories of first reference points are obtained, they can be sorted according to the arrangement order of the multiple first reference points on the first baseline. For a dovetail point between two adjacent first reference points, the first sub-trajectory of the dovetail point is calculated by linear interpolation based on the first sub-trajectories corresponding to each of the two adjacent first reference points. The dovetail point is a point on the first baseline, resulting in the first following trajectory of the first baseline obtained by fusing multiple first sub-trajectories. The first following trajectory is continuous, and it can also be continuous on the first baseline.

[0062] For example, a second following trajectory is determined based on the second relative position and the dovetail machining trajectory; specifically, the second following trajectory can be determined based on the second relative position and the chamfering machining trajectory. Specifically, for each second target reference point in the second baseline (where the second target reference point is any point on the second baseline), the second target sub-relative position of the second target reference point is obtained from the second relative position. Based on the relative coordinate relationship between the second tooling point and the second target reference point in the second target sub-relative position, the second sub-trajectory of the chamfering machining trajectory when moving from the second tooling point to the second target reference point is calculated. When multiple second sub-trajectories of the second reference points are obtained, they can be sorted according to the arrangement order of the multiple second reference points on the second baseline. For chamfering points between two adjacent second reference points, the second sub-trajectory of the chamfering point is calculated by linear interpolation based on the second sub-trajectories corresponding to each of the two adjacent second reference points. The chamfering point is a point on the second baseline, resulting in the second following trajectory of the second baseline obtained by fusing multiple second sub-trajectories. The second following trajectory is continuous, and it can also be continuous on the second baseline.

[0063] Step S312: Determine the machining cutting state of the workpiece to be processed through the first following trajectory and the second following trajectory.

[0064] It should be noted that, since the first and second following trajectories can be obtained, the first following trajectory can be used to detect whether the dovetail cutter in the composite tool has been mistakenly machined on the workpiece to be machined, and the second following trajectory can be used to detect whether the chamfering cutter in the composite tool has been mistakenly machined on the workpiece to be machined, so as to determine the machining cutting state of the workpiece to be machined.

[0065] This embodiment determines the machining cutting state by acquiring the first and second following trajectories, which facilitates the determination of whether there is any erroneous machining by the composite tool, thereby improving the reliability of composite tool machining.

[0066] In a feasible embodiment, step S313 further includes steps A10 to A40: Step A10: Obtain the three-dimensional coordinates of the workpiece to be processed; Step A20: Based on the workpiece's three-dimensional coordinates and the first following trajectory, detect the first following cutting state of the first following trajectory on the workpiece to be processed, and based on the workpiece's three-dimensional coordinates and the second following trajectory, detect the second following cutting state of the second following trajectory on the workpiece to be processed. It should be noted that the workpiece's three-dimensional coordinates are the coordinates of the workpiece in the workpiece coordinate system, reflecting the spatial region where the workpiece is located. The workpiece's three-dimensional coordinates can be a set of coordinates of points on the surface of the workpiece. The first following cutting state reflects the cutting situation of the workpiece by the first following trajectory. The second following trajectory reflects the cutting situation of the workpiece by the second following trajectory.

[0067] For example, the first following trajectory can be used to detect whether it passes through the workpiece. If it does, the cutting state is considered cutting; otherwise, it is considered not cutting. For instance, if the workpiece's three-dimensional coordinates intersect with the first following trajectory, the trajectory is tangent to the workpiece's surface, meaning it passes through the workpiece. If the trajectory intersects with the workpiece's coordinates within its three-dimensional coordinate system, the trajectory enters the workpiece's interior, also passing through it. The workpiece's three-dimensional coordinates refer to the coordinates within the closed space formed by these coordinates. Since the workpiece's three-dimensional coordinates are a set of coordinates on the workpiece's surface, they form a closed space in the workpiece's coordinate system.

[0068] For example, the second following trajectory can be used to detect whether it passes through the workpiece. If it does, the cutting state is considered cutting; otherwise, it is considered not cutting. For instance, if the workpiece's three-dimensional coordinates intersect with the second following trajectory, the trajectory is tangent to the workpiece's surface, indicating it will pass through the workpiece. If the trajectory intersects with the workpiece's three-dimensional coordinates, the trajectory enters the workpiece's interior, also indicating it will pass through the workpiece.

[0069] Step A30: When the first following cutting state is not cutting and the second following cutting state is not cutting, determine that the machining cutting state is the expected cutting state; Step A40: When the first following cutting state is cutting and / or the second following cutting state is cutting, determine that the machining cutting state is an unexpected cutting state.

[0070] In this embodiment, when the first following cutting state is not cutting and the second following cutting state is not cutting, it means that the first following trajectory will not cut the workpiece to be processed, so it can be determined that the processing cutting state is the expected cutting state. When the first following cutting state is cutting, it indicates that the first following trajectory involves a cutting operation on the workpiece to be machined. When the second following cutting state is cutting, it indicates that the second following trajectory involves a cutting operation on the workpiece to be machined. Therefore, when the first following trajectory involves a cutting operation on the workpiece to be machined and / or the second following trajectory involves a cutting operation on the workpiece to be machined, it indicates that the compound tool may be making incorrect machining. Thus, the machining cutting state can be determined as an unexpected cutting state.

[0071] This embodiment determines the cutting state of the first following trajectory and the cutting state of the second following trajectory, thereby facilitating the determination of whether there is any erroneous machining of the composite tool, and thus facilitating the improvement of the machining reliability of the composite tool in the future.

[0072] In a feasible embodiment, the workpiece processing method may further include steps B10 to B20: Step B10: When the machining cutting state is an unexpected cutting state and the machine tool is equipped with multiple composite tools, a target composite tool for machining the workpiece is re-determined from among the multiple composite tools; wherein the thickness of the transition connecting parts of different composite tools among the multiple composite tools is different. Step B20: Obtain the target tool trajectory for the target composite tool to process the workpiece, clamp the target composite tool, and control the target composite tool to process the workpiece according to the target tool trajectory.

[0073] It should be noted that if the cutting state is an unexpected cutting state, it means that the currently held compound tool on the machine tool cannot be used for machining, otherwise the workpiece may be damaged. Therefore, when the machine tool is equipped with multiple compound tools, a new target compound tool for machining the workpiece should be determined from among these multiple compound tools; wherein the thickness of the transition connecting parts of different compound tools is different. If the machine tool does not have multiple compound tools, two independent dovetail cutters and chamfering cutters can be used for machining to ensure the normal progress of the machining process.

[0074] For example, when the machining cutting state is an unexpected cutting state and the machine tool is equipped with multiple composite tools, if a target composite tool for machining the workpiece can be re-determined from among the multiple composite tools, the target tool trajectory for machining the workpiece is obtained, the target composite tool is clamped, and the target composite tool is controlled to machine the workpiece according to the target tool trajectory. If a target composite tool for machining the workpiece cannot be re-determined from among the multiple composite tools, two independent dovetail cutters and chamfering cutters are used for machining to ensure the normal progress of the machining process. The method for generating the target tool trajectory of the target composite tool is the same as the method for generating the tool trajectory of the composite tool, and will not be described again in this embodiment.

[0075] In this embodiment, when the machining cutting state is an unexpected cutting state and the machine tool is equipped with multiple composite tools, a new target composite tool is determined, which makes it possible to still use a single tool to achieve different chamfering types and also improves machining efficiency.

[0076] In a feasible embodiment, step B10 further includes steps B11 to B16: Step B11: Using the composite tool whose cutting state is an unexpected cutting state as the interference reference tool, determine the initial tool among the plurality of composite tools, wherein the initial tool is not the interference reference tool; Step B12: Calculate the connection thickness deviation based on the thickness of the transition connector in the interference reference tool and the thickness of the transition connector in the initial tool. It should be noted that the interference reference tool is a composite tool used when the machining cutting state is an unexpected cutting state. When a machine tool is equipped with multiple composite tools, the thickness of the transition connection between the multiple composite tools is different, and the reference tool... Figure 3 It can be seen that, Figure 3 In this context, D4 refers to the transition connector, and the height of D4 can be the thickness of the transition connector. When the thickness of the transition connector is different, the relative positions between the dovetail cutter and the chamfering cutter are different. When the relative positions are different, the first following trajectory under the same chamfering machining path will be different, and the second following trajectory under the same dovetail machining path will be different. Therefore, when the thickness of the transition connector is different, the interference reference tool may mis-machine the workpiece, but the target composite tool will not mis-machine the workpiece. The thickness deviation is the difference between the thickness of the transition connector in the interference reference tool and the thickness of the transition connector in the initial tool. The thickness deviation can be a positive or negative value, and this embodiment does not specifically limit it. The initial tool can be any tool other than the interference reference tool among multiple composite tools.

[0077] Step B13: Adjust the first following trajectory and the second following trajectory of the interference reference tool according to the connection thickness deviation to obtain the first translation trajectory after the first following trajectory is adjusted and the second translation trajectory after the second following trajectory is adjusted. Step B14: Detect the cutting state of the initial tool based on the first translation trajectory and the adjusted second translation trajectory; It should be noted that, since the thickness deviation can be obtained, the first and second following trajectories can be adjusted based on the thickness deviation. For example, the first following trajectory can be translated vertically according to the thickness deviation to obtain the first translation trajectory, and the second following trajectory can be translated vertically to obtain the second translation trajectory.

[0078] The detection method for the cutting state of the initial tool is the same as that for the cutting state of the composite tool, and this embodiment does not impose any specific limitations on this.

[0079] Step B15: If the cutting state of the tool is an unexpected cutting state, then the initial tool is re-determined among the plurality of composite tools, and the step of calculating the connection thickness deviation based on the thickness of the transition connector in the interference reference tool and the thickness of the transition connector in the initial tool is returned, until the cutting state of the initial tool is the expected cutting state. Step B16: The initial tool whose cutting state is the expected cutting state is taken as the target composite tool.

[0080] In this embodiment, if the cutting state of the tool is the expected cutting state, then the initial tool with the expected cutting state is taken as the target composite tool. If the cutting state of the tool is not the expected cutting state, then the initial tool is re-determined among the plurality of composite tools, and the step of calculating the connection thickness deviation based on the thickness of the transition connector in the interference reference tool and the thickness of the transition connector in the initial tool is returned, until the cutting state of the initial tool is the expected cutting state.

[0081] In other embodiments, if the cutting state of all composite tools in the machine tool equipment is an unexpected cutting state, then the composite tools are abandoned from being used to process the workpiece, and two independent dovetail cutters and chamfering cutters are used to process it separately to ensure the normal progress of the processing flow.

[0082] This embodiment improves machining efficiency by replacing composite cutting tools with different thicknesses of transition connectors, thereby facilitating the determination of the target composite cutting tool and enabling the use of a single tool to perform machining of two different chamfering types. This ensures machining reliability while improving machining efficiency.

[0083] This application also provides a workpiece processing apparatus, please refer to... Figure 6 This is applied to machine tool equipment, which is equipped with at least one composite tool. The composite tool includes a tool holder and a cutting head connected to the tool holder. The cutting head includes a dovetail cutter and a chamfering cutter connected in sequence. The chamfering cutter is located at the end away from the tool holder, and the dovetail cutter is located at the end closer to the tool holder. The workpiece processing device includes: The acquisition module 10 is used to acquire the workpiece center position of the workpiece to be processed in the machine tool equipment, and to acquire the first contour of the workpiece to be processed by the chamfering cutter and the second contour of the workpiece to be processed by the dovetail cutter. The generation module 20 is used to generate a chamfering machining trajectory of the composite tool based on the center position of the workpiece and the first contour, and to generate a dovetail machining trajectory of the composite tool based on the center position of the workpiece and the second contour. The machining module 30 is used to control the composite tool held in the machine tool to process the workpiece according to the tool trajectory which is a combination of the chamfering machining trajectory and the dovetail machining trajectory.

[0084] The workpiece processing apparatus provided in this application adopts the workpiece processing method in the above embodiments, aiming to solve the technical problem of low workpiece processing efficiency. Compared with the prior art, the beneficial effects of the workpiece processing method provided in this application are the same as those of the workpiece processing method provided in the above embodiments, and other technical features in the workpiece processing apparatus are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0085] This application provides a machine tool device, which includes: 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, which are executed by the at least one processor to enable the at least one processor to perform the workpiece machining method in Embodiment 1 above.

[0086] The following is for reference. Figure 7 The diagram illustrates a structural schematic of a machine tool device suitable for implementing the embodiments of this application. The machine tool device in the embodiments of this application may include, but is not limited to, CNC (Computer Numerical Control) machine tools, such as CNC lathes, CNC milling machines, and other machine tool devices. Figure 7 The machine tool equipment shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0087] like Figure 7 As shown, the machine tool may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 1002 or a program loaded from a storage device 1003 into a random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the machine tool. The processing unit 1001, the read-only memory 1002, and the random access memory 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the machine tool to communicate wirelessly or wiredly with other devices to exchange data. Although the figures show machine tool equipment with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.

[0088] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0089] The machine tool equipment provided in this application, employing the workpiece processing method in the above embodiments, can solve the technical problem of low workpiece processing efficiency. Compared with the prior art, the beneficial effects of the machine tool equipment provided in this application are the same as those of the workpiece processing method provided in the above embodiments, and other technical features of this machine tool equipment are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.

[0090] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0091] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0092] This embodiment provides a storage medium, which is a computer-readable storage medium, storing a program for implementing a workpiece machining method. The program for implementing the workpiece machining method is executed by a processor to implement the steps of the workpiece machining method as described in any of the above embodiments.

[0093] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, apparatuses, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable EPROM (Electrical Programmable Read Only Memory) or flash memory, optical fiber, portable compact disk CD-ROM (compact discread-only memory), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution device, apparatus, or apparatus. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0094] The aforementioned computer-readable storage medium may be included in the machine tool equipment; or it may exist independently and not assembled into the machine tool equipment.

[0095] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a machine tool, cause the machine tool to: acquire the workpiece center position of the workpiece to be processed within the machine tool, and acquire a first contour of the workpiece to be processed by a chamfering tool, and a second contour of the workpiece to be processed by a dovetail tool; generate a chamfering machining trajectory for a composite tool based on the workpiece center position and the first contour, and generate a dovetail machining trajectory for the composite tool based on the workpiece center position and the second contour; and control the composite tool clamped in the machine tool to process the workpiece according to the tool trajectory composed of the chamfering machining trajectory and the dovetail machining trajectory.

[0096] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a LAN (local area network) or WAN (wide area network)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0097] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based device that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0098] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0099] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the above-described workpiece processing method, aiming to solve the technical problem of low workpiece processing efficiency. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the workpiece processing method provided in the above embodiments, and will not be repeated here.

[0100] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the workpiece processing method described above.

[0101] The computer program product provided in this application aims to solve the technical problem of low workpiece processing efficiency. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the workpiece processing method provided in the above embodiments, and will not be repeated here.

[0102] The above are merely preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structural or procedural transformations made using the description and drawings of the present application, or direct or indirect applications in other related technical fields, are similarly included within the patent processing scope of the present application.

Claims

1. A workpiece processing method, characterized in that, An application is made in machine tool equipment, the machine tool equipment being equipped with a composite cutting tool, the composite cutting tool comprising a tool holder and a cutting head connected in sequence, the cutting head comprising a dovetail cutter and a chamfering cutter connected in sequence, the chamfering cutter being disposed at the end away from the tool holder, and the dovetail cutter being disposed at the end closer to the tool holder, the method comprising: Obtain the workpiece center position of the workpiece to be processed on the machine tool equipment, and obtain the first contour of the workpiece to be processed by the chamfering cutter and the second contour of the workpiece to be processed by the dovetail cutter; Based on the center position of the workpiece and the first contour, a chamfering machining trajectory of the composite tool is generated, and based on the center position of the workpiece and the second contour, a dovetail machining trajectory of the composite tool is generated. The composite tool held in the machine tool is controlled to process the workpiece according to a tool path that is a combination of the chamfering machining path and the dovetail machining path.

2. The workpiece processing method as described in claim 1, characterized in that, The step of obtaining the workpiece center position of the workpiece to be processed on the machine tool equipment includes: When the workpiece to be processed is assembled on the machine tool, a scanning operation is performed on the workpiece to be processed to detect the vertical state of the workpiece on the machine tool. When the vertical state is vertical, the probe on the machine tool is used to perform a probe scanning operation on the workpiece to be processed to obtain the coordinate data of the workpiece to be processed in the machine tool coordinate system of the machine tool. The center position of the workpiece to be processed is determined using the coordinate data.

3. The workpiece processing method as described in claim 1, characterized in that, The steps of controlling the composite tool held in the machine tool to process the workpiece according to a tool path composed of a chamfering machining path and a dovetail machining path include: Based on the chamfering machining trajectory and the dovetail machining trajectory, the machining cutting state of the workpiece to be processed is determined; When the machining cutting state is the expected cutting state, the tool path is generated based on the chamfering machining path and the dovetail machining path; The composite tool held in the machine tool is controlled to process the workpiece according to the tool path.

4. The workpiece processing method as described in claim 3, characterized in that, The step of determining the machining cutting state of the workpiece to be processed based on the chamfering machining trajectory and the dovetail machining trajectory includes: Based on the relative positions between the dovetail cutter and the chamfering cutter in the composite tool, a first following trajectory of the dovetail cutter following the chamfering machining trajectory in the composite tool is determined, and a second following trajectory of the chamfering cutter following the dovetail machining trajectory in the composite tool is determined. The machining and cutting state of the workpiece to be processed is determined by the first following trajectory and the second following trajectory.

5. The workpiece processing method as described in claim 4, characterized in that, The step of determining the machining cutting state of the workpiece to be processed through the first following trajectory and the second following trajectory includes: Obtain the three-dimensional coordinates of the workpiece to be processed; Based on the workpiece's three-dimensional coordinates and the first following trajectory, the first following trajectory's first following cutting state on the workpiece to be processed is detected, and based on the workpiece's three-dimensional coordinates and the second following trajectory, the second following cutting state of the second following trajectory on the workpiece to be processed is detected; If the first following cutting state is no cutting and the second following cutting state is no cutting, the machining cutting state is determined to be the expected cutting state. When the first following cutting state is cutting, and / or the second following cutting state is cutting, the machining cutting state is determined to be an unexpected cutting state.

6. The workpiece processing method as described in claim 3, characterized in that, A transition connector is provided between the dovetail cutter and the chamfering cutter, and the workpiece machining method further includes the following steps: When the machining cutting state is an unexpected cutting state and the machine tool is equipped with multiple composite tools, a target composite tool for machining the workpiece is re-determined from among the multiple composite tools; wherein the thickness of the transition connecting parts of different composite tools among the multiple composite tools is different; The target tool trajectory for machining the workpiece by the target composite tool is obtained, the target composite tool is clamped, and the target composite tool is controlled to machine the workpiece according to the target tool trajectory.

7. The workpiece processing method as described in claim 6, characterized in that, The step of re-determining the target composite tool for machining the workpiece from among the plurality of composite tools includes: A composite tool whose cutting state is an unexpected cutting state is used as an interference reference tool. An initial tool is determined among the plurality of composite tools, and the initial tool is not the interference reference tool. The connection thickness deviation is calculated based on the thickness of the transition connector in the interference reference tool and the thickness of the transition connector in the initial tool. The first and second following trajectories of the interference reference tool are adjusted according to the connection thickness deviation to obtain the first translation trajectory after the adjustment of the first following trajectory and the second translation trajectory after the adjustment of the second following trajectory. Based on the first translation trajectory and the adjusted second translation trajectory, the cutting state of the initial tool is detected; If the cutting state of the tool is an unexpected cutting state, then the initial tool is re-determined among the plurality of composite tools, and the step of calculating the connection thickness deviation based on the thickness of the transition connector in the interference reference tool and the thickness of the transition connector in the initial tool is returned, until the cutting state of the initial tool is the expected cutting state. The initial tool whose cutting state is the expected cutting state is taken as the target composite tool.

8. A workpiece processing apparatus, characterized in that, An application is made in machine tool equipment, the machine tool equipment being equipped with at least one composite tool, the composite tool including a tool holder and a tool head connected to the tool holder, the tool head including a dovetail cutter and a chamfering cutter connected in sequence, the chamfering cutter being disposed at the end away from the tool holder, the dovetail cutter being disposed at the end closer to the tool holder, the workpiece processing device including: The acquisition module is used to acquire the workpiece center position of the workpiece to be processed on the machine tool equipment, and to acquire the first contour of the workpiece to be processed by the chamfering cutter and the second contour of the workpiece to be processed by the dovetail cutter. The generation module is used to generate a chamfering machining trajectory of the composite tool based on the center position of the workpiece and the first contour, and to generate a dovetail machining trajectory of the composite tool based on the center position of the workpiece and the second contour. The machining module is used to control the composite tool held in the machine tool to machine the workpiece according to a tool path that is a combination of the chamfering machining path and the dovetail machining path.

9. A machine tool device, characterized in that, The machine tool equipment includes: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the steps of the workpiece processing method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, on which a program for implementing a workpiece machining method is stored, the program for implementing the workpiece machining method being executed by a processor to implement the steps of the workpiece machining method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Composite cutter

    CN109877366A

  • Workpiece centering method and system and storage medium

    CN117206974A

  • Compound chamfer sword

    CN207255273U

  • Bolt hole chamfering tool

    CN209647759U

  • Composite forming cutter

    CN221312544U

Cited By

  • Workpiece machining method, device, reverse-docking tool, machine tool apparatus, and storage medium

    CN122500544A