Product appearance defect identification, processing and sorting equipment and method

By introducing QR code scanner and automated light source control in product appearance defect identification, processing and sorting equipment, combining six-axis robotic arms and adhesive devices, the problem of low detection efficiency in the existing technology is solved, and the multi-purpose The rapid and automated inspection and processing of products improves production efficiency.

CN118874875APending Publication Date: 2024-11-01NINGBO CSTAR PRECISION MACHINE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411246564.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The prior art cannot quickly and conveniently detect the appearance defects of various products, and requires multiple adjustments to parameters, which affects the debugging and production efficiency of on-site personnel.

Method used

A device including a controller, feeding rack, detection mechanism, defect handling device and re-inspection mechanism is designed. The information of the product's unique identification is transmitted through the QR code scanner, and the upper and lower light sources are automatically controlled for defect detection and processing. , combine six-axis robotic arms and adhesive devices to achieve automated sorting.

Benefits of technology

It realizes rapid and automated control of light sources, improves the efficiency of dirty detection and treatment of various products, simplifies the debugging process, and improves production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118874875A_ABST
    Figure CN118874875A_ABST
Patent Text Reader

Abstract

The invention discloses product appearance defect identification, processing and sorting equipment and method, the equipment comprises a controller, a feeding frame for erecting a material tray, a feeding mechanism, an operation platform, a detection mechanism, a defect processing device and a reinspection mechanism, and the detection mechanism and the reinspection mechanism each comprise a camera, an upper light source and a lower light source; the device further comprises a two-dimensional code scanner which is electrically connected with the controller and used for transmitting recognized two-dimensional code information of unique identification of the to-be-detected product on the material tray to the controller. The controller calls the illumination mode of the to-be-tested product corresponding to the two-dimensional code information to control the upper light source and the lower light source; the system has the advantages that the two-dimensional code scanner is additionally arranged to transmit recognized two-dimensional code information of the to-be-tested product to the controller, and the controller calls the illumination mode of the to-be-tested product corresponding to the two-dimensional code information to control the upper light source and the lower light source; therefore, the equipment can quickly and automatically control the required light source and is suitable for smudginess detection and treatment of the to-be-detected product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of product sorting, and in particular to a device and method for identifying, processing and sorting product appearance defects. Background Art

[0002] During the production and transportation of products, dirt and adhesion will affect the use of products. The existing technology cannot detect multiple products and requires multiple parameter adjustments for inspection, which is not conducive to the debugging of on-site personnel and normal product production. The present invention is to solve the defects of the existing technology, and can quickly and conveniently detect multiple products and automatically control the required light source for defect detection. Summary of the invention

[0003] A technical problem to be solved by the present application is to overcome the defects of the above-mentioned related technologies and provide a device and method for automatically controlling the light source required for product appearance defect identification, processing and sorting.

[0004] The technical solution adopted by the product appearance defect identification, processing and sorting equipment to solve the technical problems is: a product appearance defect identification, processing and sorting equipment, including a controller, a loading rack for mounting a material tray, a loading mechanism, an operating platform, a detection mechanism, a defect processing device and a re-inspection mechanism, the detection mechanism and the re-inspection mechanism both include a camera, an upper light source and a lower light source, the loading mechanism, the operating platform, the detection mechanism, the defect processing device and the re-inspection mechanism are electrically connected to the controller respectively; it also includes a two-dimensional code scanner, the two-dimensional code scanner is electrically connected to the controller, and is used to transmit the identified two-dimensional code information of the unique identification of the product to be tested on the material tray to the controller; the controller calls the illumination mode of the product to be tested corresponding to the two-dimensional code information to control the upper light source and the lower light source.

[0005] Compared with related technologies, this product's appearance defect identification, processing and sorting equipment has the following advantages: a QR code scanner is added to transmit the QR code information of the unique identification of the product to be tested on the tray to the controller, and the controller calls the QR code information to control the upper light source and the lower light source corresponding to the lighting mode of the product to be tested, so that this equipment can quickly and automatically control the required light source for dirt detection and processing of the product to be tested.

[0006] Preferably, the defect handling device is a gluing device, which includes a first storage tray for the glue adsorption head, a second storage tray for the glue adsorption head, a carrying rod for the glue adsorption head and a three-coordinate displacement mechanism thereof, wherein a plurality of glue adsorption head storage holes are arranged on the first storage tray for the glue adsorption head and the second storage tray for the glue adsorption head and are respectively connected to both sides of the belt mechanism, and the three-coordinate displacement mechanism and the belt mechanism are electrically connected to the controller. The adhesion capacity of red glue is limited and needs to be replaced in time.

[0007] Preferably, the loading rack comprises a door-shaped frame with rollers at the bottom and a material tray, the material tray is arranged in layers and slidably connected to the door-shaped frame on both sides, each material tray is provided with multiple material rows, each material row frame is provided with a plurality of V-shaped material troughs, and the product to be tested is vertically inserted into the V-shaped material trough. The loading rack can be transported as a whole, and the overall arrangement is regular, and the suction operation of the product to be tested is more convenient and effective.

[0008] As an improvement, it also includes a tray traction mechanism, which includes a traction frame, a traction claw and a vertical and translational driving mechanism thereof, wherein the traction claw is used to push an empty tray to a side of the upper material rack away from the feeding mechanism, and to pull a tray to be taken to a side of the upper material rack close to the feeding mechanism. The tray replacement operation can be automatically controlled.

[0009] Preferably, the feeding mechanism is a six-axis robot arm, and a suction cup is provided at the material taking end of the six-axis robot arm, and a plurality of vacuum holes are arranged on the suction cup. The six-axis robot arm does not need to undertake the operation of replacing the material tray, and the material taking function of the six-axis robot arm is more specific; the design of multiple vacuum holes can adapt to the suction operation of various styles of products.

[0010] The technical solution adopted by the method for identifying, processing and sorting product appearance defects to solve the technical problem is: a method for identifying, processing and sorting product appearance defects. The steps of processing the product using the above-mentioned product appearance defect identification, processing and sorting equipment are as follows:

[0011] S1 The QR code scanner scans and identifies the QR code of the material tray of the loading rack, and the controller queries whether the QR code has a pre-stored illumination mode corresponding to the product to be tested; if so, the upper light source and the lower light source of the detection mechanism, the camera mechanism and the re-inspection mechanism are controlled to be turned on according to the illumination mode of the product to be tested corresponding to the QR code, otherwise the manual adjustment mode is entered in step S3;

[0012] S2 feeding mechanism takes out the product to be tested from the feeding rack and puts it into the mold frame of the feeding station on the operating platform;

[0013] S3: The product to be tested is rotated to the testing station, and the testing mechanism collects the image of the product to be tested, performs template matching, position correction and defect detection, and if there is a defect, proceeds to step S4; if the product to be tested is qualified, it is operated station by station to enter step S8; in the manual adjustment mode, the upper light source, lower light source and camera of the testing mechanism are gradually fine-tuned, and after the testing mechanism is adjusted to be able to clearly capture the features of the product to be tested, the illumination mode and reference image of the product to be tested are saved, and the camera mechanism and re-inspection mechanism are synchronously adjusted with the illumination mode;

[0014] S4 The product to be tested is rotated to the calibration station, and the camera mechanism takes photos to record the defect location;

[0015] S5 The products to be tested are transferred to the sorting station, and the sorting mechanism puts the unqualified products to be tested into the waste box;

[0016] S6 The product to be tested is rotated to the defect processing station, and the gluing device removes the dirt at the defect position;

[0017] S7 The product to be tested is rotated to the re-inspection station, and the re-inspection mechanism takes a photo to detect whether the defect position has been cleared. If so, it goes to step S8, otherwise the product to be tested continues to rotate to the inspection station and starts the next round of processing from step S3;

[0018] S8 The product to be tested is rotated to the unloading station, and the unloading mechanism takes the qualified product out of the mold frame and puts it into the product frame.

[0019] Compared with the related technologies, the method for identifying, processing and sorting appearance defects of products has the following advantages: the QR code information of the unique identification of the product to be tested on the material tray is transmitted to the controller through an additional QR code scanner, and the controller calls the lighting mode of the product to be tested corresponding to the QR code information to control the upper light source and the lower light source, so that the device can quickly and automatically control the required light source for dirt detection and processing of the product to be tested; after querying that there is no corresponding product to be tested for the QR code information, the manual adjustment mode is entered, and the upper light source, the lower light source and the camera of the detection mechanism are gradually fine-tuned after the product to be tested enters the detection station. After the detection mechanism is adjusted to be able to clearly collect the characteristics of the product to be tested, the lighting mode and the reference image of the product to be tested are saved, and the camera mechanism and the re-inspection mechanism are synchronously adjusted with the lighting mode, so as to quickly reuse and complete product expansion.

[0020] Preferably, in step S4, the photographing mechanism compares the current image with a pre-stored reference image, takes the difference between the current image and the reference image as a correction value, and extracts the corrected image; the defect position is obtained by defect detection, and the defect detection is performed by comparing the corrected image with the reference image to obtain a defect feature image, and the difference in grayscale between the defect feature image and the reference image is calculated. When the difference exceeds a set threshold, it is determined that there is a defect, otherwise it is determined that there is no defect.

[0021] As an improvement, in step S1, after all the products to be tested in a certain layer of trays on the loading rack are taken out, the traction claw of the tray traction mechanism pushes the trays of that layer to the side away from the loading mechanism under the drive of its vertical and translational drive mechanism, and then moves the traction claw downward to pull the fully loaded trays of the next layer to the side of the loading rack close to the loading mechanism.

[0022] As an improvement, in step S6, the glue adsorption head of the gluing device is replaced after being contaminated several times.

[0023] As an improvement, in step S6, after the glue absorption heads on the first storage tray of glue absorption heads or the second storage tray of glue absorption heads are used, the first storage tray of glue absorption heads and the second storage tray of glue absorption heads are exchanged through a belt mechanism, the used glue absorption heads are cleaned and dried for standby use, and the clean glue absorption heads are coated with red glue and placed in the rotated storage tray. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a three-dimensional diagram of the product appearance defect identification, processing and sorting equipment of the present invention.

[0025] Figure 2 It is a stereoscopic diagram of the detection mechanism / photographing mechanism / re-inspection mechanism of the present invention.

[0026] Figure 3 It is a three-dimensional diagram of the gluing device of the present invention.

[0027] Description of reference numerals:

[0028] 1. Loading rack, 2. Material tray traction mechanism, 3. Six-axis robotic arm, 4. Detection mechanism, 41. Upper light source, 42. Lower light source, 43. Camera, 5. Photographing mechanism, 6. Gluing device, 61. Glue adsorption head, 62. Carrying rod, 63. First storage tray of glue adsorption head, 64. Second storage tray of glue adsorption head, 65. Three-coordinate displacement mechanism, 66. Belt mechanism, 7. Re-inspection mechanism, 8. Unloading mechanism, 9. Qualified product receiving device, 10. The above-mentioned two-dimensional code scanner. DETAILED DESCRIPTION

[0029] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the embodiments of the present application, and are not intended to limit the protection scope of the embodiments of the present application. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.

[0030] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0031] The product appearance defect recognition, processing and sorting equipment of the present invention is as follows Figure 1As shown, it includes a controller, a loading rack 1, a loading mechanism, a running platform, a detection mechanism 4, a photographing mechanism 5, a sorting mechanism, a defect handling device, a re-inspection mechanism 7, a feeding mechanism 8 and a qualified product receiving device 9. The detection mechanism 4, the photographing mechanism 5 and the re-inspection mechanism 7 all include a camera 43, an upper light source 41 and a lower light source 42. The loading mechanism, the running platform, the detection mechanism 4, the photographing mechanism 5, the sorting mechanism (not shown in the figure), the defect handling device, the re-inspection mechanism 7 and the feeding mechanism 8 are electrically connected to the controller respectively, and also include a two-dimensional code scanner 10, which is connected to the controller and is used to transmit the two-dimensional code information of the unique identification of the product to be tested on the material tray scanned to the controller; the controller calls the illumination mode of the product to be tested corresponding to the two-dimensional code information to control the upper light source 41 and the lower light source 42. The controller adopts a PLC controller, and 8 mold frames evenly distributed in the left and right circumferential directions are provided on the running platform for setting up the product to be tested.

[0032] The defect handling device is a gluing device 6, which includes a first storage tray 63 for the glue adsorption head, a second storage tray 64 for the glue adsorption head, a carrying rod 62 for the glue adsorption head 61 and a three-coordinate displacement mechanism 65 thereof. The first storage tray 63 for the glue adsorption head and the second storage tray 64 for the glue adsorption head are provided with a plurality of storage holes for the glue adsorption head 61 and are respectively connected to the two sides of the belt mechanism 66. The three-coordinate displacement mechanism 65 and the belt mechanism 66 are electrically connected to the controller. The glue adsorption head 61 is attached with red glue.

[0033] The loading rack 1 includes a door-shaped frame with rollers at the bottom and a material tray. The material tray is arranged in layers and slidably connected to the door-shaped frame on both sides. Three material rows are arranged in each material tray, and a plurality of V-shaped material troughs are arranged in each material row frame. The product to be tested is vertically inserted into the V-shaped material trough to facilitate the removal of the product to be tested.

[0034] It also includes a tray traction mechanism 2, which includes a traction frame, a traction claw and a vertical and translational drive mechanism. The traction claw is used to push an empty tray to the side of the upper material rack 1 away from the loading mechanism, and is used to pull the tray to be taken to the side of the loading rack 1 close to the loading mechanism.

[0035] The feeding mechanism is a six-axis robot arm 3 , and a suction cup is provided at the material taking end of the six-axis robot arm 3 , and a plurality of vacuum holes are arranged on the suction cup.

[0036] The method for processing the product to be tested by using the above-mentioned product appearance defect recognition, processing and sorting equipment specifically comprises the following steps:

[0037] S1 The QR code scanner 10 scans and identifies the QR code of the material tray of the loading rack 1, and the controller queries whether the QR code has a pre-stored illumination mode corresponding to the product to be tested; if so, the upper light source 41 and the lower light source 42 of the detection mechanism 4, the photographing mechanism 5 and the re-inspection mechanism 7 are controlled to be turned on according to the illumination mode of the product to be tested corresponding to the QR code, otherwise it enters the manual adjustment mode;

[0038] S2 feeding mechanism takes out the product to be tested from the feeding rack 1 and puts it into the mold frame of the feeding station on the operating platform;

[0039] S3 The product to be tested is rotated to the testing station, and the testing mechanism 4 collects the image of the product to be tested, performs template matching, position correction and defect detection, and if there is a defect, it proceeds to step S4. If the product to be tested is qualified, it moves to each station and enters step S8;

[0040] S4 The product to be tested is rotated to the testing station, and the camera mechanism 5 takes a photo to record the defect position;

[0041] S5 The products to be tested are rotated to the sorting station, and the sorting mechanism puts the unqualified products to be tested into a waste box (not shown in the figure);

[0042] S6 The product to be tested is rotated to the defect processing station, and the gluing device 6 removes the dirt at the defect position;

[0043] S7: the product to be tested rotates to the re-inspection station, and the re-inspection mechanism 7 takes a photo to detect whether the defect position has been cleared. If so, it goes to step S8; otherwise, the product to be tested continues to rotate to the inspection station, and the next round of processing starts from step S3;

[0044] S8 The product to be tested is rotated to the unloading station, and the unloading mechanism 8 takes the qualified product out of the mold frame and puts it into the product frame.

[0045] During the gradual operation of the operating platform, a piece of the product to be tested will be loaded into the mold frame of each workstation to improve operating efficiency.

[0046] In step S4, the camera mechanism 5 compares the current image with the pre-stored reference image, takes the difference between the current image and the reference image as the correction value, and extracts the correction image; the defect position is obtained by defect detection, and the defect detection is performed by comparing the correction image with the reference image to obtain the defect feature image, and the difference between the defect feature image and the reference image in terms of grayscale is calculated. When the difference exceeds the set threshold, it is determined that there is a defect, otherwise it is determined that there is no defect. This method mainly detects defects on the surface of the product, such as dust, dirt, black spots, dots, burrs and other defects, and whether the overall appearance of the product meets the requirements; the defect feature image is obtained by using methods such as image transformation, image enhancement, image feature extraction, template matching and threshold segmentation.

[0047] In step S1, after all the products to be tested in a certain layer of trays on the loading rack 1 are taken out, the traction claw of the tray traction mechanism 2 pushes the tray of that layer to the side away from the loading mechanism under the drive of its vertical and translational drive mechanism, and then moves the traction claw downward to pull the fully loaded trays of the next layer to the side of the loading rack 1 close to the loading mechanism.

[0048] In step S6, the glue adsorption head 61 of the gluing device 6 is replaced after being cleaned of dirt several times.

[0049] In step S6, after the glue adsorption heads 61 on the first glue adsorption head storage tray 63 or the second glue adsorption head storage tray 64 are used, the first glue adsorption head storage tray 63 and the second glue adsorption head storage tray 64 are exchanged through the belt mechanism 66, and the used glue adsorption heads 61 are cleaned and dried for standby use, and the clean glue adsorption heads 61 are coated with red glue and placed in the rotated storage tray.

[0050] In this embodiment, the camera head 43 adopts the camera MV-CH250-90UM with a lens SA3520M-10MP; the upper light source of the detection mechanism 4 and the photographing mechanism 5 adopts the lamp JL-HAR170, the upper light source of the re-inspection mechanism 7 adopts the lamp JL-LAR100, the lower light source of the detection mechanism 4 and the photographing mechanism 5 adopts the lamp JL-AR15130, and the lower light source of the re-inspection mechanism 7 adopts the lamp JL-DM-70.

[0051] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A product appearance defect recognition, processing and sorting device, comprising a controller, a loading rack for mounting a material tray, a loading mechanism, a running platform, a detection mechanism, a defect processing device and a re-inspection mechanism, wherein the detection mechanism and the re-inspection mechanism both comprise a camera, an upper light source and a lower light source, and the loading mechanism, the running platform, the detection mechanism, the defect processing device and the re-inspection mechanism are electrically connected to the controller respectively, and characterized in that: It also includes a QR code scanner, which is electrically connected to the controller and is used to transmit the QR code information that uniquely identifies the product to be tested on the material tray to the controller; the controller calls the lighting mode of the product to be tested corresponding to the QR code information to control the upper light source and the lower light source.

2. The product appearance defect identification, processing and sorting equipment according to claim 1, characterized in that: The defect handling device is a gluing device, which includes a first storage tray for a glue adsorption head, a second storage tray for a glue adsorption head, a carrying rod for the glue adsorption head and a three-coordinate displacement mechanism thereof. A plurality of glue adsorption head storage holes are arranged on the first storage tray for the glue adsorption head and the second storage tray for the glue adsorption head and are respectively connected to both sides of a belt mechanism. The three-coordinate displacement mechanism and the belt mechanism are electrically connected to a controller.

3. The product appearance defect identification, processing and sorting equipment according to claim 1 or 2, characterized in that: The loading rack includes a door-shaped frame with rollers at the bottom and a material tray. The material tray is arranged in layers and slidingly connected to the door-shaped frame on both sides. Each material tray is provided with multiple row frames, and each row frame is provided with a plurality of V-shaped material troughs. The product to be tested is vertically inserted into the V-shaped material trough.

4. The product appearance defect identification, processing and sorting equipment according to claim 3, characterized in that: It also includes a tray traction mechanism, which includes a traction frame, a traction claw and a vertical and translational drive mechanism. The traction claw is used to push an empty tray to the side of the upper material rack away from the loading mechanism, and is used to pull the tray to be taken to the side of the loading rack close to the loading mechanism.

5. The product appearance defect identification, processing and sorting equipment according to claim 1 or 2, characterized in that: The feeding mechanism is a six-axis robotic arm, a suction cup is provided at the material taking end of the six-axis robotic arm, and a plurality of vacuum holes are arranged on the suction cup.

6. A method for identifying, processing and sorting product appearance defects, characterized in that: The specific steps of processing the product to be tested by using the product appearance defect identification, processing and sorting device according to any one of claims 1 to 5 are as follows: S1 The QR code scanner scans and identifies the QR code of the material tray of the loading rack, and the controller queries whether the QR code has a pre-stored illumination mode corresponding to the product to be tested; if so, the upper light source and the lower light source of the detection mechanism, the camera mechanism and the re-inspection mechanism are controlled to be turned on according to the illumination mode of the product to be tested corresponding to the QR code, otherwise the manual adjustment mode is entered in step S3; S2 feeding mechanism takes out the product to be tested from the feeding rack and puts it into the mold frame of the feeding station on the operating platform; S3: The product to be tested is rotated to the testing station, and the testing mechanism collects the image of the product to be tested, performs template matching, position correction and defect detection, and if there is a defect, proceeds to step S4; if the product to be tested is qualified, it is operated station by station to enter step S8; in the manual adjustment mode, the upper light source, lower light source and camera of the testing mechanism are gradually fine-tuned, and after the testing mechanism is adjusted to be able to clearly capture the features of the product to be tested, the illumination mode and reference image of the product to be tested are saved, and the camera mechanism and re-inspection mechanism are synchronously adjusted with the illumination mode; S4 The product to be tested is rotated to the calibration station, and the camera mechanism takes photos to record the defect location; S5 The products to be tested are transferred to the sorting station, and the sorting mechanism puts the unqualified products to be tested into the waste box; S6 The product to be tested is rotated to the defect processing station, and the gluing device removes the dirt at the defect position; S7 The product to be tested is rotated to the re-inspection station, and the re-inspection mechanism takes a photo to detect whether the defect position has been cleared. If so, it goes to step S8, otherwise the product to be tested continues to rotate to the inspection station and starts the next round of processing from step S3; S8 The product to be tested is rotated to the unloading station, and the unloading mechanism takes out the qualified product from the mold frame and puts it into the product frame.

7. The method for identifying, processing and sorting product appearance defects according to claim 6, characterized in that: In step S4, the camera mechanism compares the current image with the pre-stored reference image, takes the difference between the current image and the reference image as a correction value, and extracts a corrected image; The defect position is obtained by defect detection. The defect detection is performed by comparing the corrected image with the reference image to obtain the defect feature image. The difference in grayscale between the defect feature image and the reference image is calculated. When the difference exceeds the set threshold, it is determined that there is a defect, otherwise it is determined that there is no defect.

8. The method for identifying, processing and sorting product appearance defects according to claim 6, characterized in that: In step S1, after all the products to be tested in a certain layer of trays on the loading rack are taken out, the traction claw of the tray traction mechanism pushes the trays of that layer to the side away from the loading mechanism under the drive of its vertical and translational drive mechanism, and then moves the traction claw downward to pull the fully loaded trays of the next layer to the side of the loading rack close to the loading mechanism.

9. The method for identifying, processing and sorting product appearance defects according to claim 6, characterized in that: In step S6, the glue adsorption head of the gluing device is replaced after being cleaned several times.

10. The method for identifying, processing and sorting product appearance defects according to claim 9, characterized in that: In step S6, after the glue adsorption heads on the first storage tray of glue adsorption heads or the second storage tray of glue adsorption heads are used, the first storage tray of glue adsorption heads and the second storage tray of glue adsorption heads are exchanged through a belt mechanism, the used glue adsorption heads are cleaned and dried for standby use, and the clean glue adsorption heads are coated with red glue and placed in the rotated storage tray.