Control method of numerical control system and numerical control system

By preprocessing and verifying the machining program of the CNC system, generating and optimizing the machining path trajectory, and using the simulation machining twin model for real-time monitoring, the machining efficiency and precision issues of the CNC system in complex environments are solved, and intelligent dynamic control is achieved.

CN120779868AInactive Publication Date: 2025-10-14SHENZHEN HUAZHONG NUMERICAL CONTROL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510994597.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-18
Publication Date
2025-10-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing CNC systems have low efficiency in parsing machining programs in complex manufacturing environments, lack intelligence and accuracy, are difficult to adapt to complex trajectory interpolation, and lack real-time monitoring and control of tool wear and process quality.

Method used

By analyzing the machining program for preprocessing and verification, the machining path trajectory is generated, and simulated machining is performed using a simulated machining twin model. Tool wear and product quality are monitored in real time, and intelligent dynamic control is achieved through threshold comparison.

Benefits of technology

It improves the applicability and accuracy of the processing program, ensures product quality, realizes intelligent dynamic monitoring and control of the processing process, and improves production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120779868A_ABST
    Figure CN120779868A_ABST
Patent Text Reader

Abstract

The invention provides a control method of a numerical control system and the numerical control system. The method comprises the steps that a machining program is preprocessed and verified, if it is determined that the machining program is applicable, a machining path track is generated and optimized, simulation machining is conducted, node machining record data of simulation machining procedure nodes are obtained, analysis processing and threshold value comparison are conducted respectively, and if tool abrasion and node product quality both meet threshold values, the machining path track is optimized; if yes, processing the product according to the processing program, obtaining and processing quality monitoring data of the product to obtain a product deviation monitoring parameter, and finally obtaining a product quality state through threshold comparison; pretreatment and verification are carried out by analyzing the machining program, the machining path track is optimized, it is ensured that products are suitable for being machined, tool abrasion and product quality of all machining nodes are monitored in real time, meanwhile, the quality state of the formed products is monitored, and therefore intelligent dynamic control over production and machining by a numerical control system is achieved.
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 system control, in particular to a control method of a numerical control system and the numerical control system. BACKGROUND

[0002] As the core bottom technology of intelligent manufacturing, the numerical control system is developing towards high precision, high speed and intelligence. However, the existing numerical control system still faces low machining program analysis efficiency, insufficient intelligence and accuracy, insufficient adaptability of complex trajectory interpolation algorithms such as curved surface and free curve, and only quality monitoring of the final shaped product during product machining, lacking of adaptive control method for tool wear and process machining quality during product machining.

[0003] In view of the above problems, an effective technical solution is urgently needed. SUMMARY

[0004] The purpose of the present application is to provide a control method of a numerical control system and the numerical control system, which can preprocess and verify the machining program, optimize the machining path trajectory, ensure the application of the machining product, monitor the tool wear and product quality of each node during machining in real time, and monitor the quality state of the shaped product, so as to realize the intelligent dynamic control of the numerical control system on production and machining.

[0005] The present application also provides a control method of a numerical control system, comprising the following steps: Obtaining the machining program of the numerical control system and preprocessing and verifying it to determine the application state of the machining program; If it is applicable, generating the machining path trajectory according to the machining program and performing simulation machining through a preset simulation machining twin model; Obtaining the node machining record data of the simulation machining process node; Processing the node machining record data to obtain the node machining qualified state; If it is qualified, machining the product according to the machining program; Obtaining the quality monitoring data of the machining product, processing it to obtain the product deviation monitoring parameter, comparing it with the preset product quality deviation rate threshold value, and obtaining the product quality state.

[0006] Optionally, in the control method of the numerical control system, the step of obtaining the machining program of the numerical control system and preprocessing and verifying it to determine the application state of the machining program comprises: Obtaining the machining program of the numerical control system and preprocessing it through syntax checking; If it is passed, generating the machining process according to the machining program; Logical verification is performed on the machining process. If the verification is passed, the programming time of the machining program and the issuing time of the product trial production instruction are obtained. If the programming time is after the issuing time, it is determined that the machining program is applicable. If the programming time is before the issuing time, it is determined that the machining program is not applicable, and the numerical control system is controlled to pause execution.

[0007] Optionally, in the control method of the numerical control system described in the present application, if applicable, a machining path trajectory is generated according to the machining program, and simulation machining is performed through a preset simulation machining twin model, comprising: If applicable, an initial machining path trajectory is generated according to the machining program. The actual curvature of the machining contour curve is obtained, and compared with a preset curvature threshold to obtain high curvature or low curvature. According to the high curvature or low curvature, a preset step length influence coefficient list is queried to obtain a corresponding step length influence coefficient. The maximum acceleration and real-time acceleration of the numerical control equipment are obtained. The step length influence coefficient, the maximum acceleration and the real-time acceleration are input into a preset step length adjustment optimization model for processing to obtain a step length adjustment coefficient. According to the step length adjustment coefficient, the initial machining path trajectory is optimized to obtain a machining path trajectory, and simulation machining is performed through a preset simulation machining twin model.

[0008] Optionally, in the control method of the numerical control system described in the present application, the node machining record data of the simulation machining process node comprises: The node machining record data comprises tool wear evaluation data and node quality monitoring data. The tool wear evaluation data comprises tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value. The node quality monitoring data of the product comprises node size measurement data and node surface quality data.

[0009] Optionally, in the control method of the numerical control system described in the present application, the processing according to the node machining record data comprises: The tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value are input into a preset tool wear prediction model for processing to obtain a tool wear prediction value. The node size measurement data and the preset product node size design value, and the node surface quality data and the preset product node quality requirement value are compared to obtain a node size deviation rate and a node quality deviation rate, and a weighted sum processing is performed to obtain a node deviation monitoring parameter. threshold comparison between the tool wear prediction value and a preset tool wear permitted threshold value is performed; threshold comparison between the node deviation monitoring parameter and a preset node quality deviation rate threshold value is performed; if the tool wear prediction value is less than the preset tool wear permitted threshold value and the node deviation monitoring parameter is less than the preset node quality deviation rate threshold value, it is determined that the node machining qualified state is node qualified; otherwise, it is determined that the node machining qualified state is node unqualified, and the numerical control system is controlled to adjust the machining process parameters corresponding to the node.

[0010] Optionally, in the numerical control system control method described in the present application, if qualified, the node quality monitoring data is processed to obtain product deviation monitoring parameters, and threshold comparison between the product deviation monitoring parameters and a preset product quality deviation rate threshold value is performed to obtain a product quality state, including: the quality monitoring data includes product size measurement data and product surface quality data; the product size measurement data and a preset product size design value and the product surface quality data and a preset product quality requirement value are compared to obtain product size deviation rate and product quality deviation rate, and weighted summation processing is performed to obtain product deviation monitoring parameters; threshold comparison between the product deviation monitoring parameters and a preset product quality deviation rate threshold value is performed; if less than the preset product quality deviation rate threshold value, it is determined that the product quality state is qualified; if greater than or equal to the preset product quality deviation rate threshold value, it is determined that the product quality state is unqualified, and the numerical control system is controlled to adjust the machining program.

[0011] In a second aspect, the present application provides a numerical control system for controlling a numerical control system, the system comprising: a memory and a processor, the memory comprising a program of a numerical control system control method, the program of the numerical control system control method being executed by the processor to implement the following steps: obtaining a machining program of a numerical control system and performing preprocessing and verification to determine the applicability of the machining program; if applicable, generating a machining path trajectory according to the machining program and performing simulation machining through a preset simulation machining twin model; obtaining node machining record data of the simulation machining process node; processing the node machining record data to obtain a node machining qualified state; if qualified, machining a product according to the machining program; obtaining quality monitoring data of the machined product for processing to obtain product deviation monitoring parameters, and performing threshold comparison between the product deviation monitoring parameters and a preset product quality deviation rate threshold value to obtain a product quality state.

[0012] Optionally, in the control method of the numerical control system, the machining program of the numerical control system is acquired and preprocessed and verified to determine the applicability of the machining program, comprising: acquiring the machining program of the numerical control system and performing syntax checking preprocessing; if passed, generating a machining process according to the machining program; performing logical verification on the machining process, and if passed, acquiring the compilation time of the machining program and the issuing time of the product trial production instruction; if the compilation time is after the issuing time, determining that the machining program is applicable; if the compilation time is before the issuing time, determining that the machining program is not applicable, and controlling the numerical control system to pause execution.

[0013] Optionally, in the control method of the numerical control system, the machining path trajectory is generated according to the machining program, and the simulation machining is performed through the preset simulation machining twin model, comprising: if applicable, generating an initial machining path trajectory according to the machining program; acquiring the measured curvature of the machining contour curve and comparing it with the preset curvature threshold to obtain high curvature or low curvature; querying the preset step length influence coefficient list according to the high curvature or low curvature to obtain the corresponding step length influence coefficient; acquiring the maximum acceleration and real-time acceleration of the numerical control equipment; inputting the step length influence coefficient, maximum acceleration and real-time acceleration into the preset step length adjustment optimization model for processing to obtain a step length adjustment coefficient; optimizing the initial machining path trajectory according to the step length adjustment coefficient to obtain a machining path trajectory, and performing simulation machining through the preset simulation machining twin model.

[0014] Optionally, in the control method of the numerical control system, the node machining record data of the simulation machining process node is acquired, comprising: the node machining record data includes tool wear evaluation data and node quality monitoring data; the tool wear evaluation data includes tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value; the node quality monitoring data of the product includes node size measurement data and node surface quality data.

[0015] From the above, the application provides a kind of CNC system control method and CNC system, by analyzing processing procedure to carry out preprocessing and check, optimize processing path trajectory, ensure that the product is suitable for processing, real-time monitoring processing each node tool wear and product quality, while monitoring product quality state after forming, so as to realize the intelligent dynamic control of CNC system to production and processing.

[0016] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent from the description, or can be learned by practice of the present application. The objects and other advantages of the present application can be achieved and obtained by the structure particularly pointed out in the written description and accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, therefore should not be regarded as limiting the scope, for those skilled in the art, without creative labor, other related drawings can also be obtained according to these drawings.

[0018] Figure 1 The flow chart of the control method of the CNC system provided by the embodiments of the present application is shown in the figure. Figure 2 The flow chart of determining the applicable state of processing program of the control method of the CNC system provided by the embodiments of the present application is shown in the figure. Figure 3 The flow chart of obtaining node processing qualified state of the control method of the CNC system provided by the embodiments of the present application is shown in the figure. Figure 4 The flow chart of obtaining product quality state of the control method of the CNC system provided by the embodiments of the present application is shown in the figure. Figure 5 The high-level flow chart of the method of various embodiments of the present application, these methods can be used in the control method of CNC system. DETAILED DESCRIPTION

[0019] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.

[0020] It should be noted that similar reference numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. Meanwhile, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0021] Please refer to Figure 1 , Figure 1 is a flowchart of a control method of a numerical control system in some embodiments of the present application. The control method of the numerical control system is used in a terminal device, such as a computer, a mobile phone terminal, etc. The control method of the numerical control system includes the following steps: S11, obtaining a machining program of a numerical control system and preprocessing and verifying to determine the applicable state of the machining program; S12, if applicable, generating a machining path trajectory according to the machining program and performing simulation machining through a preset simulation machining twin model; S13, obtaining node machining record data of the simulation machining process node; S14, processing according to the node machining record data to obtain a node machining qualified state; S15, if qualified, machining a product according to the machining program; S16, obtaining quality monitoring data of the machined product for processing to obtain product deviation monitoring parameters, and comparing with a preset product quality deviation rate threshold to obtain a product quality state.

[0022] It should be noted that in order to ensure that the prepared processing program is accurate and matches the product to be processed, syntax checking, logical verification and time validity verification are performed, and after confirmation, the generation and optimization of the machining path track are performed to ensure product quality and improve production efficiency. In order to realize dynamic monitoring, the tool wear and product processing quality of each process node are monitored in real time during simulation processing, and whether they meet the threshold value demand is determined through analysis and threshold comparison, so as to realize the process evaluation and control of the numerical control system. Finally, the processed product is evaluated to realize the final evaluation and control of the numerical control system.

[0023] Please refer to Figure 2 , Figure 2 is a flowchart of a method for determining the applicability of a processing program of a numerical control system in some embodiments of the present application. According to an embodiment of the present application, the processing program of the numerical control system is obtained and preprocessed and verified to determine the applicability of the processing program, comprising: S21, obtaining the processing program of the numerical control system and performing syntax checking preprocessing; S22, if passed, generating a machining process according to the processing program; S23, performing logical verification on the machining process, and if passed, obtaining the preparation time of the processing program and the issuing time of the product trial production instruction; S24, if the preparation time is after the issuing time, determining that the processing program is applicable; S25, if the preparation time is before the issuing time, determining that the processing program is not applicable, and controlling the numerical control system to pause execution.

[0024] It should be noted that after the numerical control system loads the processing program, it needs to be checked and verified. First, syntax checking is performed to ensure accuracy and complete parameters. Second, logical verification is performed on the machining process generated according to the processing program, such as machining process sequence logic and whether the speed is out of limit. Finally, time verification is performed to ensure that the processing program is the latest program that matches the product to be processed, preventing the use of old programs to process products.

[0025] According to an embodiment of the present application, if applicable, a machining path track is generated according to the processing program, and simulation processing is performed through a preset simulation processing twin model, comprising: if applicable, an initial machining path track is generated according to the processing program; obtaining the measured curvature of the machining contour curve and comparing it with the preset curvature threshold value to obtain high curvature or low curvature; querying a preset step length influence coefficient list according to the high curvature or low curvature to obtain the corresponding step length influence coefficient; Obtaining the maximum acceleration and real-time acceleration of the numerical control equipment; Inputting the step length influence coefficient, the maximum acceleration and the real-time acceleration into a preset step length adjustment optimization model for processing to obtain a step length adjustment coefficient; Optimizing the initial machining path trajectory according to the step length adjustment coefficient to obtain a machining path trajectory, and performing simulation machining through a preset simulation machining twin model.

[0026] It should be noted that, in order to improve the adaptability of the interpolation algorithm, firstly, the measured curvature of the machining contour curve is extracted, and the high curvature or low curvature is determined through threshold comparison, and the corresponding step length influence coefficient is queried, and then the step length adjustment coefficient is obtained by combining the maximum acceleration and the real-time acceleration of the equipment through the preset step length adjustment optimization model, and finally, the initial machining path trajectory is obtained, and the machining path trajectory is obtained, so that intelligent interpolation analysis and processing and path optimization at the curved surface change are realized, and the surface machining quality is improved, wherein the preset step length adjustment optimization model is obtained by training a large number of historical sample step length influence coefficients, maximum accelerations and real-time accelerations and corresponding step length adjustment coefficients, and the preset step length influence coefficient list is set in advance by a person skilled in the art and can be dynamically adjusted.

[0027] According to the embodiment of the present application, the node machining record data of the simulation machining process node is obtained, including: The node machining record data includes tool wear evaluation data and node quality monitoring data; The tool wear evaluation data includes tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value; The node quality monitoring data of the product includes node size measurement data and node surface quality data.

[0028] It should be noted that, the nodes in the simulation machining process are monitored in real time, including tool wear and node quality, wherein the tool vibration frequency extreme value refers to the difference between the maximum vibration frequency and the minimum vibration frequency of the tool within a preset time period, the tool amplitude extreme value refers to the difference between the maximum amplitude and the minimum amplitude of the tool within a preset time period, the node size measurement data refers to the size obtained by actually measuring each part of the semi-finished product after node machining is completed, and the node surface quality data refers to the surface roughness obtained by actually measuring each part of the semi-finished product after node machining is completed.

[0029] Please refer to Figure 3 , Figure 3 is a flowchart of obtaining a node machining qualified state in a control method of a numerical control system in some embodiments of the present application. According to the embodiment of the present application, the processing according to the node machining record data is performed to obtain a node machining qualified state, including: S31, inputting the tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value into a preset tool wear prediction model for processing to obtain a tool wear prediction value; S32, comparing the node size measured data with a preset product node size design value and comparing the node surface quality data with a preset product node quality requirement value to obtain a node size deviation rate and a node quality deviation rate, and performing weighted summation processing to obtain a node deviation monitoring parameter; S33, performing threshold comparison between the tool wear prediction value and a preset tool wear permitted threshold value; S34, performing threshold comparison between the node deviation monitoring parameter and a preset node quality deviation rate threshold value; S35, if the tool wear prediction value is less than the preset tool wear permitted threshold value and the node deviation monitoring parameter is less than the preset node quality deviation rate threshold value, determining that the node processing qualified state is node qualified; S36, otherwise, determining that the node is unqualified, and controlling the numerical control system to adjust the processing parameters corresponding to the node.

[0030] It should be noted that the tool wear prediction value is obtained by real-time analyzing the tool wear condition through the preset tool wear prediction model based on the tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value, and is used to evaluate the tool wear condition in a preset time period. The preset tool wear prediction model is obtained by training a large number of historical samples of tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value and corresponding tool wear prediction values. The node size deviation rate is the ratio of the absolute value of the difference between the node size measured data and the preset product node size design value to the preset product node size design value. The node quality deviation rate is the ratio of the difference between the node surface quality data and the preset product node quality requirement value to the preset product node quality requirement value. If it is negative, it means that the surface quality is higher than the required value, and the node quality deviation rate is recorded as 0. The node deviation monitoring parameter is obtained by weighted summation processing. Finally, threshold comparison is performed to determine whether the tool wear and node product quality meet the threshold requirement. If a node does not meet the requirement, only the processing technology of the node is adjusted, thereby verifying and controlling the processing technology of the numerical control system and improving the production efficiency.

[0031] Please refer to Figure 4 , Figure 4 is a flowchart of obtaining a product quality state in a control method of a numerical control system in some embodiments of the present application. According to the embodiment of the present application, if it is qualified, the node quality monitoring data is processed to obtain a product deviation monitoring parameter, and threshold comparison is performed between the product deviation monitoring parameter and a preset product quality deviation rate threshold value to obtain a product quality state, including: S41, the quality monitoring data includes product size measured data and product surface quality data; S42, compare the product size measured data with the preset product size design value and the product surface quality data with the preset product quality demand value, obtain product size deviation rate and product quality deviation rate, and weighted sum processing, obtain product deviation monitoring parameter; S43, threshold comparison of the product deviation monitoring parameter and the preset product quality deviation rate threshold value; S44, if less than the preset product quality deviation rate threshold value, the product quality state is determined to be qualified; S45, if greater than or equal to the preset product quality deviation rate threshold value, the product quality state is determined to be unqualified, and the numerical control system is controlled to adjust the processing program.

[0032] It should be noted that, under the premise that each processing node meets the demand, the final processing product quality including processing size and product surface quality is evaluated, the product deviation monitoring parameter is obtained, and the product quality state is determined to be qualified or unqualified through threshold comparison. If unqualified, the numerical control system needs to be controlled to adjust the processing program.

[0033] Please refer to Figure 5 , Figure 5 is a high-level flowchart of the method of various embodiments of the present application, which can be used in the control method of the numerical control system. According to the embodiment of the present application, for example, step S55, according to the tool wear and node product quality, the node processing of each processing procedure is determined. If the tool wear and node product quality are qualified, it is determined that the processing parameters of the node meet the demand, otherwise, S551 is executed, that is, the numerical control system is controlled to adjust the processing parameters corresponding to the node.

[0034] It is worth mentioning that, according to the embodiment of the present application, it also includes: Obtain real-time vibration data of each transmission shaft of the numerical control equipment, and extract frequency domain feature data and time domain feature data; According to the frequency domain feature data and the time domain feature data, the vibration fundamental frequency error and the inter-axis phase difference of each transmission shaft are obtained; Threshold comparison of the vibration fundamental frequency error and the preset vibration fundamental frequency error threshold value; Threshold comparison of the inter-axis phase difference and the preset phase difference threshold value; If less than the preset vibration fundamental frequency error threshold value and less than the preset phase difference threshold value, it is determined that each transmission shaft cooperates normally; Otherwise, it is determined that each transmission shaft cooperates out of tune, and the preset speed feedforward parameter of the transmission shaft is adjusted.

[0035] It should be noted that, in order to realize the multi-axis cooperative motion of the numerical control equipment, the control is performed through dynamic compensation, so as to improve the machining quality. First, real-time vibration data of each transmission shaft are acquired, corresponding frequency domain feature data and time domain feature data are extracted, the frequency domain feature data are used to represent the consistency of the fundamental frequency, and the time domain feature data are used to represent the difference of the vibration amplitude under the same interpolation mode. Then, the phase difference is analyzed. Finally, whether the coordinated motion of each transmission shaft is normal is determined through threshold comparison. If the coordination is out of tune, the preset speed feedforward parameter of the shaft is adjusted according to the vibration fundamental frequency error and the phase difference between the shafts.

[0036] It is worth mentioning that, according to the embodiment of the present application, further comprising: The current measured value of the servo motor at the preset time point is acquired, and comparison processing is performed to obtain a current cumulative deviation value; The current cumulative deviation value is compared with a preset deviation warning threshold value; If the current cumulative deviation value is greater than the preset deviation warning threshold value, the feed speed, the spindle speed, the cutting depth and the acceleration are extracted according to the machining program; The feed speed, the spindle speed, the cutting depth and the acceleration and the current cumulative deviation value are input into a preset cutting force prediction model for processing to obtain a cutting force prediction value; The control parameter of the machining program is adjusted according to the cutting force prediction value.

[0037] It should be noted that, when the cutting force appears overload or sudden decrease mutation, in order to accurately realize and timely adjust the control, first, the current measured value of the servo motor is acquired in real time, the preset CUSUM algorithm is used for analysis and processing to obtain a current cumulative deviation value, and then threshold comparison is performed. If the current cumulative deviation value is greater than the preset deviation warning threshold value, it is determined that the cutting force appears mutation. Then, the current cutting force prediction value is predicted by a preset cutting force prediction model according to the machining parameters set in the machining program and the current measured value. Finally, the control parameter of the machining program is adjusted, such as reducing the feed speed. The preset cutting force prediction model is trained by acquiring a large number of historical samples of the feed speed, the spindle speed, the cutting depth, the acceleration and the current cumulative deviation value and the corresponding cutting force prediction value.

[0038] It is worth mentioning that, according to the embodiment of the present application, further comprising: An interpolation instruction set is acquired, including a plurality of linear interpolation instructions and a plurality of circular arc interpolation instructions; The plurality of linear interpolation instructions are compared; If the directions are the same, linear interpolation instruction fusion processing is performed to obtain a fused linear interpolation instruction; The plurality of circular arc interpolation instructions are compared in terms of the center position data and the circular arc radius; If the same, then the circular arc interpolation instruction fusion processing is carried out to obtain the fusion circular arc interpolation instruction; The product is processed according to the fusion straight line interpolation instruction and the fusion circular arc interpolation instruction.

[0039] It should be noted that, in order to improve the tool processing efficiency, the straight line motion and the circular arc motion of the tool are identified, the corresponding requirements are met, and then the merging and fusion processing is carried out.

[0040] The application further discloses a control method of a numerical control system, which comprises a memory and a processor, the memory comprises a control method program of a numerical control system, and the control method program of the numerical control system is executed by the processor to realize the following steps: The machining program of the numerical control system is acquired, preprocessed and checked to determine the applicable state of the machining program; If applicable, the machining path trajectory is generated according to the machining program, and the simulation machining is carried out through a preset simulation machining twin model; The node machining record data of the simulation machining process node is acquired; The node machining record data is processed to obtain the node machining qualified state; If qualified, the product is processed according to the machining program; The quality monitoring data of the processed product are acquired and processed to obtain the product deviation monitoring parameter, and the product quality state is obtained by comparing the product deviation monitoring parameter with a preset product quality deviation threshold.

[0041] It should be noted that, in order to ensure that the prepared machining program is accurate and matches the product to be processed, the machining path trajectory is generated and optimized after the machining program is confirmed by syntax checking, logic checking and time validity verification, so that the product quality is ensured and the production efficiency is improved. In order to realize dynamic monitoring, the tool wear and the product machining quality of each process node are monitored in the simulation machining process, whether the threshold demand is met is determined through analysis and threshold comparison, the process evaluation and control of the numerical control system are realized, finally, the product after machining is evaluated to realize the terminal evaluation and control of the numerical control system.

[0042] According to the embodiment of the application, the machining program of the numerical control system is acquired and preprocessed and checked to determine the applicable state of the machining program, comprising: The machining program of the numerical control system is acquired and preprocessed by syntax checking; If passed, the machining process is generated according to the machining program; The machining process is logically checked, if passed, the preparation time of the machining program and the issuing time of the product trial production instruction are acquired; If the preparation time is after the issuing time, it is determined that the machining program is applicable. If the preparation time is before the issuing time, it is determined that the machining program is not applicable, and the numerical control system is controlled to pause execution.

[0043] It should be noted that after the numerical control system loads the machining program, it needs to be checked and verified. First, syntax checking is performed to ensure that the preparation is accurate and the parameters are complete. Second, logical verification is performed on the machining process generated according to the machining program, for example, machining process sequence logic, whether the speed is out of limit, and finally, time verification is performed to ensure that the machining program is the latest program matched with the product to be processed, preventing the use of old programs to process products.

[0044] According to the embodiment of the present application, if it is applicable, a machining path trajectory is generated according to the machining program, and simulation machining is performed through a preset simulation machining twin model, comprising: If it is applicable, an initial machining path trajectory is generated according to the machining program; The measured curvature of the machining contour curve is obtained and compared with a preset curvature threshold to obtain high curvature or low curvature; According to the high curvature or low curvature, a preset step length influence coefficient list is queried to obtain a corresponding step length influence coefficient; The maximum acceleration and real-time acceleration of the numerical control equipment are obtained; The step length influence coefficient, the maximum acceleration and the real-time acceleration are input into a preset step length adjustment optimization model for processing to obtain a step length adjustment coefficient; According to the step length adjustment coefficient, the initial machining path trajectory is optimized to obtain a machining path trajectory, and simulation machining is performed through a preset simulation machining twin model.

[0045] It should be noted that in order to improve the adaptability of the interpolation algorithm, first, the measured curvature of the machining contour curve is extracted, and the high curvature or low curvature is determined through threshold comparison, and the corresponding step length influence coefficient is queried, and then the maximum acceleration and real-time acceleration of the equipment are combined to process through a preset step length adjustment optimization model to obtain a step length adjustment coefficient, and finally, the initial machining path trajectory is obtained to obtain a machining path trajectory, thereby realizing intelligent interpolation analysis and processing and path optimization at the surface change, improving the surface machining quality. The preset step length adjustment optimization model is trained by obtaining a large number of historical sample step length influence coefficients, maximum accelerations and real-time accelerations, and corresponding step length adjustment coefficients, and the preset step length influence coefficient list is preset by a person skilled in the art and can be dynamically adjusted.

[0046] According to the embodiment of the present application, the node machining record data of the simulation machining process node comprises: The node processing record data comprises tool wear evaluation data and node quality monitoring data; The tool wear evaluation data comprises tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value; The node quality monitoring data of the product comprises node size measured data and node surface quality data.

[0047] It should be noted that the real-time monitoring of each node in the simulation processing process includes tool wear and node quality, wherein the tool vibration frequency extreme value refers to the difference between the maximum vibration frequency and the minimum vibration frequency of the tool within a preset time period, the tool amplitude extreme value refers to the difference between the maximum amplitude and the minimum amplitude of the tool within a preset time period, the node size measured data refers to the size obtained by actually measuring each part of the semi-finished product after the node processing is completed, and the node surface quality data refers to the surface roughness obtained by actually measuring each part of the semi-finished product after the node processing is completed.

[0048] According to the embodiment of the present application, the processing according to the node processing record data to obtain the node processing qualified state comprises: The tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value are input into a preset tool wear prediction model for processing to obtain a tool wear prediction value; The node size measured data and a preset product node size design value and the node surface quality data and a preset product node quality requirement value are compared to obtain a node size deviation rate and a node quality deviation rate, and weighted summation processing is performed to obtain a node deviation monitoring parameter; The tool wear prediction value is compared with a preset tool wear permitted threshold value; The node deviation monitoring parameter is compared with a preset node quality deviation rate threshold value; If the tool wear prediction value is less than the preset tool wear permitted threshold value, and the node deviation monitoring parameter is less than the preset node quality deviation rate threshold value, it is determined that the node processing qualified state is node qualified; Otherwise, it is node unqualified, and the numerical control system is controlled to adjust the processing process parameters corresponding to the node.

[0049] It should be noted that the preset tool wear prediction model is obtained by training a large number of historical samples of tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value and corresponding tool wear prediction value; the node size deviation rate is the ratio of the absolute value of the difference between the measured node size data and the preset product node size design value to the preset product node size design value; the node quality deviation rate is the ratio of the difference between the node surface quality data and the preset product node quality requirement value to the preset product node quality requirement value; if it is negative, it means that the surface quality is higher than the required value, then the node quality deviation rate is recorded as 0; the node deviation monitoring parameter is obtained by weighted summation processing; finally, whether the tool wear and the node product quality meet the threshold requirement is determined by threshold comparison, if a node does not meet the requirement, only the processing technology of the node is adjusted, so as to realize the verification and control of the machining process of the numerical control system, and improve the production efficiency.

[0050] According to the embodiment of the application, if it is qualified, the node quality monitoring data is processed to obtain a product deviation monitoring parameter, and threshold comparison is performed with a preset product quality deviation rate threshold to obtain a product quality state, including: The quality monitoring data includes product size measured data and product surface quality data; The product size measured data and the preset product size design value and the product surface quality data and the preset product quality requirement value are compared to obtain a product size deviation rate and a product quality deviation rate, and weighted summation processing is performed to obtain a product deviation monitoring parameter; The product deviation monitoring parameter is compared with the preset product quality deviation rate threshold; If it is less than the preset product quality deviation rate threshold, it is determined that the product quality state is qualified; If it is greater than or equal to the preset product quality deviation rate threshold, it is determined that the product quality state is unqualified, and the numerical control system is controlled to adjust the machining program.

[0051] It should be noted that under the premise that each machining node meets the requirement, the final machining product quality is evaluated including machining size and product surface quality, a product deviation monitoring parameter is obtained, and threshold comparison is performed to determine whether the product quality state is qualified or unqualified, if it is unqualified, the numerical control system needs to adjust the machining program.

[0052] According to the embodiment of the present application, for example, step S55, the node processing of each machining process is determined according to the tool wear and the node product quality, if both the tool wear and the node product quality are qualified, it is determined that the machining process parameters of the node meet the requirements, otherwise, S551 is executed, that is, the machining process parameters corresponding to the node of the numerical control system are adjusted.

[0053] It is worth mentioning that, according to the embodiment of the present application, further comprising: Obtaining real-time vibration data of each transmission shaft of the numerical control equipment, and extracting frequency domain feature data and time domain feature data; According to the frequency domain feature data and the time domain feature data, the vibration fundamental frequency error and the inter-axis phase difference of each transmission shaft are obtained; The vibration fundamental frequency error is compared with the preset vibration fundamental frequency error threshold value; The inter-axis phase difference is compared with the preset phase difference threshold value; If it is less than the preset vibration fundamental frequency error threshold value and less than the preset phase difference threshold value, it is determined that each transmission shaft is in normal cooperation; Otherwise, it is determined that each transmission shaft is out of cooperation, and the preset speed feedforward parameter of the transmission shaft is adjusted.

[0054] It should be noted that, in order to realize the multi-axis cooperative motion of the numerical control equipment, the dynamics compensation is controlled, so as to improve the machining quality. First, the real-time vibration data of each transmission shaft is obtained, and the corresponding frequency domain feature data and time domain feature data are extracted. The frequency domain feature data is used to represent the consistency of the fundamental frequency, and the time domain feature data is used to represent the difference of the vibration amplitude under the same interpolation mode. Then, the phase difference is analyzed. Finally, through threshold comparison, it is determined whether the cooperative motion of each transmission shaft is normal. If the cooperation is out of adjustment, the preset speed feedforward parameter of the shaft is adjusted according to the vibration fundamental frequency error and the inter-axis phase difference.

[0055] It is worth mentioning that, according to the embodiment of the present application, further comprising: Obtaining the current measured value of the servo motor at the preset time point, and comparing and processing to obtain the current cumulative deviation value; The current cumulative deviation value is compared with the preset deviation warning threshold value; If it is greater than the preset deviation warning threshold value, the feed speed, spindle speed, cutting depth and acceleration are extracted according to the machining program; The feed speed, spindle speed, cutting depth and acceleration and the current cumulative deviation value are input into the preset cutting force prediction model for processing to obtain the cutting force prediction value; According to the cutting force prediction value, the control parameter of the machining program is adjusted.

[0056] It should be noted that when the cutting force appears overload or sudden reduction mutation, in order to accurately realize and timely adjust control, firstly, the current measured value of the servo motor is collected in real time, the preset CUSUM algorithm is analyzed and processed, the current cumulative deviation value is obtained, and then the threshold comparison is carried out, if it is greater than the preset deviation warning threshold, it is judged that the cutting force appears mutation, then, according to the machining parameter set by the machining program, the current cutting force prediction value is predicted by the preset cutting force prediction model combined with the current measured value, finally, the control parameter of the machining program is adjusted according to the cutting force prediction value, such as reducing the feed speed, wherein the preset cutting force prediction model is obtained by training a large number of historical samples of feed speed, spindle speed, cutting depth, acceleration and current cumulative deviation value and corresponding cutting force prediction value.

[0057] It is worth mentioning that, according to the embodiment of the application, further comprising: Obtain the interpolation instruction set, including a plurality of linear interpolation instructions and a plurality of circular interpolation instructions; Compare a plurality of linear interpolation instructions; If the direction is the same, linear interpolation instruction fusion processing is carried out to obtain fusion linear interpolation instruction; Compare the center position data and the arc radius of a plurality of circular interpolation instructions; If they are the same, circular interpolation instruction fusion processing is carried out to obtain fusion circular interpolation instruction; According to the fusion linear interpolation instruction and the fusion circular interpolation instruction, product machining is carried out.

[0058] It should be noted that in order to improve the tool machining efficiency, the linear motion and the circular motion of the tool are identified, the corresponding requirements are met, and then the merging and fusion processing is carried out.

[0059] The control method and the numerical control system are disclosed, the machining program is preprocessed and verified, the machining path trajectory is optimized, the applicable machining product is ensured, the tool wear and the product quality of each node in machining are monitored in real time, the product quality state after forming is monitored, and therefore the intelligent dynamic control of the numerical control system on production and machining is realized.

[0060] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other manners. The above described device embodiments are merely exemplary. For example, the division of the units is merely a logical function division. There can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling, or direct coupling or communication connection between the components can be indirect coupling or communication connection through some interfaces, devices, or units, and can be electrical, mechanical, or in other forms.

[0061] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units; they can be located in one place, or distributed on multiple network units; and part or all of the units can be selected as needed to achieve the purposes of the embodiments.

[0062] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; and the integrated unit can be implemented in the form of hardware or hardware plus software functional units.

[0063] Those of ordinary skill in the art can understand that all or part of the steps of the above-described method embodiments can be completed by a program instructing related hardware, and the foregoing program can be stored in a readable storage medium, and when the program is executed, the steps of the method embodiments are executed; and the foregoing storage medium includes mobile storage devices, read-only memories (ROMs), random access memories (RAMs), magnetic disks or optical disks, and various media that can store program codes.

[0064] Alternatively, the integrated units of the present application, if implemented in the form of software functional modules and sold or used as independent products, can also be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. The foregoing storage medium includes mobile storage devices, ROMs, RAMs, magnetic disks or optical disks, and various media that can store program codes.

Claims

1. A control method for a numerical control system, characterized in that: The following steps are involved: Obtain the machining program of the CNC system, perform pre-processing and verification, and determine the applicability of the machining program; If applicable, a machining path trajectory is generated according to the machining program, and simulation machining is performed through a preset simulation machining twin model; Obtaining node processing record data of simulation processing process nodes; Processing the node processing record data to obtain a node processing qualified status; If qualified, the product will be processed according to the processing procedures; The quality monitoring data of the processed products is obtained for processing to obtain product deviation monitoring parameters, which are compared with the preset product quality deviation rate threshold to obtain the product quality status.

2. The control method of the numerical control system according to claim 1, characterized in that: The obtaining of the machining program of the numerical control system, and performing preprocessing and verification to determine the applicable status of the machining program includes: Obtain the machining program of the CNC system and perform syntax check preprocessing; If passed, a machining process is generated according to the machining procedure; Perform logic verification on the processing technology. If it passes, obtain the compilation time of the processing program and the issuance time of the product trial production instruction; If the preparation time is after the issuance time, the processing procedure is determined to be applicable; If the compilation time is before the issuing time, the machining program is determined to be inapplicable, and the numerical control system is controlled to suspend execution.

3. The control method of the numerical control system according to claim 2, characterized in that: If applicable, a machining path trajectory is generated according to the machining program, and simulation machining is performed through a preset simulation machining twin model, including: If applicable, generating an initial machining path trajectory according to the machining program; Obtain the measured curvature of the machining contour curve and compare it with the preset curvature threshold to obtain high curvature or low curvature; Querying a preset step length influence coefficient list according to the high curvature or low curvature to obtain a corresponding step length influence coefficient; Get the maximum acceleration and real-time acceleration of CNC equipment; Inputting the step length influence coefficient, maximum acceleration and real-time acceleration into a preset step length adjustment optimization model for processing to obtain a step length adjustment coefficient; The initial machining path trajectory is optimized according to the step size adjustment coefficient to obtain the machining path trajectory, and simulation machining is performed through a preset simulation machining twin model.

4. The control method of the numerical control system according to claim 3, characterized in that: The obtaining of node processing record data of the simulation processing process node includes: The node processing record data includes tool wear evaluation data and node quality monitoring data; The tool wear evaluation data includes tool cutting force, tool vibration frequency extreme value and tool vibration amplitude extreme value; The node quality monitoring data of the product includes node size measured data and node surface quality data.

5. The control method of the numerical control system according to claim 4, characterized in that: The step of processing the node processing record data to obtain a node processing qualified status includes: Inputting the tool cutting force, tool vibration frequency extreme value and tool amplitude extreme value into a preset tool wear prediction model for processing to obtain a tool wear prediction value; Compare the measured node size data with the preset product node size design value, and the node surface quality data with the preset product node quality requirement value, to obtain the node size deviation rate and the node quality deviation rate, and perform weighted summation processing to obtain the node deviation monitoring parameter; Performing a threshold comparison between the tool wear prediction value and a preset tool wear allowable threshold; Comparing the node deviation monitoring parameter with a preset node quality deviation rate threshold; If the tool wear prediction value is less than the preset tool wear allowable threshold, and the node deviation monitoring parameter is less than the preset node quality deviation rate threshold, the node processing qualification state is determined to be node qualified; Otherwise, the node is unqualified, and the CNC system is controlled to adjust the processing parameters corresponding to the node.

6. The control method of the numerical control system according to claim 5, characterized in that: The process of obtaining and processing the quality monitoring data of the processed product to obtain the product deviation monitoring parameter and performing a threshold comparison with a preset product quality deviation rate threshold to obtain the product quality status includes: The quality monitoring data includes product size measurement data and product surface quality data; Compare the measured product size data with the preset product size design value and the product surface quality data with the preset product quality requirement value to obtain the product size deviation rate and product quality deviation rate, and perform weighted summation processing to obtain product deviation monitoring parameters; Comparing the product deviation monitoring parameter with a preset product quality deviation rate threshold; If it is less than the preset product quality deviation rate threshold, the product quality status is determined to be qualified; If it is greater than or equal to the preset product quality deviation rate threshold, the product quality status is judged to be unqualified, and the CNC system is controlled to adjust the processing program.

7. A numerical control system, characterized in that: The system comprises a memory and a processor, wherein the memory comprises a program of a control method for a numerical control system, and when the program of the control method for the numerical control system is executed by the processor, the following steps are implemented: Obtain the machining program of the CNC system, perform pre-processing and verification, and determine the applicability of the machining program; If applicable, a machining path trajectory is generated according to the machining program, and simulation machining is performed through a preset simulation machining twin model; Obtaining node processing record data of simulation processing process nodes; Processing the node processing record data to obtain a node processing qualified status; If qualified, the product will be processed according to the processing procedures; The quality monitoring data of the processed products is obtained for processing to obtain product deviation monitoring parameters, which are compared with the preset product quality deviation rate threshold to obtain the product quality status.

8. The numerical control system according to claim 7, characterized in that: The obtaining of the machining program of the numerical control system, and performing preprocessing and verification to determine the applicable status of the machining program includes: Obtain the machining program of the CNC system and perform syntax check preprocessing; If passed, a machining process is generated according to the machining procedure; Perform logic verification on the processing technology. If it passes, obtain the compilation time of the processing program and the issuance time of the product trial production instruction; If the preparation time is after the issuance time, the processing procedure is determined to be applicable; If the compilation time is before the issuing time, the machining program is determined to be inapplicable, and the numerical control system is controlled to suspend execution.

9. The numerical control system according to claim 8, characterized in that: Generating a machining path trajectory according to the machining program and performing simulation machining through a preset simulation machining twin model includes: If applicable, generating an initial machining path trajectory according to the machining program; Obtain the measured curvature of the machining contour curve and compare it with the preset curvature threshold to obtain high curvature or low curvature; Querying a preset step length influence coefficient list according to the high curvature or low curvature to obtain a corresponding step length influence coefficient; Get the maximum acceleration and real-time acceleration of CNC equipment; Inputting the step length influence coefficient, maximum acceleration and real-time acceleration into a preset step length adjustment optimization model for processing to obtain a step length adjustment coefficient; The initial machining path trajectory is optimized according to the step size adjustment coefficient to obtain the machining path trajectory, and simulation machining is performed through a preset simulation machining twin model.

10. The numerical control system according to claim 9, characterized in that: The obtaining of node processing record data of the simulation processing process node includes: The node processing record data includes tool wear evaluation data and node quality monitoring data; The tool wear evaluation data includes tool cutting force, tool vibration frequency extreme value and tool vibration amplitude extreme value; The node quality monitoring data of the product includes node size measured data and node surface quality data.