Intersecting linear orifice machining method and system
By controlling the rotation angle and position coordinates of the milling cutter in CNC machining and directly controlling the milling cutter movement, the complexity of orifice intersecting line processing procedures and equipment compatibility problems in the prior art are solved, and the machining efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202411882491.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-02-25
AI Technical Summary
When processing orifice intersecting lines in the existing CNC processing technology, it is necessary to first build trajectory lines in the three-dimensional modeling software and adapt equipment compatibility, and the processing parameters are cumbersome to modify, which affects efficiency.
A method of processing intersecting linear orifices is proposed. By controlling the milling cutter to rotate in the horizontal and vertical planes, obtain the current angle and determine the next position coordinates, directly control the milling cutter movement to avoid determining the processing procedure in advance.
It improves the efficiency of orifice line processing, simplifies the programming process, reduces the programming error rate, and ensures processing accuracy and efficiency.
Smart Images

Figure CN119501161A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of numerical control machining, and in particular to a method and system for machining intersecting linear orifices. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] In CNC machining, we will encounter the machining of side holes of cylindrical parts. Taking into account the distribution of product stress concentration, assembly performance, appearance quality and safety, it is necessary to chamfer the hole. The hole and the surface of the cylinder are in the shape of an intersecting line, and the machining path is usually a series of complex curves and arcs.
[0004] Currently, when machining the intersection line of the hole mouth through CNC machining, it is necessary to first construct the trajectory line of the intersection line in the 3D modeling software, and then import the trajectory line into the CNC equipment. The CNC equipment generates a machining program for the intersection line based on the trajectory line of the intersection line. There is a problem of equipment compatibility. The trajectory line generated by the 3D modeling software may not be directly applicable to all CNC equipment, and additional adaptation work is required. When the machining parameters need to be modified, the trajectory line of the intersection line needs to be modified, and then the modified trajectory line is imported into the CNC equipment to regenerate the machining program. The modification is time-consuming and labor-intensive. Summary of the invention
[0005] In order to solve the above problems, the present invention proposes a method and system for processing intersecting line holes, which can determine the next position coordinates of the milling cutter during the hole intersection line processing without determining the processing program in advance, thereby improving the processing efficiency while ensuring the processing accuracy.
[0006] To achieve the above object, the present invention adopts the following technical solution:
[0007] In the first aspect, a method for processing intersecting linear orifices is proposed, comprising:
[0008] The milling cutter is controlled to rotate one circle in the horizontal plane, then rotate in the vertical plane to set the vertical angle, and then rotate one circle in the horizontal plane to process the hole intersection line. During the processing of the hole intersection line, the current horizontal rotation angle and vertical rotation angle of the milling cutter are obtained;
[0009] According to the current horizontal rotation angle and vertical rotation angle of the milling cutter, determine the next horizontal rotation angle and vertical rotation angle of the milling cutter;
[0010] According to the horizontal rotation angle and vertical rotation angle of the milling cutter in the next step, combined with the radius of the workpiece, the diameter of the circular hole, the radius of the hole corner and the radius of the milling cutter, the position coordinates of the milling cutter in the next step are determined;
[0011] The milling cutter is controlled according to the position coordinates of the milling cutter in the next step.
[0012] Furthermore, when the next step of the milling cutter is to rotate in the horizontal plane to set a horizontal angle, the next horizontal rotation angle of the milling cutter is the current horizontal rotation angle plus the set horizontal angle; the next vertical rotation angle of the milling cutter is the current vertical rotation angle;
[0013] When the next step of the milling cutter is to rotate to a set vertical angle in the vertical plane, the next horizontal rotation angle of the milling cutter is the current horizontal rotation angle plus the set horizontal angle; the next vertical rotation angle of the milling cutter is the current vertical rotation angle plus the set vertical angle.
[0014] Furthermore, when the milling cutter is located at the initial position, the horizontal rotation angle and the vertical rotation angle are both 0.
[0015] Furthermore, when the current vertical rotation angle of the milling cutter is greater than 90° and the current horizontal rotation angle is greater than 360°, the hole intersection line processing is completed.
[0016] Furthermore, the position coordinates of the milling cutter in the next step include coordinates X, Y and Z;
[0017] X=(R2-R6*SIN(R4)+R5-R5*SIN(R4))*COS(R3);
[0018] Y=(R2-R6*SIN(R4)+R5-R5*SIN(R4))*SIN(R3);
[0019] Z=-R1+SQRT(R1*R1-(R2-R6*SIN(R4)+R5-R5*SIN(R4))*(R2-R6*SIN(R4)+R5-R5*SIN(R4))*COS(R3)*COS(R3))-R5+R5*COS(R4)+R6*COS(R4);
[0020] Where R1 is the workpiece radius, R2 is the hole diameter, R5 is the hole fillet radius, R6 is the milling cutter radius, R3 is the horizontal rotation angle, and R4 is the vertical rotation angle.
[0021] Furthermore, the milling cutter adopts a ball-end milling cutter.
[0022] In the second aspect, a system for processing intersecting linear orifices is proposed, comprising:
[0023] A data acquisition unit is used to control the milling cutter to process the hole intersection line in a manner of rotating one circle in the horizontal plane, rotating one circle in the vertical plane to set the vertical angle, and then rotating one circle in the horizontal plane. During the processing of the hole intersection line, the current horizontal rotation angle and vertical rotation angle of the milling cutter are obtained;
[0024] A position angle determination unit, used to determine the next horizontal rotation angle and vertical rotation angle of the milling cutter according to the current horizontal rotation angle and vertical rotation angle of the milling cutter;
[0025] A position coordinate determination unit is used to determine the position coordinates of the milling cutter for the next step according to the horizontal rotation angle and vertical rotation angle of the milling cutter for the next step, combined with the radius of the workpiece, the diameter of the circular hole, the radius of the hole fillet and the radius of the milling cutter;
[0026] The control unit is used to control the milling cutter according to the position coordinates of the milling cutter for the next step.
[0027] In a third aspect, a computer device is provided, the device comprising:
[0028] a processor adapted to execute a computer program;
[0029] A computer-readable storage medium having a computer program stored therein, wherein when the computer program is executed by the processor, the method for processing intersecting linear holes proposed in the first aspect is implemented.
[0030] In a fourth aspect, a computer-readable storage medium is proposed, wherein the computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing a method for processing intersecting linear holes proposed in the first aspect.
[0031] In a fifth aspect, a computer program product is proposed, which includes a computer program. When the computer program is executed by a processor, it implements the method for processing intersecting linear holes proposed in the first aspect.
[0032] Compared with the prior art, the present invention has the following beneficial effects:
[0033] The present invention proposes a method and system for processing intersecting line holes. The method obtains the current horizontal rotation angle and vertical rotation angle of the milling cutter during the processing of the hole mouth intersecting line, and determines the position coordinates of the milling cutter for the next step according to the current angle of the milling cutter, thereby realizing trajectory planning for the milling cutter during the processing of the hole mouth intersecting line, simplifying the programming process, reducing the programming error rate, and ensuring the processing accuracy and efficiency of the hole mouth intersecting line.
[0034] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.
[0036] Figure 1 A flow chart of a method for processing intersecting linear orifices disclosed in an embodiment;
[0037] Figure 2 It is a three-view drawing of the intersecting linear orifice disclosed in the embodiment;
[0038] Figure 3 The figure is a motion trajectory diagram of the milling cutter disclosed in the embodiment.
[0039] Among them: 1. Upper boundary of fillet, 2. Lower boundary of fillet, 3. Movement trajectory of milling cutter. DETAILED DESCRIPTION
[0040] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0041] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0042] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0043] Example 1
[0044] In CNC machining, we will encounter the processing of side holes of cylindrical parts. Considering the distribution of product stress concentration, assembly performance, appearance quality and safety, it is necessary to round the hole. The hole and the surface of the cylinder form an intersecting line. The machining path is usually a series of complex curves and arcs. Figure 3 As shown, the milling cutter moves between the upper boundary 1 of the fillet and the lower boundary 2 of the fillet according to the set milling cutter motion trajectory to process the hole intersection line.
[0045] When the current CNC machining is used to process the intersection line of the hole, the machining program can be generated by programming software, but there are the following shortcomings:
[0046] 1. Automatically generated programs are often cumbersome and lengthy, dozens or hundreds of times longer than manual programming, resulting in poor readability of the programs;
[0047] 2. It is difficult to adjust the processing parameters. Due to the complex program structure, it is very difficult to modify and even requires reprogramming;
[0048] 3. There are compatibility issues with CNC machining equipment. The programs generated by the software may not be directly applicable to all machine tools and additional adaptation work is required.
[0049] In order to solve the above technical problems, in this embodiment, a method for processing intersecting linear orifices is disclosed, such as Figure 1-Figure 3 As shown, including:
[0050] The milling cutter is controlled to rotate one circle in the horizontal plane, then rotate in the vertical plane to set the vertical angle, and then rotate one circle in the horizontal plane to process the hole intersection line. During the processing of the hole intersection line, the current horizontal rotation angle and vertical rotation angle of the milling cutter are obtained;
[0051] According to the current horizontal rotation angle and vertical rotation angle of the milling cutter, determine the next horizontal rotation angle and vertical rotation angle of the milling cutter;
[0052] According to the horizontal rotation angle and vertical rotation angle of the milling cutter in the next step, combined with the radius of the workpiece, the diameter of the circular hole, the radius of the hole corner and the radius of the milling cutter, the position coordinates of the milling cutter in the next step are determined;
[0053] The milling cutter is controlled according to the position coordinates of the milling cutter in the next step.
[0054] The present embodiment discloses a method for processing intersecting line orifices, which mainly converts the orifice intersecting lines into graphics of different perspectives, analyzes the geometric features and processing paths of the intersecting lines, obtains a calculation scheme for the intersecting lines and makes it into a macro program. The present embodiment can complete complex intersecting line fillet processing through a concise program, thereby solving the problem of insufficient precision in manual grinding processing. Because the program adopts the variable loop method for programming, the programming process is further simplified, the programming error rate is reduced, and the processing quality of the product is guaranteed.
[0055] The three-view drawing of the hole intersection line is as follows Figure 2 As shown, in this embodiment, the highest point in the center of the circular hole is used as the coordinate origin to assign values to the required variables. The required variables include: workpiece radius R1, circular hole diameter R2, hole fillet radius R5, milling cutter radius R6, horizontal rotation angle R3 and vertical rotation angle R4.
[0056] The horizontal rotation angle refers to the rotation angle in the XY plane, which is 0°-360°.
[0057] The vertical rotation angle refers to the rotation angle in the XZ plane, which is 0°-90°.
[0058] The coordinate origin of the milling cutter is the highest point in the center of the circular hole.
[0059] In this embodiment, the milling cutter for processing the hole mouth intersection line adopts a ball-end milling cutter. The ball-end milling cutter processes the hole mouth intersection line from the initial position, and during the processing, the milling cutter first rotates one circle in the horizontal plane, then rotates in the vertical plane to set the vertical angle, and then rotates one circle in the horizontal plane, until the current vertical rotation angle of the milling cutter is greater than 90° and the current horizontal rotation angle is greater than 360°, the hole mouth intersection line processing is completed.
[0060] When the milling cutter is at the initial position, the horizontal rotation angle and the vertical rotation angle are both 0.
[0061] When the milling cutter is processing the hole intersection line, the current horizontal rotation angle and vertical rotation angle of the milling cutter are obtained; when the next step of the milling cutter is to rotate in the horizontal plane to set the horizontal angle, the next horizontal rotation angle of the milling cutter is the current horizontal rotation angle plus the set horizontal angle; the next vertical rotation angle of the milling cutter is the current vertical rotation angle;
[0062] When the next step of the milling cutter is to rotate to a set vertical angle in the vertical plane, the next horizontal rotation angle of the milling cutter is the current horizontal rotation angle plus the set horizontal angle; the next vertical rotation angle of the milling cutter is the current vertical rotation angle plus the set vertical angle.
[0063] Preferably, the horizontal angle is set to 0.1° and the vertical angle is set to 3°.
[0064] According to the horizontal rotation angle and vertical rotation angle of the milling cutter in the next step, combined with the radius of the workpiece, the diameter of the circular hole, the radius of the hole corner and the radius of the milling cutter, the position coordinates of the milling cutter in the next step are determined, including the coordinates X, Y and Z;
[0065] X=(R2-R6*SIN(R4)+R5-R5*SIN(R4))*COS(R3);
[0066] Y=(R2-R6*SIN(R4)+R5-R5*SIN(R4))*SIN(R3);
[0067] Z=-R1+SQRT(R1*R1-(R2-R6*SIN(R4)+R5-R5*SIN(R4))*(R2-R6*SIN(R4)+R5-R5*SIN(R4))*COS(R3)*COS(R3))-R5+R5*COS(R4)+R6*COS(R4);
[0068] Where R1 is the workpiece radius, R2 is the hole diameter, R5 is the hole fillet radius, R6 is the milling cutter radius, R3 is the horizontal rotation angle, and R4 is the vertical rotation angle.
[0069] When the hole intersection line processing method disclosed in this embodiment is used to process the hole intersection line, the hole intersection line is processed according to the following process:
[0070] S1: Determine the position coordinates of the milling cutter according to the horizontal rotation angle and the vertical rotation angle;
[0071] Wherein, X = (R2-R6*SIN(R4)+R5-R5*SIN(R4))*COS(R3);
[0072] Y=(R2-R6*SIN(R4)+R5-R5*SIN(R4))*SIN(R3);
[0073] Z=-R1+SQRT(R1*R1-(R2-R6*SIN(R4)+R5-R5*SIN(R4))*(R2-R6*SIN(R4)+R5-R5*SIN(R4))*COS(R3)*COS(R3))-R5+R5*COS(R4)+R6*COS(R4).
[0074] S2: Control the milling cutter to move to the position coordinates determined by S1;
[0075] S3: Update the horizontal rotation angle of the milling cutter; after the update, the horizontal rotation angle of the milling cutter is R3=R3+0.1; when R3 is less than or equal to 360°, return to S1; when R3 is greater than 360°, enter S4;
[0076] S4: Update the vertical rotation angle of the milling cutter; after the update, the vertical rotation angle of the milling cutter is R4=R4+3; when R4 is less than or equal to 90°, return to S1; when R4 is greater than 90°, the hole intersection line processing is completed.
[0077] The present embodiment discloses a method for processing intersecting line holes, which obtains the current horizontal rotation angle and vertical rotation angle of the milling cutter during the hole mouth intersecting line processing, and determines the next step position coordinates of the milling cutter according to the current angle of the milling cutter, thereby realizing trajectory planning for the milling cutter during the hole mouth intersecting line processing, simplifying the programming process, reducing the programming error rate, and ensuring the processing accuracy and efficiency of the hole mouth intersecting lines.
[0078] Example 2
[0079] In this embodiment, a system for processing intersecting linear orifices is disclosed, comprising:
[0080] A data acquisition unit is used to control the milling cutter to process the hole intersection line in a manner of rotating one circle in the horizontal plane, rotating one circle in the vertical plane to set the vertical angle, and then rotating one circle in the horizontal plane. During the processing of the hole intersection line, the current horizontal rotation angle and vertical rotation angle of the milling cutter are obtained;
[0081] A position angle determination unit, used to determine the next horizontal rotation angle and vertical rotation angle of the milling cutter according to the current horizontal rotation angle and vertical rotation angle of the milling cutter;
[0082] A position coordinate determination unit is used to determine the position coordinates of the milling cutter for the next step according to the horizontal rotation angle and vertical rotation angle of the milling cutter for the next step, combined with the radius of the workpiece, the diameter of the circular hole, the radius of the hole fillet and the radius of the milling cutter;
[0083] The control unit is used to control the milling cutter according to the position coordinates of the milling cutter in the next step. The present invention also discloses a computer device, which includes:
[0084] a processor adapted to execute a computer program;
[0085] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, a method for processing intersecting linear orifices disclosed in Example 1 is implemented.
[0086] The present invention also discloses a computer-readable storage medium, which stores a computer program. The computer program is suitable for being loaded by a processor and executing a method for processing intersecting linear orifices disclosed in Example 1.
[0087] The present invention also discloses a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for processing intersecting linear holes disclosed in Example 1 is implemented.
[0088] The method disclosed in Example 1 can be directly embodied as a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
[0089] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0090] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A method for processing intersecting linear orifices, characterized in that: include: The milling cutter is controlled to rotate one circle in the horizontal plane, then rotate in the vertical plane to set the vertical angle, and then rotate one circle in the horizontal plane to process the hole intersection line. During the processing of the hole intersection line, the current horizontal rotation angle and vertical rotation angle of the milling cutter are obtained; According to the current horizontal rotation angle and vertical rotation angle of the milling cutter, determine the next horizontal rotation angle and vertical rotation angle of the milling cutter; According to the horizontal rotation angle and vertical rotation angle of the milling cutter in the next step, combined with the radius of the workpiece, the diameter of the circular hole, the radius of the hole corner and the radius of the milling cutter, the position coordinates of the milling cutter in the next step are determined; The milling cutter is controlled according to the position coordinates of the milling cutter in the next step.
2. A method for processing intersecting linear orifices according to claim 1, characterized in that: When the next step of the milling cutter is to rotate in the horizontal plane to set a horizontal angle, the next horizontal rotation angle of the milling cutter is the current horizontal rotation angle plus the set horizontal angle; the next vertical rotation angle of the milling cutter is the current vertical rotation angle; When the next step of the milling cutter is to rotate to a set vertical angle in the vertical plane, the next horizontal rotation angle of the milling cutter is the current horizontal rotation angle plus the set horizontal angle; the next vertical rotation angle of the milling cutter is the current vertical rotation angle plus the set vertical angle.
3. A method for processing intersecting linear orifices according to claim 1, characterized in that: When the milling cutter is in the initial position, the horizontal rotation angle and the vertical rotation angle are both 0.
4. A method for processing intersecting linear orifices according to claim 1, characterized in that: When the current vertical rotation angle of the milling cutter is greater than 90° and the current horizontal rotation angle is greater than 360°, the hole intersection line processing is completed.
5. A method for processing intersecting linear orifices according to claim 1, characterized in that: The position coordinates of the milling cutter in the next step include coordinates X, Y and Z; X=(R2-R6*SIN(R4)+R5-R5*SIN(R4))*COS(R3); Y=(R2-R6*SIN(R4)+R5-R5*SIN(R4))*SIN(R3); Z=-R1+SQRT(R1*R1-(R2-R6*SIN(R4)+R5-R5*SIN(R4))*(R2-R6*SIN(R4)+R5-R5*SIN(R4))*COS(R3)*COS(R3))-R5+R5*COS(R4)+R6*COS(R4); Where R1 is the workpiece radius, R2 is the hole diameter, R5 is the hole fillet radius, R6 is the milling cutter radius, R3 is the horizontal rotation angle, and R4 is the vertical rotation angle.
6. A method for processing intersecting linear orifices according to claim 1, characterized in that: The milling cutter is a ball-end milling cutter.
7. A system for processing intersecting linear orifices, characterized in that: include: A data acquisition unit is used to control the milling cutter to process the hole intersection line in a manner of rotating one circle in the horizontal plane, rotating one circle in the vertical plane to set the vertical angle, and then rotating one circle in the horizontal plane. During the processing of the hole intersection line, the current horizontal rotation angle and vertical rotation angle of the milling cutter are obtained; A position angle determination unit, used to determine the next horizontal rotation angle and vertical rotation angle of the milling cutter according to the current horizontal rotation angle and vertical rotation angle of the milling cutter; A position coordinate determination unit is used to determine the position coordinates of the milling cutter for the next step according to the horizontal rotation angle and vertical rotation angle of the milling cutter for the next step, combined with the radius of the workpiece, the diameter of the circular hole, the radius of the hole fillet and the radius of the milling cutter; The control unit is used to control the milling cutter according to the position coordinates of the milling cutter for the next step.
8. An electronic device, characterized in that: The device comprises: a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the method for processing intersecting linear holes according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the method for processing intersecting linear holes as described in any one of claims 1-6.
10. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the method for processing intersecting linear holes as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Chamfering machining method for side hole of cylinder
CN112122881A
Internal intersecting line fillet machining method
CN113369552A
Arc chamfer machining method for orifice of oil hole in crankshaft journal of diesel engine
CN114161222A
Grinding method and grinding apparatus
WO2023061510A1