Contour error compensation control method and device for machining precision aviation components

By generating and optimizing the target workpiece error compensation information in aviation precision component processing, the problem of difficulty in real-time compensation of contour errors in the prior art is solved, and higher machining accuracy and quality are achieved, and waste and cost are reduced.

CN119472505BActive Publication Date: 2025-04-04DONGGUAN BILIAN HARDWARE MACHINERY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510056587.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-14
Publication Date
2025-04-04
Estimated Expiration
2045-01-14

AI Technical Summary

Technical Problem

The prior art is difficult to compensate for contour errors in real time in the processing of aviation precision components, resulting in low machining accuracy and quality, and easy to cause waste of workpieces.

Method used

By obtaining the initial machining instruction information of the workpiece to be processed, the target workpiece error compensation information is generated, including the target compensation time point of each motion axis and its corresponding target compensation information, and the optimization process is performed to achieve real-time error compensation.

Benefits of technology

Real-time compensation of contour errors during the machining of aviation precision components is achieved, processing accuracy and quality is improved, workpiece waste and production costs are reduced, and production efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119472505B_ABST
    Figure CN119472505B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of numerical control machining, and provides a contour error compensation control method and device for machining aviation precision components. The method includes obtaining initial machining instruction information of a workpiece to be machined, and generating target workpiece error compensation information of the workpiece to be machined based on the initial machining instruction information; wherein the target workpiece error compensation information includes the target compensation time point of each motion axis during machining of the numerical control machine tool and its corresponding target compensation information; based on the target workpiece error compensation information, the initial machining instruction information is optimized to obtain target machining instruction information, and based on the target machining instruction information, the numerical control machine tool is controlled to process the workpiece to be machined to obtain an aviation precision component. The method realizes real-time compensation of contour errors during machining of aviation precision components.
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 contour error compensation control method and device for machining aviation precision components. Background Art

[0002] With the rapid development of the aviation industry, the requirements for the machining accuracy and quality of aviation precision components are constantly increasing. These components usually have complex curved surfaces and high-precision dimensional requirements, and their machining quality directly affects the performance and safety of the aircraft. When machining these precision components on CNC machine tools, the control of contour errors is crucial. However, when machining aviation precision components, the existing technology usually performs static corrections on contour errors based on historical machining data. On the one hand, this method easily causes waste of machined workpieces, and on the other hand, it is impossible to achieve real-time compensation for contour errors during the machining process, which affects the machining quality of aviation precision components. Summary of the invention

[0003] The present application provides a contour error compensation control method and device for machining aviation precision components to solve the problems raised by the above background technology.

[0004] In a first aspect, the present application provides a contour error compensation control method for machining aviation precision components, comprising:

[0005] Acquire initial machining instruction information of a workpiece to be machined, and generate target workpiece error compensation information of the workpiece to be machined based on the initial machining instruction information; wherein the target workpiece error compensation information includes target compensation time points of each motion axis during machining of a CNC machine tool and corresponding target compensation information;

[0006] Optimizing the initial processing instruction information based on the target workpiece error compensation information to obtain target processing instruction information, and controlling a numerically controlled machine tool to process the workpiece to be processed based on the target processing instruction information to obtain an aviation precision component;

[0007] Wherein, generating the target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information includes:

[0008] Synchronously running the initial machining instruction information in an actual cutting environment and a virtual cutting environment for a preset number of times without loading, and generating initial workpiece error compensation information during each process of running the initial machining instruction information without loading;

[0009] Respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information, and determining the initial workpiece error compensation information with the smallest operation error coefficient as the intermediate workpiece error compensation information;

[0010] Target workpiece error compensation information is determined based on the intermediate workpiece error compensation information.

[0011] In a possible implementation, generating initial workpiece error compensation information during each no-load operation of the initial machining instruction information includes:

[0012] In the process of each no-load operation of the initial processing instruction information, for each moving axis of the CNC machine tool, the first posture and the second posture of the moving axis are obtained in real time, and it is determined whether the first posture is consistent with the second posture. If they are inconsistent, the initial compensation time point of the moving axis and its corresponding initial compensation information are generated based on the first posture and the second posture; the initial compensation time point of each moving axis and its corresponding initial compensation information constitute the initial workpiece error compensation information; the first posture is the posture in the actual cutting environment, and the second posture is the posture in the virtual cutting environment.

[0013] In a possible implementation, the first posture includes a first position and a first posture, the second posture includes a second position and a second posture, and the generating of the initial compensation time point of the motion axis and the corresponding initial compensation information based on the first posture and the second posture includes:

[0014] Determine the running time corresponding to the first posture and the second posture as the initial compensation time point;

[0015] A position compensation instruction is generated based on the second position and the first position, and a posture compensation instruction is generated based on the second posture and the first posture; the position compensation instruction and the posture compensation instruction constitute the initial compensation information.

[0016] In a possible implementation, respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information includes:

[0017] For each of the initial workpiece error compensation information, the initial processing instruction information is optimized based on the initial workpiece error compensation information to obtain intermediate processing instruction information;

[0018] For each of the initial workpiece error compensation information, an operation error coefficient corresponding to the initial workpiece error compensation information is obtained based on the initial processing instruction information and the intermediate processing instruction information corresponding to the initial workpiece error compensation information.

[0019] In a possible implementation, the acquiring the operation error coefficient corresponding to the initial workpiece error compensation information based on the initial processing instruction information and the intermediate processing instruction information corresponding to the initial workpiece error compensation information includes:

[0020] Running the intermediate processing instruction information in an actual cutting environment without load, and running the initial processing instruction information in a virtual cutting environment without load during running the intermediate processing instruction information;

[0021] For each of the motion axes, in the process of synchronously running the intermediate processing instruction information and the initial processing instruction information, the first posture and the second posture of the motion axis are obtained in real time, and it is determined whether the first posture is consistent with the second posture. If they are inconsistent, a matching relationship between the first posture and the second posture is established, and the matching relationship is recorded to obtain the operation error information corresponding to the motion axis;

[0022] The operation error coefficient corresponding to the initial workpiece error compensation information is determined based on the operation error information corresponding to each of the motion axes.

[0023] In a possible implementation, determining the operation error coefficient corresponding to the initial workpiece error compensation information based on the operation error information corresponding to each of the motion axes includes:

[0024] For each of the motion axes, determining an operation error factor of the motion axis based on the operation error information of the motion axis;

[0025] The operation error factors of the various motion axes are added together to obtain the operation error coefficient corresponding to the initial workpiece error compensation information.

[0026] In a possible implementation manner, determining the operation error factor of the motion axis based on the operation error information of the motion axis includes:

[0027] For each matching relationship of the operation error information, the similarity between the first posture and the second posture of the matching relationship is obtained, and the inverse of the minimum similarity among the similarities is multiplied by the number of matching relationships in the operation error information to obtain the operation error factor of the motion axis.

[0028] In a possible implementation manner, determining target workpiece error compensation information based on the intermediate workpiece error compensation information includes:

[0029] Based on a preset mutation algorithm, the intermediate workpiece error compensation information is subjected to mutation processing to obtain a first generation population; the first generation population includes a plurality of first generation individuals;

[0030] Obtaining the operation error coefficients corresponding to the first-generation individuals in the first-generation population respectively, and determining the first-generation individual with the smallest operation error coefficient as the target first-generation individual;

[0031] Performing mutation processing on the target first-generation individuals based on a preset mutation algorithm to obtain a second-generation population; the second-generation population includes a plurality of second-generation individuals;

[0032] The operation error coefficients corresponding to the second-generation individuals in the second-generation population are obtained respectively, and the second-generation individual with the smallest operation error coefficient is determined as the target second-generation individual; the steps after the operation error coefficients corresponding to the first-generation individuals in the first-generation population are obtained respectively, and the first-generation individual with the smallest operation error coefficient is determined as the target first-generation individual are iterated until the target individual is obtained; the operation error coefficient corresponding to the target individual in the offspring population in which it is located is the smallest and converges;

[0033] The target individual is determined as the target workpiece error compensation information.

[0034] In a second aspect, the present application provides a contour error compensation control device for machining aviation precision components, comprising:

[0035] A generating module, used for acquiring initial processing instruction information of a workpiece to be processed, and generating target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information; wherein the target workpiece error compensation information includes target compensation time points of each motion axis in the processing of the CNC machine tool and corresponding target compensation information;

[0036] A control module, configured to optimize the initial processing instruction information based on the target workpiece error compensation information to obtain target processing instruction information, and control a numerically controlled machine tool to process the workpiece to be processed based on the target processing instruction information to obtain an aviation precision component;

[0037] Wherein, generating the target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information includes:

[0038] Synchronously running the initial machining instruction information in an actual cutting environment and a virtual cutting environment for a preset number of times without loading, and generating initial workpiece error compensation information during each process of running the initial machining instruction information without loading;

[0039] Respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information, and determining the initial workpiece error compensation information with the smallest operation error coefficient as the intermediate workpiece error compensation information;

[0040] Target workpiece error compensation information is determined based on the intermediate workpiece error compensation information.

[0041] The present application provides a contour error compensation control method and device for machining aviation precision components, the method comprising: obtaining initial machining instruction information of a workpiece to be machined, and generating target workpiece error compensation information of the workpiece to be machined based on the initial machining instruction information; wherein the target workpiece error compensation information comprises target compensation time points of each motion axis in the machining process of a numerical control machine tool and its corresponding target compensation information; optimizing the initial machining instruction information based on the target workpiece error compensation information to obtain target machining instruction information, and controlling the numerical control machine tool to perform machining on the workpiece to be machined based on the target machining instruction information to obtain an aviation precision component; wherein the generating the target workpiece error compensation information of the workpiece to be machined based on the initial machining instruction information comprises: synchronously running the initial machining instruction information for a preset number of times in an actual cutting environment and a virtual cutting environment without load, and generating the initial workpiece error compensation information in the process of each no-load running of the initial machining instruction information; respectively obtaining the operating error coefficients corresponding to each of the initial workpiece error compensation information, and determining the initial workpiece error compensation information with the smallest operating error coefficient as the intermediate workpiece error compensation information; and determining the target workpiece error compensation information based on the intermediate workpiece error compensation information. This method realizes real-time compensation of contour errors during the machining of aviation precision components. On the one hand, it improves the machining accuracy and quality of aviation precision components. On the other hand, it helps to reduce the waste of machined workpieces caused by machining errors and reduces production costs. On another hand, real-time error compensation helps to reduce rework and debugging time and improve production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0043] Figure 1 A schematic flow chart of a contour error compensation control method for machining aviation precision components provided in an embodiment of the present application;

[0044] Figure 2 A schematic block diagram of the structure of a contour error compensation control device for machining aviation precision components provided in an embodiment of the present application;

[0045] Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0048] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0049] It should be further understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0050] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0051] See also Figure 1 , Figure 1 A flow chart of a contour error compensation control method for machining precision aviation components provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the contour error compensation control method for aviation precision component machining provided in the embodiment of the present application includes steps S1 to S2.

[0052] Step S1, obtaining initial processing instruction information of a workpiece to be processed, and generating target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information; wherein the target workpiece error compensation information includes target compensation time points of each motion axis during the processing of the CNC machine tool and their corresponding target compensation information;

[0053] Specifically, generating target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information includes the following steps:

[0054] The initial machining instruction information is synchronously run in the actual cutting environment and the virtual cutting environment for a preset number of times without load, and initial workpiece error compensation information is generated during each process of running the initial machining instruction information without load; it can be understood that the virtual cutting environment is a virtual environment corresponding to the actual cutting environment;

[0055] Respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information, and determining the initial workpiece error compensation information with the smallest operation error coefficient as the intermediate workpiece error compensation information;

[0056] Target workpiece error compensation information is determined based on the intermediate workpiece error compensation information.

[0057] The step of generating the initial workpiece error compensation information during each no-load operation of the initial machining instruction information comprises the following steps:

[0058] In the process of each no-load operation of the initial processing instruction information, for each moving axis of the CNC machine tool, the first posture and the second posture of the moving axis are obtained in real time, and it is determined whether the first posture is consistent with the second posture. If they are inconsistent, the initial compensation time point of the moving axis and its corresponding initial compensation information are generated based on the first posture and the second posture; the initial compensation time point of each moving axis and its corresponding initial compensation information constitute the initial workpiece error compensation information; the first posture is the posture in the actual cutting environment, and the second posture is the posture in the virtual cutting environment. Specifically, the moving axis is provided with a posture sensor, and the first posture is obtained in real time through the position sensor on the moving axis. The moving axis corresponds to a virtual moving axis in the virtual cutting environment, and a virtual posture sensor is provided on the virtual moving axis. The second posture is obtained in real time through the virtual posture sensor.

[0059] It can be understood that the above-mentioned method for obtaining the initial workpiece error compensation information, by acquiring the first posture and the second posture of the motion axis in real time, and generating the initial compensation time point of the motion axis and its corresponding initial compensation information based on the first posture and the second posture when the first posture is inconsistent, can accurately generate each initial compensation time point and its corresponding initial compensation information, which helps to improve the accuracy of the initial workpiece error compensation information, and thus improve the processing accuracy of aviation precision components.

[0060] The first posture includes a first position and a first posture, the second posture includes a second position and a second posture, and the initial compensation time point of the motion axis and the corresponding initial compensation information thereof are generated based on the first posture and the second posture, comprising the following steps:

[0061] Determine the running time corresponding to the first posture and the second posture as the initial compensation time point; it can be understood that the running time corresponding to the first posture and the second posture is the time from the start of running the initial processing instruction information to the processing of the position corresponding to the first posture;

[0062] A position compensation instruction is generated based on the second position and the first position, and a posture compensation instruction is generated based on the second posture and the first posture; the position compensation instruction and the posture compensation instruction constitute the initial compensation information.

[0063] It can be understood that the position compensation instruction is used to compensate for the first position, and the posture compensation instruction is used to compensate for the first posture. In the actual cutting environment, the vibration of the machine tool may cause the actual posture of the moving axis to deviate from the ideal posture. In the virtual cutting environment, there is no vibration of the virtual machine tool. The second posture obtained in the virtual cutting environment is the ideal posture of the first posture obtained in the actual cutting environment. This embodiment compensates for the contour error in the processing process by performing initial compensation information obtained by performing difference analysis on the first posture and the second posture, so that the posture of the moving axis in the processing process is closer to the ideal posture, thereby improving the processing accuracy.

[0064] Wherein, the step of respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information comprises the following steps:

[0065] For each of the initial workpiece error compensation information, the initial processing instruction information is optimized based on the initial workpiece error compensation information to obtain intermediate processing instruction information;

[0066] For each of the initial workpiece error compensation information, an operation error coefficient corresponding to the initial workpiece error compensation information is obtained based on the initial processing instruction information and the intermediate processing instruction information corresponding to the initial workpiece error compensation information.

[0067] Wherein, the step of obtaining the operation error coefficient corresponding to the initial workpiece error compensation information based on the initial processing instruction information and the intermediate processing instruction information corresponding to the initial workpiece error compensation information comprises the following steps:

[0068] Running the intermediate processing instruction information in an actual cutting environment without load, and running the initial processing instruction information in a virtual cutting environment without load during running the intermediate processing instruction information;

[0069] For each of the motion axes, in the process of synchronously running the intermediate processing instruction information and the initial processing instruction information, the first posture and the second posture of the motion axis are obtained in real time, and it is determined whether the first posture is consistent with the second posture. If they are inconsistent, a matching relationship between the first posture and the second posture is established, and the matching relationship is recorded to obtain the operation error information corresponding to the motion axis;

[0070] The operation error coefficient corresponding to the initial workpiece error compensation information is determined based on the operation error information corresponding to each of the motion axes. Specifically, for each of the motion axes, the operation error factor of the motion axis is determined based on the operation error information of the motion axis; the operation error factors of each of the motion axes are added together to obtain the operation error coefficient corresponding to the initial workpiece error compensation information, wherein the operation error factor of the motion axis determined based on the operation error information of the motion axis includes: for each matching relationship of the operation error information, obtaining the similarity between the first posture and the second posture of the matching relationship, and multiplying the inverse of the minimum similarity among each of the similarities by the number of matching relationships in the operation error information to obtain the operation error factor of the motion axis.

[0071] It can be understood that, for each of the initial workpiece error compensation information, the above-mentioned method of obtaining the operating error coefficient corresponding to the initial workpiece error compensation information, by performing error analysis on each of the moving axes under the initial workpiece error compensation information, obtains the operating error coefficient corresponding to the initial workpiece error compensation information, which helps to improve the accuracy of the operating error coefficient, and then select more accurate intermediate workpiece error compensation information.

[0072] Wherein, determining the target workpiece error compensation information based on the intermediate workpiece error compensation information comprises the following steps:

[0073] The intermediate workpiece error compensation information is mutated based on a preset mutation algorithm to obtain a first generation population; the first generation population includes a plurality of first generation individuals; it can be understood that the first generation individuals are mutated workpiece error compensation information obtained after the intermediate workpiece error information is mutated;

[0074] Obtain the operation error coefficients corresponding to the first-generation individuals in the first-generation population respectively, and determine the first-generation individual with the smallest operation error coefficient as the target first-generation individual; it should be noted that the method for obtaining the operation error coefficient has been discussed above and will not be repeated here;

[0075] The target first-generation individuals are mutated based on a preset mutation algorithm to obtain a second-generation population; the second-generation population includes a plurality of second-generation individuals; it can be understood that the second-generation individuals are mutated workpiece error compensation information obtained after the target first-generation individuals are mutated;

[0076] The operation error coefficients corresponding to the second-generation individuals in the second-generation population are obtained respectively, and the second-generation individual with the smallest operation error coefficient is determined as the target second-generation individual; the steps after the operation error coefficients corresponding to the first-generation individuals in the first-generation population are obtained respectively, and the first-generation individual with the smallest operation error coefficient is determined as the target first-generation individual, are iterated until the target individual is obtained; the operation error coefficient corresponding to the target individual in the offspring population in which it is located is the smallest and converges; it should be noted that the convergence of the operation error coefficient corresponding to the target individual means that after the target individual is mutated by a preset mutation algorithm, the minimum operation error coefficient among the operation error coefficients corresponding to the individuals in the population obtained is consistent with the operation error coefficient corresponding to the target individual;

[0077] The target individual is determined as the target workpiece error compensation information.

[0078] It can be understood that the above method performs population optimization on the intermediate workpiece error compensation information, and the target workpiece error compensation information obtained can achieve accurate compensation for contour errors and improve machining accuracy.

[0079] Step S2, optimizing the initial processing instruction information based on the target workpiece error compensation information to obtain target processing instruction information, and controlling a CNC machine tool to process the workpiece to be processed based on the target processing instruction information to obtain an aviation precision component.

[0080] The method provided in this embodiment realizes real-time compensation of contour errors during the machining of aviation precision components. On the one hand, it improves the machining accuracy and quality of aviation precision components. On the other hand, it helps to reduce the waste of machined workpieces caused by machining errors and reduces production costs. On another hand, real-time error compensation helps to reduce rework and debugging time and improve production efficiency.

[0081] See also Figure 2 , Figure 2 The schematic block diagram of the structure of the contour error compensation control device 100 for machining aviation precision components provided in the embodiment of the present application is as follows: Figure 2 As shown, the contour error compensation control device 100 for machining aviation precision components provided in the embodiment of the present application includes:

[0082] A generating module 110 is used to obtain initial processing instruction information of a workpiece to be processed, and generate target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information; wherein the target workpiece error compensation information includes target compensation time points of each motion axis during the processing of the CNC machine tool and their corresponding target compensation information;

[0083] The control module 120 is used to optimize the initial processing instruction information based on the target workpiece error compensation information to obtain target processing instruction information, and control the CNC machine tool to process the workpiece to be processed based on the target processing instruction information to obtain an aviation precision component;

[0084] Wherein, generating the target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information includes:

[0085] Synchronously running the initial machining instruction information in an actual cutting environment and a virtual cutting environment for a preset number of times without loading, and generating initial workpiece error compensation information during each process of running the initial machining instruction information without loading;

[0086] Respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information, and determining the initial workpiece error compensation information with the smallest operation error coefficient as the intermediate workpiece error compensation information;

[0087] Target workpiece error compensation information is determined based on the intermediate workpiece error compensation information.

[0088] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described device and each module can refer to the process in the aforementioned embodiment of the contour error compensation control method for aviation precision component processing, and will not be repeated here.

[0089] The contour error compensation control device 100 for machining aviation precision components provided in the above embodiment can be implemented in the form of a computer program. The computer program can be used in Figure 3 The system is run on the terminal device 200 shown.

[0090] See also Figure 3 , Figure 3 The present invention provides a schematic block diagram of the structure of a terminal device 200 according to an embodiment of the present application. The terminal device 200 includes a processor 201 and a memory 202. The processor 201 and the memory 202 are connected via a device bus 203, wherein the memory 202 may include a non-volatile storage medium and an internal memory.

[0091] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed by the processor 201, the processor 201 can execute any of the above-mentioned contour error compensation control methods for machining aviation precision components.

[0092] The processor 201 is used to provide computing and control capabilities to support the operation of the entire terminal device 200.

[0093] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can execute any of the above-mentioned contour error compensation control methods for machining aviation precision components.

[0094] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the terminal device 200 involved in the scheme of the present application. The specific terminal device 200 may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0095] It should be understood that the processor 201 may be a central processing unit (CPU), and the processor 201 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0096] In some embodiments, the processor 201 is used to run a computer program stored in the memory to implement the following steps:

[0097] Acquire initial machining instruction information of a workpiece to be machined, and generate target workpiece error compensation information of the workpiece to be machined based on the initial machining instruction information; wherein the target workpiece error compensation information includes target compensation time points of each motion axis during machining of a CNC machine tool and corresponding target compensation information;

[0098] Optimizing the initial processing instruction information based on the target workpiece error compensation information to obtain target processing instruction information, and controlling a numerically controlled machine tool to process the workpiece to be processed based on the target processing instruction information to obtain an aviation precision component;

[0099] Wherein, generating the target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information includes:

[0100] Synchronously running the initial machining instruction information in an actual cutting environment and a virtual cutting environment for a preset number of times without loading, and generating initial workpiece error compensation information during each process of running the initial machining instruction information without loading;

[0101] Respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information, and determining the initial workpiece error compensation information with the smallest operation error coefficient as the intermediate workpiece error compensation information;

[0102] Target workpiece error compensation information is determined based on the intermediate workpiece error compensation information.

[0103] It should be noted that technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the terminal device 200 described above can refer to the process of the aforementioned contour error compensation control method for aviation precision component processing, and will not be repeated here.

[0104] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the one or more processors implement the contour error compensation control method for aviation precision component processing provided in the embodiment of the present application.

[0105] The computer-readable storage medium may be an internal storage unit of the terminal device 200 in the aforementioned embodiment, such as a hard disk or memory of the terminal device 200. The computer-readable storage medium may also be an external storage device of the terminal device 200, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped with the terminal device 200.

[0106] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A contour error compensation control method for machining aviation precision components, characterized in that: include: Acquire initial machining instruction information of a workpiece to be machined, and generate target workpiece error compensation information of the workpiece to be machined based on the initial machining instruction information; wherein the target workpiece error compensation information includes target compensation time points of each motion axis during machining of a CNC machine tool and corresponding target compensation information; Optimizing the initial processing instruction information based on the target workpiece error compensation information to obtain target processing instruction information, and controlling a numerically controlled machine tool to process the workpiece to be processed based on the target processing instruction information to obtain an aviation precision component; Wherein, generating the target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information includes: Synchronously running the initial machining instruction information in an actual cutting environment and a virtual cutting environment for a preset number of times without loading, and generating initial workpiece error compensation information during each process of running the initial machining instruction information without loading; Respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information, and determining the initial workpiece error compensation information with the smallest operation error coefficient as the intermediate workpiece error compensation information; determining target workpiece error compensation information based on the intermediate workpiece error compensation information; The generating of the initial workpiece error compensation information during each no-load operation of the initial machining instruction information includes: In the process of each no-load operation of the initial processing instruction information, for each motion axis of the CNC machine tool, the first posture and the second posture of the motion axis are obtained in real time, and it is determined whether the first posture is consistent with the second posture. If they are inconsistent, the initial compensation time point of the motion axis and the corresponding initial compensation information are generated based on the first posture and the second posture; the initial compensation time point of each motion axis and the corresponding initial compensation information constitute the initial workpiece error compensation information; the first posture is the posture in the actual cutting environment, and the second posture is the posture in the virtual cutting environment; The step of determining target workpiece error compensation information based on the intermediate workpiece error compensation information comprises: Based on a preset mutation algorithm, the intermediate workpiece error compensation information is subjected to mutation processing to obtain a first generation population; the first generation population includes a plurality of first generation individuals; Obtaining the operation error coefficients corresponding to the first-generation individuals in the first-generation population respectively, and determining the first-generation individual with the smallest operation error coefficient as the target first-generation individual; Performing mutation processing on the target first-generation individuals based on a preset mutation algorithm to obtain a second-generation population; the second-generation population includes a plurality of second-generation individuals; The operation error coefficients corresponding to the second-generation individuals in the second-generation population are obtained respectively, and the second-generation individual with the smallest operation error coefficient is determined as the target second-generation individual; the steps after the operation error coefficients corresponding to the first-generation individuals in the first-generation population are obtained respectively, and the first-generation individual with the smallest operation error coefficient is determined as the target first-generation individual are iterated until the target individual is obtained; the operation error coefficient corresponding to the target individual in the offspring population in which it is located is the smallest and converges; The target individual is determined as the target workpiece error compensation information.

2. The contour error compensation control method for machining aviation precision components according to claim 1, characterized in that: The first posture includes a first position and a first posture, the second posture includes a second position and a second posture, and the initial compensation time point of the motion axis and the corresponding initial compensation information thereof are generated based on the first posture and the second posture, including: Determine the running time corresponding to the first posture and the second posture as the initial compensation time point; A position compensation instruction is generated based on the second position and the first position, and a posture compensation instruction is generated based on the second posture and the first posture; the position compensation instruction and the posture compensation instruction constitute the initial compensation information.

3. The contour error compensation control method for machining aviation precision components according to claim 1, characterized in that: The step of respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information comprises: For each of the initial workpiece error compensation information, the initial processing instruction information is optimized based on the initial workpiece error compensation information to obtain intermediate processing instruction information; For each of the initial workpiece error compensation information, an operation error coefficient corresponding to the initial workpiece error compensation information is obtained based on the initial processing instruction information and the intermediate processing instruction information corresponding to the initial workpiece error compensation information.

4. The contour error compensation control method for machining aviation precision components according to claim 3, characterized in that: The obtaining the operation error coefficient corresponding to the initial workpiece error compensation information based on the initial processing instruction information and the intermediate processing instruction information corresponding to the initial workpiece error compensation information includes: Running the intermediate processing instruction information in an actual cutting environment without load, and running the initial processing instruction information in a virtual cutting environment without load during running the intermediate processing instruction information; For each of the motion axes, in the process of synchronously running the intermediate processing instruction information and the initial processing instruction information, the first posture and the second posture of the motion axis are obtained in real time, and it is determined whether the first posture is consistent with the second posture. If they are inconsistent, a matching relationship between the first posture and the second posture is established, and the matching relationship is recorded to obtain the operation error information corresponding to the motion axis; The operation error coefficient corresponding to the initial workpiece error compensation information is determined based on the operation error information corresponding to each of the motion axes.

5. The contour error compensation control method for machining aviation precision components according to claim 4, characterized in that: The step of determining the operation error coefficient corresponding to the initial workpiece error compensation information based on the operation error information corresponding to each of the motion axes includes: For each of the motion axes, determining an operation error factor of the motion axis based on the operation error information of the motion axis; The operation error factors of the various motion axes are added together to obtain the operation error coefficient corresponding to the initial workpiece error compensation information.

6. The contour error compensation control method for machining aviation precision components according to claim 5, characterized in that: The step of determining the operation error factor of the motion axis based on the operation error information of the motion axis comprises: For each matching relationship of the operation error information, the similarity between the first posture and the second posture of the matching relationship is obtained, and the inverse of the minimum similarity among the similarities is multiplied by the number of matching relationships in the operation error information to obtain the operation error factor of the motion axis.

7. A contour error compensation control device for machining aviation precision components, characterized in that: include: A generating module, used for acquiring initial processing instruction information of a workpiece to be processed, and generating target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information; wherein the target workpiece error compensation information includes target compensation time points of each motion axis in the processing of the CNC machine tool and corresponding target compensation information; A control module, configured to optimize the initial processing instruction information based on the target workpiece error compensation information to obtain target processing instruction information, and control a numerically controlled machine tool to process the workpiece to be processed based on the target processing instruction information to obtain an aviation precision component; Wherein, generating the target workpiece error compensation information of the workpiece to be processed based on the initial processing instruction information includes: Synchronously running the initial machining instruction information in an actual cutting environment and a virtual cutting environment for a preset number of times without loading, and generating initial workpiece error compensation information during each process of running the initial machining instruction information without loading; Respectively obtaining the operation error coefficients corresponding to the initial workpiece error compensation information, and determining the initial workpiece error compensation information with the smallest operation error coefficient as the intermediate workpiece error compensation information; determining target workpiece error compensation information based on the intermediate workpiece error compensation information; The generating of the initial workpiece error compensation information during each no-load operation of the initial machining instruction information includes: In the process of each no-load operation of the initial processing instruction information, for each motion axis of the CNC machine tool, the first posture and the second posture of the motion axis are obtained in real time, and it is determined whether the first posture is consistent with the second posture. If they are inconsistent, the initial compensation time point of the motion axis and the corresponding initial compensation information are generated based on the first posture and the second posture; the initial compensation time point of each motion axis and the corresponding initial compensation information constitute the initial workpiece error compensation information; the first posture is the posture in the actual cutting environment, and the second posture is the posture in the virtual cutting environment; The step of determining target workpiece error compensation information based on the intermediate workpiece error compensation information comprises: Based on a preset mutation algorithm, the intermediate workpiece error compensation information is subjected to mutation processing to obtain a first generation population; the first generation population includes a plurality of first generation individuals; Obtaining the operation error coefficients corresponding to the first-generation individuals in the first-generation population respectively, and determining the first-generation individual with the smallest operation error coefficient as the target first-generation individual; Performing mutation processing on the target first-generation individuals based on a preset mutation algorithm to obtain a second-generation population; the second-generation population includes a plurality of second-generation individuals; The operation error coefficients corresponding to the second-generation individuals in the second-generation population are obtained respectively, and the second-generation individual with the smallest operation error coefficient is determined as the target second-generation individual; the steps after the operation error coefficients corresponding to the first-generation individuals in the first-generation population are obtained respectively, and the first-generation individual with the smallest operation error coefficient is determined as the target first-generation individual are iterated until the target individual is obtained; the operation error coefficient corresponding to the target individual in the offspring population in which it is located is the smallest and converges; The target individual is determined as the target workpiece error compensation information.

Citation Information

Patent Citations

  • Method for measuring and compensating surface profile error of large rotary body part in real time

    CN102890475A

  • Contour error compensation method in numerical control processing

    CN110262394A