Method, device, processor and computer readable storage medium of a numerical control machine tool system for realizing multi-z-axis linkage control

CN117193175BActive Publication Date: 2026-09-25SHANGHAI WEIHONG ELECTRONICS TECH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311341893.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2026-09-25
Estimated Expiration
2043-10-17

AI Technical Summary

Technical Problem

[0007]缺陷:如换刀、对刀、切换坐标系等所有使各Z轴的工件坐标发生变化的功能执行后,各Z轴的工件坐标不一致,都需要执行上述调整流程

Benefits of technology

[0024]采用了本发明的数控机床系统中实现多Z轴联动控制的方法、装置、处理器及其计算机可读存储介质,以更多的计算换取运动环节的减少,以达到提高生产效率的目的。本发明达到了多Z轴不执行额外的调整过程,即可以直接按加工刀路指令运动的效果。提高了加工效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117193175B_ABST
    Figure CN117193175B_ABST
Patent Text Reader

Abstract

The application relates to a method for realizing multi-Z-axis linkage control in a numerical control machine tool system, comprising the following steps: distributing Z instruction movement in a tool path to each Z axis; calculating the movement speed of the Z axis with the longest movement distance; the Z axis with the shortest movement distance is moved in proportion to the movement proportion of the Z axis with the longest movement distance; if the movement speed of each Z axis in current movement is the same, the movement speed is continuously calculated with the front and rear movement; if each Z axis in current movement is the same as each Z axis in the front and rear movement, the movement speed is continuously calculated with the front and rear movement. The application also relates to a device, a processor and a readable storage medium for realizing multi-Z-axis linkage control in a numerical control machine tool system. The method, the device, the processor and the computer readable storage medium for realizing multi-Z-axis linkage control in the numerical control machine tool system adopt more calculation to reduce movement links, so that the production efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of CNC machine tool systems, and more particularly to the field of motion control of CNC machine tool systems. Specifically, it relates to a method, device, processor, and computer-readable storage medium for realizing multi-Z-axis linkage control in a CNC machine tool system. Background Technology

[0002] Existing technology: For multi-Z-axis machine tools, the workpiece coordinates of each Z-axis need to be adjusted to the same value before machining. The steps are:

[0003] 1. Determine the target workpiece coordinates for each Z-axis.

[0004] 2. Adjust each Z-axis movement to the target workpiece coordinates.

[0005] like Figure 1 As shown. Motion ① is the motion generated in step 2. Motion ② is the motion generated by the multi-Z linkage machining of the toolpath command, where each Z-axis moves from the adjustment plane to the plane specified in the toolpath command.

[0006] In subsequent multi-Z linkage machining, the motion control information is calculated using the first valid Z-axis, and the calculated motion control information is sent to all Z-axis to ensure that all Z-axis movements are identical.

[0007] Defect: After performing functions that change the workpiece coordinates on each Z-axis, such as tool changing, tool setting, and coordinate system switching, the workpiece coordinates on each Z-axis become inconsistent, requiring the re-execution of the aforementioned adjustment process. Each execution of the adjustment process consumes time, reducing production efficiency. Summary of the Invention

[0008] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, device, processor and computer-readable storage medium for realizing multi-Z-axis linkage control in CNC machine tool systems that are easy to operate, have high production efficiency and are widely applicable.

[0009] To achieve the above objectives, the present invention provides a method, apparatus, processor, and computer-readable storage medium for implementing multi-Z-axis linkage control in a CNC machine tool system, as follows:

[0010] The method for realizing multi-Z-axis linkage control in this CNC machine tool system is characterized by the following steps:

[0011] (1) Distribute the Z-axis motion command in the toolpath to each Z-axis;

[0012] (2) Calculate the velocity of the axis with the longest movement distance among all Z axes;

[0013] (3) Its Z-axis with the longest non-motion distance moves proportionally according to the motion ratio of the Z-axis with the longest motion distance;

[0014] (4) Determine whether the motion speed of each Z-axis in the current motion is the same. If so, calculate the speed continuously with the previous and next motions; otherwise, do not calculate the speed continuously with the previous and next motions.

[0015] (5) Determine whether each Z-axis in the current motion has the same motion as each Z-axis in the previous and next motions. If so, calculate the motion speed continuously with the previous and next motions; otherwise, do not calculate the motion speed continuously with the previous and next motions.

[0016] Preferably, in step (2), the motion speed of the axis with the longest motion distance among all Z axes is the motion speed of the Z axis whose resultant velocity is calculated with other non-Z axes, wherein the resultant velocity is limited by the feed rate of the command, etc.

[0017] Preferably, the motion speed in step (3) is less than or equal to the motion speed of the axis with the longest motion distance among the Z axes in step (2).

[0018] Preferably, the method does not calculate the motion speed continuously with the preceding and following motions, that is, it satisfies the condition that the speed at the point where the motion is connected is the same as the speed when there is no adjacent motion.

[0019] The CNC machine tool system includes a device for realizing multi-Z-axis linkage control, wherein the device comprises:

[0020] A processor is configured to execute computer-executable instructions;

[0021] The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the various steps of the method for implementing multi-Z-axis linkage control in the CNC machine tool system described above.

[0022] The processor in the CNC machine tool system is used to implement multi-Z-axis linkage control. The processor is configured to execute computer-executable instructions. When the computer-executable instructions are executed by the processor, the various steps of the method for implementing multi-Z-axis linkage control in the CNC machine tool system are implemented.

[0023] The computer-readable storage medium stores a computer program that can be executed by a processor to implement the various steps of the method for implementing multi-Z-axis linkage control in the above-described CNC machine tool system.

[0024] The present invention discloses a method, apparatus, processor, and computer-readable storage medium for multi-Z-axis linkage control in a CNC machine tool system. This method reduces the number of motion steps by incurring more computational costs, thereby improving production efficiency. The present invention achieves the effect that multiple Z-axis movements can be directly executed according to the machining toolpath commands without requiring additional adjustment processes, thus improving machining efficiency. Attached Figure Description

[0025] Figure 1 This is a schematic diagram of the multi-Z adjustment process in existing technologies.

[0026] Figure 2 This is a schematic diagram of the multi-Z-axis linkage control method in the CNC machine tool system of the present invention, without multi-Z adjustment process. Detailed Implementation

[0027] To more clearly describe the technical content of the present invention, the following description is provided in conjunction with specific embodiments.

[0028] The method for implementing multi-Z-axis linkage control in the CNC machine tool system of the present invention includes the following steps:

[0029] (1) Distribute the Z-axis motion command in the toolpath to each Z-axis;

[0030] (2) Calculate the velocity of the axis with the longest movement distance among all Z axes;

[0031] (3) Its Z-axis with the longest non-motion distance moves proportionally according to the motion ratio of the Z-axis with the longest motion distance;

[0032] (4) Determine whether the motion speed of each Z-axis in the current motion is the same. If so, calculate the speed continuously with the previous and next motions; otherwise, do not calculate the speed continuously with the previous and next motions.

[0033] (5) Determine whether each Z-axis in the current motion has the same motion as each Z-axis in the previous and next motions. If so, calculate the motion speed continuously with the previous and next motions; otherwise, do not calculate the motion speed continuously with the previous and next motions.

[0034] In a preferred embodiment of the present invention, the motion speed of the axis with the longest motion distance among the Z axes in step (2) is the motion speed of the Z axis whose resultant velocity is calculated with other non-Z axes, wherein the resultant velocity is limited by the feed rate of the command, etc.

[0035] In a preferred embodiment of the present invention, the motion speed of the proportional motion in step (3) is less than or equal to the motion speed of the axis with the longest motion distance among the Z axes in (2).

[0036] In a preferred embodiment of the present invention, the method does not continuously calculate the motion speed with the preceding and following motions, that is, the speed at the point where the motion is connected is the same as the speed when there is no adjacent motion.

[0037] The present invention provides a device for realizing multi-Z-axis linkage control in a CNC machine tool system, wherein the device includes:

[0038] A processor is configured to execute computer-executable instructions;

[0039] The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the various steps of the method for implementing multi-Z-axis linkage control in the CNC machine tool system described above.

[0040] The CNC machine tool system of the present invention includes a processor for implementing multi-Z-axis linkage control, wherein the processor is configured to execute computer-executable instructions, and when the computer-executable instructions are executed by the processor, the various steps of the method for implementing multi-Z-axis linkage control in the CNC machine tool system described above are implemented.

[0041] The computer-readable storage medium of the present invention stores a computer program thereon, which can be executed by a processor to implement the various steps of the method for realizing multi-Z-axis linkage control in the above-described CNC machine tool system.

[0042] In specific embodiments of the present invention, in order to solve the above-mentioned problems, the main objective of the present invention is to provide a method for multi-Z linkage control. This method does not require the separate execution of the above-mentioned process of adjusting the workpiece coordinates of each Z-axis; each Z-axis moves directly to the plane of the command in the toolpath, thereby improving production efficiency.

[0043] This invention achieves its purpose by eliminating the multiple Z-adjustment process. For example... Figure 2 As shown, the solution of the present invention enables multiple Z axes located in different workpiece coordinates to reach the plane of the toolpath command after the first Z command movement of the machining toolpath.

[0044] The specific measures of this invention are as follows:

[0045] 1. Distribute the Z-axis motion commands in the toolpath to each Z-axis;

[0046] 2. Select the axis with the longest travel distance among all Z-axis axes and calculate its speed. The speed of this Z-axis must be able to reach the specified travel speed.

[0047] 3. The Z-axis with the longest non-motion distance moves proportionally according to the motion ratio calculated in step 2. Its speed is less than or equal to the motion speed of the Z-axis in step 2;

[0048] Example: If the Z-axis motions during the motion are Z1 = 30, Z2 = 0, and Z3 = 50, and the specified Z-axis speed is 100, then Z3, having the longest travel distance, can reach a speed of 100. The speed of Z1 = Z1's travel distance × Z3's speed / Z3's travel distance. That is, when Z3 reaches a speed of 100, the speed of Z1 = 30 × 100 / 50 = 60.

[0049] 4. If the Z-axis motions of different movements within a motion are not the same, then the motion cannot be continuously calculated in terms of velocity with the preceding and following movements. If they are the same, then the motion can be continuously calculated in terms of velocity with the preceding and following movements.

[0050] Example 1: If the Z-axis motions in a motion are Z1 = -3, Z2 = 0, and Z3 = -5 respectively, then the motion speed cannot be calculated continuously with the preceding and following motions because the Z1 and Z3 motions are not the same.

[0051] Example 2: If the Z-axis motions in the motion are Z1=0, Z2=2, and Z3=2 respectively, then the motion speed can be calculated continuously with the preceding and following motions because there are motions with Z2 and Z3 that are the same.

[0052] 5. If the Z-axis of a motion is not the same as the Z-axis of the preceding / following motion, then the velocity of that motion cannot be calculated continuously with the preceding / following motion. If they are the same, then the velocity of that motion can be calculated continuously with the preceding / following motion.

[0053] Example 1: If the Z-axis motions in motion 1 are Z1=3, Z2=0, and Z3=3 respectively, and the Z-axis motions in motion 2 are Z1=0, Z2=5, and Z3=5 respectively, then the motion velocities of motion 1 and motion 2 cannot be calculated continuously.

[0054] Example 2: If the Z-axis motions in motion 1 are Z1=3, Z2=0, and Z3=3 respectively, and the Z-axis motions in motion 2 are Z1=5, Z2=0, and Z3=5 respectively, then the motion velocities of motion 1 and motion 2 can be calculated continuously.

[0055] The phrase "cannot be calculated continuously with the preceding and following motions" means that the speed of the motion is the same as the speed when the motion only exists, that is, the speed of the motion is the same as the speed at which each axis stops from the point of stopping to the point of stopping.

[0056] In embodiments of the present invention, the specific steps of the present invention are as follows:

[0057] (1) Remove the multi-Z adjustment process;

[0058] (2) Remove the step of sending the motion control information after calculating the single Z motion speed to each Z axis;

[0059] (3) Before calculating each motion, the target position of the Z command in the toolpath is distributed to each Z axis;

[0060] (4) When performing motion speed related calculations, the axis with the longest motion distance among all Z axes is selected for motion speed calculation;

[0061] (5) Increase the Z-axis with the longest non-motion distance to move proportionally according to the motion ratio of the Z-axis with the longest motion distance;

[0062] (6) When determining whether the current motion is continuous with the preceding and following motions in calculating the motion speed, an additional check is added to determine whether the Z-axis motions of the current motion are the same. If they are not the same, the speed is not calculated continuously with the preceding and following motions. If they are the same, the speed can be calculated continuously with the preceding and following motions.

[0063] (7) When determining whether the current motion is continuous with the previous and subsequent motions in calculating the motion speed, an additional check is added to determine whether the Z-axis of the current motion is the same as the Z-axis of the previous and subsequent motions. If they are not the same, the speed is not calculated continuously with the previous and subsequent motions. If they are the same, the speed can be calculated continuously with the previous and subsequent motions.

[0064] The method for multi-Z-axis linkage control in the CNC machine tool system of the present invention does not require adjustment of the multiple Z axes, and can directly move to the designated toolpath plane according to the toolpath command, saving time.

[0065] Before calculating each motion, this scheme distributes the target position of the Z command in the toolpath to each Z axis.

[0066] This method requires selecting the axis with the longest movement distance among all Z axes to calculate the movement speed.

[0067] When the Z-axis movements are different, the Z-axis with the longest movement distance moves at the same speed as the specified speed.

[0068] The Z-axis with the longest non-motion distance moves proportionally to the Z-axis with the longest motion distance, so the motion of each Z-axis can be different.

[0069] When the Z-axis motions of a motion are the same, the velocity can be calculated continuously with the preceding and following motions; when the Z-axis motions of a motion are different, the velocity is not calculated continuously with the preceding and following motions, that is, the velocity at the point where the motions connect is the same as when there are no adjacent motions.

[0070] When the Z-axis of adjacent motions is the same, the motion velocity can be calculated continuously; when the Z-axis of adjacent motions is not the same, the motion velocity is not calculated continuously, that is, the velocity at the point where the motions connect is the same as when there are no adjacent motions.

[0071] For the specific implementation scheme of this embodiment, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0072] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.

[0073] It should be noted that in the description of this invention, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means at least two.

[0074] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.

[0075] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution device. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0076] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The corresponding program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0077] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0078] The storage media mentioned above can be read-only memory, disk, or optical disk, etc.

[0079] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0080] The present invention discloses a method, apparatus, processor, and computer-readable storage medium for multi-Z-axis linkage control in a CNC machine tool system. This method reduces the number of motion steps by incurring more computational costs, thereby improving production efficiency. The present invention achieves the effect that multiple Z-axis movements can be directly executed according to the machining toolpath commands without requiring additional adjustment processes, thus improving machining efficiency.

[0081] In this specification, the invention has been described with reference to specific embodiments thereof. However, it will be apparent that various modifications and variations can be made without departing from the spirit and scope of the invention. Therefore, the specification and drawings should be considered illustrative rather than restrictive.

Claims

1. A method for realizing multi-Z-axis linkage control in a CNC machine tool system, characterized in that, The method includes the following steps: (1) Remove the multi-Z-axis workpiece coordinate pre-adjustment step, and each Z-axis takes the current inconsistent workpiece coordinate as the starting point of motion and distributes the Z command motion in the toolpath to each Z-axis; (2) Calculate the velocity of the axis with the longest movement distance among all Z axes; (3) The Z-axis with the longest non-movement distance moves proportionally to the Z-axis with the longest movement distance, so that each Z-axis reaches the target position corresponding to the toolpath Z command at the same time. (4) Determine whether the motion speeds of each Z-axis in the current motion are the same. If so, calculate the speed continuously with the previous and next motions; otherwise, do not calculate the speed continuously with the previous and next motions. (5) Determine whether there is the same motion between each Z-axis in the current motion and each Z-axis in the previous and next motions. If so, calculate the motion speed continuously with the previous and next motions; otherwise, do not calculate the motion speed continuously with the previous and next motions. The method described does not calculate the motion speed continuously with the preceding and following motions, that is, it satisfies the condition that the speed at the point where the motion is connected is the same as the speed when there is no adjacent motion.

2. The method for realizing multi-Z-axis linkage control in a CNC machine tool system according to claim 1, characterized in that, In step (2), the motion speed of the axis with the longest motion distance among all Z axes is the motion speed of the Z axis whose resultant velocity is calculated with other non-Z axes. The resultant velocity is constrained by the feed rate of the command for the resultant velocity.

3. The method for realizing multi-Z-axis linkage control in a CNC machine tool system according to claim 1, characterized in that, In step (3), the motion speed of the proportional motion is less than or equal to the motion speed of the axis with the longest motion distance among the Z axes in (2).

4. A device for realizing multi-Z-axis linkage control in a CNC machine tool system, characterized in that, The device includes: A processor is configured to execute computer-executable instructions; The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing multi-Z-axis linkage control in the CNC machine tool system according to any one of claims 1 to 3.

5. A processor for implementing multi-Z-axis linkage control in a CNC machine tool system, characterized in that, The processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing multi-Z-axis linkage control in the CNC machine tool system according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that, It stores a computer program that can be executed by a processor to implement the steps of the method for implementing multi-Z-axis linkage control in the CNC machine tool system according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Full closed-loop control method for multi-shaft linked dynamic correction of interpolation positions

    CN103809520A

  • Feeding speed control system

    JP1996030318A