Detection device and detection method based on multifunctional integrated light source

Through the multi-functional integrated light source detection device, combined with surface-shaped and tunnel-shaped diffuse light sources, and by adjusting the brightness ratio, the problem of traditional detection being difficult to be compatible with multiple defects is solved, and efficient and low-cost printing product quality detection is achieved, adapting to A variety of products and scenarios.

CN118731044APending Publication Date: 2024-10-01BEIJING DAHENG IMAGE VISION CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410859336.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional printing product quality inspection is difficult to be compatible with the detection of surface and printing defects. It requires two different sets of inspection devices, resulting in high cost, large space occupation, and difficulty in adapting to multiple defect types.

Method used

Using a detection device based on a multi-functional integrated light source, by combining surface-shaped and tunnel-shaped diffuse light sources, and by adjusting the brightness ratio of the two light sources, simultaneous detection of surface and printing defects is achieved.

Benefits of technology

It enables a single device to detect multiple defect types at the same time, reduces costs, adapts to a variety of products, improves the integration and scope of detection, and reduces space occupation through the use of reflectors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118731044A_ABST
    Figure CN118731044A_ABST
Patent Text Reader

Abstract

The invention discloses a detection device and method based on a multifunctional integrated light source, and relates to the technical field of printing product quality detection.The device comprises a first illumination light source, a second illumination light source, an acquisition system and a reflector, and a light inlet and a light outlet are symmetrically formed in the two sides of a tunnel-shaped diffusion plate of the second illumination light source; light rays of the first illumination light source are emitted to a detection area in the center position under the second illumination light source through the light inlet, the reflector collects light rays emitted from the light outlet and reflects the light rays to the acquisition system, and the acquisition system is used for acquiring product images. When a product is detected, the brightness ratio of the first illumination light source to the second illumination light source is adjusted according to the detected defect type so as to realize detection of one or more types of defects; according to the technical scheme, a single set of device is used for achieving detection of surface type defects and printing type defects, different detection effects are achieved by adjusting different light source brightness ratios, and the device has the advantages of being small in occupied space, low in cost and high in multi-scene adaptability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of printing product quality detection, and in particular, to a detection device and a detection method based on a multifunctional integrated light source. Background Art

[0002] In the global printing industry, China's printing industry has first-class design level and high-quality printing services. Exquisite design (such as hot stamping, laser, etc.), complex technology, strict quality requirements, bring huge challenges to the production of printing plants. At the same time, users have higher and higher requirements for printing quality, which makes printing plants have higher and higher requirements for printing quality testing. It is also becoming increasingly important to improve the testing capabilities of printed products and optimize the testing methods.

[0003] Traditional printing product quality inspection is mainly divided into surface defect inspection and printing defect inspection. Among them, surface defects include scratches, bumps, deviations, etc. These defects are usually inspected by the following method: incident light is used to illuminate the product, and a surface detector is used to receive reflected light to obtain an image containing surface information, the image is processed, and finally the defects are detected; printing defects include color difference, missing prints, knife wires, etc. These defects are usually inspected by the following method: diffuse light is used to illuminate the product surface, and a detector is used to receive diffuse light information to obtain an image containing printing information, the image is processed, and finally the defects are detected. Since the image information of the two types of defects is obtained in different ways, the detection methods used are also different. For a type of defect detection device, it is difficult to be compatible with multiple defect types and cannot meet multi-scenario applications. When traditional printed products are inspected, two sets of detection devices are usually used at the same time. Two sets of detection devices are used to make quality judgments on surface defects and printing defects respectively. This detection mode requires a large space and has a high investment cost. Summary of the invention

[0004] The purpose of this application is to use an integrated light source detection device to detect two types of defects, including surface defects and printing defects. By adjusting the brightness ratio of the two lighting sources in the integrated light source, different detection effects can be obtained, the detection device can be simplified, and real-time detection and defect classification of printed products can be more conveniently realized.

[0005] The technical solution of the present application is: to provide a detection device based on a multifunctional integrated light source, the device comprising: a first lighting light source, a second lighting light source and a collection system;

[0006] The second illumination light source includes a tunnel-shaped diffusion plate and lamp beads, the lamp beads are arranged on the inner side of the tunnel-shaped diffusion plate near its edge, the light of the lamp beads is reflected by the tunnel-shaped diffusion plate to the detection area directly below the second illumination light source, and the light inlet and the light outlet are symmetrically arranged on both sides of the tunnel-shaped diffusion plate;

[0007] The first illumination light source is arranged on the light entrance, and the light of the first illumination light source is emitted to the detection area directly below the second illumination light source through the light entrance, and the detection area is used to place the target product;

[0008] The collection system is arranged outside the light outlet, and is located on the reflection path after the light of the first illumination light source irradiates the target product, and is used to receive the light emitted from the light outlet and collect the image of the target product.

[0009] Furthermore, the detection area is located at a central position directly below the second illumination light source, and the second illumination light source is arranged directly above the conveying device, and the central axis of its tunnel-shaped diffuser is perpendicular to the upper surface of the conveying device. The two side edges of the second illumination light source are close to the conveying device, and the center of the detection area is located on the central line of the conveying device.

[0010] Furthermore, the angle between the straight line where the center of the light entrance and the center of the detection area are located and the horizontal direction is 30° to 50°, the angle between the straight line where the center of the light exit and the center of the detection area are located and the horizontal direction is 30° to 50°, and the center of the light entrance and the center of the light exit are symmetrical about the normal line of the center position of the detection area.

[0011] Furthermore, the detection device based on the multifunctional integrated light source also includes a reflector, which is arranged on the outside of the light outlet. The reflector is located on the reflection path after the light of the first illumination light source irradiates the target product. The reflector is used to collect the light emitted from the light outlet through a mirror surface and reflect the emitted light to the collection system.

[0012] Furthermore, the light emitting end of the lamp bead is vertically oriented toward the inner side of the tunnel-shaped diffusion plate, and the light emitted by the lamp bead is reflected by the tunnel-shaped diffusion plate and then irradiated to the target product in the detection area.

[0013] Furthermore, the first illumination light source includes a planar diffuser and an internal light source. The planar diffuser is arranged in parallel with the internal light source. Light from the internal light source is diffused by the planar diffuser and then irradiated onto the target product in the detection area.

[0014] The present application also provides a detection method based on a multifunctional integrated light source, which is used in a detection device based on a multifunctional integrated light source, and is characterized in that the detection method includes:

[0015] Step 1, a detection device is arranged on the conveying device, the second illumination light source is adjusted so that the central axis of the tunnel-shaped diffusion plate intersects perpendicularly with the central line of the conveying device, and the first illumination light source is adjusted so that its light passes through the light inlet on one side of the second illumination light source and is emitted to the detection area at the central position directly below the second illumination light source;

[0016] Step 2, identifying the target product on the conveying device and feeding back to the control module, while the control module receives an external detection instruction for specifying the defect type, and adjusts the brightness of the first lighting source and the second lighting source according to the type of the target product and the detection instruction. When detecting surface defects of the target product, step 3 is executed, when detecting printing defects of the target product, step 4 is executed, and when detecting surface defects and printing defects of the target product at the same time, step 5 is executed;

[0017] Step 3, adjusting the brightness ratio of the first illumination light source and the second illumination light source to a first threshold range corresponding to the type of product, and using the acquisition system to photograph the target product in the inspection area, wherein the first threshold range is a brightness ratio range that can clearly photograph the surface defects of the target product;

[0018] Step 4: adjust the brightness ratio of the first illumination light source and the second illumination light source to a second threshold range corresponding to the type of product, and use the acquisition system to photograph the target product in the inspection area, wherein the second threshold range is a brightness ratio range that can clearly photograph the printing defects of the target product;

[0019] Step 5: Adjust the brightness ratio of the first lighting source and the second lighting source to a third threshold range corresponding to the type of product, and use the acquisition system to photograph the target product in the inspection area, wherein the third threshold range is a brightness ratio range that can simultaneously photograph surface defects and printing defects of the target product.

[0020] Furthermore, step 1 also includes: setting a reflector on the outer side of the light outlet of the second illumination light source, adjusting the position of the reflector so that its mirror surface can collect the light emitted from the light outlet, and reflecting the reflected light of the light to the collection system.

[0021] Furthermore, the detection method also includes: the control module calculates the time when the target product arrives at the detection area and generates a collection instruction, the collection system receives the collection instruction and takes a picture after the target product arrives at the detection area to obtain an image of the target product.

[0022] Furthermore, the detection method further includes: generating a brightness ratio threshold range database for various types of products, wherein any type of product includes a first threshold range corresponding to detecting surface defects, a second threshold range corresponding to detecting printing defects, and a third threshold range corresponding to detecting both surface defects and printing defects;

[0023] The control module matches the corresponding product from the database according to the type of the target product, and determines the brightness ratio threshold range required to detect the product according to the defect type specified by the external detection instruction, and adjusts the brightness ratio of the first lighting light source and the second lighting light source according to the determined brightness ratio threshold range.

[0024] The beneficial effects of this application are:

[0025] First, the technical solution in this application combines a planar light source and a tunnel-shaped diffuse light source into an integrated light source, and achieves different detection effects by adjusting the brightness ratio of the two light sources, including adjusting the contrast of the defects in the captured image to make the image background more uniform. Different types of defects have different requirements for light sources during the detection process. Different detection devices are often used in the prior art to detect surface defects and printing defects of products respectively. This detection method involves multiple sets of detection devices, with high investment costs and a relatively cumbersome process. The technical solution in this application uses a set of detection devices to simultaneously detect two types of defects. During the detection, it is possible to highlight one type of defect alone by adjusting the brightness ratio of the two light sources, or to highlight both surface and printing defects at the same time, so as to complete the detection of one type of defect or two types of defects. Due to the different reflection characteristics of different products, by adjusting the brightness ratio of the two light sources, it can also adapt to the detection of various types of products, such as paper products and strong light column laser products.

[0026] Compared with the method in the prior art that uses two sets of detection devices to respectively judge the quality of surface and printing defects, the technical solution in the present application only needs one set of device for detection, which can adapt to the detection of various defects and can detect various types of products. It has high integration, low investment cost, multi-functional characteristics, and a wider range of applications.

[0027] Second, the technical solution in the present application sets up a reflector based on the integrated light source and collection system. The reflector can reflect the reflected light of the target product to the collection system. The position of the collection system can be adjusted by rotating the reflector, avoiding the situation where the detection device of the present application cannot be installed due to insufficient space. It can adapt to a variety of detection scenarios and occupies little space. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The advantages of the above and / or additional aspects of the present application will become apparent and easily understood in the description of the embodiments in conjunction with the following drawings, in which:

[0029] Figure 1 is a schematic diagram of the overall detection layout of a detection device based on a multifunctional integrated light source according to an embodiment of the present application;

[0030] Figure 2 is a schematic structural diagram of a second illumination light source according to an embodiment of the present application;

[0031] Figure 3 is a side view of a light emitting surface of a first illumination light source according to an embodiment of the present application;

[0032] Figure 4 is a top view of a light emitting surface of a first illumination light source according to an embodiment of the present application;

[0033] Figure 5 is an image of product A captured under the illumination of the first illumination light source;

[0034] Figure 6 is an image of product A captured under the illumination of a second illumination light source;

[0035] Figure 7 is an image of product A captured under the combined illumination of the first illumination light source and the second illumination light source;

[0036] Figure 8 Schematic diagram of the surface defect effect of product B under different brightness ratios of the first lighting source and the second lighting source;

[0037] Fig. 9 is a front view of a ring light source according to an example of the present application;

[0038] Fig.10 is a side view of a ring light source according to an example of the present application;

[0039] Fig.11 is an image of a product C illuminated by a ring light source according to an example of the present application;

[0040] Fig.12 It is an image of a product C illuminated by an integrated light source of the present application according to an example of the present application;

[0041] Among them, 1-first lighting source, 11-planar diffuser, 12-internal light source, 2-second lighting source, 21-tunnel diffuser, 22-lamp beads, 23-light inlet, 24-light outlet, 3-collection system, 4-reflector, 5-target product. DETAILED DESCRIPTION

[0042] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0043] In the following description, many specific details are elaborated to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present application is not limited to the specific embodiments disclosed below.

[0044] like Figure 1 As shown, this embodiment provides a detection device based on a multifunctional integrated light source, which is arranged on a conveying device and is used to collect defect images of a target product 5, including a first lighting light source 1, a second lighting light source 2, and a collection system 3.

[0045] The second illumination light source 2 includes a tunnel-shaped diffusion plate 21 and lamp beads 22 . The lamp beads 22 are arranged on the inner side of the tunnel-shaped diffusion plate 21 near its edge, and the light-emitting end thereof faces the inside of the tunnel-shaped diffusion plate 21 .

[0046] The second illumination light source 2 is arranged directly above the conveying device, and the central axis of its tunnel-shaped diffuser plate 21 (referring to the center line or axis of the structure) is perpendicular to the upper surface of the conveying device (the conveying device is a device for transporting products), and the edges of both sides are equidistantly close to the conveying device. The central position directly below the second illumination light source 2 is the detection area, and the detection area is used to place the target product, wherein the center of the detection area is located on the central line of the conveying device. The light-emitting end of the lamp bead 22 is vertically facing the inner side of the tunnel-shaped diffuser plate 21, and the light emitted by it is reflected by the tunnel-shaped diffuser plate 21 and irradiates the target product in the detection area. In this embodiment, the second illumination light source 2 is a tunnel light source, which is a multi-angle diffuse light source (multi-angle refers to the multiple irradiation angles of the light source to the target product 5), which is used to provide diffuse light for the target product 5.

[0047] The light inlet 23 and the light outlet 24 are symmetrically arranged on both sides of the tunnel-shaped diffuser 21. The angle between the center of the light inlet 23 and the straight line where the center of the detection area is located and the horizontal direction is in the range of 30° to 50°. The angle between the center of the light outlet 24 and the straight line where the center of the detection area is located and the horizontal direction is also in the range of 30° to 50°. When the two light outlets are arranged, the center of the light inlet 23 and the center of the light outlet 24 are symmetrical about the normal line of the center position of the detection area. Since the tunnel-shaped diffuser 21 is an axisymmetric arc device, its central axis is the symmetry axis. Figure 2 As shown, since the detection area is located directly below the second illumination light source 2 and the center of the detection area is located on the central line of the conveying device, the normal line of the center position of the detection area coincides with the central axis of the tunnel-shaped diffusion plate 21 .

[0048] The first illumination light source 1 is arranged on the light entrance port 23, and the light of the first illumination light source 1 is emitted to the detection area directly below the second illumination light source 2 through the light entrance port 23. The acquisition system 3 is arranged outside the light exit port 24. The acquisition system 3 is located on the reflection path after the light of the first illumination light source 1 irradiates the target product, and is used for receiving the light emitted by the light exit port 24 and acquiring the image of the target product.

[0049] like Figure 3 to Figure 4 As shown, the first illumination light source 1 includes a planar diffuser 11 and an internal light source 12. The planar diffuser 11 is arranged in parallel with the internal light source 12. The light of the internal light source 12 is diffused by the planar diffuser 11 and then irradiated to the target product in the detection area. The angle between the light incident from the light inlet 23 and the normal line of the center position of the detection area is 30° to 50°, and the angle between the light emitted from the light outlet 24 and the normal line of the center position of the detection area is 30° to 50°. In this embodiment, the first illumination light source 1 is a planar light source, which is used to provide uniform planar light for the target product 5. The internal light source 12 can be a broadband planar light source or a convergent light source, etc. The broadband planar light source can be a row of lamp beads (i.e., a narrow light source) or multiple rows of lamp beads. Taking a broadband planar light source with four rows of lamp beads as an example, its luminous surface is wider than a traditional strip light source. The diffuser is used to diffuse the light emitted by the lamp beads, so that after the target product 5 is irradiated by the first illumination light source 1, the imaging obtained by the acquisition system 3 is more uniform. Figure 3 For this light source, the side view of the luminous surface is as follows: Figure 4 This is a top view of the light emitting surface of the light source.

[0050] In this embodiment, a planar light source is used as the first illumination light source 1, and its illumination range is relatively concentrated and the illumination effect is relatively uniform. When the incident light irradiates the target product 5 and deformation defects (including scratches, bumps, and wrinkles) are generated on the surface of the product, the light reflection angle changes, resulting in different light energies entering the collection system 3, and the defective part produces a bright or dark effect. A tunnel light source is used as the second illumination light source 2, and the diffuse light generated by it is more uniform, which can effectively eliminate the influence of the product surface deformation on the imaging, making the imaging of the collection system 3 more uniform. After irradiating the target product 5, diffuse light is generated and enters the collection system 3, and the printing defects in the collected image are clearer. For example, when a tunnel light source is used to irradiate a strong light column laser product for image acquisition, the imaging of the strong light column laser product is more uniform, which is helpful for detecting printing defects.

[0051] In this embodiment, compared with the traditional light source, the second illumination light source 2 is provided with a light inlet 23 and a light outlet 24. The light inlet 23 is used for a passage for the light emitted by the first illumination light source 1, and the light outlet 24 is used for a passage for the light reflected by the target product 5. The angle between the incident light generated by the first illumination light source 1 and the normal (the normal refers to the normal of the plane of the target product 5 in the detection area or the normal of the detection area plane) is 30° to 50°, and the angle between the reflected light formed after the incident light is reflected by the target product 5 and the normal is 30° to 50°. The design of the light inlet 23 and the light outlet 24 combines the surface light source and the tunnel light source into an integrated light source, and also reserves space for the acquisition system 3 to collect images. The first illumination light source 1 and the second illumination light source 2 are independently controllable individuals, and can emit light separately. During use, their respective brightness can be adjusted. When the brightness ratio of the two light sources is different, the imaging of the acquisition system 3 is also different. The surface light source focuses on reflecting the surface defects of the target product 5, and the tunnel light source focuses on reflecting the printing defects of the target product 5. Therefore, different detection results can be obtained by adjusting the intensity of the two light sources. The integrated light source has multifunctional characteristics. In this embodiment, the lamp beads of all light sources are white LEDs.

[0052] The detection device based on the multifunctional integrated light source further includes a reflector 4, which is arranged outside the light outlet 24, and its mirror surface can collect the light emitted from the light outlet 24, and reflect the emitted light to the acquisition system 3, which is used to acquire the image of the target product 5. In this embodiment, the acquisition system 3 is composed of a high-resolution black-and-white or color linear array camera with a high-magnification fixed-focus lens. The acquisition system 3 is configured with a high-precision, high-speed optical path design, and can complete high-precision image acquisition for the surface of printed products.

[0053] In this embodiment, a reflector 4 can be optionally provided for the integrated light source formed by the first lighting source 1 and the second lighting source 2. The reflector 4 serves as a regulating system for the light emitted from the light outlet 24. When in use, the collecting angle and collecting position of the collecting system 3 can be adjusted by rotating the reflector 4, so that the debugging of the collecting system 3 is more flexible and the adaptability is higher.

[0054] In this embodiment, the width of the light inlet 23 can be set to 10mm~40mm, and the width of the light outlet 24 can be set to 10mm~30mm. The light inlet 23 is located on the incident path of the light emitted by the first illumination light source 1. In order to enable the acquisition system 3 to collect the reflected light generated by the light of the first illumination light source 1 on the target product 5, so as to facilitate the acquisition system 3 to perform image acquisition, it is necessary to set the light outlet 24 on the reflection path of the light emitted by the first illumination light source 1 after passing through the target product 5. Therefore, the centers of the light inlet 23 and the light outlet 24 should be symmetrical about the central axis of the second illumination light source 2. During the detection process, the target product 5 moves at high speed from the initial end to the end of the conveying device. When it moves to the detection area directly below the second illumination light source 2, the acquisition system 3 performs image acquisition.

[0055] This embodiment also provides a detection method for a detection device based on a multifunctional integrated light source, the method comprising:

[0056] Step 1, set a detection device on the conveying device, set a target recognition system upstream of the detection device, connect the target recognition system to the control module (the control module is the controller used when the detection device in this embodiment is used for detection), adjust the position of the second lighting light source 2, so that the central axis of the tunnel-shaped diffuser plate intersects the central line of the conveying device at right angles, and adjust the position of the first lighting light source 1 so that its light is directed to the detection area directly below the second lighting light source 2, wherein the center of the detection area is located on the central line of the conveying device.

[0057] In this embodiment, in order to quickly perform defect detection on the product to be inspected, the detection device based on the multifunctional integrated light source can be set on a high-speed conveying device. During detection, the target product 5 is placed in the central position of the conveying device, and the conveying device drives the target product 5 through the detection area below the detection device. Before it reaches the detection area, the upstream target recognition system will recognize the moving target product 5, and calculate the time when the target product 5 arrives at the detection area according to the current speed of the conveying device and its distance from the detection area, and generate a collection instruction to send to the collection system 3. The collection system 3 receives the collection instruction and takes a picture after the target product arrives at the detection area to obtain an image of the target product.

[0058] like Figure 1As shown, the second illumination light source 2 is arranged directly above the conveying device, so that the central axis of the second illumination light source 2 intersects the central line of the conveying device at right angles, and the central position directly below the second illumination light source 2 is used as the detection area. The first illumination light source 1 is arranged outside the light entrance 23 on the second illumination light source 2, so that the light emitted by the second illumination light source 2 is irradiated to the detection area; a reflector 4 is arranged outside the light exit 24 on the second illumination light source 2, and its position is adjusted so that its mirror surface can collect the light emitted from the light exit 24, and the collection system 3 is arranged on the path of the light from the light exit 24 after being reflected by the reflector 4, so that it can completely collect the image of the target product 5.

[0059] Step 2, the target recognition system identifies the target product on the conveying device and feeds back to the control module. At the same time, the control module receives an external detection instruction for specifying the defect type (the instruction can be manually input or preset and input by an external system), and adjusts the brightness of the first lighting source 1 and the second lighting source 2 according to the type of the target product and the detection instruction. When detecting surface defects of the target product, execute step 3; when detecting printing defects of the target product, execute step 4; when detecting surface defects and printing defects of the target product at the same time, execute step 5.

[0060] Before the test is performed, a database is generated in advance so that the set data can be used during the test. Specifically, a database of brightness ratio threshold ranges for various types of products is generated, wherein for any type of product, it includes a first threshold range corresponding to the detection of surface defects, a second threshold range corresponding to the detection of printing defects, and a third threshold range corresponding to the detection of both surface defects and printing defects.

[0061] The control module obtains the type of the target product on the current conveying device according to the information fed back by the target recognition system, matches the corresponding product from the database according to the type of the target product, finds the first threshold range, the second threshold range and the third threshold range corresponding to the current product, and determines the brightness ratio threshold range required for detecting the product according to the defect type specified by the external detection instruction. For example, when the content of the external detection instruction is to detect printing defects of the product, the control module determines to adjust the brightness ratio to the second threshold range, and then adjusts the brightness ratio of the first lighting light source 1 and the second lighting light source 2 according to the determined brightness ratio threshold range.

[0062] The detection device in this embodiment concentrates two types of lighting light sources. The first lighting light source 1 is a planar light source, and its light has strong directionality. After the planar light source irradiates the target product 5, the angle of the reflected light generated by the position with deformation defects (including scratches, bumps, and wrinkles) on its surface is different from that of other defect-free positions, so that the defect position produces a bright or dark effect in the imaging of the acquisition system 3, so that the defect can be detected; and the second lighting light source 2 is a diffuse light source, and its light irradiates the target product 5 from multiple angles, and its directionality is not strong and is softer. After the diffuse light source irradiates the target product 5, it can effectively eliminate the influence of the surface deformation of the product on the imaging, avoid the effect of brightening or darkening, and make the printing defect imaging clearer, so that the printing defect can be detected. Especially for strong light column laser products, using diffuse light source irradiation can achieve clearer imaging. Therefore, when detecting different defects of the target product, different light sources need to be used for irradiation. In this embodiment, different detection effects are achieved by adjusting the brightness ratio of the two light sources.

[0063] Step 3, adjust the brightness ratio of the first lighting light source 1 and the second lighting light source 2 to the first threshold range corresponding to the type of product. After the target product 5 on the conveying device moves to the detection area, the acquisition system 3 performs image acquisition and uploads it to the host computer; wherein the first threshold range is a brightness ratio range that can clearly capture the surface defects of the target product 5.

[0064] When detecting surface defects of the target product 5, the brightness ratio of the first lighting light source 1 and the second lighting light source 2 is adjusted to the first threshold range, that is, the brightness ratio of the two light sources is adjusted to a range that enables the imaging of the acquisition system 3 to clearly reflect the surface defects of the current type of target product 5. After the target product 5 follows the conveying device to move to the detection area, the light of the first lighting light source 1 and the second lighting light source 2 is irradiated to the surface of the target product 5. Part of the reflected light on the surface of the target product 5 is emitted from the light outlet 24, and enters the acquisition system 3 after being reflected by the reflector 4. The acquisition system 3 performs image acquisition to obtain an image of the surface of the target product 5, and uploads the image to the host computer, and the host computer is used to perform subsequent processing on the captured image.

[0065] Step 4, adjust the brightness ratio of the first lighting light source 1 and the second lighting light source 2 to the second threshold range corresponding to this type of product. After the target product 5 on the conveying device moves to the detection area, the acquisition system 3 performs image acquisition and uploads it to the host computer; wherein the second threshold range is a brightness ratio range that can clearly capture printing defects of the target product 5.

[0066] When detecting printing defects of the target product 5, the brightness ratio of the first lighting light source 1 and the second lighting light source 2 is adjusted to the second threshold range, that is, the brightness ratio of the two light sources is adjusted to a range that enables the imaging of the acquisition system 3 to clearly reflect the printing defects of the target product 5. After the target product 5 follows the conveying device to move to the detection area, the light of the first lighting light source 1 and the second lighting light source 2 is irradiated to the surface of the target product 5. Part of the reflected light on the surface of the target product 5 is emitted from the light outlet 24, and enters the acquisition system 3 after being reflected by the reflector 4. The acquisition system 3 performs image acquisition to obtain the image of the surface of the target product 5, and uploads the image to the host computer.

[0067] Step 5, adjust the brightness ratio of the first lighting light source 1 and the second lighting light source 2 to the third threshold range corresponding to this type of product. After the target product 5 on the conveying device moves to the detection area, the acquisition system 3 performs image acquisition and uploads it to the host computer; wherein the third threshold range is a brightness ratio range that can simultaneously capture surface defects and printing defects of the target product 5.

[0068] When detecting the surface defects and printing defects of the target product 5 at the same time, the brightness ratio of the first lighting light source 1 and the second lighting light source 2 is adjusted to the third threshold range, that is, the brightness ratio of the two light sources is adjusted to a range that enables the imaging of the acquisition system 3 to simultaneously reflect the surface defects and printing defects of the target product 5. After the target product 5 follows the conveying device to move to the detection area, the light of the first lighting light source 1 and the second lighting light source 2 is irradiated to the surface of the target product 5, and part of the reflected light on the surface of the target product 5 is emitted from the light outlet 24, and enters the acquisition system 3 after being reflected by the reflector 4. The acquisition system 3 performs image acquisition to obtain the image of the surface of the target product 5, and uploads the image to the host computer.

[0069] In this embodiment, since different products use different surface materials and printing materials, the reflective characteristics are different, and the brightness ratio ranges used during detection are different. Therefore, in order to facilitate detection, it is necessary to pre-determine the first threshold range, second threshold range and third threshold range corresponding to different products, and generate a database including various products.

[0070] Example 1, taking the detection of surface defects and printing defects of product A as an example, wherein the brightness range of the first illumination light source 1 and the second illumination light source 2 is both 0 to 100, the specific collection method is as follows:

[0071] Collection method 1, adjust the brightness ratio of the first lighting source 1 and the second lighting source 2 to 100:0 (that is, only the first lighting source 1 is used to illuminate product A), such as Figure 5The red box shown is the location of the wrinkle defect on the surface of product A. The surface deformation defect is clearly visible in the image captured by the acquisition system 3, which appears as a long oblique shadow, while the printed information (including text and graphics) is disturbed by the deformed part and cannot be clearly presented. It can be seen that under this brightness ratio, the surface defects of product A can be detected.

[0072] In this example, the image of scratches, bumps or wrinkles on the product surface can be obtained through acquisition method 1, which is suitable for the detection of products with many surface defects;

[0073] Collection method 2, adjust the brightness ratio of the first lighting source 1 and the second lighting source 2 to 0:100 (that is, only the second lighting source 2 is used to illuminate product A), such as Figure 6 As shown, in the image captured by the acquisition system 3, the overall image of the product is uniform and the background is soft, the printed information is clearly visible, and the surface deformation defects in the red frame are faded and cannot be clearly presented; it can be seen that under this brightness ratio, the printing defects of product A can be detected.

[0074] In this example, acquisition method 2 can be used to obtain a printed product image with a uniform background, which is suitable for the detection of products with printed information defects and strong light column laser products. Under the illumination of the second illumination light source 2, the printed information defects will not be unable to be detected due to the high intensity of reflected light from the strong light column laser product.

[0075] Collection method 3, adjust the brightness ratio of the first lighting source 1 and the second lighting source 2 to 100:100 (that is, only the first lighting source 1 and the second lighting source 2 are used to illuminate product A), such as Figure 7 As shown, the image collected by the acquisition system 3 can present both surface deformation and printing information, the surface deformation defect features are obvious, the product imaging is relatively uniform, and the printing information imaging is clear. It can be seen that under this brightness ratio, the detection of surface defects and printing defects can be taken into account. In this example, the brightness ratio of the first lighting source 1 and the second lighting source 2 can also be appropriately adjusted within the brightness ratio range of the two types of defects (i.e., within the third threshold range) to make one type of defect clearer, so as to obtain a more accurate detection result.

[0076] In this example, through acquisition method 3, that is, the first lighting light source 1 and the second lighting light source 2 illuminate at the same time, it is possible to obtain an image of a printed product with a relatively uniform background, and to obtain an image of a defect with more obvious surface defects (scratches, bumps, wrinkles), taking into account the imaging detection of both surface defects and printing defects.

[0077] Example 2, taking the detection of surface defects of product B as an example, the first illumination light source 1 and the second illumination light source 2 are used to illuminate product B together, as follows:

[0078] (1) Adjust the brightness ratio of the first illumination light source 1 to the second illumination light source 2 to 0:100, such as Figure 8 As shown in (a), the red frame is the location of the surface defect, and the defect is not visible in the image collected by the acquisition system 3.

[0079] (2) The brightness ratio of the first illumination light source 1 and the second illumination light source 2 is adjusted to 15:100. As shown in FIG. (b), the defect is visible in the image captured by the acquisition system 3, the overall background of the image is relatively uniform, and the defect contrast is 12DN (Digital Number, which is the standard unit for representing pixel brightness value in digital image processing. In this example, the image processing and analysis software in the host computer can be used to detect the defect contrast).

[0080] (3) The brightness ratio of the first illumination light source 1 to the second illumination light source 2 is adjusted to 30:100. As shown in FIG. (c), the defect is visible in the image captured by the acquisition system 3, the overall background noise of the image is obvious, and the defect contrast is 24DN.

[0081] (4) The brightness ratio of the first illumination light source 1 to the second illumination light source 2 is adjusted to 100:0. As shown in FIG. (d), the defect is visible in the image collected by the acquisition system 3, the overall background noise interference of the image is serious, and the defect contrast is 35DN.

[0082] In this example, when the first lighting light source 1 is illuminated alone, the background noise of the product B image is serious and cannot be detected; when the second lighting light source 2 is illuminated alone, the product image defects are not visible and cannot be detected either; when the brightness ratio of the first lighting light source 1 to the second lighting light source 2 is 15:100 to 30:100, the defects are clearly visible and the background is uniform, and the detection effect is better than that when using a single light source for illumination, among which 15:100 to 30:100 can be used as the third threshold range of product B.

[0083] It can be seen from the above two examples that the detection device based on the multifunctional integrated light source in the present invention can change the size of the defect contrast and the uniformity of the image background by adjusting the brightness ratio of the first lighting light source 1 and the second lighting light source 2. Based on this feature, the detection device can give a suitable brightness ratio for different products and adapt to a wider range of scenes.

[0084] In the process of most printed product inspection, low inspection cost and space saving are required, and more types of defects can be inspected. The inspection device in the present invention integrates two types of light sources and can provide three ways of collecting images, namely, 1. Using the first illumination light source 1 alone to illuminate the product and collect images; 2. Using the second illumination light source 2 alone to illuminate the product and collect images; 3. Using the first illumination light source 1 and the second illumination light source 2 at the same time to illuminate the product and collect images. The following are achieved: 1. Surface defects are inspected separately; 2. Printing defects (including laser products) are inspected separately; 3. Surface defects and printing defects are inspected simultaneously; 4. The contrast and inspection effect of defects are adjusted by different light source brightness ratios. The inspection device in the present invention can realize imaging inspection of multiple functions. Compared with the traditional method of using different devices to realize different types of defect detection, the inspection device and method in the present invention greatly reduce costs and save space, and have higher adaptability to different scenes.

[0085] Example 3: Using the most commonly used annular light source in the prior art to detect surface and printing defects of product C, the annular light source structure is as follows: Figures 9 and 10 As shown, the light-emitting part is a ring structure composed of several lamp beads, and the inclination angle of the ring structure is 60°. During detection, the ring light source is horizontally set just above the detection area, and the acquisition system 3 is set just above the ring light source so that it can capture product C through the channel at the center of the ring light source. The brightness of the ring light source is adjusted to 30 (the brightness of the light source is 0-100). At this time, the clarity of the shooting is the highest. The image of product C captured is as follows: Fig.11 As shown, the integrated light source in the present application is used to detect product C, and the brightness ratio of the first lighting light source 1 and the second lighting light source 2 is adjusted to 20:100. The image of product C collected is as shown in FIG. Fig.12 shown.

[0086] Depend on Fig.11 and Fig.12 It can be seen that because the product is a laser product with strong reflectivity, and the annular light source has strong directionality, the uniformity of the imaging of product C is affected under its illumination. The edge of the image is brighter and the middle is darker. The printed information and surface defects can be seen, but the clarity of the printed information is not high. Under the illumination of the integrated light source of the present application, the imaging of product C is more uniform compared to the annular light source. Because of the effect of the tunnel light source, the influence of the uneven surface factor of product C on the imaging can be eliminated, and the clarity of the printed information in the imaging is higher. Compared with the annular light source in the prior art, the use of the light source of the present application for detection can improve the accuracy. Fig.11 and Fig.12 In the figure, box 1 represents printing defects and box 2 represents surface defects. Fig.11The imaging effect of the ring light source is poor in overall uniformity and surface defects are not visible. Fig.12 The imaging effect of the integrated light source is good in overall uniformity and surface defects are visible. The integrated light source imaging of this application is better than the ring light source.

[0087] In the prior art, when inspecting products, usually one light source corresponds to a certain type of defect, or one light source corresponds to a certain type of product. The type of product to be inspected is single, and the functions that can be inspected are also relatively single. The integrated light source of the present application can adapt to different products and different defects by adjusting the brightness ratio. The two light sources will affect each other due to reflection when used at the same time, achieving better detection effects. The present application combines the characteristics of a surface light source and a tunnel light source. The surface light source has strong directionality, and the light emitted by the diffuser is more uniform, which can reflect the deformation defects on the surface of the product. The diffuse light generated by the tunnel light source has good uniformity, which can eliminate the influence of surface deformation on imaging and clearly reflect the printed information of the product. The use of one or two total light sources of other types cannot achieve the detection effect of the integrated light source in the present application.

[0088] The steps in this application can be adjusted in order, combined, and deleted according to actual needs.

[0089] The units in the device of the present application can be combined, divided and deleted according to actual needs.

[0090] Although the present application is disclosed in detail with reference to the accompanying drawings, it should be understood that these descriptions are merely exemplary and are not intended to limit the application of the present application. The scope of protection of the present application is defined by the appended claims and may include various modifications, alterations and equivalents made to the invention without departing from the scope and spirit of the present application.

Claims

1. A detection device based on a multifunctional integrated light source, It is characterized in that The device comprises: a first illumination light source (1), a second illumination light source (2) and a collection system (3); The second illumination light source (2) comprises a tunnel-shaped diffusion plate (21) and lamp beads (22), wherein the lamp beads (22) are arranged on the inner side of the tunnel-shaped diffusion plate (21) near its edge, and light from the lamp beads (22) is reflected by the tunnel-shaped diffusion plate (21) to a detection area directly below the second illumination light source (2), and light inlets (23) and light outlets (24) are symmetrically arranged on both sides of the tunnel-shaped diffusion plate (21); The first illumination light source (1) is arranged on the light entrance (23), and the light of the first illumination light source (1) is emitted through the light entrance (23) toward the detection area directly below the second illumination light source (2), and the detection area is used for placing the target product; The collection system (3) is arranged outside the light outlet (24), and is located on the reflection path after the light from the first illumination light source (1) irradiates the target product, and is used to receive the light emitted from the light outlet (24) and collect an image of the target product.

2. The detection device based on the multifunctional integrated light source as claimed in claim 1, It is characterized in that The detection area is located at a central position directly below the second illumination light source (2). The second illumination light source (2) is arranged directly above the conveying device, and the central axis of its tunnel-shaped diffusion plate (21) is perpendicular to the upper surface of the conveying device. The two side edges of the second illumination light source (2) are close to the conveying device, and the center of the detection area is located on the central line of the conveying device.

3. The detection device based on the multifunctional integrated light source as claimed in claim 2, It is characterized in that The angle between the center of the light inlet (23) and the straight line where the center of the detection area is located and the horizontal direction is 30° to 50°, the angle between the center of the light outlet (24) and the straight line where the center of the detection area is located and the horizontal direction is 30° to 50°, and the center of the light inlet (23) and the center of the light outlet (24) are symmetrical about the normal line of the center position of the detection area.

4. The detection device based on the multifunctional integrated light source as claimed in claim 1, It is characterized in that The detection device based on the multifunctional integrated light source further comprises a reflector (4), wherein the reflector (4) is arranged outside the light outlet (24), and the reflector (4) is located on the reflection path after the light of the first illumination light source (1) irradiates the target product, and the reflector (4) is used to collect the light emitted from the light outlet (24) through a mirror surface, and reflect the emitted light to the collection system (3).

5. The detection device based on the multifunctional integrated light source as claimed in claim 1, It is characterized in that The light emitting end of the lamp bead (22) is vertically oriented toward the inside of the tunnel-shaped diffusion plate (21), and the light emitted by the lamp bead (22) is reflected by the tunnel-shaped diffusion plate (21) and then irradiated onto the target product in the detection area.

6. The detection device based on the multifunctional integrated light source as claimed in claim 1, It is characterized in that The first illumination light source (1) comprises a planar diffuser (11) and an internal light source (12); the planar diffuser (11) and the internal light source (12) are arranged in parallel; light from the internal light source (12) is diffused by the planar diffuser (11) and then irradiated onto a target product in a detection area.

7. A detection method based on a multifunctional integrated light source, the method being used for the detection device based on a multifunctional integrated light source according to claims 1-5, It is characterized in that The detection method comprises: Step 1, a detection device is arranged on the conveying device, the second illumination light source (2) is adjusted so that the central axis of the tunnel-shaped diffusion plate (21) intersects perpendicularly with the central line of the conveying device, and the first illumination light source (1) is adjusted so that its light passes through the light inlet (23) on one side of the second illumination light source (2) and is emitted to the detection area at the central position directly below the second illumination light source (2); Step 2, identifying the target product on the conveying device and feeding back to the control module, while the control module receives an external detection instruction for specifying the defect type, and adjusts the brightness of the first lighting source (1) and the second lighting source (2) according to the type of the target product and the detection instruction. When detecting surface defects of the target product, step 3 is executed; when detecting printing defects of the target product, step 4 is executed; when detecting surface defects and printing defects of the target product at the same time, step 5 is executed; Step 3, adjusting the brightness ratio of the first illumination light source (1) and the second illumination light source (2) to a first threshold range corresponding to the type of product, and using the acquisition system (3) to photograph the target product in the inspection area, wherein the first threshold range is a brightness ratio range that can clearly photograph the surface defects of the target product; Step 4, adjusting the brightness ratio of the first illumination light source (1) and the second illumination light source (2) to a second threshold range corresponding to the type of product, and using the acquisition system (3) to photograph the target product in the inspection area, wherein the second threshold range is a brightness ratio range that can clearly photograph the printing defects of the target product; Step 5, adjusting the brightness ratio of the first lighting light source (1) and the second lighting light source (2) to a third threshold range corresponding to the type of product, and using the acquisition system (3) to photograph the target product in the inspection area, wherein the third threshold range is a brightness ratio range that can simultaneously photograph surface defects and printing defects of the target product.

8. The detection method based on the multifunctional integrated light source as claimed in claim 7, It is characterized in that The step 1 also includes: arranging a reflector (4) outside the light outlet (24) on the second illumination light source (2), adjusting the position of the reflector (4) so ​​that its mirror surface can collect the light emitted from the light outlet (24), and reflecting the reflected light of the light to the collection system (3).

9. The detection method based on the multifunctional integrated light source as claimed in claim 7, It is characterized in that The detection method further comprises: a control module calculates the time when the target product arrives at the detection area and generates a collection instruction, and a collection system (3) receives the collection instruction and takes a picture after the target product arrives at the detection area to obtain an image of the target product.

10. The detection method based on the multifunctional integrated light source according to claim 7, It is characterized in that The detection method further includes: generating a brightness ratio threshold range database for various types of products, wherein any type of product includes a first threshold range corresponding to detecting surface defects, a second threshold range corresponding to detecting printing defects, and a third threshold range corresponding to detecting both surface defects and printing defects; The control module matches the corresponding product from the database according to the type of the target product, determines the brightness ratio threshold range required for detecting the product according to the defect type specified by the external detection instruction, and adjusts the brightness ratio of the first lighting light source (1) and the second lighting light source (2) according to the determined brightness ratio threshold range.

Citation Information

Cited By

  • Door and window surface tiny flaw detection method and device, electronic equipment and storage medium

    CN120070831A

  • Door and window surface tiny defect detection method and device, electronic equipment and storage medium

    CN120070831B

  • Automatic production line for producing and processing electronic tags

    CN120672677A