Bag cutting processing method based on dual-channel ten-axis CNC system

Through the luggage cutting processing method of the dual-channel ten-axis CNC system, dual-channel machine tools and multi-axis linkage motion are used to generate G code to achieve automated cutting, which solves the problems of large errors and low efficiency in multiple clamping in the existing technology and improves cutting efficiency and quality.

CN120347837BActive Publication Date: 2025-09-30QUANZHOU HUAZHONG UNIV OF SCI & TECH INST OF MFG
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510845733.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2025-09-30
Estimated Expiration
2045-06-24

AI Technical Summary

Technical Problem

Existing luggage cutting processing technology has multiple clamping problems, resulting in large cumulative errors, low efficiency and high cost. In addition, the tool path planning relies on manual experience, resulting in unstable surface roughness and unable to meet multi-angle adaptive processing.

Method used

A luggage cutting processing method based on a dual-channel ten-axis CNC system is adopted. Dual-channel machine tools and multi-axis linkage motion are utilized to achieve automated cutting by generating G code, including spatial arc, bevel circle and straight line processing, reducing manual intervention and improving cutting efficiency and quality.

Benefits of technology

It realizes the automation of luggage cutting processing, improves cutting efficiency and consistency, reduces processing costs, and reduces cumulative errors and labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120347837B_ABST
    Figure CN120347837B_ABST
Patent Text Reader

Abstract

The present invention provides a luggage cutting processing method based on a dual-channel ten-axis CNC system, belonging to the field of luggage cutting processing, including step S1, selecting a processing mode and inputting parameters corresponding to the selected processing mode; step S2, when the processing mode is spatial arc processing, obtaining the coordinates of discrete points on the spatial arc according to the corresponding parameters, thereby obtaining a processing trajectory and generating G code executed by the dual-channel machine tool; when the processing mode is bevel circle processing, obtaining the bevel circle according to the corresponding parameters, and performing a double rotation matrix decomposition on the bevel circle, thereby obtaining a processing trajectory and generating G code executed by the dual-channel machine tool; when the processing mode is linear processing, obtaining the processing trajectory according to the coordinates of each point and generating G code executed by the dual-channel machine tool. The present invention realizes automated cutting processing, effectively improves cutting processing efficiency, consistency and quality, and reduces cutting processing costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of bag cutting and processing, and particularly relates to a bag cutting and processing method based on a dual-channel ten-axis numerical control system. Background Art

[0002] With the continuous improvement of luggage craftsmanship, the modernization, personalization, and artisticization of luggage shells have become a trend. This has led to luggage manufacturing involving more complex curved surface cutting, multi-angle cutting, and special-shaped processing. However, current luggage cutting and processing technology has many pain points. Luggage components (such as curved bag bodies and special-shaped buckles) need to rely on multiple single-axis or three-axis machine tools for step-by-step processing, which requires multiple clamping. Multiple clamping increases the cumulative error, and the separation of multiple processes also reduces efficiency. On the other hand, because the tool path planning during processing on existing machine tools relies on manual experience, the surface roughness control is unstable and cannot meet the multi-angle adaptive processing requirements of luggage. In addition, existing machine tools are single-channel processing, with low processing efficiency and high cost. Summary of the Invention

[0003] The purpose of this invention is to propose a luggage cutting processing method based on a dual-channel ten-axis CNC system to realize automated cutting processing, effectively improve cutting processing efficiency, consistency and quality, and reduce cutting processing costs.

[0004] The present invention is achieved through the following technical solutions:

[0005] A bag cutting method based on a dual-channel ten-axis CNC system, the CNC system including a dual-channel machine tool, includes the following steps:

[0006] Step S1, select a processing mode and input parameters corresponding to the selected processing mode, wherein the processing modes include space arc processing, bevel circle processing and straight line processing. The parameters corresponding to space arc processing include the coordinates of the starting point of the space arc, the coordinates of the middle point of the space arc, and the coordinates of the end point of the space arc. The parameters corresponding to bevel circle processing include the radius of the bevel circle and the coordinates of the center of the bevel circle. The parameters corresponding to straight line processing include the coordinates of each point that constitutes the straight line.

[0007] Step S2: When the machining mode is spatial arc machining, the coordinates of discrete points on the spatial arc are obtained according to the corresponding parameters, and then the machining trajectory is obtained and the G code executed by the dual-channel machine tool is generated;

[0008] When the machining mode is bevel circle machining, the bevel circle is obtained according to the corresponding parameters, and the bevel circle is subjected to double rotation matrix decomposition to obtain the machining trajectory and generate G code executed by the dual-channel machine tool;

[0009] When the machining mode is linear machining, the machining trajectory is obtained according to the coordinates of each point and the G code executed by the dual-channel machine tool is generated.

[0010] Furthermore, the dual-channel machine tool is composed of an independent first five-axis machining mechanism and a second five-axis machining mechanism. The motion axes of the first five-axis machining mechanism include X1 axis, Y1 axis, Z1 axis, C1 axis and B1 axis, and the motion axes of the second five-axis machining mechanism include X2 axis, Y2 axis, Z2 axis, C2 axis and B2 axis. The X1 axis, X2 axis, Y1 axis and Y2 axis are planar linear motion axes for controlling the movement of the cutting spindle in the horizontal plane, the Z1 axis and Z2 axis are vertical linear motion axes for controlling the movement of the cutting spindle in the vertical direction, the C1 axis and C2 axis are rotation axes for controlling the rotation angle of the cutting spindle, and the B1 axis and B2 axis are yaw axes for controlling the yaw angle of the cutting spindle.

[0011] Furthermore, the step S1 also includes inputting processing parameters, which include processing feed speed and spindle speed.

[0012] Furthermore, in the step S1, the numerical control system has a processing interface, and the processing mode and corresponding parameters are stored line by line in a table form through the processing interface.

[0013] Furthermore, in step S2, during processing, a loop is performed for each row of data in the table, and during each loop, a G code is generated according to the processing mode and its corresponding parameters.

[0014] Furthermore, in step S2, when the processing mode is spatial arc processing, generating G code includes the following steps:

[0015] Step S211: Get the coordinates of the starting point of the space arc , coordinates of the middle point of the space arc and the coordinates of the end point of the space arc Normal vector of the determined plane , rotate the machine coordinate system so that its Z axis is aligned with the normal vector Align to obtain a first new coordinate system, where ;

[0016] Step S212: According to the formula Get the center coordinates of a space arc O ,in, is the radius of the space arc, is a vector and The angle between

[0017] Step S213: Divide the space arc into equal parts N 1 part, according to the formula Calculate the first i Equal points Coordinates in the first new coordinate system , and then according to the formula Rotate the coordinate back to the machine tool coordinate system to obtain the spatial point coordinates corresponding to the equally divided point The unit machining trajectory is composed of the spatial point coordinates corresponding to each equally divided point. The G code is generated according to the unit machining trajectory, machining feed speed and spindle speed, where: , R ' is the rotation matrix for rotating the machine tool coordinate system to obtain the first new coordinate system.

[0018] Furthermore, in step S2, when the processing mode is bevel circle processing, generating the G code includes the following steps:

[0019] Step S221: Project the bevel circle onto the XY plane of the machine tool coordinate system and calculate the angle between the bevel circle and the XY plane of the machine tool coordinate system. And the projection direction angle of the unit normal vector ,in, A 、 B 、 C They are the normal vectors of the inclined plane circle in the machine tool coordinate system X 、 Y 、 Z The raw components of the axis;

[0020] Step S222: Construct a rotation transformation matrix: , so that the machine tool coordinate system is transformed according to the transformation matrix to obtain the second new coordinate system, where To rotate the machine tool coordinate system around the Z axis The matrix, Tilt the machine coordinate system toward the Y axis Matrix of

[0021] Step S223: Divide the inclined circle into equal parts in the second new coordinate system. N 2 copies, then I Equal points p I The spatial coordinates of ,Depend on N The two spatial coordinates form a unit machining trajectory, and the G code is generated according to the unit machining trajectory, machining feed speed and spindle speed. , , r is the radius of the inclined surface, are the coordinates of the center of the inclined circle.

[0022] Furthermore, in step S2, when the machining mode is linear machining, a G code is generated according to the coordinates of each point constituting the straight line, the machining feed speed, and the spindle speed.

[0023] The present invention has the following beneficial effects:

[0024] 1. The present invention aims at space arc processing, bevel circle processing and straight line processing that may exist in luggage processing, and generates G codes for dual-channel machine tools according to corresponding parameters respectively. More specifically, for space arc processing, the coordinates of discrete points on the space arc are obtained according to the corresponding parameters, and then the processing trajectory is obtained and the G code for dual-channel machine tools is generated. For bevel circle processing, the bevel circle is obtained according to the corresponding parameters, and the bevel circle is subjected to double rotation matrix decomposition, and then the processing trajectory is obtained and the G code for dual-channel machine tools is generated. For straight line processing, the processing trajectory is obtained according to the coordinates of each point and the G code for dual-channel machine tools is generated, thereby realizing automated cutting processing, without the need for multiple machine tools to perform step-by-step processing, thereby effectively improving the cutting processing efficiency, consistency and quality, reducing labor costs, and thus reducing cutting processing costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The present invention will be further described in detail below with reference to the accompanying drawings.

[0026] Figure 1 Flowchart of the present invention.

[0027] Figure 2 It is a structural schematic diagram of the dual-channel machine tool of the present invention.

[0028] Figure 3 Schematic diagram of the space arc trajectory of the present invention.

[0029] Figure 4 Schematic diagram of the inclined circular trajectory of the present invention.

[0030] Among them, 1. X1 axis; 2. Y1 axis; 3. Z1 axis; 4. B1 axis; 5. C1 axis; 6. X2 axis; 7. Y2 axis; 8. Z2 axis; 9. B2 axis; 10. C2 axis; 11. Electric cabinet; 12. Control panel. DETAILED DESCRIPTION

[0031] like Figure 1 As shown, the bag cutting processing method based on the dual-channel ten-axis CNC system includes the following steps:

[0032] Step S1, select a processing mode and input parameters corresponding to the selected processing mode, wherein the processing modes include space arc processing, bevel circle processing and straight line processing. The parameters corresponding to space arc processing include the coordinates of the starting point of the space arc, the coordinates of the middle point of the space arc, and the coordinates of the end point of the space arc. The parameters corresponding to bevel circle processing include the radius of the bevel circle and the coordinates of the center of the bevel circle. The parameters corresponding to straight line processing include the coordinates of each point that constitutes the straight line.

[0033] Among them, Figure 2As shown, the CNC system includes a dual-channel machine tool, which consists of a first five-axis machining mechanism and a second five-axis machining mechanism that can be independently operated, and also includes an electric cabinet 11 for supplying power to the first five-axis machining mechanism and the second five-axis machining mechanism, and a control console 12 for controlling the movements of the first five-axis machining mechanism and the second five-axis machining mechanism. The motion axes of the first five-axis machining mechanism include an X1 axis 1, a Y1 axis 2, a Z1 axis 3, a C1 axis 5, and a B1 axis 4. The motion axes of the second five-axis machining mechanism include an X2 axis 6, a Y2 axis 7, a Z2 axis 8, a C2 axis 10, and a B2 axis 9. The X1 axis 1, the X2 axis 6, the Y1 axis 2, and the Y2 axis 7 are planar linear motion axes for controlling the movement of the cutting spindle in the horizontal plane, the Z1 axis 3 and the Z2 axis 8 are vertical linear motion axes for controlling the movement of the cutting spindle in the vertical direction, the C1 axis 5 and the C2 axis 10 are rotation axes for controlling the rotation angle of the cutting spindle, and the B1 axis 4 and the B2 axis 9 are yaw axes for controlling the yaw angle of the cutting spindle. In this way, dual five-axis control is achieved, which can realize multi-axis linkage motion and independent motion of two five-axis processing mechanisms, thereby achieving efficient motion processing of various types of complex shapes.

[0034] The CNC system's machining interface allows users to enter machining modes and corresponding parameters. Each machining mode and its corresponding parameters are stored row by row in a table format. Furthermore, users must enter machining parameters, including feed rate and spindle speed.

[0035] Step S2: When the machining mode is spatial arc machining, the coordinates of discrete points on the spatial arc are obtained according to the corresponding parameters, and then the machining trajectory is obtained and the G code executed by the dual-channel machine tool is generated;

[0036] When the machining mode is bevel circle machining, the bevel circle is obtained according to the corresponding parameters, and the bevel circle is subjected to double rotation matrix decomposition to obtain the machining trajectory and generate G code executed by the dual-channel machine tool;

[0037] When the machining mode is linear machining, the machining trajectory is obtained according to the coordinates of each point and the G code executed by the dual-channel machine tool is generated;

[0038] More specifically, the CNC system integrates CAM algorithms corresponding to different machining modes to generate G-code machining programs. The CAM algorithm is written in the C++ programming language. Its overall framework uses loop statements, which loop through each row of data in a table. During each loop, G-code is generated based on the machining mode and its corresponding parameters.

[0039] The core of the CAM algorithm is to derive the corresponding unit trajectory and G-code parameters based on the loop variables for each row of table data. By setting identifiers corresponding to machining modes (in this example, the values ​​are 0, 1, and 2), the CAM algorithm uses if statements to determine the values ​​of these three identifiers and select the sub-algorithm function body corresponding to each machining mode, thereby performing the corresponding trajectory planning and G-code generation.

[0040] When the processing mode is space arc processing, the unit trajectory is as follows Figure 3 The space arc shown ( Figure 3 The inclined block in the figure is part of the bag). Generating G code includes the following steps:

[0041] Step S211: Based on the coordinates of the starting point of the space arc , coordinates of the middle point of the space arc The three non-collinear points with the coordinates of the end point of the space arc can determine the plane where the space arc is located, and the vector is constructed from these three points. and : , and then get the normal vector of the plane where the space arc is located , the normal vector determines the spatial orientation of the space arc, and rotates the machine tool coordinate system so that its Z axis is aligned with the normal vector Align to obtain a first new coordinate system;

[0042] Step S212: According to the formula Get the center coordinates of a space arc O ,in, is the radius of the space arc, is a vector and The angle of For three points in space P 1. P 2. P 3. The center position vector of the space arc determined by 3, the coordinates of the center of the circle are the same as the value of the center position vector;

[0043] Step S213: Divide the space arc into equal parts N 1 to discretize the space arc, according to the formula Calculate the first i Equal points Coordinates in the first new coordinate system , and then according to the formula Rotate the coordinate back to the machine tool coordinate system to obtain the spatial point coordinates corresponding to the equally divided point The unit machining trajectory is composed of the spatial point coordinates corresponding to each equally divided point. The G code is generated according to the unit machining trajectory, machining feed speed and spindle speed, where: , R ' is the rotation matrix for rotating the machine tool coordinate system to obtain the first new coordinate system. The process of rotating the coordinates back to the machine tool coordinate system is the inverse process of rotating the machine tool coordinate system to obtain the first new coordinate system.

[0044] When the processing mode is inclined circle processing, the unit trajectory is as follows Figure 4 The bevel circle shown ( Figure 4 The inclined block in the figure is part of the bag). Generating G code includes the following steps:

[0045] Step S221, define the normal vector perpendicular to the inclined circular plane as , A 、 B 、 C They are the normal vector in the machine tool coordinate system X 、 Y 、 Z The original component in the direction, in order to eliminate the influence of the normal vector length on the projection calculation, the normal vector is normalized to obtain , then project the bevel circle onto the XY plane of the machine tool coordinate system, and calculate the angle between the bevel circle and the XY plane of the machine tool coordinate system and the unit normal vector The projection direction angle ;

[0046] Step S222: Construct a rotation transformation matrix: , so that the machine tool coordinate system is transformed according to the transformation matrix to obtain the second new coordinate system, where To rotate the machine tool coordinate system around the Z axis The matrix, Tilt the machine coordinate system toward the Y axis Matrix of

[0047] Step S223: Divide the inclined circle into equal parts in the second new coordinate system. N 2 copies, then I Equal points p I The spatial coordinates of ,Right now ,Depend on N The two spatial coordinates form a unit machining trajectory, and the G code is generated according to the unit machining trajectory, machining feed speed and spindle speed. , , r is the radius of the inclined surface, is the coordinate of the center of the inclined plane circle. By decomposing the double rotation matrix, the computational complexity of the three-dimensional coordinate transformation can be greatly reduced compared to the traditional homogeneous coordinate transformation method. At the same time, it supports any normal vector direction, including the vertical plane ( C = 0) and horizontal plane ( C = 1).

[0048] When the machining mode is linear machining, G code is generated according to the coordinates of each point that makes up the straight line, the machining feed speed and the spindle speed.

[0049] The G-code machining program, corresponding to the machining trajectory in the machine tool's workpiece coordinate system, is then transferred to the CNC system of the dual-channel machine tool, which then completes the corresponding bag cutting process. This process, based on existing technology, essentially involves interpreting the G-code through an interpreter and interpolating it through an interpolator. Taking into account the machine tool's structural dimensions and tool parameters such as tool radius and length, the coordinate values ​​of each servo axis of the machine tool are calculated through forward and inverse kinematic calculations. These values ​​are then transferred to the drivers of their respective servo motors through appropriate offsets and compensation, thereby controlling the machine tool's motion to complete the corresponding bag cutting process. Users only need to understand the machining process and obtain the corresponding parameters based on existing bags, without having to understand the process of generating machining programs, to achieve efficient programming of bag products.

[0050] The above description is merely a preferred embodiment of the present invention and therefore cannot be used to limit the scope of the present invention. In other words, equivalent changes and modifications made according to the scope of the patent application and the contents of the specification should still fall within the scope of the patent of the present invention.

Claims

1. A bag cutting method based on a dual-channel ten-axis CNC system, characterized by: The CNC system includes a dual-channel machine tool and includes the following steps: Step S1, select a processing mode and input parameters corresponding to the selected processing mode, wherein the processing modes include space arc processing, bevel circle processing and straight line processing. The parameters corresponding to space arc processing include the coordinates of the starting point of the space arc, the coordinates of the middle point of the space arc, and the coordinates of the end point of the space arc. The parameters corresponding to bevel circle processing include the radius of the bevel circle and the coordinates of the center of the bevel circle. The parameters corresponding to straight line processing include the coordinates of each point that constitutes the straight line. Step S2: When the machining mode is spatial arc machining, the coordinates of discrete points on the spatial arc are obtained according to the corresponding parameters, and then the machining trajectory is obtained and the G code executed by the dual-channel machine tool is generated; When the machining mode is bevel circle machining, the bevel circle is obtained according to the corresponding parameters, and the bevel circle is subjected to double rotation matrix decomposition to obtain the machining trajectory and generate G code executed by the dual-channel machine tool; When the machining mode is linear machining, the machining trajectory is obtained according to the coordinates of each point and the G code executed by the dual-channel machine tool is generated; In step S2, when the processing mode is spatial arc processing, generating G code includes the following steps: Step S211: Get the coordinates of the starting point of the space arc , coordinates of the middle point of the space arc and the coordinates of the end point of the space arc Normal vector of the determined plane , rotate the machine coordinate system so that its Z axis is aligned with the normal vector Align to obtain a first new coordinate system, where ; Step S212: According to the formula Get the center coordinates of a space arc O ,in, is the radius of the space arc, is a vector and The angle between Step S213: Divide the space arc into equal parts N 1 part, according to the formula Calculate the first i Equal points The coordinates in the first new coordinate system, and then according to the formula Rotate the coordinate back to the machine tool coordinate system to obtain the spatial point coordinates corresponding to the equally divided point The unit machining trajectory is composed of the spatial point coordinates corresponding to each equally divided point. The G code is generated according to the unit machining trajectory, machining feed speed and spindle speed, where: , R ' is the rotation matrix for rotating the machine tool coordinate system to obtain the first new coordinate system; In step S2, when the processing mode is bevel circle processing, generating G code includes the following steps: Step S221: Project the bevel circle onto the XY plane of the machine tool coordinate system and calculate the angle between the bevel circle and the XY plane of the machine tool coordinate system. And the projection direction angle of the unit normal vector ,in, A 、 B 、 C They are the normal vectors of the inclined plane circle in the machine tool coordinate system X 、 Y 、 Z The raw components of the axis; Step S222: Construct a rotation transformation matrix: , so that the machine tool coordinate system is transformed according to the transformation matrix to obtain the second new coordinate system, where To rotate the machine tool coordinate system around the Z axis The matrix, Tilt the machine coordinate system toward the Y axis Matrix of Step S223: Divide the inclined circle into equal parts in the second new coordinate system. N 2 copies, then I Equal points p I The spatial coordinates of ,Depend on N The two spatial coordinates form a unit machining trajectory, and the G code is generated according to the unit machining trajectory, machining feed speed and spindle speed. , , r is the radius of the inclined surface, are the coordinates of the center of the inclined circle.

2. The bag cutting method based on a dual-channel ten-axis CNC system according to claim 1, characterized in that: The dual-channel machine tool consists of an independent first five-axis machining mechanism and a second five-axis machining mechanism. The motion axes of the first five-axis machining mechanism include X1 axis, Y1 axis, Z1 axis, C1 axis and B1 axis. The motion axes of the second five-axis machining mechanism include X2 axis, Y2 axis, Z2 axis, C2 axis and B2 axis. The X1 axis, X2 axis, Y1 axis and Y2 axis are planar linear motion axes for controlling the movement of the cutting spindle in the horizontal plane, the Z1 axis and Z2 axis are vertical linear motion axes for controlling the movement of the cutting spindle in the vertical direction, the C1 axis and C2 axis are rotation axes for controlling the rotation angle of the cutting spindle, and the B1 axis and B2 axis are yaw axes for controlling the yaw angle of the cutting spindle.

3. The bag cutting method based on a dual-channel ten-axis CNC system according to claim 1, characterized in that: The step S1 also includes inputting processing parameters, which include processing feed speed and spindle speed.

4. The bag cutting method based on a dual-channel ten-axis CNC system according to claim 2, characterized in that: In step S1, the numerical control system has a processing interface, and the processing mode and corresponding parameters are stored line by line in a table form through the processing interface.

5. The bag cutting method based on a dual-channel ten-axis CNC system according to claim 4 is characterized in that: In step S2, during processing, a loop is performed for each row of data in the table, and during each loop, a G code is generated according to the processing mode and its corresponding parameters.

6. The bag cutting method based on a dual-channel ten-axis CNC system according to claim 2, 3, 4, or 5, characterized in that: In step S2, when the machining mode is linear machining, a G code is generated according to the coordinates of each point constituting the straight line, the machining feed speed, and the spindle speed.

Citation Information

Patent Citations

  • Interpolating-free machine tool machining method

    CN105108508A

  • Arc surface glass cutting method based on coordinate transformation

    CN114357549A

  • Conical plate stone milling groove machining method based on numerical control system double-station machine tool

    CN118906256A

  • Method for machining workpiece through linkage vertical and horizontal mixed machining machine tool

    CN119550091A