[go: up one dir, main page]

CN120326005A - A concentric circle CNC turning processing method - Google Patents

A concentric circle CNC turning processing method

Info

Publication number
CN120326005A
CN120326005A CN202510283602.0A CN202510283602A CN120326005A CN 120326005 A CN120326005 A CN 120326005A CN 202510283602 A CN202510283602 A CN 202510283602A CN 120326005 A CN120326005 A CN 120326005A
Authority
CN
China
Prior art keywords
workpiece
circle
turning
concentric circle
eccentricity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510283602.0A
Other languages
Chinese (zh)
Inventor
陈远富
叶剑
关力
黄志伟
彭林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Shenkepu Industrial Technology Co ltd
Original Assignee
Zhuhai Shenkepu Industrial Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Shenkepu Industrial Technology Co ltd filed Critical Zhuhai Shenkepu Industrial Technology Co ltd
Priority to CN202510283602.0A priority Critical patent/CN120326005A/en
Publication of CN120326005A publication Critical patent/CN120326005A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23BTURNING; BORING
    • B23B1/00Methods for turning or working essentially requiring the use of turning-machines; Use of auxiliary equipment in connection with such methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)

Abstract

本发明公开了一种同心圆数控车削加工方法,旨在提供一种通过参数化配置能够适用于不同尺寸型号的锥状同心圆工件车削,输入相应的参数即可自动生成加工路径,自动完成加工,使加工锥状同心圆工件变得既方便又简单,而且可以对加工精度进行控制的同心圆数控车削加工方法。本发明包括以下具体步骤:步骤A设计数据预处理;步骤B、数据导入和参数配置;步骤C、启动车削功能;步骤D、视觉定位与偏心量获取;步骤E、执行刀路算法与补偿。本发明应用于车削加工的技术领域。

The present invention discloses a concentric circle CNC turning method, which aims to provide a concentric circle turning method applicable to conical concentric circle workpieces of different sizes and models through parameterized configuration, and can automatically generate a processing path by inputting corresponding parameters, and automatically complete the processing, so that the processing of conical concentric circle workpieces becomes convenient and simple, and the concentric circle CNC turning method can control the processing accuracy. The present invention includes the following specific steps: step A is to preprocess the design data; step B is to import data and configure parameters; step C is to start the turning function; step D is to visually locate and obtain the eccentricity; step E is to execute the tool path algorithm and compensation. The present invention is applied to the technical field of turning.

Description

Concentric circle numerical control turning method
Technical Field
The invention is applied to the technical field of turning, and particularly relates to a concentric circle numerical control turning method.
Background
In the traditional numerical control turning field, the machining of high-precision conical concentric circle workpieces is difficult, because the position difference of manually placing blanks each time is easy to machine parts with different eccentricities. According to different machining sizes, multiple feeding is needed to turn according to the concentric circular knife paths, and the turning can be achieved by a technician with special knowledge. However, the operators of the numerical control machine tool are not all persons with rich expertise, and on the other hand, even the professionals, the numerical control program is usually finished by turning a plurality of circular arcs with given cutting depth. Although the numerical control program can realize processing, the numerical control program can not meet the requirement of high-precision rapid processing, and has the defects in several aspects:
Firstly, the conical concentric workpiece is processed and programmed with a large amount of programs (large program amount is often not suitable for manual programming), errors are caused by slight carelessness, and once the product size is changed, the programs need to be re-programmed, thus consuming time and energy, and obviously being unfavorable for product updating and processing quality requirements.
Secondly, the numerical control program has no operability. The optimal cutting parameters of arc machining are determined by trial cutting of a numerical control lathe, and are different from one another because the optimal cutting parameters of different machine tools, different cutters, different workpiece materials, different finish requirements and different machining precision are different, and if the machining program cannot be changed in time in actual production, the optimal parameters are not easy to be obtained.
Thirdly, the conical concentric circle workpiece has the requirement of dimensional accuracy, but the cutter has tolerance, in addition, the cutter is worn in the processing process, and a numerical control program which can not correct parameters in time can not finish the processing of high-quality parts.
If the method can be designed to be suitable for turning conical concentric circle workpieces with different sizes and models through parameterization configuration, the machining path can be automatically generated by inputting corresponding parameters, and machining is automatically completed, so that the conical concentric circle workpieces can be machined conveniently and simply, and the machining precision can be controlled.
Disclosure of Invention
The invention aims to solve the technical problem of overcoming the defects of the prior art, and provides the concentric circle numerical control turning method which can be suitable for turning conical concentric circle workpieces with different sizes and models through parameterization configuration, can automatically generate a processing path after inputting corresponding parameters and automatically finish processing, so that the conical concentric circle workpieces are convenient and simple to process, and the processing precision can be controlled.
A concentric circle numerical control turning method is characterized by comprising the following specific steps:
Step A, preprocessing design data;
Step B, data importing and parameter configuration;
Step C, starting a turning function;
step D, visual positioning and eccentric amount acquisition;
E, executing a cutter path algorithm and compensation;
The visual positioning in the step D adopts an industrial camera to acquire images, the eccentricity is respectively acquired by the industrial camera to acquire four Mark point images on a workpiece, the acquired four Mark point images are respectively subjected to Blob analysis, mark areas are screened out by image gray level threshold values, the length, the width and the area of the areas, and a pixel point set at the edge of the area is acquired according to the position relation of the Mark areas on the image Fitting a circle using least squares, by minimizingSolving three optimal parameters A, B and C in the standard circle equation to obtain an optimal Mark fitting circle, whereinRepresenting the X-axis coordinate values of each pixel point of the edge of the Mark region on the image,And (3) representing pixel Y-axis coordinate values of each pixel point of the edge of the Mark region on the image, wherein A, B and C respectively represent three parameters of a general equation of a circle to be solved, comparing a fitting circle generated by the Mark point of the workpiece with a template fitting circle, and calculating the coordinate difference of the fitting circle and the template fitting circle to obtain the eccentricity of the workpiece.
Further, step E comprises the following subdivision steps:
Step E1, loading coordinate data and eccentric compensation data of a workpiece, and setting a locking shaft, wherein the locking shaft can change XYC three-axis interpolation motion into XC or YC two-axis interpolation motion, so that motion planning is simplified, efficiency and machining precision are improved, and meanwhile, the problem that the workpiece cannot be subjected to three-axis interpolation machining due to technological and structural design reasons can be solved;
e2, calculating a target position of the workpiece after the coordinate original data are eccentric;
e3, calculating a finish milling cutter path by using a spline curve expansion algorithm according to the position coordinate set after the workpiece is deviated;
E4, calculating a rough milling cutter path according to each milling feed by using a spline curve expansion algorithm again;
and E5, performing XC or YC coordinate transformation on the rough milling and finish milling tool paths to obtain a final tool path and ending a tool path algorithm.
Furthermore, the design data preprocessing in the step A firstly obtains the geometric plane design data of the turning workpiece by using professional software, the geometric plane design data comprises a spline curve of a graph, the data are used for generating a subsequent turning path, the Value of X, Y, Z, C is used for respectively reflecting the coordinates of the outer contour of the workpiece in a space coordinate system, and the processing track is ensured to be consistent with the drawing design.
And (C) importing the workpiece data obtained in the step (A) into motion control software to prepare for a subsequent processing process.
Further, after the visual positioning and the eccentric amount acquisition are completed in the step D, judging whether the eccentric amount acquisition is successful or not according to the visual positioning result, and continuously executing the step D if the acquisition is unsuccessful.
Further, when the eccentric amount in the step D is successfully obtained, a cutter path algorithm is executed to compensate the eccentric amount.
Further, the equipment starts to perform rough milling and finish milling according to the compensated tool path, and the rough milling and finish milling are divided into single-circle rough milling and multi-circle rough milling according to different turning feeding radiuses.
The application has the advantages that the application can be suitable for turning conical concentric circle workpieces with different sizes and models through parameterization configuration, the machining path can be automatically generated by inputting corresponding parameters, the machining is automatically completed, the conical concentric circle workpiece is convenient and simple to machine, in addition, the concentric circle numerical control turning machining method capable of controlling the machining precision is realized, a user needs to configure the workpiece size, the material, the cutting depth, the cutting speed and the like according to the actual requirements, and an error correction mechanism is arranged, the cutting and turning operation can be realized after the eccentric quantity is obtained through visual positioning and the comparison is successful, and the operation is convenient and the safety is high.
Drawings
FIG. 1 is a process flow diagram of the present invention;
FIG. 2 is a schematic illustration of the selection of Mark points on the workpiece;
Fig. 3 is a side view of the workpiece.
Detailed Description
As shown in fig. 1 to 3, in this embodiment, the present invention includes the following specific steps:
Step A, preprocessing design data;
Step B, data importing and parameter configuration;
Step C, starting a turning function;
step D, visual positioning and eccentric amount acquisition;
E, executing a cutter path algorithm and compensation;
The visual positioning in the step D adopts an industrial camera to acquire images, the eccentricity is respectively acquired by the industrial camera to acquire four Mark point images on a workpiece, the acquired four Mark point images are respectively subjected to Blob analysis, mark areas are screened out by image gray level threshold values, the length, the width and the area of the areas, and a pixel point set at the edge of the area is acquired according to the position relation of the Mark areas on the image Fitting a circle using least squares, by minimizingSolving three optimal parameters A, B and C in the standard circle equation to obtain an optimal Mark fitting circle, whereinRepresenting the X-axis coordinate values of each pixel point of the edge of the Mark region on the image,And (3) representing pixel Y-axis coordinate values of each pixel point of the edge of the Mark region on the image, wherein A, B and C respectively represent three parameters of a general equation of a circle to be solved, comparing a fitting circle generated by the Mark point of the workpiece with a template fitting circle, and calculating the coordinate difference of the fitting circle and the template fitting circle to obtain the eccentricity of the workpiece.
As shown in fig. 1, in the present embodiment, step E includes the following subdivision steps:
Step E1, loading coordinate data and eccentric compensation data of a workpiece, and setting a locking shaft, wherein the locking shaft can change XYC three-axis interpolation motion into XC or YC two-axis interpolation motion, so that motion planning is simplified, efficiency and machining precision are improved, and meanwhile, the problem that the workpiece cannot be subjected to three-axis interpolation machining due to technological and structural design reasons can be solved;
e2, calculating a target position of the workpiece after the coordinate original data are eccentric;
e3, calculating a finish milling cutter path by using a spline curve expansion algorithm according to the position coordinate set after the workpiece is deviated;
E4, calculating a rough milling cutter path according to each milling feed by using a spline curve expansion algorithm again;
and E5, performing XC or YC coordinate transformation on the rough milling and finish milling tool paths to obtain a final tool path and ending a tool path algorithm.
As shown in fig. 1, in the embodiment, the design data preprocessing in step a firstly obtains the geometric plane design data of the turning workpiece by using professional software, wherein the geometric plane design data comprises a spline curve of a graph, the data are used for generating subsequent turning paths, and the values of X, Y, Z, C respectively reflect the coordinates of the outer contour of the workpiece in a space coordinate system, so that the processing track is ensured to be consistent with the design of the drawing.
In the present embodiment, as shown in fig. 1, the workpiece data obtained in step a is imported into the motion control software in step B to prepare for the subsequent processing.
In the present embodiment, as shown in fig. 1, after the visual positioning and the eccentric amount acquisition are completed in step D, it is determined whether the eccentric amount acquisition is successful according to the visual positioning result, and if the acquisition is unsuccessful, step D is continuously performed. Therefore, through the error correction mechanism, the cutting and turning operation can be realized after the eccentric amount is obtained through visual positioning and is successfully compared, and the safety is high.
As shown in fig. 1, in the present embodiment, when the acquisition of the eccentric amount in step D is successful, a knife path algorithm is performed to compensate the eccentric amount. It follows that this step will ensure the accuracy of the machining path, thus meeting the high precision machining requirements.
In this embodiment, as shown in fig. 1, the apparatus starts two-step turning by rough milling and finish milling according to the compensated path, and is divided into single-turn rough milling and multi-turn rough milling according to the difference of turning feed radii. Therefore, the method is divided into single-turn rough milling and multi-turn rough milling according to different turning feeding radiuses, the feeding quantity of each time is as small as possible as the radius of the milling cutter, the machining precision and the surface roughness of a workpiece are ensured, turning is finished, and workpiece machining is completed.
The working principle of the invention comprises the steps of preprocessing design data in the step A, importing data and configuring parameters in the step B, starting a turning function in the step C, obtaining visual positioning and eccentricity, and executing a tool path algorithm and compensation in the step E.
While the embodiments of this invention have been described in terms of practical aspects, they are not to be construed as limiting the meaning of this invention, and modifications to the embodiments and combinations with other aspects thereof will be apparent to those skilled in the art from this description.

Claims (7)

1.一种同心圆数控车削加工方法,其特征在于:它包括以下具体步骤:1. A concentric circle CNC turning method, characterized in that it comprises the following specific steps: 步骤A、设计数据预处理;Step A: design data preprocessing; 步骤B、数据导入和参数配置;Step B: data import and parameter configuration; 步骤C、启动车削功能;Step C, start the turning function; 步骤D、视觉定位与偏心量获取;Step D: visual positioning and eccentricity acquisition; 步骤E、执行刀路算法与补偿;Step E, executing tool path algorithm and compensation; 其中步骤D中的视觉定位采用工业相机进行图像采集,偏心量通过所述工业相机分别采集工件上的四个Mark点图像,所采集的四个Mark点图像分别进行Blob分析,通过图像灰度阀值、区域的长、宽和面积筛选出mark区域,根据Mark区域在图像上的位置关系获取出该区域边缘的像素点集,使用最小二乘法拟合圆,通过最小化,解出标准圆方程中三个最优参数A、B和C以此获得最佳Mark拟合圆,其中表示Mark区域边缘各像素点在图像上的像素X轴坐标值,表示Mark区域边缘各像素点在图像上的像素Y轴坐标值,A、B和C分别表示所求圆的一般方程三项参数,工件Mark点生成的的拟合圆与模板拟合圆进行比较,计算二者的坐标差即为工件的偏心量。The visual positioning in step D uses an industrial camera for image acquisition. The eccentricity is measured by the industrial camera to collect four Mark point images on the workpiece. The collected four Mark point images are subjected to Blob analysis. The Mark area is selected by the image grayscale threshold, the length, width and area of the area. The pixel point set at the edge of the area is obtained according to the position relationship of the Mark area on the image. , using the least squares method to fit the circle, by minimizing , solve the three optimal parameters A, B and C in the standard circle equation to obtain the best Mark fitting circle, where Indicates the pixel X-axis coordinate value of each pixel point on the edge of the Mark area on the image. It represents the Y-axis coordinate value of each pixel point on the edge of the Mark area on the image. A, B and C represent the three parameters of the general equation of the required circle. The fitting circle generated by the Mark point of the workpiece is compared with the template fitting circle, and the coordinate difference between the two is the eccentricity of the workpiece. 2.根据权利要求1所述的一种同心圆数控车削加工方法,其特征在于:步骤E包括以下细分步骤:2. The concentric circle CNC turning method according to claim 1, characterized in that step E comprises the following subdivision steps: 步骤E1、载入工件的坐标数据和偏心量补偿数据,并设置锁定轴,锁定轴可以使XYC三轴插补运动变为XC或YC两轴插补运动,简化了运动规划,提高了运动效率和加工精度,同时还可以解决因工艺及结构设计原因导致的工件无法进行三轴插补加工的问题;Step E1, loading the coordinate data and eccentricity compensation data of the workpiece, and setting the locking axis. The locking axis can change the XYC three-axis interpolation motion into the XC or YC two-axis interpolation motion, simplifying the motion planning, improving the motion efficiency and processing accuracy, and also solving the problem that the workpiece cannot be processed by three-axis interpolation due to process and structural design reasons; 步骤E2、计算工件的坐标原始数据经偏心后的目标位置;Step E2, calculating the target position of the original coordinate data of the workpiece after eccentricity; 步骤E3、根据工件偏移后的位置坐标集合使用样条曲线膨胀算法计算精铣刀路;Step E3, using a spline curve expansion algorithm to calculate a finishing milling tool path according to a position coordinate set of the workpiece after the workpiece is offset; 步骤E4、再次使用样条曲线膨胀算法按每次铣削进给量计算粗铣刀路;Step E4, using the spline curve expansion algorithm again to calculate the rough milling tool path according to each milling feed amount; 步骤E5、对粗铣和精铣的刀路进行XC或YC坐标变换得出最终刀路并结束刀路算法。Step E5, perform XC or YC coordinate transformation on the rough milling and fine milling tool paths to obtain the final tool path and end the tool path algorithm. 3.根据权利要求2所述的一种同心圆数控车削加工方法,其特征在于:步骤A中的设计数据预处理首先利用专业软件获取车削工件的等比平面设计数据,包括图形的样条曲线构成,这些数据将用于后续的车削加工路径生成,通过X、Y、Z和C的Value值分别反映工件外轮廓在空间坐标系中的坐标,确保加工的轨迹与图纸设计保持一致。3. A concentric circle CNC turning processing method according to claim 2, characterized in that: the design data preprocessing in step A first uses professional software to obtain the geometric plane design data of the turning workpiece, including the spline curve composition of the graphic. These data will be used for subsequent turning processing path generation, and the Value values of X, Y, Z and C respectively reflect the coordinates of the outer contour of the workpiece in the spatial coordinate system to ensure that the processing trajectory is consistent with the drawing design. 4.根据权利要求3所述的一种同心圆数控车削加工方法,其特征在于:步骤B将步骤A中获取到的工件数据导入到运动控制软件中,为后续的加工过程做准备。4. A concentric circle CNC turning method according to claim 3, characterized in that: step B imports the workpiece data obtained in step A into the motion control software to prepare for the subsequent processing process. 5.根据权利要求4所述的一种同心圆数控车削加工方法,其特征在于:在步骤D完成视觉定位与偏心量获取后,根据视觉定位结果,判断偏心量是否获取成功,获取不成功则继续执行步骤D。5. A concentric circle CNC turning processing method according to claim 4, characterized in that: after completing the visual positioning and eccentricity acquisition in step D, it is judged whether the eccentricity is successfully acquired according to the visual positioning result, and if the acquisition is unsuccessful, continue to execute step D. 6.根据权利要求5所述的一种同心圆数控车削加工方法,其特征在于:当步骤D中的偏心量获取成功时,执行刀路算法对偏心量进行补偿。6. A concentric circle CNC turning method according to claim 5, characterized in that: when the eccentricity in step D is successfully obtained, the tool path algorithm is executed to compensate for the eccentricity. 7.根据权利要求6所述的一种同心圆数控车削加工方法,其特征在于:设备开始按补偿后的刀路进行粗铣和精铣两步车削,根据车削进给半径的不同分为单圈粗铣和多圈粗铣。7. A concentric circle CNC turning processing method according to claim 6, characterized in that: the equipment starts to perform two-step turning of rough milling and fine milling according to the compensated tool path, and is divided into single-circle rough milling and multi-circle rough milling according to the different turning feed radius.
CN202510283602.0A 2025-03-11 2025-03-11 A concentric circle CNC turning processing method Pending CN120326005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510283602.0A CN120326005A (en) 2025-03-11 2025-03-11 A concentric circle CNC turning processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510283602.0A CN120326005A (en) 2025-03-11 2025-03-11 A concentric circle CNC turning processing method

Publications (1)

Publication Number Publication Date
CN120326005A true CN120326005A (en) 2025-07-18

Family

ID=96353463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510283602.0A Pending CN120326005A (en) 2025-03-11 2025-03-11 A concentric circle CNC turning processing method

Country Status (1)

Country Link
CN (1) CN120326005A (en)

Similar Documents

Publication Publication Date Title
US7715942B2 (en) Method for controlling a movable tool, input device and machine tool
Werner Method for enhanced accuracy in machining curvilinear profiles on wire-cut electrical discharge machines
US10884390B2 (en) Optimized control of a metal-cutting machine tool
KR20140115371A (en) Workpiece machining surface display method, workpiece machining surface display device, tool path generation device and workpiece machining surface display program
JP7446055B2 (en) Method and machinery for manufacturing cutting tools
Jensen et al. A review of numerically controlled methods for finish-sculptured-surface machining
RU2528923C2 (en) Article adaptive machining at nc machines
CN112170864B (en) A kind of turning machining method of workpiece with equidistant profile
Majerik et al. Computer aided design and manufacturing evaluation of milling cutter when high speed machining of hardened steels
KR20130075768A (en) Grinding disc and grinding method
US20170343982A1 (en) Method for machining a workpiece by means of a chip-removing tool on a numerically-controlled machine tool
CN115167275B (en) A method for obtaining tool axis direction and a tool trajectory planning method without interference
Petrakov et al. Contour milling programming technology for virtual basing on a CNC machine
CN117464465A (en) A step difference control system and control method for eight-station milling cutter grinding
CN120326005A (en) A concentric circle CNC turning processing method
JP2020144729A (en) Machine tool having automatic correction function for tool replacement
JP5883581B2 (en) Form grinding machine and control method thereof
TWI842166B (en) Processing method of workpiece and processing system of workpiece
CN114453836B (en) Method for processing J-shaped groove of series tube seat holes on thin-wall irregular spherical sealing head
RU2629419C1 (en) Method for final machining of gas turbine engine blade and device for its implementation
EP1116078B1 (en) Process and system for working a workpiece through numerically controlled machine tools
CN110297458B (en) Method for realizing processing path of vacuum cup polishing machine
CN120993831B (en) Rapid generation method for four-cylinder crankshaft machining program and machining program adjusting method
Krcheva et al. CNC LATHE PROGRAMMING: DESIGN AND DEVELOPMENT OF PROGRAM CODE FOR SIMULATING LINEAR INTERPOLATION MOTION
JPH09230920A (en) Numerical controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination