Machining control method, device and system based on five-axis machining machine tool and medium

By establishing a cutting force model on a five-axis machining machine tool and using a path optimization algorithm to generate the optimal tool paths, and using reinforcement learning algorithms to optimize path consistency in the simulation environment, the problem of inaccurate tool path planning in complex surface parts processing is solved, and higher machining accuracy and surface quality are achieved.

CN119644920AActive Publication Date: 2025-03-18GUANGZHOU TONGFA INTELLIGENT EQUIP CO LTD

Patent Information

Application Number
CN202411819839.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-03-18
Estimated Expiration
2044-12-11

AI Technical Summary

Technical Problem

In the processing of complex curved surface parts, the tool path planning of the existing five-axis machining machine tools is inaccurate, resulting in overcut or undercut, and the tool path consists of insufficient smoothness, affecting surface quality.

Method used

The machining control method based on the five-axis machining machine tool is adopted. By obtaining the geometric characteristic parameters and tool feature information of the part to be processed, a cutting force model is established, the cutting force distribution status is calculated under different paths, and the path optimization algorithm is used to generate the optimal tool path. Further set the reward function in the simulation environment, use reinforcement learning algorithms to optimize the smoothness of the toolpath, and generate a smooth toolpath.

Benefits of technology

Through precise tool path planning, overcut and undercut phenomena are reduced, smoothness and dimensional accuracy of the processing surface are improved, the smoothness and dimensional accuracy of the tool path are enhanced, vibration and impact during the processing process are reduced, and processing efficiency and quality are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119644920A_ABST
    Figure CN119644920A_ABST
Patent Text Reader

Abstract

The invention discloses a machining control method, device and system based on a five-axis machining machine tool and a medium. The method comprises the steps that geometrical characteristic parameters of a to-be-machined workpiece and tool characteristic information are obtained, a cutting force model is established according to the obtained geometrical characteristic parameters, and cutting force distribution conditions under different paths are calculated; in the cutting force model, based on the cutting force distribution condition and the geometric feature parameters, generating an optimal cutter path corresponding to the cutter feature information by using a path optimization algorithm; according to the generated tool path and tool feature information, establishing a simulation environment of the five-axis machining tool, and simulating motion states of the tool in different paths; in the simulation environment, setting a reward function including path smoothness and cutting force stability; using a reinforcement learning algorithm to optimize the fairness of the tool path, and generating a smooth tool path; verifying the generated smooth tool path in a simulation environment; and triggering a processing execution instruction. The machining precision and the surface quality are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of numerical control machining, and in particular to a machining control method, equipment, system and medium based on a five-axis machining machine. Background Art

[0002] With the development of modern manufacturing industry, five-axis machining centers are widely used in aerospace, automobile manufacturing, medical equipment and other fields due to their high precision, high efficiency and powerful machining capabilities. Especially in the machining of complex curved parts, five-axis machining centers can achieve multi-angle and multi-directional machining, greatly improving machining quality and production efficiency.

[0003] Existing five-axis machining centers usually use traditional tool path planning and posture optimization methods in the processing of complex curved surface parts. These methods mainly rely on empirical parameters and simple mathematical models. Although they can meet the processing requirements to a certain extent, there is still much room for improvement in terms of accuracy and surface quality.

[0004] Moreover, the existing tool path planning methods are difficult to accurately generate tool trajectories, resulting in overcutting or undercutting; the tool path is not smooth enough, resulting in unstable tool movement during processing, vibration marks and tool marks, affecting the surface quality. Summary of the invention

[0005] In order to solve the problems of inaccurate tool path planning and smoothness of tool paths in the processing of complex curved parts by existing five-axis machining tools and to improve machining accuracy and surface quality, the present application provides a machining control method, equipment, system and medium based on a five-axis machining tool.

[0006] In the first aspect, the invention objective of the present application is achieved by adopting the following technical solutions: The processing control method based on the five-axis machining machine tool includes: Obtain the geometric characteristic parameters of the workpiece to be processed and the tool characteristic information, establish a cutting force model based on the obtained geometric characteristic parameters, and calculate the cutting force distribution under different paths; In the cutting force model, based on the cutting force distribution and geometric characteristic parameters, a path optimization algorithm is used to generate an optimal tool path corresponding to the tool characteristic information; According to the generated tool path and the tool feature information, a simulation environment of a five-axis machining machine tool is established to simulate the motion state of the tool under different paths; In the simulation environment, a reward function including path smoothness and cutting force stability is set; a reinforcement learning algorithm is used to optimize the smoothness of the tool path and generate a smooth tool path; The generated smooth tool path is verified in the simulation environment; the verified smooth tool path is transmitted to the five-axis machining machine tool, and a machining execution instruction is triggered.

[0007] By adopting the above technical solution, the cutting force model describes the relationship between the force between the tool and the workpiece during the cutting process. By calculating the cutting force distribution under different paths, the change of cutting force under different tool paths is analyzed, which provides a scientific basis for path optimization based on the current workpiece to be processed and the processing tool, which is beneficial to reduce overcutting and undercutting, and improve the smoothness and dimensional accuracy of the processed surface. The path optimization algorithm includes a genetic algorithm and a particle swarm optimization algorithm. The smoothness of the processing path and the stability of the cutting force are improved through path optimization. At the same time, through the simulation environment and the design reward function, the feasibility of the path can be detected in the virtual environment, the smoothness of the tool path can be optimized, and the errors and risks in the actual processing can be effectively avoided. Through the reinforcement learning algorithm, the path can be continuously optimized, a smooth tool path can be generated, and the vibration and impact during the processing process can be reduced. Through simulation verification, it is ensured that the generated smooth path meets the processing standard process requirements and improves the processing surface quality and efficiency. Therefore, the present invention achieves the purpose of solving the problems of inaccurate tool path planning and smoothness of the tool path in the processing of complex curved surface parts of the existing five-axis machining machine tools.

[0008] In a preferred example of the present application, in the simulation environment, a reward function including path smoothness and cutting force stability is set; after using a reinforcement learning algorithm to optimize the smoothness of the tool path and generate a smooth tool path, the method further includes: In a preset multi-objective optimization model, multiple optimization objectives are set, wherein the multiple optimization objectives include minimizing cutting force, maximizing tool life, and minimizing surface roughness; In combination with the tool feature information, the tool posture is parameterized to obtain tool posture parameters; based on the smooth tool path and the tool control parameters based on the time series, an initial tool posture trajectory is determined; In the multi-objective optimization model, a multi-objective optimization algorithm is used to optimize tool posture parameters based on the initial tool posture trajectory to obtain an optimized tool posture trajectory.

[0009] By adopting the above-mentioned technical scheme, the present invention also tracks, monitors and optimizes the tool posture of the tool performing the processing. Based on the consideration of the changing factors of the tool posture, it is beneficial to provide a processing control scheme with higher precision and more comprehensive detection; specifically, the multi-objective optimization model is used to evaluate and optimize multiple performance indicators, and multiple optimization targets are formulated correspondingly based on the high-precision standard process parameter requirements of the five-axis processing workpiece for monitoring and optimization, so as to analyze and improve the control scheme that can provide higher precision in the five-axis processing machine tool and track, detect and optimize the optimizable area; the present invention ensures the comprehensiveness of optimization in the machine tool processing process by setting multiple optimization targets, minimizes cutting force fluctuations to improve processing stability, maximizes tool life to reduce production costs, and minimizes surface roughness to improve processing quality. The present invention can reduce tool wear and workpiece surface roughness, improve processing quality and meet high-quality processing requirements by optimizing tool posture parameters.

[0010] In a preferred example of the present application: in the simulation environment, setting a reward function including path smoothness and cutting force stability includes: In the simulation environment, a corresponding reward function target is defined according to a plurality of preset reward function component factors according to the generated tool path and simulation environment parameters; Assigning weights to a plurality of the reward function component factors; Construct a multi-objective reward function based on the defined reward function objectives and weights.

[0011] By adopting the above technical solution, the simulation environment is a virtual five-axis machining machine model, which is used to simulate the movement and machining process of the tool. Through multiple reward function components and their objectives, multiple performance indicators of the tool path can be evaluated to ensure the comprehensiveness and effectiveness of the path optimization process. By allocating importance coefficients to each reward function component factor, it is used to balance the priorities between different objectives and clarify the optimization goal, which can ensure that the optimization process can be optimized and improved in a targeted manner, so that the simulation environment is conducive to assisting the evaluation of the pros and cons of the path and the iterative optimization of the algorithm for efficient performance evaluation and improvement.

[0012] In a preferred example of the present application, the multiple reward function component factors include path smoothness factor, cutting force stability factor, processing time factor, and surface quality factor; the multi-objective reward function is constructed according to the defined reward function objectives and weights, including: The multi-objective reward function is expressed by formula (1): R=w1R smo +w2R for +w3R t +w4R q (1) Among them, w1, w2, w3, w4 are weight coefficients, R smo is the path smoothness factor, R for is the cutting force stability factor, R t is the processing time factor, R q is the surface quality factor.

[0013] By adopting the above technical solution, path smoothness refers to minimizing the roughness of the path and reducing the mutation points in the path; cutting force stability refers to minimizing the fluctuation of the cutting force and improving the stability of the cutting process; processing time refers to minimizing the total processing time and improving processing efficiency; surface quality refers to minimizing the surface roughness and improving the quality of the processed surface; the present invention can assign weights to each reward function component factor according to actual processing requirements and priorities, and by constructing a multi-objective reward function, it can comprehensively evaluate multiple performance indicators of the path to ensure the comprehensiveness and optimality of the optimization results. The multi-objective reward function can effectively guide the optimization algorithm to find the best balance between multiple objectives, improve processing accuracy and surface quality, and reduce processing time.

[0014] In a preferred example of the present application: the method further includes: The path smoothness factor R is defined according to the reward function objective defined smo The reward function is expressed by formula (2): Among them, p i is the i-th point on the path, ||.|| represents the Euclidean distance, and n is the number of points on the path; The cutting force stability factor R is defined according to the defined reward function objective for The reward function is expressed by formula (3): Among them, F i is the cutting force at the i-th point, is the average cutting force; The processing time factor R is defined according to the reward function objective defined t The reward function is expressed by formula (4): Among them, t i is the processing time at the i-th point; The surface quality factor R is defined according to the reward function objective defined q The reward function is expressed by formula (5): Among them, σ i is the surface roughness at the i-th point.

[0015] By adopting the above technical solution, the path smoothness factor calculates the second-order difference of adjacent points on the path, which can quantify the unsmoothness of the path. The path smoothness factor R smo Taking a negative value makes the path smoother and the reward value larger; cutting force stability factor R for :By calculating the standard deviation of cutting force, the fluctuation of cutting force can be quantified; cutting force stability factor R for Taking a negative value makes the cutting force more stable and the bonus value larger; the processing time factor R t By calculating the processing time of each point on the path, the total processing time can be quantified; the processing time factor R t Taking a negative value means that the shorter the processing time, the greater the reward value; surface quality factor R q The surface quality can be quantified by calculating the surface roughness at each point on the path; the surface quality factor R q Taking a negative value makes the reward value larger the smaller the surface roughness.

[0016] In a preferred example of the present application, after transmitting the verified smooth tool path to the five-axis machining machine and triggering the machining execution instruction, the method further includes: Based on the processing execution instruction, the processing task parameters and the tool path are obtained, and the three-dimensional position information of the workpiece to be processed and the tool is obtained; based on the three-dimensional position information and the starting point coordinates of the tool path, matching is performed, and the workpiece to be processed is processed; During the machining process, the relative position information between the tool and the workpiece to be machined is obtained in real time through the preset sensor of the machine tool, and the real-time cutting parameters and machine tool performance parameters are calculated. The relative position information includes distance and angle; Based on the real-time cutting parameters and machine tool performance parameters, a machine tool processing status result is obtained; based on the comparison between the machine tool processing status result and a preset threshold value, a processing parameter comparison result is obtained.

[0017] By adopting the above technical scheme, the processing task parameters include processing speed, feed speed, cutting depth, etc.; the three-dimensional position information is the position information of the workpiece to be processed and the tool in the three-dimensional space; the starting point coordinates refer to the coordinates of the starting point of the tool path in the three-dimensional space; the relative position information: including the distance and angle between the tool and the workpiece to be processed; the present invention obtains the processing task parameters and the tool path to ensure that the parameters and paths of the processing process are accurate, and provides accurate data support for subsequent matching and processing; and by matching the three-dimensional position information and the starting point coordinates of the tool path, it is ensured that the tool starts processing from the correct starting point to avoid processing errors caused by inaccurate starting points; then, by obtaining the relative position information between the tool and the workpiece to be processed in real time, the processing process can be dynamically adjusted to ensure the accuracy and stability of the processing, and finally, through the generated machine tool processing status results, the state of the processing process can be comprehensively evaluated to ensure the stability and quality of the processing; the machine tool processing status results are compared with the preset threshold value, and abnormal situations can be discovered and handled in time to ensure the smooth progress of the processing process.

[0018] In the second aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A processing control system based on a five-axis machining machine is applied to the processing control method based on a five-axis machining machine as described above, and the system comprises: The parameter acquisition module is used to obtain the geometric characteristic parameters of the workpiece to be processed and the tool characteristic information, establish a cutting force model based on the obtained geometric characteristic parameters, and calculate the cutting force distribution under different paths; An initial path optimization module is used to generate an optimal tool path corresponding to tool feature information using a path optimization algorithm in the cutting force model based on the cutting force distribution and geometric feature parameters; A simulation environment establishment module is used to establish a simulation environment for a five-axis machining center according to the generated tool path and the tool feature information, and simulate the motion state of the tool under different paths; A path optimization smoothing module is used to set a reward function including path smoothness and cutting force stability in the simulation environment; use a reinforcement learning algorithm to optimize the smoothness of the tool path and generate a smooth tool path; The simulation verification execution module is used to verify the generated smooth tool path in the simulation environment; transmit the verified smooth tool path to the five-axis machining machine tool, and trigger the machining execution instruction.

[0019] By adopting the above-mentioned technical scheme, the present application calculates the cutting force distribution under different paths to analyze the change of cutting force under different tool paths, and provides a scientific basis for path optimization based on the current workpiece to be processed and processing tool, which is beneficial to reduce overcutting and undercutting, and improve the smoothness and dimensional accuracy of the processed surface. The path optimization algorithm includes a genetic algorithm and a particle swarm optimization algorithm. The smoothness of the processing path and the stability of the cutting force are improved through path optimization. At the same time, through the simulation environment and the design reward function, the feasibility of the path can be detected in the virtual environment, the smoothness of the tool path can be optimized, and the errors and risks in the actual processing can be effectively avoided. Through the reinforcement learning algorithm, the path can be continuously optimized, a smooth tool path can be generated, and the vibration and impact during the processing process can be reduced. Through simulation verification, it is ensured that the generated smooth path meets the processing standard process requirements and improves the processing surface quality and efficiency.

[0020] In a preferred example of the present application: the system further includes: A multi-objective optimization module, used to set multiple optimization objectives in a preset multi-objective optimization model, wherein the multiple optimization objectives include minimizing cutting force, maximizing tool life, and minimizing surface roughness; An initial posture trajectory determination module is used to parameterize the tool posture in combination with the tool feature information to obtain tool posture parameters; determine the initial tool posture trajectory based on a smooth tool path and a tool control parameter based on a time series; The posture trajectory optimization module is used to optimize the tool posture parameters based on the initial tool posture trajectory in the multi-objective optimization model by using a multi-objective optimization algorithm to obtain an optimized tool posture trajectory.

[0021] By adopting the above-mentioned technical scheme, the present invention also tracks, monitors and optimizes the tool posture of the tool performing the processing, and based on the consideration of the changing factors of the tool posture, it is beneficial to provide a processing control scheme with higher precision and more comprehensive detection; specifically, the multi-objective optimization model is used to evaluate and optimize multiple performance indicators, and multiple optimization targets are correspondingly formulated based on the high-precision standard process parameter requirements of the five-axis machining workpiece for monitoring and optimization, so as to analyze and improve the control scheme that can provide higher precision in the five-axis machining machine and track, detect and optimize the optimizable area.

[0022] In the third aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the machining control method based on a five-axis machining machine tool are implemented.

[0023] In a fourth aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the machining control method based on a five-axis machining machine tool are implemented.

[0024] In summary, the present application includes at least one of the following beneficial technical effects: 1. This application calculates the cutting force distribution under different paths to analyze the changes in cutting force under different tool paths, and provides a scientific basis for path optimization based on the current workpiece to be processed and the processing tool, which is conducive to reducing overcutting and undercutting, and improving the smoothness and dimensional accuracy of the processed surface. The path optimization algorithm includes a genetic algorithm and a particle swarm optimization algorithm. The smoothness of the processing path and the stability of the cutting force are improved through path optimization. At the same time, through the simulation environment and the design reward function, the feasibility of the path can be detected in the virtual environment, the smoothness of the tool path can be optimized, and the errors and risks in the actual processing can be effectively avoided; through the reinforcement learning algorithm, the path can be continuously optimized, a smooth tool path can be generated, and the vibration and impact during the processing process can be reduced. Through simulation verification, it is ensured that the generated smooth path meets the processing standard process requirements and improves the processing surface quality and efficiency; 2. The present invention also tracks, monitors and optimizes the tool posture of the tool performing the processing, and based on the consideration of the change factors of the tool posture, it is conducive to providing a processing control solution with higher precision and more comprehensive detection; specifically, the multi-objective optimization model is used to evaluate and optimize multiple performance indicators, and multiple optimization targets are correspondingly formulated for monitoring and optimization based on the high-precision standard process parameter requirements of the five-axis processing workpiece, so as to analyze and improve the control solution that can provide higher precision in the five-axis processing machine tool and track and detect the optimizable area and optimize the target; 3. The present invention obtains processing task parameters and tool paths to ensure that the parameters and paths of the processing process are accurate, providing accurate data support for subsequent matching and processing; and by matching the three-dimensional position information and the starting point coordinates of the tool path, it ensures that the tool starts processing from the correct starting point to avoid processing errors caused by inaccurate starting points; then, by obtaining the relative position information between the tool and the workpiece to be processed in real time, the processing process can be dynamically adjusted to ensure the accuracy and stability of the processing, and finally, through the generated machine tool processing status results, the status of the processing process can be comprehensively evaluated to ensure the stability and quality of the processing; by comparing the machine tool processing status results with the preset threshold, abnormal situations can be discovered and handled in time to ensure the smooth progress of the processing process. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a flow chart of a machining control method based on a five-axis machining machine tool in one embodiment of the present application; Figure 2 It is a flowchart after step S4 in the machining control method based on a five-axis machining machine tool in one embodiment of the present application; Figure 3 It is a flowchart of step S4 in a machining control method based on a five-axis machining machine tool in one embodiment of the present application; Figure 4 It is a flowchart after step S5 in a machining control method based on a five-axis machining machine tool in one embodiment of the present application; Figure 5 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION

[0026] The present application is further described in detail below in conjunction with the accompanying drawings.

[0027] In one embodiment, if Figure 1 As shown, the present application discloses a processing control method based on a five-axis machining machine tool, which specifically includes the following steps: S1: Obtain the geometric characteristic parameters and tool characteristic information of the workpiece to be processed, establish a cutting force model based on the obtained geometric characteristic parameters, and calculate the cutting force distribution under different paths.

[0028] In this embodiment, the geometric feature parameters include size volume, curvature, normal vector, surface roughness, etc.; the tool feature information includes the type, diameter, length and material of the tool; the cutting force distribution refers to the change of cutting force under different tool paths.

[0029] Specifically, the cutting parameters are input, such as cutting speed, feed rate, cutting depth, etc. Then, based on the input cutting parameters, a cutting force model is constructed, taking into account factors such as material properties and tool type. The cutting force model is used to describe the force relationship between the tool and the workpiece during the process.

[0030] S2: In the cutting force model, based on the cutting force distribution and geometric feature parameters, the path optimization algorithm is used to generate the optimal tool path corresponding to the tool feature information.

[0031] Specifically, the initial tool path is generated as the starting point of optimization; the optimization goals are set, such as minimizing overcutting and undercutting to ensure the smoothness and dimensional accuracy of the machined surface; then the optimization algorithm (such as genetic algorithm, particle swarm optimization, etc.) is applied to combine the geometric features and cutting force model to generate the optimal tool path.

[0032] S3: Based on the generated tool path and tool feature information, a simulation environment of the five-axis machining machine is established to simulate the motion state of the tool under different paths.

[0033] In this embodiment, the simulation environment refers to a virtual five-axis machining machine model, which is used to simulate the movement of a tool and the machining process.

[0034] Specifically, the parameters of the five-axis CNC machine tool are input, such as the travel range and maximum speed of each axis; combined with the input machine tool parameters, a simulation environment of the five-axis CNC machine tool is constructed, taking into account the dynamic characteristics of the machine tool.

[0035] S4: In the simulation environment, a reward function including path smoothness and cutting force stability is set; a reinforcement learning algorithm is used to optimize the smoothness of the tool path and generate a smooth tool path.

[0036] In this embodiment, smoothness refers to the smoothness of the path and the reduction of mutation points in the path.

[0037] Specifically, first initialize the simulation environment, set the initial state and initial path, and then define the state space and action space. The state space includes tool position, posture, cutting force, etc.; the action space includes path adjustment, posture adjustment, etc., and then strengthen learning training, that is, use reinforcement learning algorithms (such as DQN or PPO) to optimize the smoothness of the tool path and generate a smooth tool path through interaction with the environment.

[0038] S5: Verify the generated smooth tool path in the simulation environment; transmit the verified smooth tool path to the five-axis machining machine and trigger the machining execution instruction.

[0039] Specifically, the generated tool path is verified in a virtual environment to ensure the feasibility of the path; through simulation, the path smoothness, cutting force stability and other indicators are checked to ensure that the path meets the processing requirements, and the verified smooth tool path is transmitted to the five-axis machining machine; through simulation verification, it is ensured that the generated smooth tool path meets the processing requirements, avoiding errors and risks in actual processing, and improving the success rate and reliability of processing.

[0040] In one embodiment, if Figure 2 As shown, after step S4, the processing control method based on the five-axis machining machine tool further includes: S501: In a preset multi-objective optimization model, multiple optimization objectives are set, and the multiple optimization objectives include minimizing cutting force, maximizing tool life, and minimizing surface roughness.

[0041] Specifically, the optimization objectives are defined, including minimizing cutting force fluctuations, maximizing tool life, and minimizing surface roughness. Weights are assigned to each optimization objective and adjusted according to actual processing requirements. A multi-objective optimization model is constructed to integrate the optimization objectives and weights into a comprehensive optimization function.

[0042] S502: Parameterizing the tool posture in combination with the tool feature information to obtain tool posture parameters; determining an initial tool posture trajectory based on a smooth tool path and a tool control parameter based on a time series.

[0043] In this embodiment, the tool posture includes parameters such as rake angle and side rake angle.

[0044] S503: In the multi-objective optimization model, a multi-objective optimization algorithm is used to optimize the tool posture parameters based on the initial tool posture trajectory to obtain an optimized tool posture trajectory.

[0045] In this embodiment, the multi-objective optimization algorithm includes NSGA-II or MOEA / D.

[0046] Specifically, the multi-objective optimization algorithm is initialized and the initial parameters are set; in the multi-objective optimization model, multi-objective optimization is performed based on the initial tool posture trajectory; the tool posture parameters are optimized to obtain the optimized tool posture trajectory; the optimized tool posture trajectory is verified in a simulation environment to ensure its feasibility.

[0047] In one embodiment, if Figure 3 As shown, in step S4, in the simulation environment, a reward function including path smoothness and cutting force stability is set, including: S41: In the simulation environment, according to the generated tool path and simulation environment parameters, a corresponding reward function target is defined according to a plurality of preset reward function component factors.

[0048] In this embodiment, the reward function component factors are specific indicators that constitute the reward function; the reward function target definition is to set specific goals for each reward function component factor, such as minimizing path roughness and minimizing cutting force fluctuations.

[0049] Specifically, in the simulation environment, the generated tool path and simulation environment parameters are first loaded, such as the travel range and maximum speed of each axis of the five-axis machining center; then multiple reward function components are preset, such as path smoothness, cutting force stability, processing time, surface roughness, etc.; then specific goals are set for each reward function component, for example: path smoothness refers to minimizing the roughness of the path and reducing the mutation points in the path; cutting force stability refers to minimizing the fluctuation of the cutting force and improving the stability of the cutting process; processing time refers to minimizing the total processing time and improving processing efficiency; surface roughness refers to minimizing the surface roughness and improving the quality of the processed surface.

[0050] S42: Assign weights to multiple reward function component factors.

[0051] In this embodiment, the weight refers to the importance coefficient assigned to each reward function component factor, which is used to balance the priorities between different objectives.

[0052] S43: Construct a multi-objective reward function based on the defined reward function objectives and weights.

[0053] In this embodiment, the multi-objective reward function refers to a reward function that comprehensively evaluates the quality of a path by integrating multiple reward function component factors and weights.

[0054] Specifically, in a simulation environment, the constructed multi-objective reward function is used to evaluate the pros and cons of different paths and guide the iterative process of the optimization algorithm.

[0055] In this embodiment, multiple reward function component factors include path smoothness factor, cutting force stability factor, processing time factor, and surface quality factor; according to the defined reward function objectives and weights, a multi-objective reward function is constructed, including: The multi-objective reward function is expressed by formula (1): R=w1R smo +w2R for +w3R t +w4R q (1) Among them, w1, w2, w3, w4 are weight coefficients, R smo is the path smoothness factor, R for is the cutting force stability factor, R t is the processing time factor, R q is the surface quality factor.

[0056] Specifically, the path smoothness factor R defined according to the defined reward function objective smo The reward function is expressed by formula (2): Among them, p i is the i-th point on the path, ||.|| represents the Euclidean distance, and n is the number of points on the path; The cutting force stability factor R is defined according to the defined reward function objective for The reward function is expressed by formula (3): Among them, F i is the cutting force at the i-th point, is the average cutting force; The processing time factor R is defined according to the reward function objective defined t The reward function is expressed by formula (4): Among them, t i is the processing time at the i-th point; The surface quality factor R is defined according to the reward function objective defined q The reward function is expressed by formula (5): Among them, σ i is the surface roughness at the i-th point.

[0057] In this embodiment, the path smoothness factor R smo It is an indicator to measure the smoothness of the path. It quantifies the roughness of the path by calculating the second-order difference of adjacent points on the path. The cutting force stability factor R for It is an indicator to measure the stability of cutting force. It quantifies the fluctuation of cutting force by calculating the standard deviation of cutting force. The processing time factor R t It is an indicator to measure the processing time. It quantifies the total processing time by calculating the processing time of each point on the path; surface quality factor R q It is an indicator to measure surface quality. It quantifies surface quality by calculating the surface roughness of each point on the path. It presets multiple reward function components, such as path smoothness, cutting force stability, processing time, surface quality, etc. Then, it sets specific goals for each reward function component, for example: path smoothness: minimize the roughness of the path and reduce the mutation points in the path; cutting force stability: minimize the fluctuation of cutting force and improve the stability of the cutting process; processing time: minimize the total processing time and improve processing efficiency; surface quality: minimize surface roughness and improve the quality of the processed surface.

[0058] In one embodiment, if Figure 4 As shown, after step S5, the processing control method based on the five-axis machining machine tool further includes: S511: Obtain machining task parameters and tool paths based on machining execution instructions, and obtain three-dimensional position information of the workpiece to be machined and the tool.

[0059] In this embodiment, the processing task parameters include processing speed, feed speed, cutting depth, etc.; the tool path is an optimized smooth tool path used to guide the movement of the machine tool; the three-dimensional position information is the position information of the workpiece to be processed and the tool in three-dimensional space.

[0060] Specifically, receive the processing execution instructions and extract the processing task parameters, such as processing speed, feed speed, cutting depth, etc.; obtain the optimized smooth tool path from the processing execution instructions; use a 3D scanner or other positioning equipment to obtain the position information of the workpiece to be processed and the tool in the three-dimensional space.

[0061] S512: Matching is performed based on the three-dimensional position information and the starting point coordinates of the tool path, and the workpiece is processed.

[0062] Specifically, the starting point coordinates refer to the coordinates of the starting point of the tool path in three-dimensional space; the acquired three-dimensional position information of the workpiece and the tool is matched with the starting point coordinates of the tool path to ensure that the tool starts processing from the correct starting point, and controls the five-axis machining center to perform processing according to the optimized tool path.

[0063] S513: During the processing, the relative position information between the tool and the workpiece to be processed is obtained in real time through the preset sensor of the machine tool, and the real-time cutting parameters and machine tool performance parameters are calculated. The relative position information includes distance and angle.

[0064] In this embodiment, the preset sensor refers to a sensor installed on the machine tool, which is used to monitor the relative position information between the tool and the workpiece to be processed in real time; the real-time cutting parameters refer to parameters such as cutting force and cutting speed measured in real time during the processing; the relative position information includes the distance and angle between the tool and the workpiece to be processed; Specifically, during the machining process, the relative position information between the tool and the workpiece to be machined, including distance and angle, is obtained in real time through preset sensors; based on the real-time position information, the real-time cutting parameters, such as cutting force, cutting speed, etc., are calculated; and the performance parameters of the machine tool, such as vibration, temperature, etc., are monitored.

[0065] S514: obtaining a machine tool processing status result based on the real-time cutting parameters and the machine tool performance parameters; and obtaining a processing parameter comparison result based on comparing the machine tool processing status result with a preset threshold value.

[0066] In this embodiment, the machine tool processing condition result is a processing condition obtained based on real-time cutting parameters and machine tool performance parameters; the preset threshold refers to a pre-set standard value for evaluating the processing condition; the processing parameter comparison result is the result obtained by comparing the machine tool processing condition result with the preset threshold.

[0067] Specifically, based on the real-time cutting parameters and machine tool performance parameters, the machine tool processing status results are generated, such as cutting force stability, vibration, etc.; the machine tool processing status results are compared with the preset thresholds to evaluate whether the processing process is normal; based on the comparison results, the processing parameter comparison results are generated to monitor and adjust the processing process; by generating the machine tool processing status results, the state of the processing process can be comprehensively evaluated to ensure the stability and quality of the processing. By comparing the machine tool processing status results with the preset thresholds, abnormal situations can be discovered and handled in a timely manner, ensuring the smooth progress of the processing process and improving the reliability and safety of the processing.

[0068] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0069] In one embodiment, a machining control system based on a five-axis machining machine is provided. The machining control system based on the five-axis machining machine corresponds to the machining control method based on the five-axis machining machine in the above embodiment.

[0070] The machining control system based on the five-axis machining center includes a parameter acquisition module, an initial path optimization module, a simulation environment establishment module, a path optimization smoothing module and a simulation verification execution module. The detailed description of each functional module is as follows: the parameter acquisition module is used to obtain the geometric feature parameters and tool feature information of the workpiece to be machined, establish a cutting force model based on the obtained geometric feature parameters, and calculate the cutting force distribution under different paths; The initial path optimization module is used to generate the optimal tool path corresponding to the tool feature information using the path optimization algorithm in the cutting force model based on the cutting force distribution and geometric feature parameters; The simulation environment establishment module is used to establish the simulation environment of the five-axis machining machine tool according to the generated tool path and tool feature information, and simulate the motion state of the tool under different paths; The path optimization smoothing module is used to set the reward function including path smoothness and cutting force stability in the simulation environment; it uses the reinforcement learning algorithm to optimize the smoothness of the tool path and generate a smooth tool path; The simulation verification execution module is used to verify the generated smooth tool path in the simulation environment; transmit the verified smooth tool path to the five-axis machining machine tool and trigger the machining execution instruction.

[0071] Optional, the machining control system based on the five-axis machining center also includes: The multi-objective optimization module is used to set multiple optimization objectives in a preset multi-objective optimization model. The multiple optimization objectives include minimizing cutting force, maximizing tool life, and minimizing surface roughness. The initial posture trajectory determination module is used to parameterize the tool posture in combination with the tool feature information to obtain the tool posture parameters; the initial tool posture trajectory is determined based on the smooth tool path and the tool control parameters based on the time series; The posture trajectory optimization module is used to optimize the tool posture parameters based on the initial tool posture trajectory in the multi-objective optimization model by using a multi-objective optimization algorithm to obtain an optimized tool posture trajectory.

[0072] For the specific limitations of the machining control system based on the five-axis machining machine tool, please refer to the limitations of the machining control method based on the five-axis machining machine tool in the above text, which will not be repeated here; each module in the above-mentioned machining control system based on the five-axis machining machine tool can be fully or partially implemented by software, hardware and their combination; each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0073] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store cutting force models, simulation environments of five-axis machining centers, reinforcement learning algorithms, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a processing control method based on a five-axis machining center is implemented.

[0074] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: S1: Obtain the geometric characteristic parameters of the workpiece and the tool characteristic information, establish a cutting force model based on the obtained geometric characteristic parameters, and calculate the cutting force distribution under different paths; S2: In the cutting force model, based on the cutting force distribution and geometric characteristic parameters, the path optimization algorithm is used to generate the optimal tool path corresponding to the tool characteristic information; S3: Based on the generated tool path and tool feature information, a simulation environment of a five-axis machining machine is established to simulate the motion state of the tool under different paths; S4: In the simulation environment, set the reward function including path smoothness and cutting force stability; use the reinforcement learning algorithm to optimize the smoothness of the tool path and generate a smooth tool path; S5: Verify the generated smooth tool path in the simulation environment; transmit the verified smooth tool path to the five-axis machining machine and trigger the machining execution instruction.

[0075] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: S1: Obtain the geometric characteristic parameters of the workpiece and the tool characteristic information, establish a cutting force model based on the obtained geometric characteristic parameters, and calculate the cutting force distribution under different paths; S2: In the cutting force model, based on the cutting force distribution and geometric characteristic parameters, the path optimization algorithm is used to generate the optimal tool path corresponding to the tool characteristic information; S3: Based on the generated tool path and tool feature information, a simulation environment of a five-axis machining machine is established to simulate the motion state of the tool under different paths; S4: In the simulation environment, set the reward function including path smoothness and cutting force stability; use the reinforcement learning algorithm to optimize the smoothness of the tool path and generate a smooth tool path; S5: Verify the generated smooth tool path in the simulation environment; transmit the verified smooth tool path to the five-axis machining machine and trigger the machining execution instruction.

[0076] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0077] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0078] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the features thereof may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A machining control method based on a five-axis machining machine tool, characterized in that: include: Obtain the geometric characteristic parameters of the workpiece to be processed and the tool characteristic information, establish a cutting force model based on the obtained geometric characteristic parameters, and calculate the cutting force distribution under different paths; In the cutting force model, based on the cutting force distribution and geometric characteristic parameters, a path optimization algorithm is used to generate an optimal tool path corresponding to the tool characteristic information; According to the generated tool path and the tool feature information, a simulation environment of a five-axis machining machine tool is established to simulate the motion state of the tool under different paths; In the simulation environment, a reward function including path smoothness and cutting force stability is set; a reinforcement learning algorithm is used to optimize the smoothness of the tool path and generate a smooth tool path; The generated smooth tool path is verified in the simulation environment; the verified smooth tool path is transmitted to the five-axis machining machine tool, and a machining execution instruction is triggered.

2. The processing control method based on a five-axis machining machine tool according to claim 1, characterized in that: Said setting, in said simulation environment, a reward function including path smoothness and cutting force stability; Using reinforcement learning algorithms to optimize the smoothness of tool paths and generate smooth tool paths, it also includes: In a preset multi-objective optimization model, multiple optimization objectives are set, wherein the multiple optimization objectives include minimizing cutting force, maximizing tool life, and minimizing surface roughness; In combination with the tool feature information, the tool posture is parameterized to obtain tool posture parameters; based on the smooth tool path and the tool control parameters based on the time series, an initial tool posture trajectory is determined; In the multi-objective optimization model, a multi-objective optimization algorithm is used to optimize tool posture parameters based on the initial tool posture trajectory to obtain an optimized tool posture trajectory.

3. The processing control method based on a five-axis machining machine tool according to claim 1, characterized in that: In the simulation environment, setting a reward function including path smoothness and cutting force stability includes: In the simulation environment, a corresponding reward function target is defined according to a plurality of preset reward function component factors according to the generated tool path and simulation environment parameters; Assigning weights to a plurality of the reward function component factors; Construct a multi-objective reward function based on the defined reward function objectives and weights.

4. The processing control method based on a five-axis machining machine tool according to claim 3 is characterized in that: The multiple reward function component factors include a path smoothness factor, a cutting force stability factor, a processing time factor, and a surface quality factor; the multi-objective reward function is constructed according to the defined reward function objectives and weights, including: The multi-objective reward function is expressed by formula (1): R=w1R smo +w2R for +w3R t +w4R q (1) Among them, w1, w2, w3, w4 are weight coefficients, R smo is the path smoothness factor, R for is the cutting force stability factor, R t is the processing time factor, R q is the surface quality factor.

5. The processing control method based on a five-axis machining machine tool according to claim 4 is characterized in that: The method also includes: The path smoothness factor R is defined according to the reward function objective defined smo The reward function is expressed by formula (2): Among them, p i is the i-th point on the path, ||.|| represents the Euclidean distance, and n is the number of points on the path; The cutting force stability factor R is defined according to the defined reward function objective for The reward function is expressed by formula (3): Among them, F i is the cutting force at the i-th point, is the average cutting force; The processing time factor R is defined according to the reward function objective defined t The reward function is expressed by formula (4): Among them, t i is the processing time at the i-th point; The surface quality factor R is defined according to the reward function objective defined q The reward function is expressed by formula (5): Among them, σ i is the surface roughness at the i-th point.

6. The processing control method based on a five-axis machining machine tool according to claim 4, characterized in that: After the verified smooth tool path is transmitted to the five-axis machining machine and the machining execution instruction is triggered, the method further includes: Based on the processing execution instruction, the processing task parameters and the tool path are obtained, and the three-dimensional position information of the workpiece to be processed and the tool is obtained; based on the three-dimensional position information and the starting point coordinates of the tool path, matching is performed, and the workpiece to be processed is processed; During the machining process, the relative position information between the tool and the workpiece to be machined is obtained in real time through the preset sensor of the machine tool, and the real-time cutting parameters and machine tool performance parameters are calculated. The relative position information includes distance and angle; Based on the real-time cutting parameters and machine tool performance parameters, a machine tool processing status result is obtained; based on the comparison between the machine tool processing status result and a preset threshold value, a processing parameter comparison result is obtained.

7. A processing control system based on a five-axis machining machine tool, characterized in that: Applied to the machining control method based on a five-axis machining machine tool as described in any one of claims 1 to 6, the system comprises: The parameter acquisition module is used to obtain the geometric characteristic parameters of the workpiece to be processed and the tool characteristic information, establish a cutting force model based on the obtained geometric characteristic parameters, and calculate the cutting force distribution under different paths; An initial path optimization module is used to generate an optimal tool path corresponding to tool feature information using a path optimization algorithm in the cutting force model based on the cutting force distribution and geometric feature parameters; A simulation environment establishment module is used to establish a simulation environment for a five-axis machining center according to the generated tool path and the tool feature information, and simulate the motion state of the tool under different paths; A path optimization smoothing module is used to set a reward function including path smoothness and cutting force stability in the simulation environment; use a reinforcement learning algorithm to optimize the smoothness of the tool path and generate a smooth tool path; The simulation verification execution module is used to verify the generated smooth tool path in the simulation environment; transmit the verified smooth tool path to the five-axis machining machine tool, and trigger the machining execution instruction.

8. The processing control system based on a five-axis processing machine tool according to claim 7, characterized in that: The system further comprises: A multi-objective optimization module, used to set multiple optimization objectives in a preset multi-objective optimization model, wherein the multiple optimization objectives include minimizing cutting force, maximizing tool life, and minimizing surface roughness; An initial posture trajectory determination module is used to parameterize the tool posture in combination with the tool feature information to obtain tool posture parameters; determine the initial tool posture trajectory based on a smooth tool path and a tool control parameter based on a time series; The posture trajectory optimization module is used to optimize the tool posture parameters based on the initial tool posture trajectory in the multi-objective optimization model by using a multi-objective optimization algorithm to obtain an optimized tool posture trajectory.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the machining control method based on a five-axis machining machine tool as claimed in any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the machining control method based on a five-axis machining machine tool as claimed in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • High-speed precision machining system and method for complex curved surface machining

    CN111413923A

  • Grinding constant force control method based on deep reinforcement learning PPO algorithm

    CN114660940A

  • Cutter motion control method of five-axis machining robot and related device

    CN118238156A

  • Systems and methods for virtual environment for reinforcement learning in manufacturing

    US20210132580A1

Cited By

  • Multi-axis linkage numerical control machine tool control system

    CN120295222A

  • A multi-axis linkage CNC machine tool control system

    CN120295222B

  • High-precision machining method and machining equipment for internal spline of planetary gear

    CN120619487A

  • Green numerical control machining method based on software system

    CN120962437A