Defect processing method, device and system for workpiece

By combining a three-pickup transmission device with a machine learning model, accurate identification and automatic repair of workpiece defects are achieved, solving the problems of low efficiency, large errors, and human harm in existing technologies, and improving processing efficiency and process optimization.

CN116494066BActive Publication Date: 2026-11-24JIANGSU CHENGZHIJI INTELLIGENT EQUIP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310520063.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2026-11-24
Estimated Expiration
2043-05-10

AI Technical Summary

Technical Problem

Existing technologies for handling workpiece defects suffer from problems such as low efficiency, human injury, complex programming, error accumulation, and positional deviation, making it difficult to achieve efficient and automated repair.

Method used

Using a three-pickup transmission device and a machine learning model, defect information is generated through defect identification and location, and defects are dynamically repaired in the defect treatment area. The processing flow is optimized by using repair instruments and real-time status information.

Benefits of technology

It enables accurate identification and automatic repair of workpiece defects, improves processing efficiency, optimizes defect handling procedures, and reduces human injury and errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116494066B_ABST
    Figure CN116494066B_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, and system for handling defects in workpieces. The method includes: a first picking and conveying device grasping a workpiece and sending it into a defect identification area; identifying defects in the workpiece using a defect identification model in the defect identification area to generate a defect identification result; when the defect identification result contains a defect, locating the defect in the workpiece to generate defect information; a second picking and conveying device sending the workpiece into a defect processing area; and a third picking and conveying device dynamically processing the defects in the workpiece based on the defect information in the defect processing area. The workpiece defect handling method, apparatus, and system of this application can accurately identify defects in workpieces and automatically repair them, optimizing the workpiece defect handling process and improving workpiece processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of machining, and more specifically, to a method, apparatus, and system for handling defects in workpieces. Background Technology

[0002] Machining, casting, and sheet metal processing are the basic processing types in the machinery manufacturing and automation industries. During production and processing, various types of defects such as burrs, bending marks, and scratches are inevitably produced. Therefore, deburring and polishing of machined parts, castings, and sheet metal parts have become necessary steps.

[0003] In existing technologies, two methods are commonly used for deburring and polishing. The first is manual identification and grinding by workers. This method is physically demanding, inefficient, slow, and creates a harsh working environment that can harm human health. Furthermore, the open space hinders waste recycling and may lead to pollution. The second method is automated operation via a pick-and-place mechanism. This method also has several problems: First, it requires pre-programming information such as the processing position, method, and process parameters to instruct the pick-and-place mechanism, which has a high entry barrier. Second, different workpieces have different information, requiring separate programming. When there are many types of workpieces and they change frequently, programming efficiency is very low. Third, the accumulated errors of the pick-and-place mechanism and clamping device, or wear and tear on the grinding head, can cause deviations between theoretical and actual parameters, resulting in inaccurate processing positions. Fourth, the allowable errors of the workpiece itself during processing can lead to deviations in the processing position.

[0004] Therefore, a new method, device, and system for handling defects in workpieces is needed.

[0005] The information disclosed in the background section is only intended to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] In view of this, this application provides a method, apparatus and system for handling defects in workpieces, which can accurately identify defects in workpieces and automatically repair them, optimize the workpiece defect handling process and improve workpiece processing efficiency.

[0007] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0008] According to one aspect of this application, a method for handling defects in a workpiece is proposed. The method includes: a first picking and conveying device picking up the workpiece and sending it into a defect identification area; identifying defects in the workpiece in the defect identification area using a defect identification model to generate a defect identification result; when the defect identification result contains a defect, locating the defect in the workpiece to generate defect information; a second picking and conveying device sending the workpiece into a defect handling area; and a third picking and conveying device dynamically handling the defects in the workpiece based on the defect information in the defect handling area.

[0009] In one exemplary embodiment of this application, the method further includes: generating a three-dimensional sample of the workpiece; generating multiple defect samples using the three-dimensional sample and the attribute information of the workpiece; and training a machine learning model using the multiple defect samples to generate the defect recognition model.

[0010] In one exemplary embodiment of this application, generating multiple defect samples using three-dimensional samples and the attribute information of the workpiece includes: generating a material defect library; generating multiple defect models based on the material defect library; and generating the multiple defect samples using the multiple defect models and the three-dimensional samples.

[0011] In one exemplary embodiment of this application, defect identification of the workpiece is performed in the defect identification area using a defect identification model to generate a defect identification result, including: in a first darkroom in the defect identification area, defect identification of the workpiece is performed in the defect identification area using a defect identification model to generate a defect identification result.

[0012] In an exemplary embodiment of this application, in a first darkroom within the defect identification area, defect identification of the workpiece is performed using a defect identification model to generate a defect identification result. This includes: acquiring multiple real-time images of the workpiece using multiple imaging devices in the first darkroom; performing three-dimensional modeling of the workpiece using the multiple real-time images to generate a three-dimensional workpiece model; and inputting the three-dimensional workpiece model into the defect identification model for defect identification to generate the defect identification result.

[0013] In one exemplary embodiment of this application, locating defects in the workpiece to generate defect information includes: locating defects in the workpiece in a second darkroom within the defect identification area to generate defect information.

[0014] In one exemplary embodiment of this application, in a second darkroom within the defect identification area, locating defects in the workpiece to generate defect information includes: acquiring precise images of the workpiece using multiple imaging devices in the second darkroom; and locating defects based on the precise images to generate defect information.

[0015] In one exemplary embodiment of this application, locating defects in the workpiece in the second darkroom to generate defect information includes: acquiring precise images of the workpiece through multiple imaging devices in the second darkroom; and locating defects based on the precise images to generate defect information.

[0016] In one exemplary embodiment of this application, acquiring a precise image of the defect area of ​​the workpiece using multiple imaging devices in the second darkroom includes: extracting the defect area and defect type from the defect identification result; adjusting the shooting posture of the workpiece in the second darkroom according to the defect area and the defect type; and acquiring a precise image of the defect area of ​​the workpiece using multiple imaging devices.

[0017] In an exemplary embodiment of this application, a third picking and conveying device in the defect processing area dynamically processes defects in the workpiece based on the defect information, including: in the defect processing area, determining a repair instrument and a repair plan according to the defect information; during the repair process, the third picking and conveying device picks up the repair instrument and dynamically processes the workpiece according to the repair plan.

[0018] In an exemplary embodiment of this application, in the defect processing area, determining a repair device and a repair plan based on the defect information includes: determining the repair device based on the defect type in the defect information; and determining a repair plan based on the defect information and the repair device, wherein the repair plan includes operation instructions, operation sequence, operation intensity, and operation time.

[0019] In an exemplary embodiment of this application, the third pick-and-drive device grasps the repair instrument and dynamically processes the workpiece according to the repair plan, including: acquiring real-time status information of the workpiece; acquiring real-time status information of the repair instrument; dynamically updating the repair plan based on the real-time status information of the workpiece and the repair instrument; and the third pick-and-drive device grasps the repair instrument and dynamically processes the workpiece according to the dynamically updated repair plan.

[0020] According to one aspect of this application, a defect handling device for a workpiece is proposed. The device includes: a first picking and conveying module for controlling a first picking and conveying device to pick up a workpiece and send it into a defect identification area; a defect identification module for identifying defects in the workpiece in the defect identification area using a defect identification model and generating a defect identification result; a defect positioning module for locating defects in the workpiece to generate defect information when the defect identification result contains defects; a second picking and conveying module for controlling a second picking and conveying device to send the workpiece into a defect handling area; and a third picking and conveying module for controlling a third picking and conveying device to dynamically handle defects in the workpiece based on the defect information in the defect handling area.

[0021] According to one aspect of this application, a defect handling system for a workpiece is proposed. The system includes: a first picking and conveying device for picking up the workpiece and sending it into a defect identification area; a second picking and conveying device for sending the workpiece into a defect handling area; a defect identification area for placing the workpiece to perform defect identification and / or defect location to generate defect information; and a third picking and conveying device for dynamically processing defects in the workpiece based on the defect information.

[0022] According to one aspect of this application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs; and, when the one or more programs are executed by the one or more processors, causing the one or more processors to implement the method as described above.

[0023] According to one aspect of this application, a computer-readable medium is provided having a computer program stored thereon that, when executed by a processor, implements the method described above.

[0024] According to the workpiece defect handling method, apparatus, and system of this application, a first picking and transmission device picks up the workpiece and sends it into a defect identification area; in the defect identification area, the workpiece is defect-identified using a defect identification model to generate a defect identification result; when the defect identification result contains a defect, the defect in the workpiece is located to generate defect information; a second picking and transmission device sends the workpiece into a defect handling area; and in the defect handling area, a third picking and transmission device dynamically handles the defects in the workpiece based on the defect information. This method can accurately identify defects in the workpiece and automatically repair them, optimizing the workpiece defect handling process and improving workpiece processing efficiency.

[0025] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this application. Attached Figure Description

[0026] The above and other objects, features, and advantages of this application will become more apparent from the detailed description of exemplary embodiments with reference to the accompanying drawings. The drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0027] Figure 1 This is a schematic diagram of a defect handling system for a workpiece according to an exemplary embodiment.

[0028] Figure 2 This is a flowchart illustrating a method for handling defects in a workpiece according to an exemplary embodiment.

[0029] Figure 3 This is a flowchart illustrating a method for handling defects in a workpiece according to another exemplary embodiment.

[0030] Figure 4 This is a flowchart illustrating a method for handling defects in a workpiece according to another exemplary embodiment.

[0031] Figure 5 This is a flowchart illustrating a method for handling defects in a workpiece according to another exemplary embodiment.

[0032] Figure 6 This is a block diagram illustrating a defect handling apparatus for a workpiece according to an exemplary embodiment.

[0033] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment.

[0034] Figure 8 This is a block diagram illustrating a computer-readable medium according to an exemplary embodiment. Detailed Implementation

[0035] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, they are provided so that this application will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted.

[0036] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods and apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0038] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0039] It should be understood that although the terms first, second, third, etc., may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one component from another. Therefore, the first component discussed below may be referred to as the second component without departing from the teachings of this application. As used herein, the term "and / or" includes all combinations of any one and more of the associated listed items.

[0040] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of exemplary embodiments, and the modules or processes in the drawings are not necessarily essential for implementing this application, and therefore cannot be used to limit the scope of protection of this application.

[0041] Figure 1 This is a system block diagram illustrating a method, apparatus, and system for handling defects in a workpiece according to an exemplary embodiment.

[0042] like Figure 1 As shown, the system architecture 10 may include a first pickup transmission device 101, a second pickup transmission device 102, a third pickup transmission device 103, a defect identification area 104, a conveying device 105, a repair instrument 106, a remote server 107, and a defect processing area 108.

[0043] In practical production applications, the conveyor 105 carries workpieces, which can be of different materials and shapes. The conveyor 105 will transport the workpieces at an appropriate speed according to their shape and characteristics. The conveyor 105 can, for example, perform a loading operation to gradually transport the workpieces on the conveyor 105.

[0044] When the workpiece is conveyed to the first picking and conveying device 101, the first picking and conveying device 101 detects the status of the workpiece, grabs the workpiece and sends it into the defect identification area 104; more specifically, it can be the first darkroom in the defect identification area 104, in which multiple camera devices can be installed, and the camera devices take pictures of the workpiece from all directions and multiple angles, and the multiple camera devices transmit the pictures to the remote server 107.

[0045] The remote server 107 constructs a 3D model of the workpiece using multiple images, inputs the 3D model into the trained defect recognition model, and generates defect detection results.

[0046] If the defect detection result shows that the workpiece does not contain defects, the conveying device 105 can directly convey the workpiece to the detection completion area, indicating that the workpiece does not have defects and can directly proceed to the subsequent production process.

[0047] If the defect detection result indicates that the workpiece contains a defect, then the defect detection result may include information such as the defective area and the defect type. The conveying device 105 conveys the workpiece to the second pick-up and transmission device 102.

[0048] The second pickup transmission device 102 detects a defective workpiece, picks it up, and sends it into the second darkroom of the defect identification area 104. The second darkroom may also be equipped with various cameras. Based on the defect area and type information identified by the defect identification model, the second pickup transmission device 102 can adjust the workpiece's posture to allow the cameras to capture more accurate images of the defect area. The cameras then transmit the captured images to the remote server 107.

[0049] The remote server 107 accurately identifies defects on the workpiece based on the precise image and generates defect information, which may include the precise location, size, shape, and other information of the defect.

[0050] The remote server 107 can also obtain the current status information of the repair instrument 106, and more specifically, its wear condition. The remote server 107 can generate a repair plan based on the wear condition and defect information of the repair instrument.

[0051] The conveying device 105 conveys the workpiece to the third pick-and-drive device 103. The third pick-and-drive device 103 sends the workpiece into the defect processing area 108; in the defect processing area 108, the repair instrument 106 dynamically processes the defects in the workpiece based on the defect information.

[0052] During the repair process, the remote server 107 obtains the real-time status information of the workpiece; the remote server 107 can also obtain the real-time status information of the repair instrument 106; the remote server 107 can dynamically update the repair plan based on the real-time status information of the workpiece and the repair instrument 106.

[0053] It is worth mentioning that the defect identification area 104 and the first darkroom, the second darkroom, and the defect processing area 108 contained therein can be located in the same space, or they can belong to 1-3 spaces respectively. When they are in the same space, the overall efficiency is not as high as that of processing three workpieces independently. Preferably, in this embodiment, the first darkroom, the second darkroom, and the defect processing area 108 are described as three independent spaces.

[0054] Figure 2 This is a flowchart illustrating a method for handling defects in a workpiece according to an exemplary embodiment. The method 20 for handling defects in a workpiece includes at least steps S202 to S212.

[0055] like Figure 2 As shown, in S202, the first pick-up transmission device picks up the workpiece and sends it into the defect identification area. More specifically, the first pick-up transmission device picks up the workpiece and sends it into the first darkroom. All completed workpieces are picked up by the first pick-up transmission device and sent to the first darkroom for inspection. Workpieces that pass the inspection do not need to be sent to the second darkroom or the repair area.

[0056] In S204, defects are identified in the workpiece using a defect identification model within the defect identification area, generating a defect identification result. The defect identification model can be used to identify defects in the workpiece and generate a defect identification result within the first darkroom. Multiple real-time images of the workpiece are acquired using multiple imaging devices in the first darkroom; a three-dimensional model of the workpiece is generated using these multiple real-time images; the three-dimensional workpiece model is then input into the defect identification model for defect identification to generate the defect identification result.

[0057] The first pick-and-transmission device clamps the workpiece located in front of it on the conveyor and sends it into the opposite darkroom. Multiple sets of camera equipment are installed in the darkroom, including 3D cameras, light sources, 3D laser cameras, industrial cameras, and lidar. The camera equipment photographs the workpiece, and quickly models it based on the captured images, forming a 3D image and specific coordinates of the workpiece. It may also include, for example, a spectrometer, for rapid modeling and simultaneous real-time detection to identify any defective areas. If defects are found, the size and type of the defective area are obtained.

[0058] In step S206, when the defect identification result contains a defect, the defect in the workpiece is located to generate defect information. When the defect identification result contains a defect, the second pick-up transmission device may send the workpiece into the second darkroom. When there is no defect, the workpiece can be directly sent to the inspection completion area for subsequent generation processes.

[0059] More specifically, defects in the workpiece can be located in the second darkroom to generate defect information. Precise images of the workpiece are acquired using multiple imaging devices in the second darkroom; defects are located based on these precise images to generate defect information.

[0060] By determining the three-dimensional coordinates of the defect area within the enclosed space through real-time imaging, the remote server can generate defect information based on the size, type, and specific three-dimensional coordinates of the defect.

[0061] The relevant content regarding "locating defects in the workpiece to generate defect information" will be available in [the following text is missing from the original] Figure 4 The corresponding embodiments are described in detail.

[0062] In S208, the second pick-up transmission device delivers the workpiece into the defect handling area. The defect handling area can be located in the conveying device or in an additional area.

[0063] In S210, the third pick-up and transmission device in the defect processing area dynamically processes the defects in the workpiece based on the defect information. In the defect processing area, a repair instrument and a repair plan can be determined according to the defect information; during the repair process, the third pick-up and transmission device grasps the repair instrument and dynamically processes the workpiece according to the repair plan.

[0064] More specifically, in the defect treatment area, defects in the workpiece are dynamically processed based on the defect information. The remote server converts the repair plan into instruction parameters, and the repair equipment executes the program with the corresponding parameters to achieve intelligent processing. The instructions can also control the repair equipment to select appropriate processing tools and perform suitable operations on the defective area.

[0065] In one embodiment, when the defect is a burr, a scraper, file, or cloth wheel is selected as the repair instrument according to the specific size of the burr.

[0066] In the defect treatment area, a repair instrument and a repair plan can be determined based on the defect information; during the repair process, the repair instrument dynamically processes the workpiece according to the repair plan.

[0067] The detailed content of "the third picking and transmission device in the defect handling area dynamically processes the defects in the workpiece based on the defect information" will be available in the following sections. Figure 5 The corresponding embodiments are described below.

[0068] According to the workpiece defect handling method of this application, a first picking and conveying device picks up the workpiece and sends it into a defect identification area; in the defect identification area, the workpiece is defect-identified using a defect identification model to generate a defect identification result; when the defect identification result contains a defect, the defect in the workpiece is located to generate defect information; a second picking and conveying device sends the workpiece into a defect handling area; and in the defect handling area, a third picking and conveying device dynamically handles the defects in the workpiece based on the defect information. This method can accurately identify defects in the workpiece and automatically repair them, optimizing the workpiece defect handling process and improving workpiece processing efficiency.

[0069] It should be clearly understood that this application describes how specific examples are formed and used, but the principles of this application are not limited to any details of these examples. Rather, based on the teachings of the disclosure of this application, these principles can be applied to many other embodiments.

[0070] Figure 3 This is a flowchart illustrating a method for handling defects in a workpiece according to another exemplary embodiment. Figure 3 The process shown in step 30 is... Figure 2 Supplementary description of the process shown.

[0071] like Figure 3 As shown, in S302, a 3D sample of the workpiece is generated. Based on drawings or 3D images of the workpiece scanned by a 3D camera, the corresponding material information can be selected, and the lighting and shooting angle adjusted to render an image of a normal workpiece. Alternatively, multiple angles of real workpiece images can be directly captured to create a 3D sample.

[0072] In S304, a material defect library is generated.

[0073] In one embodiment, a material defect information database can be established. The material can be identified through image recognition, measured in real-time using a spectrometer, or a combination of both. The material information includes information on the standard state, oxidation state, matte state, and post-drawing state of various materials. The defect information includes information on burrs, bending marks, pitting, orange peel texture, scratches, and other defects.

[0074] In step S306, multiple defect models are generated based on the material defect library. Various defects are extracted one by one from the material defect library, and defect region models are randomly generated.

[0075] In one embodiment, the type, number, size of the area, location of the defect on the workpiece, etc., can be randomly selected to generate a defect model.

[0076] In step S308, multiple defect samples are generated using the multiple defect models and the three-dimensional samples. The defect models are then combined with the three-dimensional samples of the normal workpiece, and multiple defect samples are generated by rendering at different angles and with different light source positions.

[0077] In S310, the machine learning model is trained using the multiple defect samples to generate the defect identification model.

[0078] Figure 4 This is a flowchart illustrating a method for handling defects in a workpiece according to another exemplary embodiment. Figure 4 The process shown in step 40 is... Figure 2 The flowchart shown includes a detailed description of S206, "Locate the defects in the workpiece to generate defect information".

[0079] like Figure 4 As shown, in S402, the defect region and defect type are extracted from the defect identification results.

[0080] In S404, in the second darkroom, the shooting posture of the workpiece is adjusted according to the defect area and the defect type. For example, if the defect area is located in the middle of the second side of the workpiece, then in order to obtain precise positioning data of the defect portion, the second side of the workpiece can be adjusted to face a specific high-precision camera.

[0081] In S406, multiple imaging devices acquire precise images of the defective area of ​​the workpiece. These multiple different imaging devices acquire precise images of the defective area from different angles.

[0082] In step S408, defect location is performed based on the precise image to generate defect information. The defect information may specifically include various parameters of the workpiece, such as precise dimensions, precise shape, precise coordinate position, and material type.

[0083] Figure 5 This is a flowchart illustrating a method for handling defects in a workpiece according to another exemplary embodiment. Figure 5 The process shown in step 50 is... Figure 2 The flowchart shows a detailed description of S210, "In the defect processing area, the third picking transmission device dynamically processes the defects in the workpiece based on the defect information."

[0084] like Figure 5 As shown, in S502, in the defect processing area, a repair instrument and a repair plan are determined based on the defect information. The repair instrument can be determined based on the defect type in the defect information; the repair plan is determined based on the defect information and the repair instrument, and the repair plan includes operation instructions, operation sequence, operation intensity, and operation time.

[0085] In S504, the real-time status information of the workpiece is acquired. During the workpiece processing, as the repair progresses, the workpiece's status changes in real time. Acquiring the real-time status information of the workpiece is crucial for generating a dynamic processing plan.

[0086] In step S506, the real-time status information of the repair instrument is acquired. Processing tools and repair instruments, such as cloth wheels or cutter heads, will wear down after prolonged use, changing their dimensions compared to their new size. If the movement trajectory is calculated based on the new dimensions, there will often be a wear error relative to the actual defect area, resulting in inaccurate processing. Therefore, the status information of the repair instrument is acquired in real time during the repair process.

[0087] In S508, the repair plan is dynamically updated based on the real-time status information of the workpiece and the repair instrument.

[0088] Real-time monitoring of the workpiece position and defect areas allows for the acquisition of accurate three-dimensional coordinates. Regardless of any inherent errors in the pick-and-place mechanism or the workpiece itself, only the current position is considered, avoiding cumulative errors. This method avoids the cumulative error effect. For example, real-time monitoring of processing heads, such as cloth wheels and cutting heads, can be used to assess their wear and adjust the movement of the pick-and-place mechanism to achieve optimal grinding results. Furthermore, monitoring of the ground or polished area can allow for the generation of new grinding plans to achieve the final desired effect if the finished product does not meet quality requirements. After grinding or polishing, the workpiece is unloaded.

[0089] Finally, after the repair process is completed, the workpiece is inspected again using image recognition to determine whether the process is complete. If defective areas still exist, the above steps are repeated.

[0090] Those skilled in the art will understand that all or part of the steps of the above embodiments are implemented as a computer program executed by a CPU. When the computer program is executed by the CPU, it performs the functions defined by the method provided in this application. The program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk.

[0091] Furthermore, it should be noted that the above figures are merely illustrative representations of the processes included in the method according to exemplary embodiments of this application, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0092] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0093] Figure 6 This is a block diagram illustrating a defect handling apparatus for a workpiece according to another exemplary embodiment. Figure 6 As shown, the workpiece defect handling device 60 includes: a first pickup transmission module 602, a defect identification module 604, a defect positioning module 606, a second pickup transmission module 608, and a third pickup transmission module 610. The workpiece defect handling device 60 may also include: a model module 612.

[0094] The first pickup transmission module 602 is used to control the first pickup transmission device to pick up the workpiece and send it into the defect identification area. The defect identification module 604 is used to identify defects in the workpiece in the defect identification area using a defect identification model and generate defect identification results. The defect location module 606 is used to locate the defect in the workpiece to generate defect information when the defect identification result contains a defect; The second pickup transmission module 608 is used to control the second pickup transmission device to send the workpiece into the defect processing area. The third pickup transmission module 610 is used to control the third pickup transmission device in the defect processing area to dynamically process the defects in the workpiece based on the defect information.

[0095] The model module 612 is used to generate a three-dimensional sample of the workpiece; generate multiple defect samples using the three-dimensional sample and the attribute information of the workpiece; and train a machine learning model using the multiple defect samples to generate the defect recognition model.

[0096] According to the workpiece defect handling device of this application, a first picking and conveying device picks up the workpiece and sends it into a defect identification area; in the defect identification area, the workpiece is defect-identified by a defect identification model to generate a defect identification result; when the defect identification result contains a defect, the defect in the workpiece is located to generate defect information; a second picking and conveying device sends the workpiece into a defect handling area; and a third picking and conveying device in the defect handling area dynamically processes the defect in the workpiece based on the defect information. This method can accurately identify the defects in the workpiece and automatically repair them, optimize the workpiece defect handling process, and improve workpiece processing efficiency.

[0097] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment.

[0098] The following reference Figure 7 To describe an electronic device 700 according to this embodiment of the present application. Figure 7 The electronic device 700 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0099] like Figure 7 As shown, the electronic device 700 is presented in the form of a general-purpose computing device. The components of the electronic device 700 may include, but are not limited to: at least one processing unit 710, at least one storage unit 720, a bus 730 connecting different system components (including storage unit 720 and processing unit 710), a display unit 740, etc.

[0100] The storage unit stores program code that can be executed by the processing unit 710, causing the processing unit 710 to perform the steps described in this specification according to various exemplary embodiments of this application. For example, the processing unit 710 can perform actions such as... Figure 2 , Figure 3 , Figure 4 , Figure 5 The steps are shown in the figure.

[0101] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 7201 and / or a cache storage unit 7202, and may further include a read-only memory unit (ROM) 7203.

[0102] The storage unit 720 may also include a program / utility 7204 having a set (at least one) program module 7205, such program module 7205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0103] Bus 730 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0104] Electronic device 700 can also communicate with one or more external devices 700' (e.g., keyboard, pointing device, Bluetooth device, etc.), enabling users to communicate with devices that interact with electronic device 700, and / or any device (e.g., router, modem, etc.) that allows electronic device 700 to communicate with one or more other computing devices. This communication can be performed via input / output (I / O) interface 750. Furthermore, electronic device 700 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 760. Network adapter 760 can communicate with other modules of electronic device 700 via bus 730. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0105] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software, or by combining software with necessary hardware. Therefore, as... Figure 8 As shown, the technical solution according to the embodiments of this application can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, mobile hard drive, etc.) or on a network, and includes several instructions to cause a computing device (such as a personal computer, server, or network device, etc.) to execute the above-described method according to the embodiments of this application.

[0106] The software product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0107] The computer-readable storage medium may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0108] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0109] The aforementioned computer-readable medium carries one or more programs. When these programs are executed by a device, the computer-readable medium performs the following functions: a first picking and conveying device picks up a workpiece and sends it into a defect identification area; in the defect identification area, a defect identification model is used to identify defects in the workpiece, generating a defect identification result; when the defect identification result contains a defect, the defect in the workpiece is located to generate defect information; a second picking and conveying device sends the workpiece into a defect processing area; in the defect processing area, a third picking and conveying device dynamically processes the defects in the workpiece based on the defect information. The computer-readable medium can also perform the following functions: generating a three-dimensional sample of the workpiece; generating multiple defect samples using the three-dimensional sample and the workpiece's attribute information; training a machine learning model using the multiple defect samples to generate the defect identification model.

[0110] Those skilled in the art will understand that the above modules can be distributed in the device as described in the embodiments, or they can be modified accordingly and placed in one or more devices that are unique to this embodiment. The modules in the above embodiments can be combined into one module, or they can be further divided into multiple sub-modules.

[0111] Through the description of the above embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the methods according to the embodiments of this application.

[0112] Exemplary embodiments of this application have been specifically shown and described above. It should be understood that this application is not limited to the detailed structures, arrangements, or implementation methods described herein; rather, this application is intended to cover various modifications and equivalent arrangements contained within the spirit and scope of the appended claims.

Claims

1. A method for handling defects in a workpiece, characterized in that, include: The first picking and conveying device picks up the workpiece and sends it into the defect identification area, which includes a first darkroom and a second darkroom. In the first darkroom of the defect identification area, multiple real-time images of the workpiece are acquired through multiple imaging devices, including forming a three-dimensional image of the workpiece and its specific coordinates; and after generating a three-dimensional workpiece model based on the multiple real-time images, the three-dimensional workpiece model is input into the defect identification model to identify defects in the workpiece and generate defect identification results, including: identifying whether the workpiece has a defective area, and if so, obtaining the size and type of the defective area; When the defect identification result contains a defect, the workpiece is in a defective workpiece state and is sent into the second dark chamber in the defect identification area by the second picking and transmission device. The posture of the workpiece is adjusted according to the defect identification result, and the precise image of the workpiece is acquired by multiple imaging devices. The defect in the workpiece is located to generate defect information. After generating the defect information, the second pickup transmission device then sends the workpiece into the defect processing area. In the defect processing area, a repair instrument and a repair plan are determined based on the defect information. The repair plan includes operation instructions, operation sequence, operation intensity, and operation time. The third pick-up and transmission device picks up the repair instrument and performs dynamic processing on the workpiece according to the repair plan. The dynamic processing also includes: determining the repair instrument based on the defect type in the defect information and obtaining its real-time status information and the real-time status of the workpiece during repair to dynamically update the repair plan.

2. The method as described in claim 1, characterized in that, Also includes: Generate a 3D sample of the workpiece based on multiple images of the workpiece; Multiple defect samples are generated using the three-dimensional sample and the attribute information of the workpiece; The machine learning model is trained using the multiple defect samples to generate the defect identification model.

3. The method as described in claim 2, characterized in that, Multiple defect samples are generated using the three-dimensional sample and the attribute information of the workpiece, including: Obtain material defect information to generate a material defect library; Multiple defect models are generated based on the aforementioned material defect library; The multiple defect samples are generated using the multiple defect models and the three-dimensional samples.

4. The method as described in claim 1, characterized in that, Generating a 3D workpiece model based on the multiple real-time images includes: The workpiece is modeled in three dimensions using the multiple real-time images to generate a three-dimensional workpiece model.

5. The method as described in claim 1, characterized in that, In the second darkroom within the defect identification area, the orientation of the workpiece is adjusted based on the defect identification results, and precise images of the workpiece are acquired using multiple imaging devices, including: The defect region and defect type are extracted from the defect identification results; In the second darkroom, the shooting posture of the workpiece is adjusted according to the defect area and the defect type; Multiple imaging devices acquire precise images of the defective areas of the workpiece.

6. The method as described in claim 1, characterized in that, In the defect treatment area, the repair equipment and repair plan are determined based on the defect information, including: The repair device is determined based on the defect type in the defect information; A repair plan is determined based on the defect information and the repair device. The repair plan includes operation instructions, operation sequence, operation intensity, and operation time.

7. The method as described in claim 1, characterized in that, The third pick-up and transmission device grasps the repair instrument and performs dynamic processing on the workpiece according to the repair plan, including: Obtain the real-time status information of the workpiece; Obtain the real-time status information of the repair device; The repair plan is dynamically updated based on the real-time status information of the workpiece and the repair instrument. The third picking and transmission device picks up the repair instrument and performs dynamic processing on the workpiece according to the dynamically updated repair plan.

8. A defect handling device for a workpiece, characterized in that, include: The first pickup transmission module is used to control the first pickup transmission device to pick up the workpiece and send it into the defect identification area, the defect identification area including a first darkroom and a second darkroom. The defect identification module is used to acquire multiple real-time images of the workpiece through multiple imaging devices in the first darkroom of the defect identification area, including forming a three-dimensional image of the workpiece and its specific coordinates; and after generating a three-dimensional workpiece model based on the multiple real-time images, inputting the three-dimensional workpiece model into the defect identification model to identify defects in the workpiece and generate defect identification results, including: identifying whether the workpiece has a defect area, and if so, obtaining the size and type of the defect area; The defect localization module is used to, when the defect identification result contains a defect, send the workpiece into the second dark chamber of the defect identification area by the second picking and transmission device when the workpiece is in a defective workpiece state, adjust the posture of the workpiece according to the defect identification result, and acquire accurate images of the workpiece through multiple imaging devices in the second dark chamber, and locate the defect in the workpiece to generate defect information. The second pickup transmission module is used to control the second pickup transmission device to send the workpiece into the defect processing area after the defect information is generated. The third pickup and transmission module is used in the defect processing area to determine the repair instrument and repair plan based on the defect information. The repair plan includes operation instructions, operation sequence, operation intensity, and operation time. The third pickup and transmission device picks up the repair instrument and performs dynamic processing on the workpiece according to the repair plan. The dynamic processing also includes: determining the repair instrument based on the defect type in the defect information and obtaining its real-time status information and the real-time status of the workpiece during repair to dynamically update the repair plan.

9. A defect handling system for a workpiece, characterized in that, Includes performing the method as claimed in any one of claims 1-7: The first pick-up transmission device is used to pick up the workpiece and send it into the defect identification area; The second pick-up transmission device is used to send the workpiece into the defect processing area; A defect identification area is used to place the workpiece for defect identification and / or defect location to generate defect information. The defect identification area includes a first darkroom and a second darkroom, and multiple imaging devices are provided in both the first darkroom and the second darkroom. The third picking and transmission device is used to dynamically process the defects in the workpiece based on the defect information.

Citation Information

Patent Citations

  • Heterogeneous part intelligent dual robot detection grinding and polishing system and machining method

    CN111633549A

  • A component weld joint surface defect identifying, positioning and grinding method, controller and system

    CN113379704A

  • Increasing and decreasing composite intelligent repairing method for metal parts of medical apparatus and instruments

    CN114511604A