Machining path analysis and optimization device based on machine dynamic characteristics

The machining path analysis and optimization device addresses inefficiencies in CAM systems by adjusting machining paths based on machine dynamics, optimizing direction change angles, and reducing unnecessary acceleration and deceleration to improve machining efficiency and quality.

JP3248611UActive Publication Date: 2024-10-04PRECISION MACHINERY RES & DEV CENT
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
JP2024002633U
Authority / Receiving Office
JP · JP
Patent Type
Utility models
Current Assignee / Owner
Priority Date
2023-08-09
Filing Date
2024-08-07
Publication Date
2024-10-04
Estimated Expiration
2034-08-07

AI Technical Summary

Technical Problem

Current CAM systems fail to account for machine controller parameters and mechanical characteristics, leading to inefficiencies and errors in machining paths, which result in rework, increased time, and wasted resources.

Method used

A machining path analysis and optimization device that considers machine dynamic characteristics, using artificial intelligence to adjust machining paths by increasing or decreasing interpolation points based on current control device parameters, thereby optimizing direction change angles and reducing unnecessary acceleration and deceleration.

Benefits of technology

This approach ensures stable machining quality, meets user requirements, and reduces processing time by optimizing machining paths to within acceptable error tolerances, enhancing overall efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0003248611000001_ABST
    Figure 0003248611000001_ABST
Patent Text Reader

Abstract

A machining path analysis and optimization device based on the dynamic characteristics of a machine is provided. [Solution] The machining path analysis optimization device 100 includes a machine motion path error module 10. The machine motion path error module includes a virtual interpolation device 11 and a machining path analysis device 12. The virtual interpolation device is used to input a numerical control programming language, and can output a corresponding position signal, and outputs the corresponding acceleration signal after processing to convert the position signal into an acceleration signal. The machining path analysis device stores machine tool dynamic model data built by dynamic tracking surveying, and includes a turning angle calculation module 121 and an error calculation module 122, and can calculate at least one turning angle value and at least one error value. The present invention performs analysis and optimization of the machining path by determining whether the turning angle value exceeds the turning angle threshold and whether the error value exceeds the error allowable value.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a machining path analysis and optimization device based on the dynamic characteristics of a machine, and more particularly to a device that performs machining path analysis and device optimization for the dynamic characteristics of an individual machine, and obtains an optimal machining path by self-adjustment. [Background technology]

[0002] In the metal parts processing or metal parts product industry, currently, domestic companies need to use CAM software to convert CAD data into processing programs when processing relatively complex products. CAM only relies on tolerance to control accuracy, and cannot take into account control device parameters and machine characteristics, so it is difficult to match an appropriate processing program. If the processing path and control device parameters do not match, the processing efficiency is likely to be poor. In addition, if the machine characteristics are not taken into account, the error will exceed the tolerance range, leading to rework, which will waste cost and time. The 3D model of the workpiece will generate errors at each stage of CAM, control device path interpolation, servo system, and machining. The final workpiece contour reflects the result of all the errors being combined.

[0003] In addition, one complete machining path is usually composed of many different line segments, with different turning angles between each line segment. If the turning angle is too large, the machine needs to repeatedly slow down, change direction, and accelerate after completing the direction change in order to change direction smoothly. Thus, if an excessive turning angle occurs between each line segment of the machining path, the machine will repeatedly decelerate and accelerate, which will increase the overall machining time. Therefore, optimizing the turning angle is also an important point in optimizing the machining path.

[0004] The present invention takes into consideration the dynamic characteristics of the machine and reads the current control device parameters. In a situation where there is no need to change the control device parameters, it uses them as a basis to find the optimal machining path and output it as a machining program, automatically cooperating with the vendor to shorten the optimization time of the machining program and improve the overall machining efficiency. Summary of the Invention [Problem to be solved by the invention]

[0005] The present invention has been made to solve the above-mentioned problems, and aims to provide a machining path analysis and optimization device based on the dynamic characteristics of the machine. The end user only needs to select a numerical control programming language through the machining path analysis and optimization device based on the dynamic characteristics of the machine. The present invention can take into account the dynamic characteristics of the machine, and adjust the machining path by increasing or decreasing the interpolation points through artificial intelligence based on the current motion parameter conditions of the control device. In this way, the optimized machining path can reach the allowable error requirements, and reduce unnecessary acceleration and deceleration caused by the change in the direction change angle, and further shorten the machining time while maintaining stable machining quality, so that the processed product meets the needs of the user. [Means for solving the problem]

[0006] In order to achieve the above object, a machining path analysis optimization device based on the dynamic characteristics of a machine according to one embodiment of the present invention comprises a machine motion path error module. The machine motion path error module includes a virtual interpolation device and a machining path analysis device. The virtual interpolation device is used to input a numerical control programming language (NC CODE), and can output a corresponding position signal based on the numerical control programming language (NC CODE), and output a corresponding acceleration signal through a process of converting the position signal into an acceleration signal. The machining path analysis device stores machine tool dynamic model data built by dynamic tracking surveying, and can perform calculations on the acceleration signal based on the machine tool dynamic model data to obtain machining path data. The machining path analysis device includes a turning angle calculation module and an error calculation module. The turning angle calculation module can calculate a turning angle value by analyzing the machining path of the numerical control programming language, the feed rate, and the machine parameters of the control device. The error calculation module can calculate at least one error value based on the machining path data. The machining path analysis device analyzes the machining path by determining whether the turn angle value exceeds a turn angle threshold and whether the error value exceeds an error tolerance.

[0007] In a preferred embodiment, the machine tool dynamic model data is constructed by performing machining performance diagnosis on a target machine tool, the machining performance diagnosis obtaining dynamic characteristic values ​​of the target machine tool by performing measurements on a straight-line path, and the measurements on the straight-line path are dynamic tests using a grating encoder.

[0008] In a preferred embodiment, the machine parameter is a corner deceleration parameter of a controller of the target machine tool.

[0009] Preferably, the turning angle threshold is obtained based on a machining path of the numerical control programming language, a feed rate, and a corner deceleration parameter of a controller of the target machine tool.

[0010] In a preferred embodiment, the method further includes a path optimization module connected to the machine motion path error module. The path optimization module includes a path correction selection device, a particle swarm optimization boundary condition setting device, an interpolation point update strategy device, and a numerical control programming language generation device. The path correction selection device is connected to a machining path analysis device and can receive the turning angle value and the error value. When the turning angle value meets at least one of the conditions that the turning angle value exceeds the turning angle threshold value and the condition that the error value exceeds the error allowable value, the path correction is determined and the corrected path data is selected. The particle swarm optimization boundary condition setting device is connected to the path correction selection device and can receive the corrected path data, and uses a Bezier curve formula to back-calculate a group of control points, and constructs particle swarm optimization boundary condition data based on the result. The interpolation point update strategy device is connected to the particle swarm optimization boundary condition setting device, can receive the modified path data, and uses the Bezier curve formula to perform point layout again, generate a new line segment, increase or decrease points based on the comparison between the angle of the new line segment and the turning angle threshold, generate an optimized machining path that satisfies the error allowance condition and has the shortest machining time, and send the optimized machining path back to the particle swarm optimization boundary condition setting device to generate interpolation point data. The numerical control programming language generation device is connected to the particle swarm optimization boundary condition setting device, and generates at least one optimized numerical control program language based on the interpolation point data.

[0011] In a preferred embodiment, the interpolation point update strategy unit is connectable to the machine motion path error module and is used to compare the turn angle value of the new line segment to the turn angle threshold.

[0012] In a preferred embodiment, the interpolation point update strategy unit is connectable to the machine motion path error module and is used to compare the error value of the new line segment with the error tolerance.

[0013] The present invention takes into consideration the dynamic characteristics of the machine and reads the current control device parameters, and in a situation where there is no need to change the control device parameters, adjusts the machining path based on the current parameter settings, and provides an optimal machining program aiming at the shortest machining time within the range of error acceptable to the end user, thereby cooperating with vendors to shorten the optimization time of the machining program and further achieving the purpose of improving machining efficiency. [Brief description of the drawings]

[0014] [Figure 1] 2 is a schematic diagram showing the configuration of a machine motion path error module according to the present invention; FIG. [Diagram 2] 2 is a schematic diagram showing the configuration of a route optimization module of the present invention; [Diagram 3] 1 is a schematic diagram showing the configuration of the present invention. [Figure 4] FIG. 2 is a schematic diagram illustrating the turning angle threshold calculation of the present invention; [Diagram 5] FIG. 2 is a schematic diagram showing the operation flow of the machine motion path error module of the present invention; [Figure 6] FIG. 2 is a schematic diagram showing the operation flow of the route correction and selection device of the present invention; [Figure 7] FIG. 2 is a schematic diagram illustrating the operation flow of the route optimization module of the present invention; [Figure 8] FIG. 13 is a schematic diagram showing a machining path combining a particle swarm algorithm with a cubic Bezier curve. [Figure 9] FIG. 2 is a schematic diagram showing the operation flow of the interpolation point update strategy device of the present invention;

[0015] In order to explain the central idea of ​​the present invention shown in the above outline of the invention, a specific embodiment will be used for explanation. It should be noted at the outset that various different objects in the embodiment are drawn with scales, dimensions, deformation amounts or displacement amounts suitable for explanation, and are not drawn with the scales of actual components.

[0016] 1 to 3, the machining path analysis and optimization device 100 based on the dynamic characteristics of a machine according to the present invention includes a machine motion path error module 10. The machine motion path error module 10 includes the following components:

[0017] The virtual interpolator 11 is used to input a numerical control programming language (NC CODE). The virtual interpolator 11 can output a corresponding position signal based on the numerical control programming language (NC CODE), and outputs the corresponding acceleration signal after converting the position signal into an acceleration signal. The numerical control programming language (NC CODE) includes data such as at least one machining path and one feed rate.

[0018] The machining path analysis device 12 includes one machining path analysis device 12. The machining path analysis device 12 stores therein machine tool dynamic model data constructed by dynamic tracking surveying. The machining path analysis device 12 can perform calculations on acceleration signals based on the machine tool dynamic model data to obtain machining path data. The machine tool dynamic model data is constructed by performing machining performance diagnosis on the target machine tool. In addition, the machining performance diagnosis obtains dynamic characteristic values ​​of the target machine tool by performing measurements on a straight path. The measurements on the straight path are dynamic tests using a lattice encoder (KGM). The machining path analysis device 12 includes a turning angle calculation module 121 and an error calculation module 122. The turning angle calculation module 121 can calculate a turning angle value by analyzing the machining path of a numerical control programming language, the feed rate, and the machine parameters of the control device. The machine parameters are corner deceleration parameters of the control device of the target machine tool. The error calculation module 122 can calculate at least one error value based on the machining path data. The error value is a contour error value. The machining path analysis device 12 analyzes the machining path by determining whether the turning angle value exceeds the turning angle threshold and whether the error value exceeds the error allowable value.

[0019] 4 is a schematic diagram showing the relationship between the angle of the path and the turning angle, which is obtained based on the machining path of the numerical control programming language, the feed rate, and the parameter (corner deceleration parameter) setting of the control device of the machine tool. Based on the machining path of the numerical control programming language, the feed rate, and the corner deceleration parameter, the turning angle threshold is calculated.

[0020] 2 and 3, the machining path analysis and optimization device 100 includes a path optimization module 20 connected to the machine motion path error module 10. The path optimization module 20 includes a path correction selection device 21, a particle swarm optimization boundary condition setting device 22, an interpolation point update strategy device 23, and a numerical control programming language generation device 24.

[0021] The path correction selection device 21 is connected to the processing path analysis device 12 and is capable of receiving a direction change angle value and an error value. When at least one of the conditions that the direction change angle value exceeds a direction change angle threshold value and the condition that the error value exceeds an error allowable value is satisfied, it determines that a path correction is required and selects corrected path data.

[0022] The particle swarm optimization (PSO) boundary condition setting device 22 is connected to the path modification selection device 21 and is capable of receiving modified path data, and uses the Bezier curve formula to back-calculate the control points, and constructs particle swarm optimization (PSO) boundary condition data based on this.

[0023] The interpolation point update strategy device 23 is connected to the particle swarm optimization (PSO) boundary condition setting device 22, and can receive corrected path data, and uses the Bezier curve formula to perform point layout again, generate a new line segment, increase or decrease points based on the comparison between the angle of the new line segment and the direction change angle threshold, generate an optimized machining path that satisfies the error tolerance condition and has the shortest machining time, and send the optimized machining path back to the particle swarm optimization (PSO) boundary condition setting device 22 to generate interpolation point data.

[0024] The numerical control programming language (NC CODE) generator 24 is connected to the particle swarm optimization (PSO) boundary condition setting device 22, and generates at least one optimized numerical control programming language (NC CODE) based on the interpolation point data.

[0025] After clarifying the above detailed structure of the present invention, the working mechanism of the present invention will be described in detail.

[0026] As shown in FIG. 5, the virtual interpolation device 11 of the machine motion path error module 10 can acquire a position signal after a numerical control programming language (NC CODE) is input, and generates an acceleration signal through acceleration signal conversion processing, which is input to the machining path analysis device 12.

[0027] The machining path analysis device 12 stores therein the dynamic model data of the machine tool constructed by the dynamic tracking survey, and performs calculations on the acceleration signal through the turning angle calculation module 121 and the error calculation module 122 to calculate the machining path data. Then, the turning angle calculation module 121 and the error calculation module 122 calculate the turning angle value and the error value, and it can be determined whether the current path is greater than the turning angle threshold and reaches the allowable error. In this way, the user can easily identify the section that causes corner deceleration or exceeds the allowable error through the machine motion path error module 10 based on the parameters of the machine.

[0028] As shown in Fig. 6, the path correction selection device 21 can determine whether or not a path needs to be corrected. The path correction selection device 21 is connected to the machining path analysis device 12 and can receive a direction change angle value and an error value. If it is determined that a path correction is necessary when at least one of the conditions that the direction change angle value is greater than the direction change angle threshold value and the error value is greater than the error allowable value is satisfied, the path correction selection device 21 selects the path data as corrected path data. If the conditions that the direction change angle value is smaller than the direction change angle threshold value and the error value is smaller than the error allowable value are satisfied, there is no need to perform a path optimization process.

[0029] As shown in Fig. 7, the particle swarm optimization (PSO) boundary condition setting device 22 is connected to the path modification selection device 21, can receive modified path data, and uses the Bezier curve formula to back-calculate the control points, and constructs the particle swarm optimization (PSO) boundary condition data based on the control points. If the control points do not satisfy the search count of the particle swarm optimization (PSO), the interpolation point update strategy device 23 constructs an update strategy of the interpolation points.

[0030] As shown in (A) to (C) of FIG. 8 and FIG. 9, the interpolation point update strategy device 23 uses particle swarm optimization (PSO) to re-search the control points and use the Bezier curve to perform point layout anew. For example, as shown in (A) to (C) of FIG. 8, the interpolation point update strategy device 23 can use the particle swarm algorithm to combine a cubic Bezier curve so that the redesigned Bezier curve is very close to the ideal machining path. In this way, the interpolation point update strategy device 23 generates new line segment data and determines whether to increase or decrease the control points based on a comparison between the direction change angle value of the new line segment and the direction change angle threshold. After the direction change angle value and the number of control points of the new line segment can satisfy the needs, the error value of the new line segment is compared with the error allowance value, and if the error value of the new line segment meets the allowable error condition, the machining time required for the line segment is evaluated and it is determined whether to update to a new line segment. This process is repeated to find the optimal machining path with the shortest machining time. If the error value of the new line segment exceeds the error allowance value, 999 is added to the machining time. That is, this means excluding the new line segment data.Then, send the optimized machining path back to the particle swarm optimization (PSO) boundary condition setting device, and recheck whether the search number of particle swarm optimization (PSO) is satisfied.In this embodiment, the interpolation point update strategy device 23 is connected to the machine motion path error module 10, and the machine motion path error module 10 can compare the direction change angle value of the new line segment with the direction change angle threshold value, and compare the error value of the new line segment with the error allowance value.

[0031] As shown in FIG. 7, when the particle swarm optimization (PSO) search count is satisfied, the particle swarm optimization (PSO) boundary condition setting device 22 generates corresponding interpolation point data, and the interpolation point data is transferred to a numerical control programming language (NC CODE) generating device, and an optimized numerical control programming language (NC CODE) is generated based on the interpolation point data.

[0032] The user of the present invention only needs to select the numerical control programming language (NC CODE) through the machine motion path error module 10 based on the machine characteristics and the path optimization module 20. The module considers the dynamic characteristics of the machine, and adjusts the machining path by increasing or decreasing the interpolation points through artificial intelligence based on the motion parameter conditions of the control device of the current machine, so that the machining path reaches the allowable error requirements and reduces unnecessary acceleration and deceleration. In this way, it provides the optimal machining program with the goal of the shortest time while maintaining stable machining quality, and cooperates with vendors to shorten the optimization time of the machining program and improve the machining efficiency.

[0033] The above embodiments are for the purpose of explaining the present invention, and do not limit the scope of the claims of the present invention. Various modifications or changes made within the scope of the concept of the present invention are all included in the scope of the claims that the present invention is intended to protect. [Explanation of symbols]

[0034] 100: Processing path analysis and optimization device 10: Machine motion path error module 11: Virtual Interpolator 12: Processing path analysis device 121: Turning angle calculation module 122: Error calculation module 20: Route optimization module 21: Route correction selection device 22: Particle swarm optimization (PSO) boundary condition setting device 23: Interpolation point update strategy device 24: Numerical control programming language (NC CODE) generator

Claims

1. A machining path analysis and optimization device based on dynamic characteristics of a machine, comprising: a machine motion path error module; and a path optimization module connected to the machine motion path error module; The machine motion path error module includes a virtual interpolator and a machining path analyzer; The virtual interpolation device is used to input a numerical control programming language, and can output a corresponding position signal according to the numerical control programming language, and outputs the corresponding acceleration signal through a process of converting the position signal into an acceleration signal; the machining path analysis device stores therein machine tool dynamic model data constructed by dynamic tracking surveying, and is capable of performing calculations on the acceleration signal based on the machine tool dynamic model data to obtain machining path data; The processing path analysis device includes a direction change angle calculation module and an error calculation module; The turning angle calculation module can calculate the turning angle value by analyzing the machining path, feed rate, and machine parameters of the control device in the numerical control programming language; The error calculation module is capable of calculating at least one error value based on the processing path data; The machining path analysis device analyzes the machining path by determining whether the direction change angle value exceeds a direction change angle threshold and whether the error value exceeds an error allowable value; The path optimization module includes a path modification selection device, a particle swarm optimization boundary condition setting device, an interpolation point update strategy device, and a numerical control programming language generation device; The path correction selection device is connected to a processing path analysis device and is capable of receiving the direction change angle value and the error value. When the direction change angle value satisfies at least one of a condition in which the direction change angle value exceeds the direction change angle threshold value and a condition in which the error value exceeds the error allowable value, the path correction is determined and corrected path data is selected; The particle swarm optimization boundary condition setting device is connected to the path modification selection device, and can receive the modified path data. The particle swarm optimization boundary condition setting device uses a Bezier curve formula to back-calculate a group of control points, and constructs particle swarm optimization boundary condition data based on the back-calculated group of control points; The interpolation point update strategy device is connected to the particle swarm optimization boundary condition setting device, and can receive the modified path data; and uses a Bezier curve formula to perform point layout again, generate a new line segment, and increase or decrease points based on the comparison between the angle of the new line segment and the direction change angle threshold value, to generate an optimized machining path that satisfies the error allowance condition and has the shortest machining time; and send the optimized machining path back to the particle swarm optimization boundary condition setting device, and generate interpolation point data; The numerical control programming language generator is connected to the particle swarm optimization boundary condition setting device and generates at least one optimized numerical control program language based on the interpolation point data. A processing path analysis and optimization device characterized by the above.

2. 2. The machining path analysis and optimization device based on the dynamic characteristics of a machine according to claim 1, The machine tool dynamic model data is constructed by performing machining performance diagnosis on a target machine tool, the machining performance diagnosis acquiring dynamic characteristic values ​​of the target machine tool by performing measurements on a linear path, and the measurements on the linear path are dynamic tests using a grating encoder. A processing path analysis and optimization device characterized by the above.

3. 3. The machining path analysis and optimization device based on the dynamic characteristics of a machine according to claim 2, The machine parameters are corner deceleration parameters of a controller for the target machine tool. A processing path analysis and optimization device characterized by the above.

4. 3. The machining path analysis and optimization device based on the dynamic characteristics of a machine according to claim 2, The turning angle threshold is obtained based on the machining path of the numerical control programming language, a feed rate, and a corner deceleration parameter of a controller of the target machine tool. A processing path analysis and optimization device characterized by the above.

5. 2. The machining path analysis and optimization device based on the dynamic characteristics of a machine according to claim 1, The interpolation point update strategy unit is connectable to the machine motion path error module and is used to compare the turn angle value of the new line segment with the turn angle threshold. A processing path analysis and optimization device characterized by the above.

6. 2. The machining path analysis and optimization device based on the dynamic characteristics of a machine according to claim 1, The interpolation point update strategy unit is connectable to the machine motion path error module and is used to compare the error value of the new line segment with the error tolerance. A processing path analysis and optimization device characterized by the above.

Citation Information

Cited By

  • Automatic angle correction control system based on target parameters

    CN120233799A