Method for improving machining precision of workpiece and machining method
By measuring errors and compensating the workpiece to be processed, the second corrected processing route is generated, which solves the problem of machining accuracy and inefficiency of workpieces with complex shapes, and achieves high-precision and high-efficiency workpiece processing.
Patent Information
- Application Number
- CN202411704103.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art is difficult to effectively reduce the mechanical error and process error of complex workpieces in CNC machining, and the existing solutions are inefficient and difficult to achieve mass production.
By obtaining the workpiece to be processed based on the first processing route, measuring the actual position of each measurement point, calculating the deviation, and inversely compensate the second processing route based on the deviation, the second corrected processing route is obtained to improve the processing accuracy.
It realizes effective compensation for machining machinery and process errors, significantly improves the machining accuracy of workpieces, and improves production efficiency, and is suitable for large-scale production environments.
Smart Images

Figure CN119525928A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mechanical processing, and in particular to a method for improving the processing accuracy of a workpiece and a processing method. Background Art
[0002] In the process of CNC machining, due to the mechanical and process errors that cannot be eliminated, some measures to reduce the errors are often needed during the machining of the workpiece. For workpieces with complex shapes, the manifestation of errors on the workpieces is also diverse and complex. Common compensation functions or methods of reducing errors can no longer improve the machining accuracy of the workpiece. Such workpieces with complex shapes often have problems such as low machining accuracy and production efficiency, and difficulty in achieving mass production during CNC machining. The existing solution is to conduct trial machining of complex workpieces and adjust the machining path based on the experience of technicians.
[0003] However, the adjustment of the processing path by technicians places high demands on the technicians, and requires the technicians to find the best processing path through trial processing and continuous adjustment. This process is time-consuming and labor-intensive, reduces production efficiency, and makes it difficult to achieve mass production. Summary of the invention
[0004] The present invention provides a method for improving the machining accuracy of a workpiece and a machining method, so as to solve the defects in the prior art that the mechanical error and process error of a workpiece with a complex shape during machining cannot be effectively reduced, and the existing solutions are inefficient.
[0005] The present invention provides a method for improving the machining accuracy of a workpiece, comprising: Acquire a workpiece to be processed based on the first processing route; Measuring the actual position of each measuring point on the workpiece to be processed, and calculating based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; Based on the deviations of the measuring points, reverse compensation is performed on the second processing route to obtain a second corrected processing route; The accuracy of the first processing route is lower than that of the second processing route; the second corrected processing route is used to perform supplementary processing on the workpiece to be supplemented.
[0006] According to a method for improving machining accuracy of a workpiece provided by the present invention, the deviation includes a deviation direction and a deviation value; The reverse compensation is performed on the second processing route based on the deviations of the measuring points to obtain a second corrected processing route, including: Based on the deviation direction of each measuring point, reverse compensation is performed on each corresponding measuring point in the second processing route to obtain a compensation direction; The second corrected processing route is obtained based on the compensation direction of each measuring point and the deviation value.
[0007] According to a method for improving machining accuracy of a workpiece provided by the present invention, the step of obtaining a workpiece to be machined based on a first machining route comprises: Obtaining an initial workpiece to be processed; Performing rough machining on the initial workpiece to be machined to obtain a rough-machined workpiece; The rough-machined workpiece is machined based on a first machining route to obtain the workpiece to be machined.
[0008] According to a method for improving machining accuracy of a workpiece provided by the present invention, the actual position is an actual three-dimensional spatial position; the theoretical position is a theoretical three-dimensional spatial position; The calculating based on the actual position and the theoretical position of each measuring point to obtain the deviation of each measuring point includes: Calculation is performed based on the three-dimensional spatial position of each measuring point and the theoretical three-dimensional spatial position to obtain the deviation of each measuring point in the direction of each three-dimensional coordinate axis.
[0009] According to a method for improving the machining accuracy of a workpiece provided by the present invention, each measuring point is determined based on the process difficulty, shape, size, material corresponding to the workpiece to be repaired, and at least one of the accuracy and material of the machining equipment used to machine the workpiece to be repaired.
[0010] The present invention also provides a workpiece processing method, comprising: Acquire a workpiece to be processed based on the first processing route; Processing the workpiece to be processed based on the second corrected processing route to obtain a finished workpiece; The second corrected machining route is obtained based on the method for improving machining accuracy of a workpiece according to any one of claims 1 to 5.
[0011] The present invention also provides a device for improving the machining accuracy of a workpiece, comprising: The first processing unit obtains a workpiece to be processed based on the first processing route; A deviation determination unit is used to measure the actual position of each measuring point on the workpiece to be processed, and to calculate based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; A correction unit, based on the deviations of the measuring points, performs reverse compensation on the second processing route to obtain a second corrected processing route; The accuracy of the first processing route is lower than that of the second processing route; the second corrected processing route is used to perform supplementary processing on the workpiece to be supplemented.
[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements a method for improving the machining accuracy of a workpiece as described above, or a method for machining a workpiece.
[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for improving the machining accuracy of a workpiece or the method for machining a workpiece as described above is implemented.
[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned methods for improving the machining accuracy of a workpiece, or a method for machining a workpiece.
[0015] The method for improving the machining accuracy of a workpiece and the machining method provided by the present invention measure the errors of the workpiece to be machined during the machining process to obtain the deviations of each measuring point, and then reversely compensate the subsequent second machining route based on the deviations to obtain a second corrected machining route, and perform subsequent machining based on the second corrected machining route to obtain an accurate finished workpiece, thereby achieving compensation for errors that cannot be eliminated due to machining machine errors and process errors, greatly improving the machining accuracy of the finished workpiece, and achieving error compensation in the current machining process, which is more suitable for mass production environments and improves production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a schematic flow chart of a method for improving machining accuracy of a workpiece provided by the present invention; Figure 2 It is a schematic diagram comparing the processing routes before and after the correction provided by the present invention; Figure 3 is a schematic diagram of a modified processing route provided by the present invention; Figure 4 It is one of the flow diagrams of the workpiece processing method provided by the present invention; Figure 5 This is the second schematic flow diagram of the workpiece processing method provided by the present invention; Figure 6It is a structural schematic diagram of a device for improving the machining accuracy of a workpiece provided by the present invention; Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0019] It should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0020] During the workpiece processing, due to factors such as process, equipment, and operation, there will be deviations between the processing dimensions and the design requirements. These errors have an adverse effect on the quality and performance of the workpiece. Therefore, measures need to be taken to minimize the errors. At present, the errors are generally controlled from the aspects of equipment selection, process parameter control, and process improvement. However, for workpieces with complex shapes, since the errors on the workpieces are more complicated, the errors caused by machinery and processes are often not well eliminated. In this case, the workpiece is generally cut for trial processing, and the workpiece accuracy is improved by adjusting the tool cutting parameters and process parameters, and then the path is adjusted for the places that cannot be accurately processed. On the one hand, this method has very high requirements for technicians, who must have rich processing experience and be able to accurately and quickly determine the adjustment amount and adjustment method of the processing path. On the other hand, this method has low processing efficiency, high production cost, and cannot guarantee the processing effect, low yield, and is difficult to achieve mass production.
[0021] In view of the above problems, the present invention provides a method for improving the machining accuracy of workpieces, so as to efficiently and accurately improve the machining accuracy of complex workpieces and realize mass production of workpieces. Figure 1 is a flow chart of a method for improving machining accuracy of a workpiece provided by the present invention, such as Figure 1 As shown, the method includes: Step 110, obtaining a workpiece to be processed based on the first processing route; Step 120, measuring the actual position of each measuring point on the workpiece to be processed, and calculating based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; Step 130, based on the deviations of the measuring points, reversely compensate the second processing route to obtain a second corrected processing route; The accuracy of the first processing route is lower than that of the second processing route; the second corrected processing route is used to perform supplementary processing on the workpiece to be supplemented.
[0022] Here, the accuracy of the first processing route is less than that of the second processing route, so the first processing route can be regarded as semi-finishing of the workpiece, and the second processing route can be regarded as finishing of the workpiece, and the second processing route is used for supplementary processing of the workpiece to be supplemented.
[0023] Specifically, the first processing route and the second processing route can be pre-edited and generated in CAM (Computer Aided Manufacturing) software through the theoretical model of the workpiece. In the actual processing process, the workpiece to be processed can be clamped on the machine tool and processed through the first processing route to obtain the workpiece to be processed. It should be noted that the workpiece to be processed here is not a finished workpiece, and further processing is required to obtain the final finished workpiece.
[0024] Then, after obtaining the workpiece to be processed, each measuring point on the workpiece to be processed can be measured in turn by a measuring instrument to obtain the actual position of each measuring point. The measuring points here can be pre-selected based on influencing factors such as the shape of the workpiece and the difficulty of the process. Generally speaking, the total number of measuring points on the workpiece to be processed is at least two. In addition, the actual position measured here can be used to reflect the actual situation of the workpiece after the workpiece to be processed is processed through the first processing route, which can be two-dimensional position information or three-dimensional position information.
[0025] Furthermore, the deviation of each measuring point can be obtained by calculating the difference between the actual position of each measuring point and the theoretical position of each measuring point. Here, the deviation of each measuring point can be used to reflect the error of the workpiece after the processing machine is processed according to the first processing route. For example, Figure 2 : is a schematic diagram comparing the processing routes before and after the correction provided by the present invention, such as Figure 2 As shown in the figure, the black curve represents the theoretical processing path of the processing route, the blue curve represents the actual processing effect of the processing route, and the number of measuring points is 8. It can be seen from the figure that there is an error between the first measuring point and the fourth measuring point, and there is an error between the fifth measuring point and the eighth measuring point.
[0026] Therefore, the second processing route to be executed next can be reversely compensated by the errors of each measuring point to obtain the second corrected processing route. The second corrected processing route here is suitable for replacing the initial second processing route and is used to perform supplementary processing on the workpiece to be supplemented to compensate for the errors in the machinery and process itself. For example, Figure 3 It is a schematic diagram of the modified processing route provided by the present invention, such as Figure 3 As shown, the black curve represents the theoretical processing path of the processing route, the blue curve represents the actual processing effect of the processing route, and the red curve represents the corrected processing route. In the first half of the processing route, the actual processing effect is lower than the theoretical processing effect, that is, there is undercutting. Therefore, the theoretical processing path can be reversely compensated to compensate for the undercutting caused by the processing machinery or process, and a corrected processing route is obtained. Similarly, in the second half of the processing route, the actual processing effect is higher than the theoretical processing effect, that is, there is overcutting. Therefore, the theoretical processing path can be reversely compensated to compensate for the overcutting caused by the processing machinery or process, and a corrected processing route is obtained.
[0027] It is understandable that during the workpiece processing process, processing routes with different precisons may be achieved based on the same processing machinery or process. Thus, the workpiece can be processed according to a first processing route through the processing machinery and process, exposing errors caused by the processing machinery or process, and then correcting subsequent processing routes to compensate for mechanical errors and process errors that cannot be eliminated.
[0028] It should be emphasized that in the prior art, error correction of workpieces is usually performed by measuring the error of the finished workpiece, and then adjusting the processing route based on the error, or adjusting the parameters of the processing machine. However, the error elimination method in the prior art will increase the number of unqualified workpieces and cannot achieve error compensation in the current processing process.
[0029] However, the method provided in the embodiment of the present invention measures the errors of the workpiece to be processed during the processing to obtain the deviation of each measuring point, and then reversely compensates the subsequent second processing route based on the deviation to obtain a second corrected processing route, and performs subsequent processing based on the second corrected processing route to obtain a precise finished workpiece, thereby realizing compensation for errors that cannot be eliminated due to processing machinery errors and process errors, greatly improving the processing accuracy of the finished workpiece, and realizing error compensation in the current processing process, which is more suitable for mass production environments and improves production efficiency.
[0030] Based on any of the above embodiments, the deviation includes a deviation direction and a deviation value; In step 120, based on the deviations of the measuring points, the second processing route is reversely compensated to obtain a second corrected processing route, including: Based on the deviation direction of each measuring point, reverse compensation is performed on each corresponding measuring point in the second processing route to obtain a compensation direction; The second corrected processing route is obtained based on the compensation direction of each measuring point and the deviation value.
[0031] Specifically, during the processing, deviations may exist at various measuring points. The deviation not only has a size, that is, a deviation value, but also a deviation direction, which can be positive or negative, or a specific vector direction. Once the deviation direction of the measuring point is determined, these deviations can be reverse compensated. Reverse compensation means making adjustments in the opposite direction of the deviation to offset the deviation. For example, if the deviation direction of a measuring point is to the right, the compensation direction is to the left. After determining the compensation direction and the deviation value, the second processing route can be corrected. The correction process is to make corresponding adjustments to the processing route according to the compensation direction and the deviation value of each measuring point. As a result, the final second corrected processing route is an optimized route that takes into account the deviations of all measuring points, aiming to improve processing accuracy and efficiency.
[0032] Based on any of the above embodiments, step 110 includes: Obtaining an initial workpiece to be processed; Performing rough machining on the initial workpiece to be machined to obtain a rough-machined workpiece; The rough-machined workpiece is machined based on a first machining route to obtain the workpiece to be machined.
[0033] Here, the initial workpiece to be processed refers to the unprocessed raw material or semi-finished product, which may have the required basic shape, but needs further processing to achieve the final size and accuracy requirements. In addition, the rough-machined workpiece here still needs further processing to achieve the final accuracy and surface quality requirements.
[0034] Specifically, an initial workpiece to be processed can be obtained, and at the starting point of the entire processing flow, the initial workpiece to be processed is rough-machined, aiming to quickly remove a large amount of material and process the workpiece to a shape and size close to the final shape to obtain a rough-machined workpiece. After completing the rough machining, the next step is to further process the rough-machined workpiece according to a predetermined first machining route, that is, to process the rough-machined workpiece based on the first machining route to obtain a workpiece to be processed. Among them, the first machining route is usually pre-designed in the CAM software based on factors such as the geometric shape of the workpiece, material properties and machining requirements.
[0035] Based on any of the above embodiments, the actual position is an actual three-dimensional space position; the theoretical position is a theoretical three-dimensional space position; The calculating based on the actual position and the theoretical position of each measuring point to obtain the deviation of each measuring point includes: Calculation is performed based on the three-dimensional spatial position of each measuring point and the theoretical three-dimensional spatial position to obtain the deviation of each measuring point in the direction of each three-dimensional coordinate axis.
[0036] Specifically, the three-dimensional spatial position of each measurement point can be obtained by measurement, and the deviation of each measurement point in each three-dimensional coordinate axis direction can be calculated based on the three-dimensional spatial position of each measurement point and the theoretical three-dimensional spatial position. For example, the theoretical three-dimensional spatial position of measurement point A can be A[X, Y, Z], and the actual three-dimensional spatial position of measurement A is A'[X', Y', Z'], then the error value between the two in the three directions of xyz is calculated as For example, the theoretical three-dimensional spatial position of A can be A[10, 10, 10], and the actual three-dimensional spatial position of A is A'[5, 10, 10]. The error values of the two in the xyz directions are .
[0037] It should be noted that by measuring the three-dimensional spatial position of the workpiece, the error caused by the processing machinery or the processing technology can be obtained more accurately, thereby achieving more comprehensive error compensation and obtaining a high-precision second corrected processing route.
[0038] Based on any of the above embodiments, each measuring point is determined based on at least one of the process difficulty, shape, size, material of the workpiece to be processed, and the accuracy and material of a processing equipment used to process the workpiece to be processed.
[0039] Specifically, for workpieces with higher process difficulty, more dense measurement points may be required to ensure processing accuracy. For example, for workpieces with complex surfaces or fine structures, more measurement points need to be set in key areas to more accurately control deformation and errors during processing.
[0040] For the shape and size of the workpiece to be processed, workpieces of different shapes and sizes have different processing difficulties and error distribution characteristics. For example, for large workpieces, due to their large size, it may be necessary to set measurement points at multiple locations to ensure the processing accuracy of the entire workpiece. For small or precision workpieces, it is necessary to determine the measurement points more accurately to reduce the processing error.
[0041] For the materials of the workpieces to be repaired, different materials have different physical and chemical properties, such as hardness, toughness, thermal expansion coefficient, etc. For example, for materials with higher hardness, more intensive measurement points may be required to monitor tool wear and workpiece deformation during the machining process. For materials that are easily deformed, such as thin plates or soft materials, more measurement points need to be set during the machining process to adjust the machining parameters in real time to ensure machining accuracy.
[0042] Regarding the accuracy of the processing equipment used to process the workpiece to be repaired, high-precision equipment can more accurately control the processing process, thereby reducing errors. For example, for high-precision CNC machine tools, due to their high processing accuracy and stability, the number of measuring points can be reduced accordingly. However, for processing equipment with lower accuracy, more measuring points are needed to monitor and compensate for errors in the processing process.
[0043] The material of the processing equipment used to process the workpiece to be repaired, for example, the material and wear of the tool will affect the processing accuracy and surface quality. Therefore, when selecting the measuring point, it is necessary to consider the material and wear of the tool in order to obtain a more comprehensive error.
[0044] Based on any of the above embodiments, the present invention also provides a workpiece processing method to achieve high-precision and high-production efficiency workpiece processing. Figure 4 It is one of the flow charts of the processing method of the workpiece provided by the present invention, such as Figure 4 As shown, the method includes: Step 410, obtaining a workpiece to be processed based on the first processing route; Step 420, processing the workpiece to be processed based on a second corrected processing route to obtain a finished workpiece; the second corrected processing route is obtained based on the method for improving the processing accuracy of the workpiece in any of the above embodiments.
[0045] Specifically, the initial workpiece to be processed can be rough-machined, and then the rough-machined workpiece can be processed according to the first processing route to obtain the workpiece to be processed. Furthermore, the workpiece to be processed can be batch-processed through the second correction processing route to obtain a high-precision finished workpiece that overcomes mechanical errors and process errors. The second correction processing route here is based on error measurement of a single workpiece to be processed, and reverse compensation of the theoretical first processing route based on the error.
[0046] The method provided by the embodiment of the present invention measures the error of a single workpiece to be processed in advance, and performs reverse compensation on the theoretical first processing route based on the error to obtain a second corrected processing route. Then, batch processing is performed based on the first processing route and the second corrected processing route in sequence, which not only greatly improves the workpiece accuracy of the finished workpiece, but also improves the production efficiency.
[0047] Based on any of the above embodiments, Figure 5 FIG. 2 is a second flow chart of the workpiece processing method provided by the present invention, such as Figure 5 As shown, the method includes: Step 510, generating a theoretical processing path in the CAM software according to the theoretical model of the workpiece, and inputting the path into the machine tool numerical control system; Step 520, semi-finishing the workpiece according to the theoretical machining path; Step 530, selecting a number of points on the workpiece as measuring points, and measuring the workpiece using a measuring system; Step 540, correcting the theoretical machining path in the machine tool numerical control system according to the deviation value of the measuring point to generate a corrected machining path; Step 550 , finishing the workpiece according to the corrected machining path.
[0048] Based on any of the above embodiments, Figure 6 Schematic diagram of the structure of the device for improving the machining accuracy of a workpiece provided by the present invention. Figure 6 As shown, the device comprises: The first processing unit 610 obtains a workpiece to be processed based on the first processing route; A deviation determination unit 620 measures the actual position of each measuring point on the workpiece to be processed, and calculates based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; A correction unit 630 performs reverse compensation on the second processing route based on the deviations of the measurement points to obtain a second corrected processing route; The accuracy of the first processing route is lower than that of the second processing route; the second corrected processing route is used to perform supplementary processing on the workpiece to be supplemented.
[0049] The device provided by the embodiment of the present invention measures the error of the workpiece to be processed during the processing to obtain the deviation of each measuring point, and then reversely compensates the subsequent second processing route based on the deviation to obtain a second corrected processing route, and performs subsequent processing based on the second corrected processing route to obtain an accurate finished workpiece, thereby realizing compensation for errors that cannot be eliminated due to processing machinery errors and process errors, greatly improving the processing accuracy of the finished workpiece, and realizing error compensation in the current processing process, which is more suitable for mass production environments and improves production efficiency.
[0050] Based on any of the above embodiments, the deviation includes a deviation direction and a deviation value; The correction unit is specifically used for: Based on the deviation direction of each measuring point, reverse compensation is performed on each corresponding measuring point in the second processing route to obtain a compensation direction; The second corrected processing route is obtained based on the compensation direction of each measuring point and the deviation value.
[0051] Based on any of the above embodiments, the first processing unit is specifically used for: Obtaining an initial workpiece to be processed; Performing rough machining on the initial workpiece to be machined to obtain a rough-machined workpiece; The rough-machined workpiece is machined based on a first machining route to obtain the workpiece to be machined.
[0052] Based on any of the above embodiments, the actual position is an actual three-dimensional space position; the theoretical position is a theoretical three-dimensional space position; The deviation unit is specifically used for: Calculation is performed based on the three-dimensional spatial position of each measuring point and the theoretical three-dimensional spatial position to obtain the deviation of each measuring point in the direction of each three-dimensional coordinate axis.
[0053] Based on any of the above embodiments, each measuring point is determined based on at least one of the process difficulty, shape, size, material of the workpiece to be processed, and the accuracy and material of a processing equipment used to process the workpiece to be processed.
[0054] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the method for improving the machining accuracy of a workpiece, the method comprising: obtaining a workpiece to be processed based on a first machining route; measuring the actual position of each measuring point on the workpiece to be processed, calculating based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; based on the deviation of each measuring point, reversely compensating the second machining route to obtain a second corrected machining route; the accuracy of the first machining route is less than that of the second machining route; the second corrected machining route is used to perform correct machining on the workpiece to be processed.
[0055] A workpiece processing method can also be executed, the method comprising: obtaining a workpiece to be processed based on a first processing route; processing the workpiece to be processed based on a second corrected processing route to obtain a finished workpiece; the second corrected processing route is obtained based on the workpiece processing accuracy improvement method in any of the above embodiments.
[0056] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0057] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for improving the processing accuracy of the workpiece provided by the above-mentioned methods, and the method includes: obtaining a workpiece to be processed based on a first processing route; measuring the actual position of each measuring point on the workpiece to be processed, and calculating based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; based on the deviation of each measuring point, reversely compensating the second processing route to obtain a second corrected processing route; the accuracy of the first processing route is less than that of the second processing route; the second corrected processing route is used to perform correct processing on the workpiece to be processed.
[0058] A workpiece processing method can also be executed, the method comprising: obtaining a workpiece to be processed based on a first processing route; processing the workpiece to be processed based on a second corrected processing route to obtain a finished workpiece; the second corrected processing route is obtained based on the workpiece processing accuracy improvement method in any of the above embodiments.
[0059] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the method for improving the machining accuracy of a workpiece provided by the above-mentioned methods, the method comprising: obtaining a workpiece to be processed that is processed based on a first processing route; measuring the actual position of each measuring point on the workpiece to be processed, and calculating based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; based on the deviation of each measuring point, reversely compensating the second processing route to obtain a second corrected processing route; the accuracy of the first processing route is less than that of the second processing route; the second corrected processing route is used to perform correct processing on the workpiece to be processed.
[0060] A workpiece processing method can also be executed, the method comprising: obtaining a workpiece to be processed based on a first processing route; processing the workpiece to be processed based on a second corrected processing route to obtain a finished workpiece; the second corrected processing route is obtained based on the workpiece processing accuracy improvement method in any of the above embodiments.
[0061] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0062] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for improving the machining accuracy of a workpiece, characterized in that: include: Acquire a workpiece to be processed based on the first processing route; Measuring the actual position of each measuring point on the workpiece to be processed, and calculating based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; Based on the deviations of the measuring points, reverse compensation is performed on the second processing route to obtain a second corrected processing route; The accuracy of the first processing route is lower than that of the second processing route; the second corrected processing route is used to perform supplementary processing on the workpiece to be supplemented.
2. The method for improving the machining accuracy of a workpiece according to claim 1, characterized in that: The deviation includes a deviation direction and a deviation value; The reverse compensation is performed on the second processing route based on the deviations of the measuring points to obtain a second corrected processing route, including: Based on the deviation direction of each measuring point, reverse compensation is performed on each corresponding measuring point in the second processing route to obtain a compensation direction; The second corrected processing route is obtained based on the compensation direction of each measuring point and the deviation value.
3. The method for improving the machining accuracy of a workpiece according to claim 1, characterized in that: The step of obtaining the workpiece to be processed based on the first processing route includes: Obtaining an initial workpiece to be processed; Performing rough machining on the initial workpiece to be machined to obtain a rough-machined workpiece; The rough-machined workpiece is machined based on a first machining route to obtain the workpiece to be machined.
4. The method for improving the machining accuracy of a workpiece according to any one of claims 1 to 3, characterized in that: The actual position is the actual three-dimensional space position; the theoretical position is the theoretical three-dimensional space position; The calculating based on the actual position and the theoretical position of each measuring point to obtain the deviation of each measuring point includes: Calculation is performed based on the three-dimensional spatial position of each measuring point and the theoretical three-dimensional spatial position to obtain the deviation of each measuring point in the direction of each three-dimensional coordinate axis.
5. The method for improving the machining accuracy of a workpiece according to any one of claims 1 to 3, characterized in that: The measuring points are determined based on at least one of the process difficulty, shape, size, material of the workpiece to be processed, and the accuracy and material of a processing equipment used to process the workpiece to be processed.
6. A method for processing a workpiece, characterized in that: include: Acquire a workpiece to be processed based on the first processing route; Processing the workpiece to be processed based on the second corrected processing route to obtain a finished workpiece; The second corrected machining route is obtained based on the method for improving machining accuracy of a workpiece according to any one of claims 1 to 5.
7. A device for improving the machining accuracy of a workpiece, characterized in that: include: The first processing unit obtains a workpiece to be processed based on the first processing route; A deviation determination unit is used to measure the actual position of each measuring point on the workpiece to be processed, and to calculate based on the actual position and theoretical position of each measuring point to obtain the deviation of each measuring point; A correction unit, based on the deviations of the measuring points, performs reverse compensation on the second processing route to obtain a second corrected processing route; The accuracy of the first processing route is lower than that of the second processing route; the second corrected processing route is used to perform supplementary processing on the workpiece to be supplemented.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for improving the machining accuracy of a workpiece as described in any one of claims 1 to 5 is implemented, or the method for machining a workpiece as described in claim 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for improving the machining accuracy of a workpiece as described in any one of claims 1 to 5 is implemented, or the method for machining a workpiece as described in claim 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for improving the machining accuracy of a workpiece as described in any one of claims 1 to 5 is implemented, or the method for machining a workpiece as described in claim 6 is implemented.
Citation Information
Patent Citations
Self-adaptive compensation method for detecting turning error of large part of rotary body
CN102430765A
Online milling deformation measurement and complementation machining method for thin-walled part
CN104759942A
Rotational part turning machining method capable of compensating shape errors
CN106392100A
Workpiece processing path compensation method, processing method and workpiece
CN109725595A
Method and device for improving machining precision of five-axis machine tool
CN115599043A