Laser processing control method, system and storage medium

By analyzing the appearance data and shape deviation of the laser-processed workpiece, combined with three-dimensional coordinate measurement and edge detection technology, the cutting edge roughness is evaluated, which solves the problem of insufficient analysis of shape deviation and cutting edge roughness in the existing technology, and achieves higher processing accuracy and product quality.

CN118385782BActive Publication Date: 2024-09-17XUZHOU BIAOTEFU CNC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410855973.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-17
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Existing laser processing technology cannot effectively analyze and correct shape deviations and cutting edge roughness, resulting in processed products not meeting design requirements and affecting product quality and performance.

Method used

Use scanners and cameras to scan the appearance data and obtain plane images of the workpiece to be processed, analyze the shape deviation and position deviation, and combine the three-dimensional coordinate measurement and edge detection technology to evaluate the roughness of the cutting edge, judge the processing accuracy, and decide whether to Continue processing.

Benefits of technology

It improves the processing quality and accuracy, reduces the scrap rate and rework, ensures that the product meets the design requirements, and reduces the production cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118385782B
    Figure CN118385782B
Patent Text Reader

Abstract

The present invention belongs to the field of laser processing technology, and specifically discloses a laser processing control method, system and storage medium, the method comprising: S1. workpiece preprocessing; S2. processing sequence planning; S3. shape deviation analysis; S4. position deviation analysis; S5. cutting edge analysis; S6. processing accuracy analysis. The present invention determines whether to perform the next processing according to the appearance data of the workpiece to be processed, and performs processing sequence planning for it. The shape deviation degree of the designated area of ​​the workpiece to be processed is obtained by acquiring a plane image of the designated area of ​​the workpiece to be processed after the processing is completed, the position deviation degree of the designated area of ​​the workpiece to be processed is analyzed by three-dimensional coordinates, the roughness of the cutting edge of the designated area of ​​the workpiece to be processed is obtained by detecting the contour deviation value of each detection point of the workpiece to be processed, and then the processing accuracy of the designated area of ​​the workpiece to be processed is obtained by comprehensive analysis, which helps to ensure that the processed workpiece meets the quality requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of laser processing, and relates to a laser processing control method, system and storage medium. Background Art

[0002] Laser processing is a processing technology that uses the characteristics of the interaction between laser beam and matter to cut, weld, surface treat, punch and micro-process materials (including metals and non-metals). It has the advantages of high efficiency, good repeatability and the ability to process a variety of materials. It has been widely used in various fields of industrial production.

[0003] In laser processing, the laser beam is focused into a very small spot through a focusing system. The energy density of the spot is extremely high. When the laser beam is irradiated onto the surface of the material, the material quickly absorbs the energy of the laser and heats up, causing melting, gasification or chemical reactions. By controlling parameters such as the power, scanning speed and focusing position of the laser beam, precise processing of the material can be achieved. How to effectively improve the accuracy and efficiency of laser processing has become one of the current research hotspots in the field of laser processing.

[0004] Prior art includes the laser processing control method, device, equipment and storage medium disclosed in the Chinese invention patent application with application publication number 202310789758.7. This solution samples the Z-axis coordinate value of the laser nozzle at a set sampling period to determine whether the laser nozzle is outside the plate. Edge detection can be performed without adding new hardware, thus avoiding additional costs. There are no restrictions on the material, size, speed and contour of the processed plate, and all can be detected.

[0005] Obviously, although the above-mentioned prior art reduces the loss of consumables such as laser nozzles and ceramic rings, avoids damage to valuable items such as height sensors and laser nozzles, and reduces the scrap rate of parts and workpieces, it still has the following deficiencies: First, this solution only determines whether the laser nozzle is outside the plate, but does not involve analysis of the shape deviation of laser processing, which may cause the processed product to fail to meet the design requirements and fail to provide high-quality products that meet the design requirements, resulting in the need for more materials and time to make up for the shape deviation.

[0006] Second, the solution does not involve analysis of the roughness of the cutting edge of laser processing. Rough cutting edges will affect the appearance quality of the product, making it look rough and unrefined, and may affect the performance of the product, such as strength and wear resistance. Summary of the invention

[0007] In view of this, in order to solve the problems raised in the above background technology, a laser processing control method, system and storage medium are now proposed.

[0008] The purpose of the present invention can be achieved through the following technical solutions: The first aspect of the present invention provides a laser processing control method, which includes: S1. workpiece preprocessing: scanning the appearance data of the workpiece to be processed by a scanner to determine whether to proceed to the next step of processing, the appearance data of the workpiece to be processed includes surface cleanliness and surface flatness.

[0009] S2. Processing sequence planning: Divide the workpiece to be processed into various sub-areas, plan the processing sequence of the workpiece to be processed according to each sub-area, and record the first sub-area of ​​the workpiece to be processed as the designated area of ​​the workpiece to be processed.

[0010] S3. Shape deviation analysis: After the processing is completed, a plane image of the designated area of ​​the workpiece to be processed is acquired, and then the shape deviation degree of the designated area of ​​the workpiece to be processed is analyzed.

[0011] S4. Position deviation analysis: The processing deviation distance of the specified area of ​​the workpiece to be processed is obtained by acquiring the three-dimensional coordinates of each measuring point of the specified area of ​​the workpiece to be processed after processing, and then the position deviation degree of the specified area of ​​the workpiece to be processed is analyzed.

[0012] S5. Cutting edge analysis: After the machining is completed, the contour deviation value of each detection point of the workpiece to be machined is detected, and then the roughness of the cutting edge of the specified area of ​​the workpiece to be machined is analyzed.

[0013] S6. Processing accuracy analysis: The processing accuracy of the specified area of ​​the workpiece to be processed is analyzed based on the shape deviation, position deviation, and roughness of the cutting edge of the specified area of ​​the workpiece to be processed, and then it is determined whether to continue processing.

[0014] Preferably, the specific analysis method of the appearance data of the workpiece to be processed is as follows: in the first step, the workpiece to be processed is scanned by a scanner to obtain a static image of the workpiece to be processed, which is recorded as the workpiece to be processed image; a sprayer is used to evenly spray water mist on the surface of the workpiece to be processed, thereby forming a complete water film; the image of the workpiece to be processed covered with the water film is obtained again, which is recorded as the workpiece to be processed water film image; the edge detection technology is used to extract the edge contour of the water film from the workpiece to be processed water film image and calculate its area, which is recorded as , and at the same time, the chromaticity value of each pixel of the workpiece image to be processed is detected, which is recorded as , Indicates The number of pixels, , compare it with the preset standard chromaticity value range, filter out all pixels whose chromaticity values ​​are not within the preset standard chromaticity value range, and record their number as , through the formula Get the surface cleanliness of the workpiece to be processed , Indicates the set surface area of ​​the workpiece to be processed. Indicates the total number of pixels of the preset workpiece image to be processed. Represents the weight factor of the set water film coverage area and number of pixels.

[0015] In the second step, the workpiece to be processed is placed on a horizontal plane, and several equally spaced observation points are taken on its surface. The vertical distance from each observation point to the horizontal plane is detected and recorded as the vertical distance of each observation point of the workpiece to be processed. , Indicates The number of the observation point, , the average vertical distance of the observation points of the workpiece to be processed is obtained by taking the average vertical distance of each observation point of the workpiece to be processed, which is recorded as , through the formula Get the surface flatness of the workpiece to be processed , Indicates the number of observation points.

[0016] Preferably, the specific analysis method for the workpiece pretreatment is: respectively reading the surface cleanliness of the workpiece to be processed , surface flatness , through the formula Get the appearance qualification of the workpiece to be processed , The weight factors respectively represent the set surface cleanliness and surface flatness. The appearance qualification degree of the workpiece to be processed is compared with the preset appearance qualification degree threshold. If the appearance qualification degree of the workpiece to be processed is greater than or equal to the preset appearance qualification degree threshold, it means that the appearance of the workpiece to be processed is qualified and the processing sequence planning can be carried out. If the appearance qualification degree of the workpiece to be processed is less than the preset appearance qualification degree threshold, it means that the appearance of the workpiece to be processed is unqualified and the workpiece to be processed is replaced.

[0017] Preferably, the specific analysis method of the processing sequence planning is: dividing the surface of the workpiece to be processed into a number of sub-areas of equal area, recorded as sub-areas of the workpiece to be processed, numbering each sub-area of ​​the workpiece to be processed according to a set order, and processing each sub-area of ​​the workpiece to be processed in sequence according to the number, and recording the first sub-area of ​​the workpiece to be processed as the designated area of ​​the workpiece to be processed.

[0018] Preferably, the specific analysis method of the shape deviation analysis is: a plane image of the designated area of ​​the workpiece to be processed after processing is acquired by a camera, recorded as the workpiece designated area image, an edge contour of the processed shape is extracted from the workpiece designated area image by edge detection technology, recorded as the workpiece processing shape, and at the same time, a workpiece processing target image is read from a management database, from which the edge contour of the target processing shape of the workpiece is read, recorded as the workpiece target processing shape, the workpiece processing shape is overlapped with the workpiece target processing shape and the area of ​​the overlap is calculated, recorded as , substitute into the formula Get the shape deviation degree of the specified area of ​​the workpiece to be processed ,in Indicates the target machining shape area of ​​the set workpiece.

[0019] Preferably, the specific analysis method of the position deviation analysis is: read the workpiece processing target image, obtain the workpiece processing target model by performing 3D modeling on it, and construct three-dimensional coordinates with any vertex of the workpiece processing target model as a reference point, select a number of equally spaced measurement points on the edge contour of the target processing shape of the workpiece processing target model, and read the three-dimensional coordinates of each measurement point respectively to form a measurement point coordinate set , The edge contour of the target machining shape of the workpiece machining target model is represented by the The three-dimensional coordinates of the measurement points, , according to the method of constructing a collection of measurement point coordinates, the three-dimensional coordinates of each measurement point in the specified area of ​​the workpiece to be processed are obtained to form a workpiece measurement point coordinate set ,in Indicates the specified area of ​​the workpiece to be processed after processing. The three-dimensional coordinates of the measurement points are substituted into the formula Get the machining deviation distance of the specified area of ​​the workpiece to be processed , and then through the formula Get the position deviation degree of the specified area of ​​the workpiece to be processed , Indicates the preset reference processing deviation distance. is the number of measurement points.

[0020] Preferably, the specific analysis method of the cutting edge analysis is: respectively obtain images of the workpiece cutting edge from the workpiece processing target model and the specified area of ​​the workpiece to be processed, recorded as the workpiece target cutting edge image and the workpiece cutting edge image, use edge detection technology to respectively extract the edge contours of the cutting surface of the workpiece processing target model and the cutting surface of the specified area of ​​the workpiece, recorded as the workpiece target cutting edge contour and the workpiece cutting edge contour, overlap the workpiece target cutting edge contour and the workpiece cutting edge contour, and take a number of equally spaced detection points on the workpiece cutting edge contour according to the set spacing, detect the vertical distance from each detection point of the workpiece cutting edge contour to the workpiece target cutting edge contour, and record it as the contour deviation value of each detection point of the workpiece to be processed , Indicates The number of the test point, , the average deviation of the workpiece contour is obtained by taking the average value of the contour deviation of each detection point of the workpiece to be processed, which is recorded as , substituting it into the formula Get the roughness of the cutting edge of the specified area of ​​the workpiece to be processed .

[0021] Preferably, the specific analysis method of the processing accuracy analysis is: the first step is to read the shape deviation degree of the specified area of ​​the workpiece to be processed respectively , Position deviation degree , Roughness of cutting edge , substituting it into the formula Get the machining accuracy of the specified area of ​​the workpiece to be processed ,in They represent the weight factors of the set shape deviation, position deviation, and roughness of the cutting edge. is a natural constant.

[0022] In the second step, the processing accuracy of the designated area of ​​the workpiece to be processed is compared with the preset processing accuracy threshold. If the processing accuracy of the designated area of ​​the workpiece to be processed is greater than or equal to the preset processing accuracy threshold, it means that the processing accuracy of the designated area of ​​the workpiece to be processed is qualified, and the sub-areas of the workpiece to be processed are continued to be processed in sequence according to the planned processing sequence. If the processing accuracy of the designated area of ​​the workpiece to be processed is less than the preset processing accuracy threshold, it means that the processing accuracy of the designated area of ​​the workpiece to be processed is unqualified, and the processing is stopped and feedback is given.

[0023] The second aspect of the present invention provides a laser processing control system, which includes: a workpiece preprocessing module, which is used to scan the appearance data of the workpiece to be processed through a scanner to determine whether to proceed to the next step of processing. The appearance data of the workpiece to be processed includes surface cleanliness and surface flatness.

[0024] The processing sequence planning module is used to divide the workpiece to be processed into various sub-areas and plan the processing sequence of the workpiece to be processed according to each sub-area.

[0025] The shape deviation analysis module is used to acquire a plane image of a designated area of ​​the workpiece to be processed after processing is completed, and then analyze the shape deviation degree of the designated area of ​​the workpiece to be processed.

[0026] The position deviation analysis module is used to obtain the three-dimensional coordinates of each measuring point in the specified area of ​​the workpiece to be processed after processing to obtain the processing deviation distance of the specified area of ​​the workpiece to be processed, and then analyze the position deviation degree of the specified area of ​​the workpiece to be processed.

[0027] The cutting edge analysis module is used to detect the contour deviation value of each detection point of the workpiece to be processed after processing is completed, and then analyze the roughness of the cutting edge of the specified area of ​​the workpiece to be processed.

[0028] The processing accuracy analysis module is used to analyze the processing accuracy of the specified area of ​​the workpiece to be processed based on the shape deviation, position deviation, and roughness of the cutting edge of the specified area of ​​the workpiece to be processed, and then determine whether to continue processing.

[0029] A management database is used to store workpiece processing target images.

[0030] The third aspect of the present invention further provides a storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the laser processing control method.

[0031] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. The present invention uses a scanner to scan the appearance data of the workpiece to be processed, determines whether to proceed to the next step of processing, and divides the workpiece to be processed into sub-areas to plan the processing sequence. It can timely discover the defects and problems of the workpiece, and at the same time reasonably plan the processing sequence to improve the processing quality.

[0032] 2. The present invention acquires a planar image of a designated area of ​​the workpiece to be processed after processing, and then analyzes the shape deviation degree of the designated area of ​​the workpiece to be processed. For workpieces with complex shapes, the processing effect can be better evaluated to ensure that the design requirements are met.

[0033] 3. The present invention obtains the three-dimensional coordinates of each measuring point in the specified area of ​​the workpiece to be processed after processing to obtain the processing deviation distance of the specified area of ​​the workpiece to be processed, and then analyzes the position deviation degree of the specified area of ​​the workpiece to be processed, so as to timely discover the position deviation problem so as to take corresponding corrective measures to reduce the scrap rate and rework.

[0034] 4. The present invention detects the contour deviation value of each detection point of the workpiece to be processed after processing, and then analyzes the roughness of the cutting edge of the specified area of ​​the workpiece to be processed, thereby avoiding waste or rework caused by substandard surface roughness, thereby reducing production costs.

[0035] 5. The present invention obtains the processing accuracy of the specified area of ​​the workpiece to be processed through comprehensive analysis of the shape deviation degree, position deviation degree, and roughness of the cutting edge of the specified area of ​​the workpiece to be processed, and then determines whether to continue processing, which can avoid putting inaccurately processed workpieces into subsequent production and ensure product quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only 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 creative work.

[0037] Figure 1 The present invention is a schematic flow chart of the steps for implementing the method.

[0038] Figure 2 It is a schematic diagram of the connection of the system modules of the present invention. DETAILED DESCRIPTION

[0039] 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 only 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.

[0040] See also Figure 1 As shown, the first aspect of the present invention provides a laser processing control method, which includes: S1. workpiece preprocessing: scanning the appearance data of the workpiece to be processed by a scanner to determine whether to proceed to the next step of processing, the appearance data of the workpiece to be processed includes surface cleanliness and surface flatness.

[0041] The specific analysis method of the appearance data of the workpiece to be processed is as follows: in the first step, the workpiece to be processed is scanned by a scanner to obtain a static image of the workpiece to be processed, which is recorded as the workpiece image to be processed; a sprayer is used to evenly spray water mist on the surface of the workpiece to be processed, thereby forming a complete water film; the image of the workpiece to be processed covered with the water film is obtained again, which is recorded as the workpiece water film image to be processed; the edge detection technology is used to extract the edge contour of the water film from the workpiece water film image to be processed and calculate its area, which is recorded as , and at the same time, the chromaticity value of each pixel of the workpiece image to be processed is detected, which is recorded as , Indicates The number of pixels, , compare it with the preset standard chromaticity value range, filter out all pixels whose chromaticity values ​​are not within the preset standard chromaticity value range, and record their number as , through the formula Get the surface cleanliness of the workpiece to be processed , Indicates the set surface area of ​​the workpiece to be processed. Indicates the total number of pixels of the preset workpiece image to be processed. Represents the weighting factor of the set water film coverage area and number of pixels. Impurities and oil stains may destroy the integrity of the water film, resulting in holes, interruptions or discontinuous areas. By evenly spraying water mist on the workpiece surface to form a water film and analyzing the water film coverage area, it is possible to determine whether there are pollutants on the surface and more accurately screen out unqualified workpieces. At the same time, by detecting the chromaticity value of the workpiece surface, the cleanliness of the workpiece surface can be fully understood, which is convenient for controlling product quality.

[0042] It should be noted that, in a specific embodiment, It can be set to 0.5. It can be set to 0.5. Impurities and oil stains may destroy the integrity of the water film, resulting in holes, interruptions or discontinuous areas, while the pixel chromaticity value can reflect the color change of the surface, which may be related to the presence of pollutants. Therefore, the weights corresponding to the water film coverage area and the number of pixels are equal.

[0043] In the second step, the workpiece to be processed is placed on a horizontal plane, and several equally spaced observation points are taken on its surface. The vertical distance from each observation point to the horizontal plane is detected and recorded as the vertical distance of each observation point of the workpiece to be processed. , Indicates The number of the observation point, , the average vertical distance of the observation points of the workpiece to be processed is obtained by taking the average vertical distance of each observation point of the workpiece to be processed, which is recorded as , through the formula Get the surface flatness of the workpiece to be processed , Indicates the number of observation points; by taking multiple equally spaced observation points on the workpiece surface, a more comprehensive understanding of the flatness of the entire surface can be obtained, avoiding the limitations of single-point measurement.

[0044] The specific analysis method of the workpiece pretreatment is to read the surface cleanliness of the workpiece to be processed respectively: , surface flatness , through the formula Get the appearance qualification of the workpiece to be processed , The weight factors respectively represent the set surface cleanliness and surface flatness, and the appearance qualification degree of the workpiece to be processed is compared with the preset appearance qualification degree threshold. If the appearance qualification degree of the workpiece to be processed is greater than or equal to the preset appearance qualification degree threshold, it means that the appearance of the workpiece to be processed is qualified and the processing sequence planning can be carried out. If the appearance qualification degree of the workpiece to be processed is less than the preset appearance qualification degree threshold, it means that the appearance of the workpiece to be processed is unqualified and the workpiece to be processed is replaced. By comprehensively considering the surface cleanliness and surface flatness of the workpiece to be processed, its appearance qualification degree can be more comprehensively evaluated, reducing the situation where rework or replacement of workpieces due to unqualified appearance is required, thereby ensuring the processing quality.

[0045] It should be noted that, in a specific embodiment, It can be set to 0.5. It can be set to 0.5. The surface cleanliness directly affects the appearance quality of the workpiece. A clean surface can show a better appearance. The surface flatness mainly affects the geometric shape and dimensional accuracy of the workpiece. Poor flatness may cause an uneven and bumpy appearance. Therefore, the weights corresponding to the surface cleanliness and surface flatness are equal.

[0046] S2. Processing sequence planning: Divide the workpiece to be processed into various sub-areas, plan the processing sequence of the workpiece to be processed according to each sub-area, and record the first sub-area of ​​the workpiece to be processed as the designated area of ​​the workpiece to be processed.

[0047] The specific analysis method of the processing sequence planning is: dividing the surface of the workpiece to be processed into a number of sub-areas of equal area, recorded as sub-areas of the workpiece to be processed, numbering each sub-area of ​​the workpiece to be processed according to a set order, and processing each sub-area of ​​the workpiece to be processed in sequence according to the number, and recording the first sub-area of ​​the workpiece to be processed as the designated area of ​​the workpiece to be processed; by dividing the surface of the workpiece to be processed into sub-areas of equal area and processing them in sequence according to the number, the processing process can be controlled more accurately and the processing accuracy can be improved.

[0048] S3. Shape deviation analysis: After the processing is completed, a plane image of the designated area of ​​the workpiece to be processed is acquired, and then the shape deviation degree of the designated area of ​​the workpiece to be processed is analyzed.

[0049] The specific analysis method of the shape deviation analysis is as follows: a plane image of the designated area of ​​the workpiece to be processed after processing is acquired by a camera, which is recorded as the workpiece designated area image; the edge contour of the processed shape is extracted from the workpiece designated area image by edge detection technology, which is recorded as the workpiece processing shape; at the same time, the workpiece processing target image is read from the management database, and the edge contour of the target processing shape of the workpiece is read therefrom, which is recorded as the workpiece target processing shape; the workpiece processing shape is overlapped with the workpiece target processing shape and the area of ​​the overlap is calculated, which is recorded as , substitute into the formula Get the shape deviation degree of the specified area of ​​the workpiece to be processed ,in Indicates the target machining shape area of ​​the set workpiece; by overlapping the processed shape with the target machining shape, the difference between the two can be intuitively compared, helping to promptly discover and correct machining deviation problems.

[0050] S4. Position deviation analysis: The processing deviation distance of the specified area of ​​the workpiece to be processed is obtained by acquiring the three-dimensional coordinates of each measuring point of the specified area of ​​the workpiece to be processed after processing, and then the position deviation degree of the specified area of ​​the workpiece to be processed is analyzed.

[0051] The specific analysis method of the position deviation analysis is as follows: read the workpiece processing target image, obtain the workpiece processing target model by 3D modeling, and construct the three-dimensional coordinates with any vertex of the workpiece processing target model as the reference point, select a number of equally spaced measurement points on the edge contour of the target processing shape of the workpiece processing target model, and read the three-dimensional coordinates of each measurement point respectively to form a measurement point coordinate set , The edge contour of the target machining shape of the workpiece machining target model is represented by the The three-dimensional coordinates of the measurement points, , according to the method of constructing a collection of measurement point coordinates, the three-dimensional coordinates of each measurement point in the specified area of ​​the workpiece to be processed are obtained to form a workpiece measurement point coordinate set ,in Indicates the specified area of ​​the workpiece to be processed after processing. The three-dimensional coordinates of the measurement points are substituted into the formula Get the machining deviation distance of the specified area of ​​the workpiece to be processed , and then through the formula Get the position deviation degree of the specified area of ​​the workpiece to be processed , Indicates the preset reference processing deviation distance. The number of measuring points; by comprehensively considering the position deviation of different parts of the workpiece, problems in the processing process can be discovered and corrected in time, thereby improving the processing quality and consistency of the workpiece.

[0052] S5. Cutting edge analysis: After the machining is completed, the contour deviation value of each detection point of the workpiece to be machined is detected, and then the roughness of the cutting edge of the specified area of ​​the workpiece to be machined is analyzed.

[0053] The specific analysis method of the cutting edge analysis is: respectively obtain images of the workpiece cutting edge from the workpiece processing target model and the specified area of ​​the workpiece to be processed, which are recorded as the workpiece target cutting edge image and the workpiece cutting edge image; use edge detection technology to extract the edge contours of the cutting surface of the workpiece processing target model and the cutting surface of the specified area of ​​the workpiece, which are recorded as the workpiece target cutting edge contour and the workpiece cutting edge contour; overlap the workpiece target cutting edge contour and the workpiece cutting edge contour; take a number of equally spaced detection points on the workpiece cutting edge contour according to the set spacing; detect the vertical distance from each detection point of the workpiece cutting edge contour to the workpiece target cutting edge contour, and record it as the contour deviation value of each detection point of the workpiece to be processed , Indicates The number of the test point, , the average deviation of the workpiece contour is obtained by taking the average value of the contour deviation of each detection point of the workpiece to be processed, which is recorded as , substituting it into the formula Get the roughness of the cutting edge of the specified area of ​​the workpiece to be processed ; Based on the roughness evaluation results, the processing technology can be optimized to improve the flatness and smoothness of the cutting edge, thereby improving the processing accuracy.

[0054] S6. Processing accuracy analysis: The processing accuracy of the specified area of ​​the workpiece to be processed is analyzed based on the shape deviation, position deviation, and roughness of the cutting edge of the specified area of ​​the workpiece to be processed, and then it is determined whether to continue processing.

[0055] The specific analysis method of the processing accuracy analysis is as follows: the first step is to read the shape deviation degree of the specified area of ​​the workpiece to be processed respectively. , Position deviation degree , Roughness of cutting edge , substituting it into the formula Get the machining accuracy of the specified area of ​​the workpiece to be processed ,in They represent the weight factors of the set shape deviation, position deviation, and roughness of the cutting edge. It is a natural constant; it helps to discover problems in the processing process in time, provides a basis for quality control, and thus takes corresponding measures to make improvements.

[0056] It should be noted that, in one embodiment, It can be set to 0.4. It can be set to 0.4. It can be set to 0.2. The shape deviation reflects the difference in shape between the workpiece and the design requirements, which has a great impact on the function and assembly performance of the product. The position deviation indicates the deviation of the workpiece at a specified position from the design requirements, which is also very important for some high-precision assembly or applications with high positioning requirements. The roughness of the cutting edge mainly affects the appearance quality of the workpiece and subsequent processing technology, and has a lower impact on the performance. Therefore, the weights of the shape deviation, position deviation, and roughness of the cutting edge are equal.

[0057] In the second step, the processing accuracy of the designated area of ​​the workpiece to be processed is compared with the preset processing accuracy threshold. If the processing accuracy of the designated area of ​​the workpiece to be processed is greater than or equal to the preset processing accuracy threshold, it means that the processing accuracy of the designated area of ​​the workpiece to be processed is qualified, and the sub-areas of the workpiece to be processed are processed in sequence according to the planned processing sequence. If the processing accuracy of the designated area of ​​the workpiece to be processed is less than the preset processing accuracy threshold, it means that the processing accuracy of the designated area of ​​the workpiece to be processed is unqualified, and the processing is stopped and feedback is given. When the processing accuracy is unqualified, the processing can be stopped and feedback can be given in time, avoiding continuing processing when the processing accuracy is unqualified, reducing unnecessary waste of time and resources, and improving production efficiency.

[0058] The embodiment of the present invention determines whether to proceed to the next step of processing through the appearance data of the workpiece to be processed, and plans the processing sequence for it, obtains the shape deviation degree of the specified area of ​​the workpiece to be processed by acquiring a plane image of the specified area of ​​the workpiece to be processed after the processing is completed, analyzes the position deviation degree of the specified area of ​​the workpiece to be processed through three-dimensional coordinates, and obtains the roughness of the cutting edge of the specified area of ​​the workpiece to be processed by detecting the contour deviation value of each detection point of the workpiece to be processed, and then comprehensively analyzes to obtain the processing accuracy of the specified area of ​​the workpiece to be processed, which helps to ensure that the processed workpiece meets the quality requirements.

[0059] See also Figure 2 As shown, the second aspect of the present invention provides a laser processing control system, which includes: a workpiece preprocessing module, a processing sequence planning module, a shape deviation analysis module, a position deviation analysis module, a cutting edge analysis module, a processing accuracy analysis module, and a management database.

[0060] In the above, the management database is connected to the workpiece preprocessing module, the processing sequence planning module, the shape deviation analysis module, the position deviation analysis module, and the cutting edge analysis module; the processing accuracy analysis module is connected to the cutting edge analysis module, the shape deviation analysis module, and the position deviation analysis module; and the workpiece preprocessing module is connected to the processing sequence planning module.

[0061] The workpiece preprocessing module is used to scan the appearance data of the workpiece to be processed through a scanner to determine whether to proceed to the next step of processing. The appearance data of the workpiece to be processed includes the surface cleanliness and surface flatness.

[0062] The processing sequence planning module is used to divide the workpiece to be processed into various sub-areas and plan the processing sequence of the workpiece to be processed according to each sub-area.

[0063] The shape deviation analysis module is used to acquire a plane image of a designated area of ​​the workpiece to be processed after processing is completed, and then analyze the shape deviation degree of the designated area of ​​the workpiece to be processed.

[0064] The position deviation analysis module is used to obtain the three-dimensional coordinates of each measuring point in the specified area of ​​the workpiece to be processed after processing to obtain the processing deviation distance of the specified area of ​​the workpiece to be processed, and then analyze the position deviation degree of the specified area of ​​the workpiece to be processed.

[0065] The cutting edge analysis module is used to detect the contour deviation value of each detection point of the workpiece to be processed after processing is completed, and then analyze the roughness of the cutting edge of the specified area of ​​the workpiece to be processed.

[0066] The processing accuracy analysis module is used to analyze the processing accuracy of the specified area of ​​the workpiece to be processed based on the shape deviation, position deviation, and roughness of the cutting edge of the specified area of ​​the workpiece to be processed, and then determine whether to continue processing.

[0067] A management database is used to store workpiece processing target images.

[0068] The third aspect of the present invention further provides a storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement a laser processing control method described in the present invention.

[0069] The above contents are merely examples and explanations of the concept of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, they shall all fall within the protection scope of the present invention.

Claims

1. A laser processing control method, characterized in that: The method includes: S1. Workpiece preprocessing: Scan the appearance data of the workpiece to be processed by a scanner to determine whether to proceed to the next step of processing. The appearance data of the workpiece to be processed includes the surface cleanliness and surface flatness; S2. Processing sequence planning: Divide the workpiece to be processed into various sub-areas, plan the processing sequence of the workpiece to be processed according to each sub-area, and record the first sub-area of ​​the workpiece to be processed as the designated area of ​​the workpiece to be processed; S3. Shape deviation analysis: acquiring a plane image of the designated area of ​​the workpiece to be processed after processing, and then analyzing the shape deviation degree of the designated area of ​​the workpiece to be processed; S4. Position deviation analysis: obtaining the three-dimensional coordinates of each measuring point in the designated area of ​​the workpiece to be processed after processing to obtain the processing deviation distance of the designated area of ​​the workpiece to be processed, and then analyzing to obtain the position deviation degree of the designated area of ​​the workpiece to be processed; S5. Cutting edge analysis: After the workpiece is processed, the contour deviation value of each detection point is detected, and then the roughness of the cutting edge of the specified area of ​​the workpiece is analyzed; S6. Processing accuracy analysis: The processing accuracy of the specified area of ​​the workpiece to be processed is obtained according to the shape deviation, position deviation and roughness of the cutting edge of the specified area of ​​the workpiece to be processed, and then it is determined whether to continue processing; The specific analysis method of the shape deviation analysis is: The camera acquires a planar image of the designated area of ​​the workpiece to be processed after processing, which is recorded as the designated area image of the workpiece. The edge contour of the processed shape is extracted from the designated area image of the workpiece through edge detection technology, which is recorded as the workpiece processing shape. At the same time, the workpiece processing target image is read from the management database, and the edge contour of the target processing shape of the workpiece is read from it, which is recorded as the workpiece target processing shape. The workpiece processing shape is overlapped with the workpiece target processing shape and the area of ​​the overlap is calculated, which is recorded as , substitute into the formula Get the shape deviation degree of the specified area of ​​the workpiece to be processed ,in Indicates the target machining shape area of ​​the set workpiece; The specific analysis method of the position deviation analysis is: Read the workpiece processing target image, obtain the workpiece processing target model by 3D modeling, and construct the three-dimensional coordinates with any vertex of the workpiece processing target model as the reference point. Select several equally spaced measurement points on the edge contour of the target processing shape of the workpiece processing target model, and read the three-dimensional coordinates of each measurement point respectively to form a measurement point coordinate set , The edge contour of the target machining shape of the workpiece machining target model is represented by the The three-dimensional coordinates of the measurement points, , according to the method of constructing a collection of measurement point coordinates, the three-dimensional coordinates of each measurement point in the specified area of ​​the workpiece to be processed are obtained to form a workpiece measurement point coordinate set ,in Indicates the specified area of ​​the workpiece to be processed after processing. The three-dimensional coordinates of the measurement points are substituted into the formula Get the machining deviation distance of the specified area of ​​the workpiece to be processed , and then through the formula Get the position deviation degree of the specified area of ​​the workpiece to be processed , Indicates the preset reference processing deviation distance. is the number of measurement points; The specific analysis method of the cutting edge analysis is: The images of the workpiece cutting edge are obtained from the workpiece processing target model and the specified area of ​​the workpiece to be processed, which are recorded as the workpiece target cutting edge image and the workpiece cutting edge image respectively. The edge detection technology is used to extract the edge contours of the cutting surface of the workpiece processing target model and the cutting surface of the specified area of ​​the workpiece, which are recorded as the workpiece target cutting edge contour and the workpiece cutting edge contour respectively. The workpiece target cutting edge contour and the workpiece cutting edge contour are overlapped, and a number of equally spaced detection points are taken on the workpiece cutting edge contour according to the set spacing. The vertical distance from each detection point of the workpiece cutting edge contour to the workpiece target cutting edge contour is detected, which is recorded as the contour deviation value of each detection point of the workpiece to be processed , Indicates The number of the test point, , the average deviation of the workpiece contour is obtained by taking the average value of the contour deviation of each detection point of the workpiece to be processed, which is recorded as , substituting it into the formula Get the roughness of the cutting edge of the specified area of ​​the workpiece to be processed .

2. A laser processing control method as claimed in claim 1, characterized in that: The specific analysis method of the appearance data of the workpiece to be processed is: In the first step, the workpiece to be processed is scanned by a scanner to obtain a static image of the workpiece to be processed, which is recorded as the workpiece image to be processed. A sprayer is used to evenly spray water mist on the surface of the workpiece to be processed to form a complete water film. The image of the workpiece to be processed covered with the water film is obtained again, which is recorded as the workpiece water film image to be processed. The edge detection technology is used to extract the edge contour of the water film from the workpiece water film image to be processed and calculate its area, which is recorded as , and at the same time, the chromaticity value of each pixel of the workpiece image to be processed is detected, which is recorded as , Indicates The number of pixels, , compare it with the preset standard chromaticity value range, filter out all pixels whose chromaticity values ​​are not within the preset standard chromaticity value range, and record their number as , through the formula Get the surface cleanliness of the workpiece to be processed , Indicates the set surface area of ​​the workpiece to be processed. Indicates the total number of pixels of the preset workpiece image to be processed. Represents the weight factor of the set water film coverage area and pixel number; In the second step, the workpiece to be processed is placed on a horizontal plane, and several equally spaced observation points are taken on its surface. The vertical distance from each observation point to the horizontal plane is detected and recorded as the vertical distance of each observation point of the workpiece to be processed. , Indicates The number of the observation point, , the average vertical distance of the observation points of the workpiece to be processed is obtained by taking the average vertical distance of each observation point of the workpiece to be processed, which is recorded as , through the formula Get the surface flatness of the workpiece to be processed , Indicates the number of observation points.

3. A laser processing control method as claimed in claim 2, characterized in that: The specific analysis method of the workpiece pretreatment is: Read the surface cleanliness of the workpiece to be processed , surface flatness , through the formula Get the appearance qualification of the workpiece to be processed , The weight factors respectively represent the set surface cleanliness and surface flatness. The appearance qualification degree of the workpiece to be processed is compared with the preset appearance qualification degree threshold. If the appearance qualification degree of the workpiece to be processed is greater than or equal to the preset appearance qualification degree threshold, it means that the appearance of the workpiece to be processed is qualified and the processing sequence planning can be carried out. If the appearance qualification degree of the workpiece to be processed is less than the preset appearance qualification degree threshold, it means that the appearance of the workpiece to be processed is unqualified and the workpiece to be processed is replaced.

4. A laser processing control method as claimed in claim 1, characterized in that: The specific analysis method of the processing sequence planning is: The surface of the workpiece to be processed is divided into a number of sub-regions of equal area, which are recorded as sub-regions of the workpiece to be processed. The sub-regions of the workpiece to be processed are numbered according to a set order, and the sub-regions of the workpiece to be processed are processed in sequence according to the numbers. The first sub-region of the workpiece to be processed is recorded as the designated region of the workpiece to be processed.

5. A laser processing control method as claimed in claim 1, characterized in that: The specific analysis method of the processing accuracy analysis is: The first step is to read the shape deviation degree of the specified area of ​​the workpiece to be processed , Position deviation degree , Roughness of cutting edge , substituting it into the formula Get the machining accuracy of the specified area of ​​the workpiece to be processed ,in They represent the weight factors of the set shape deviation, position deviation, and roughness of the cutting edge. is a natural constant; In the second step, the processing accuracy of the designated area of ​​the workpiece to be processed is compared with the preset processing accuracy threshold. If the processing accuracy of the designated area of ​​the workpiece to be processed is greater than or equal to the preset processing accuracy threshold, it means that the processing accuracy of the designated area of ​​the workpiece to be processed is qualified, and the sub-areas of the workpiece to be processed are continued to be processed in sequence according to the planned processing sequence. If the processing accuracy of the designated area of ​​the workpiece to be processed is less than the preset processing accuracy threshold, it means that the processing accuracy of the designated area of ​​the workpiece to be processed is unqualified, and the processing is stopped and feedback is given.

6. A laser processing control system for executing the method according to claim 1, characterized in that: The system includes: A workpiece preprocessing module is used to scan the appearance data of the workpiece to be processed through a scanner to determine whether to proceed to the next step of processing. The appearance data of the workpiece to be processed includes the surface cleanliness and surface flatness; A processing sequence planning module is used to divide the workpiece to be processed into various sub-areas and plan the processing sequence of the workpiece to be processed according to each sub-area; The shape deviation analysis module is used to obtain a plane image of the specified area of ​​the workpiece to be processed after the processing is completed, and then analyze the shape deviation degree of the specified area of ​​the workpiece to be processed; A position deviation analysis module is used to obtain the three-dimensional coordinates of each measuring point in the specified area of ​​the workpiece to be processed after processing to obtain the processing deviation distance of the specified area of ​​the workpiece to be processed, and then analyze and obtain the position deviation degree of the specified area of ​​the workpiece to be processed; The cutting edge analysis module is used to detect the contour deviation value of each detection point of the workpiece to be processed after processing, and then analyze the roughness of the cutting edge of the specified area of ​​the workpiece to be processed; The processing accuracy analysis module is used to analyze the processing accuracy of the specified area of ​​the workpiece to be processed according to the shape deviation, position deviation and roughness of the cutting edge of the specified area of ​​the workpiece to be processed, and then determine whether to continue processing; A management database is used to store workpiece processing target images.

7. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in a laser processing control method as described in any one of claims 1-5.