Method and device for achieving shaft synchronous machining based on contour control in lathe system, processor and computer readable storage medium of processor

By using contour control and axis synchronization machining, the contour modeling and axis synchronization control of irregular workpieces are realized through G51.4-G51.9 instructions. This solves the problem of low machining efficiency of irregular workpieces on ordinary lathes and realizes high-efficiency and low-cost machining of irregular workpieces.

CN121348974APending Publication Date: 2026-01-16NANJING KAITONG AUTOMATION TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202511626916.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-07
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

Existing conventional lathes are unable to efficiently process irregularly shaped workpieces, polar coordinate machining suffers from speed fluctuations, and high-end milling and turning composite machines are expensive.

Method used

A contour-based axis synchronous machining method is adopted, which uses G51.4-G51.9 commands to realize contour modeling and axis synchronous control of irregular workpieces, establishes the interpolation relationship between the rotary axis and the feed axis, and ensures the continuity and efficiency of machining.

Benefits of technology

It enables efficient machining of irregularly shaped workpieces on ordinary lathes, reduces costs, improves machining efficiency, and has a wide range of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121348974A_ABST
    Figure CN121348974A_ABST
Patent Text Reader

Abstract

The invention relates to a method for realizing shaft synchronous machining based on contour control in a lathe system, which comprises the following steps of: (1) machining a contour, and abstracting an expression; and (2) performing shaft synchronization control processing. The invention further relates to a device for achieving shaft synchronous machining based on contour control in the lathe system, a processor and a computer readable storage medium of the processor. By the adoption of the method and device for achieving shaft synchronous machining based on contour control in the lathe system, the processor and the computer readable storage medium of the processor, the method capable of extracting the machining contour model in real time and establishing the corresponding shaft for synchronous rotation according to the contour is provided on a common lathe. When a special-shaped workpiece is machined, through the mode that modeling is conducted firstly and then synchronous linkage is conducted, the interpolation relation between the rotating shaft and the feeding shaft is guaranteed, meanwhile, rotation of the rotating shaft is coherent, and therefore the machining efficiency is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of CNC lathes, and more particularly to the field of system control, specifically to a method, apparatus, processor, and computer-readable storage medium for achieving synchronous machining of axes based on contour control in a lathe system. Background Technology

[0002] Currently, ordinary lathes can basically only machine round bars. For some simple irregularly shaped bars, polar coordinate machining can be used. However, polar coordinate machining involves speed fluctuations during the transition between multiple segments, and the machining efficiency cannot be guaranteed. Using some high-end mill-turning machines can meet the requirements, but the cost is relatively high. Summary of the Invention

[0003] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, apparatus, processor and computer-readable storage medium for achieving synchronous axis machining based on contour control in lathe systems that meet the requirements of low cost, high processing efficiency and wide applicability.

[0004] To achieve the above objectives, the lathe system of the present invention provides a method, apparatus, processor, and computer-readable storage medium for synchronous axis machining based on contour control, as follows: The method for synchronous machining of axes based on contour control in this lathe system is characterized by the following steps: (1) Process the contour and abstract the expression; (2) Perform axis synchronization control machining.

[0005] Preferably, step (1) specifically includes the following steps: (1.1) Enable synchronous contour control modeling according to the G51.4 command; (1.2) Abstract the corresponding expressions in sequence and perform caching; (1.3) Continue to collect models until the G51.5 command ends synchronous contour control modeling.

[0006] Preferably, step (2) specifically includes the following steps: (2.1) Enable the axis synchronization function according to the G51.8 command; (2.2) Calculate the interpolation relationship between the rotary axis and the synchronous feed axis according to the expression of the buffer; (2.3) Continue the movement of other axes so that the synchronous shaft can continue to process the round bar stock; (2.4) Continue to perform axis synchronization control machining until the axis synchronization ends with the G51.9 command.

[0007] Preferably, step (1) further includes the following steps: If the workpiece being machined is an irregular shape, then polar coordinates are used to machine the contour.

[0008] The device for synchronous machining of axes based on contour control in this lathe system is 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 various steps of the method for synchronous machining of axes based on contour control in the lathe system described above.

[0009] The processor in this lathe system that achieves synchronous machining of axes based on contour control is characterized in that 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 above-described method for achieving synchronous machining of axes based on contour control in the lathe system are implemented.

[0010] The computer-readable storage medium is characterized in that it stores a computer program thereon, which can be executed by a processor to implement the various steps of the method for synchronous machining of axes based on contour control in the lathe system described above.

[0011] The present invention discloses a method, apparatus, processor, and computer-readable storage medium for synchronous machining of axes based on contour control in a lathe system. This provides a method for extracting the machining contour model in real time on a conventional lathe and establishing corresponding axes for synchronous rotation based on the contour. When machining irregularly shaped workpieces, the method of modeling first and then synchronously linking ensures the interpolation relationship between the rotary axis and the feed axis, while also ensuring the continuous rotation of the rotary axis, thereby guaranteeing machining efficiency. Attached Figure Description

[0012] Figure 1 This is a schematic diagram of an example of an irregularly shaped workpiece in the lathe system of the present invention, which uses contour control to achieve synchronous machining of axes.

[0013] Figure 2 This is a flowchart illustrating the method for synchronous machining of axes based on contour control in the lathe system of the present invention.

[0014] Figure 3 This is a schematic diagram of the abstract flow of the contour control model for the method of achieving synchronous machining of axes based on contour control in the lathe system of the present invention.

[0015] Figure 4 This is a schematic diagram of the control flow for axis synchronization in the lathe system of the present invention, which is based on contour control to achieve axis synchronous machining. Detailed Implementation

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

[0017] The method for synchronous machining of axes based on contour control in the lathe system of the present invention includes the following steps: (1) Process the contour and abstract the expression; (2) Perform axis synchronization control machining.

[0018] In a preferred embodiment of the present invention, step (1) specifically includes the following steps: (1.1) Enable synchronous contour control modeling according to the G51.4 command; (1.2) Abstract the corresponding expressions in sequence and perform caching; (1.3) Continue to collect models until the G51.5 command ends synchronous contour control modeling.

[0019] In a preferred embodiment of the present invention, step (2) specifically includes the following steps: (2.1) Enable the axis synchronization function according to the G51.8 command; (2.2) Calculate the interpolation relationship between the rotary axis and the synchronous feed axis according to the expression of the buffer; (2.3) Continue the movement of other axes so that the synchronous shaft can continue to process the round bar stock; (2.4) Continue to perform axis synchronization control machining until the axis synchronization ends with the G51.9 command.

[0020] In a preferred embodiment of the present invention, step (1) further includes the following steps: If the workpiece being machined is an irregular shape, then polar coordinates are used to machine the contour.

[0021] The lathe system of the present invention includes a device for synchronous machining of axes based on contour control, wherein the device comprises: 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 various steps of the method for synchronous machining of axes based on contour control in the lathe system described above.

[0022] The lathe system of the present invention includes a processor for synchronous machining of axes based on contour 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 synchronous machining of axes based on contour control in the lathe system described above are implemented.

[0023] 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 synchronous machining of axes based on contour control in the lathe system described above.

[0024] This invention relates to the field of CNC lathe system control, particularly for applications requiring the machining of irregularly shaped workpieces, such as electronic cams, elliptical machining, and continuous machining of multiple irregularly shaped line segments, as shown in the attached figure. Figure 1 The workpiece shown.

[0025] This invention first abstracts the system machining contour into an expression, and then performs axis-synchronized controlled machining. Polar coordinate programming is introduced into the machining contour part.

[0026] The objective of this invention is achieved through the following measures: Machining contour extraction. In standard NC program code, the G51.4 / 51.5 instruction pair indicates that the code between these instructions is the contour model of the synchronous machining program. The system will abstract the model into a calculation expression for subsequent axis synchronization based on the specific machining program.

[0027] Synchronization control. The start and end of synchronous rotation of the current synchronous axis are controlled by the G51.8 / 51.9 pair of commands. After obtaining the machining contour model expression, G51.8 will open the synchronization relationship between the rotary axis and the feed axis. Then the rotary axis can be started to rotate, and the feed axis will feed according to the expression. When the machine tool Z-axis also feeds, continuous machining can be performed on the circular workpiece until the machining is completed, and then the synchronization relationship is released by G51.9.

[0028] In a specific embodiment of the present invention, the following processing steps are included: 1. The process of model abstraction: (1) Model acquisition of machining toolpath needs to be started according to the G51.4 command; (2) Abstract the corresponding expressions according to the process of machining toolpath and perform caching; (3) Process the model acquisition process until G51.5 ends.

[0029] 2. Control of shaft synchronization: (1) The synchronization function of the axis needs to be enabled according to the G51.8 command; (2) Calculate the interpolation relationship between the rotary axis and the synchronous feed axis according to the expression of the buffer; (3) After the synchronization relationship is established, the system can continue to move other axes, so that the synchronous axis can continue to process on the long round bar. (4) Process until G51.9 ends the control of the synchronous shaft.

[0030] The machining trajectory of irregularly shaped parts can be flexibly programmed, making it convenient for customers to carry out secondary development in actual machining scenarios.

[0031] This invention simply provides a contour control axis synchronization method that is easy and convenient for customers to use, and can be adapted for use in turning, milling, and other applications.

[0032] The irregularly shaped parts support polar coordinate programming, which is intuitive and easy to learn.

[0033] This invention addresses the machining problem of irregularly shaped parts during turning. Conventional lathes are used for turning round bars, i.e., machining geometric shapes concentric with the spindle. However, for irregularly shaped parts, such as cams, additional machining is required. Figure 1 Unconventional turning processes often fail to achieve smooth and efficient machining, and even using polar coordinates can negatively impact efficiency due to acceleration and deceleration between different segments. This invention provides a method for these unconventional turning processes by first abstracting the expression of the unconventional part and then performing synchronous motion.

[0034] This invention abstracts the overall contour of the expression portion of the irregularly shaped workpiece to be processed, unifying and extracting all processing parts of the irregularly shaped workpiece. In subsequent synchronous instructions, the motion relationship between two synchronous axes is established, thereby solving the processing problem of such irregularly shaped workpieces. This invention further extracts and abstracts the contour from the machining toolpath file of the irregularly shaped workpiece, establishing an abstract expression. In subsequent synchronous instructions, a synchronous motion relationship is established based on this expression for turning.

[0035] The G51.4 instruction enables synchronous contour control modeling, and the G51.5 instruction terminates it. When the CNC system reaches this step, it doesn't actually run the corresponding NC code segment. Instead, it abstracts the NC code within that segment into a corresponding synchronization expression in the background, which is then used for the synchronization relationships in subsequent synchronous operations. Simply put, the NC code within this segment is an abstraction of the expressions for subsequent synchronization.

[0036] The G51.8 command enables synchronization, and the G51.9 command disables it. When synchronization is enabled, the system establishes the motion relationship between the rotary axis and the follower axis based on the abstracted synchronization expression (G51.4 command). That is, the specified rotary axis and the follower axis move synchronously according to the above relationship. After synchronization, they can be combined with other ordinary axes to process corresponding irregular contours, such as electronic cams and simulated ellipses. Simply put, this code is the execution part of the above expression.

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

[0038] 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.

[0039] 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.

[0040] 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.

[0041] 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.

[0042] 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.

[0043] 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.

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

[0045] 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.

[0046] The present invention discloses a method, apparatus, processor, and computer-readable storage medium for synchronous machining of axes based on contour control in a lathe system. This provides a method for extracting the machining contour model in real time on a conventional lathe and establishing corresponding axes for synchronous rotation based on the contour. When machining irregularly shaped workpieces, the method of modeling first and then synchronously linking ensures the interpolation relationship between the rotary axis and the feed axis, while also ensuring the continuous rotation of the rotary axis, thereby guaranteeing machining efficiency.

[0047] 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 synchronous machining of shafts based on profile control in a lathe system, characterized by, The method comprises the following steps: (1) processing a contour and abstracting an expression; (2) controlling processing of axis synchronization.

2. The method of claim 1, wherein the contour control based synchronized machining of the workpiece on the lathe system is implemented by, The step (1) specifically comprises the following steps: (1.1) starting a synchronous contour control modeling according to a G51.4 instruction; (1.2) sequentially abstracting corresponding expressions and performing cache processing; (1.3) continuously collecting models until a G51.5 instruction ends the synchronous contour control modeling.

3. The method as claimed in claim 1 for achieving synchronized machining of the shafts based on the profile control in the lathe system, wherein, The step (2) specifically comprises the following steps: (2.1) starting a synchronous function of an axis according to a G51.8 instruction; (2.2) calculating an interpolation relationship of a rotating axis and a synchronous feeding axis according to the cached expressions; (2.3) continuously performing movement of other axes to enable the synchronous axis to continuously process on a circular bar; (2.4) continuously performing the control processing of the axis synchronization until a G51.9 instruction ends the axis synchronization.

4. The method of claim 2, wherein the contour control based synchronized machining of the workpiece is achieved in the lathe system, characterized in that, The step (1) further comprises the following step: If a processed workpiece is a special-shaped piece, polar coordinates are used to process a contour.

5. A device for realizing shaft synchronous machining based on profile control in a lathe system, characterized in that, The device comprises: a processor configured to execute computer executable instructions; a memory storing one or more computer executable instructions, which, when executed by the processor, implement each step of the method for realizing axis synchronous processing based on contour control in the lathe system according to any one of claims 1 to 4.

6. A processor for realizing synchronous machining of a shaft based on profile control in a lathe system, characterized by The processor is configured to execute computer executable instructions, which, when executed by the processor, implement each step of the method for realizing axis synchronous processing based on contour control in the lathe system according to any one of claims 1 to 4.

7. A computer readable storage medium characterized in that, A computer program is stored thereon, which can be executed by a processor to implement each step of the method for realizing axis synchronous processing based on contour control in the lathe system according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Machining method for turning non-circular deformed section through digital controlled lathe in follow-up mode

    CN105268999A

  • Milling control method and device for numerically controlled lathe

    CN106239153A

  • Numerical control programming device, numerical control machining system and method

    CN106292539A

  • Coordination numerical control system and method for main shafts in different forms

    CN107728579A

  • Machine tool and method of operation thereof

    CN111480127A