A three-dimensional automatic optical detection device and control method thereof

Through the combination of multi-layer lamp layers and multiple projector heads, 3D and 2D detection compatibility for electronic devices is achieved, which solves the problem that traditional detection devices cannot detect defects in complex electronic devices, improves detection accuracy and range, and reduces production cost.

CN111751282BActive Publication Date: 2024-11-26XIAMEN SINIC-TEK INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010787429.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-07
Publication Date
2024-11-26
Estimated Expiration
2040-08-07

AI Technical Summary

Technical Problem

Traditional three-dimensional automatic optical detection devices cannot effectively detect defects of complex electronic devices, and are not compatible with 3D detection conditions. The light color is fixed and single, and cannot meet the detection needs of multiple electronic devices.

Method used

A three-dimensional automatic optical detection device is designed, adopting a multi-layer lamp layer and a multiple projection head structure, including the first lamp layer, the second lamp layer, the third lamp layer and the bottom lamp plate. The projection head can project different colors of Lighting and structural gratings, combined with multi-grayscale and 3D grating technology, can detect various adverse conditions on the surface of electronic devices.

Benefits of technology

It has achieved widespread application of different electronic devices, is compatible with 3D and 2D detection requirements, improves detection accuracy and range, reduces production costs, and meets the detection needs of most adverse conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111751282B_ABST
    Figure CN111751282B_ABST
Patent Text Reader

Abstract

The present invention provides a three-dimensional automatic optical inspection device and a control method thereof, wherein the device includes an image capturing component, a first lamp layer, a second lamp layer, a third lamp layer, a bottom lamp panel, and at least four projection heads arranged around the image capturing component, wherein the bottom lamp panel is arranged below the image capturing component, the first lamp layer is arranged around the image capturing component, the third lamp layer is arranged in the bottom lamp panel, and the second lamp layer is arranged between the first lamp layer and the third lamp layer; the first lamp layer, the second lamp layer, and the third lamp layer can all project lights of different colors, and the first lamp layer, the second lamp layer, and the third lamp layer respectively project lights of different heights and colors through the bottom lamp panel to form a multi-grayscale image that can be collected on the circuit board to be tested. The three-dimensional automatic optical inspection device of the present invention has a wide range of applications, can be used for different electronic device defects, and can be compatible with 3D and 2D inspection requirements at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional detection equipment, and in particular to a three-dimensional automatic optical detection device and a control method thereof. Background Art

[0002] In the surface mount production process of electronic manufacturing, after the solder paste is printed on the blank circuit board, the solder paste adheres to the pad and protrudes from the surface of the circuit board. After mounting, the electronic components are placed in the mounting position. After reflow, the electronic components are soldered on the surface of the circuit board. The electronic components are 0.5mm to 10mm higher than the surface of the circuit board. 3D AOI mainly detects the state of electronic components placed on the surface of the circuit board after mounting and reflow.

[0003] When traditional three-dimensional automatic optical inspection devices use 3D AOI technology to detect defects such as the shape, color, surface text, solder paste molding contour of electronic components, etc., due to the fixed color of the light, they often only use a single sequence of red, green and blue light for irradiation, which cannot target more complex electronic component defects; at the same time, they are not compatible with 3D inspection situations.

[0004] In view of this, the research designed a three-dimensional automatic optical inspection device and its control method which has wide applications, can target defects of different electronic devices and can be compatible with both 3D and 2D inspection requirements. Summary of the invention

[0005] An object of the present invention is to provide a three-dimensional automatic optical inspection device and a control method thereof which are widely used, can be used to detect defects of different electronic devices and can be compatible with both 3D and 2D inspection requirements.

[0006] To achieve the above object, the present invention provides the following technical solution:

[0007] A three-dimensional automatic optical inspection device comprises an imaging device, a first lamp layer, a second lamp layer, a third lamp layer, a bottom lamp panel and at least four projection heads arranged around the imaging device, wherein the bottom lamp panel is arranged below the imaging device, the first lamp layer is arranged around the imaging device, the third lamp layer is arranged in the bottom lamp panel, and the second lamp layer is arranged between the first lamp layer and the third lamp layer; the structured grating projected by the projection head passes through the bottom lamp panel to form a grating image that can be collected on a circuit board to be tested, the first lamp layer, the second lamp layer and the third lamp layer can all project lights of different colors, and the first lamp layer, the second lamp layer and the third lamp layer respectively project lights of different heights and different colors through the bottom lamp panel to form a multi-grayscale image that can be collected on the circuit board to be tested.

[0008] As a further improvement, a mounting block is fixedly provided on the periphery of the image capturing element, and the projection head is detachably fixed on the mounting block.

[0009] As a further improvement, the first lamp layer includes a top lamp panel and a first LED lamp group arranged around the lower arc surface of the top lamp panel, and the top lamp panel is detachably fixed under the mounting block.

[0010] As a further improvement, the third lamp layer includes a third LED lamp group, and the third LED lamp group is arranged around the lower arc surface of the bottom lamp panel.

[0011] As a further improvement, the second lamp layer includes a plurality of lamp group fixing frames and a plurality of second LED lamp groups which are arranged on the lamp group fixing frames in a one-to-one correspondence; the lamp group fixing frames are arranged above the bottom lamp panel.

[0012] As a further improvement, it further includes a fourth LED light group, which is arranged around the lower arc surface of the bottom lamp panel and outside the third LED light group, and the fourth LED light group includes a red light, a blue light and a green light.

[0013] As a further improvement, the first LED light group, the second LED light group and the third LED light group all include a red light, a blue light and a green light.

[0014] As a further improvement, the first LED light group and the fourth LED light group further include white lights.

[0015] As a further improvement, the mounting block is connected to the bottom lamp panel via a connecting rod, and the connecting rod is vertically arranged and away from the central axis of the imaging component.

[0016] As a further improvement, the number of the projection components is four, and the four projection components are evenly distributed around the imaging component.

[0017] A control method for a three-dimensional automatic optical detection device comprises the following steps:

[0018] S1: Preset at least one lighting scheme of the first LED light group, the second LED light group and the third LED light group including the same or different color light combinations according to the common bad conditions of the object to be tested X;

[0019] S2: Turn on the image capturing element and the projection head, and perform synchronous shooting and grating projection according to the lighting scheme of the light group preset in step S1;

[0020] S3: combining images taken when different light groups in the same lighting scheme are illuminated to form a detection image with different color area distributions;

[0021] S4: Automatically compare the inspection image with the good product image or the defect image to obtain the good product and defective product status.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] 1. The three-dimensional automatic optical inspection device of the present invention adopts a structural design of multiple 3D projection heads combined with multiple layers of 2D lamp layers, which can effectively achieve the compatibility of 3D inspection and 2D inspection. At the same time, according to the reflective characteristics of different objects to be tested on the surface of electronic devices, different color combinations of multiple layers of 2D lamp layers are selected to realize the detection of various adverse conditions on the surface of electronic devices, and the application range is wide.

[0024] 2. The three-dimensional automatic optical inspection device of the present invention can not only meet the lighting requirements of most adverse conditions on the circuit board through the ingenious structural design and mutual coordination between each light layer, but also ensure the compactness and miniaturization of the overall structure, effectively controlling the overall production cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 It is a structural schematic diagram of a three-dimensional automatic optical detection device of the present invention;

[0027] Figure 2 It is a structural schematic diagram of a three-dimensional automatic optical detection device of the present invention;

[0028] Figure 3 It is a schematic diagram of the principle of reflection of an LED light group on an object to be tested in a three-dimensional automatic optical detection device of the present invention;

[0029] Figure 4 It is a structural schematic diagram of a three-dimensional automatic optical detection device of the present invention.

[0030] Main component symbols

[0031] 10. Image acquisition device;

[0032] 20. First light layer; 21. Top light panel; 22. First LED light group;

[0033] 30. second lamp layer; 31. lamp group fixing frame; 32. second LED lamp group;

[0034] 40. third lamp layer; 41. third LED lamp group;

[0035] 50. Bottom light panel;

[0036] 60. Projection head;

[0037] 70. Mounting block;

[0038] 80. Fourth LED light group;

[0039] 90. Connecting rod;

[0040] X, circuit board to be tested;

[0041] Y, object to be tested. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0043] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0044] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0045] Please refer to Figure 1 , Figure 2 and Figure 4 In an embodiment, a three-dimensional automatic optical inspection device includes an imaging element 10, a first lamp layer 20, a second lamp layer 30, a third lamp layer 40, a bottom lamp panel 50 and at least four projection heads 60 arranged around the imaging element 10, wherein the bottom lamp panel 50 is arranged below the imaging element 10, the first lamp layer 20 is arranged around the imaging element 10, the third lamp layer 40 is arranged in the bottom lamp panel 50, and the second lamp layer 30 is arranged between the first lamp layer 20 and the third lamp layer 40; the structured grating projected by the projection head 60 passes through the bottom lamp panel 50 to form a grating image that can be collected on the circuit board X to be tested, the first lamp layer 20, the second lamp layer 30 and the third lamp layer 40 can all project lights of different colors, and the first lamp layer 20, the second lamp layer 30 and the third lamp layer 40 respectively project lights of different heights and different colors through the bottom lamp panel 50 to form a multi-grayscale image that can be collected on the circuit board X to be tested.

[0046] Further, the image capturing element 10 is an industrial camera for capturing and collecting images, and the projection element is a grating projection device. The number of the projection elements is four, and the four projection elements are evenly and equidistantly distributed around the image capturing element 10. In this embodiment, the angle between the projection element and the central axis is 45°. Since the electronic device will be 0.5mm to 10mm higher than the surface of the circuit board X to be tested after being placed, when a high device is subjected to three-dimensional detection, when the 3D light with structured light is illuminated from a high direction, the upper surface of the object to be tested and the side facing the projection head 60 are covered by the grating, and the surface of the object to be tested opposite to it cannot be covered, so that a shadow will be formed, and this area may be the location of the solder paste welding condition that needs to be detected. In order to achieve shadow-free 3D structured light coverage and consider cost control, a structure of projecting 3D gratings from four directions with four projection elements is adopted. In addition to more fully illuminating all angles of the object to be tested, it can also fully illuminate the special situation when the object to be tested Y is a special-shaped device or multiple devices of different heights are placed adjacently.

[0047] 3D light is projected in four directions by four projection heads 60 arranged at 45° to the XY direction of the camera and at an acute angle to the axis of the lens. The 3D structured light is a programmable structured grating projected by the projection head 60. Each 3D light can be a structured grating of different colors and phases. The image of the protrusion illuminated by the grating can be captured by the imaging element 10. The 3D light in four directions is illuminated separately, and multiple groups of pictures are collected in each direction. After the multiple groups of pictures are calculated, analyzed and processed by a computer in combination with phase profile modulation measurement technology, a clear picture of the protrusion to be measured and the solder paste forming can be obtained, so as to accurately measure the height of the protrusion, calculate the three-dimensional size of the object to be measured, and improve the detection accuracy.

[0048] The overall structural design of multiple 3D projection heads 60 combined with multiple layers of 2D lamp layers can effectively achieve the compatibility of 3D detection and 2D detection. At the same time, different color combinations of multiple layers of 2D lamp layers are selected according to the reflective characteristics of different objects to be tested on the surface of electronic devices to achieve detection of various adverse conditions on the surface of electronic devices, with a wide range of applications.

[0049] Please refer to Figure 1 and Figure 2 In the embodiment, a mounting block 70 is fixedly provided on the periphery of the imaging component 10, and the projection head 60 is detachably fixed on the mounting block 70. The mounting block 70 is in a circular shape as a whole, and the through hole in the middle is used to make way for the imaging component 10 to obtain the image Y of the object to be measured in the bottom lamp panel 50. A plurality of mounting surfaces are evenly distributed on the side of the mounting block 70 for mounting the projection component. The mounting surfaces are inclined inward from top to bottom and form an acute angle with the central axis, so that the projection directions of the plurality of projection heads 60 are all close to the inside.

[0050] 2D light is a light beam of different colors emitted by an LED lamp. Generally, red, green and blue (RGB) are used as the light source, that is, a combination of lights of different colors at different heights are projected on the surface of the object to be measured. After being irradiated, light beams of different colors form pictures of different grayscales (the image capture device 10, that is, the industrial camera uses a high-speed, high-frame-rate, high-definition black-and-white camera, and the collected pictures are black-and-white pictures of different grayscales). After the picture is collected and processed by computer calculation and analysis, the two-dimensional situation of the surface of the object to be measured can be obtained. The two-dimensional situation, that is, the Y situation of the object to be measured, includes but is not limited to the upper surface and the plane area of ​​the pad on different electronic devices, the surface color, characters, protruding capacitor terminals, the shape of the solder paste when the electronic device is soldered to the circuit board, components with certain characteristics, and different heights and shapes formed by the solder paste attached to the components and pads after the solder paste is dissolved. In this way, electronic device recognition and welding condition detection can be realized, and the detection rate can be improved.

[0051] Please refer to Figure 1 , Figure 2 and Figure 4In the embodiment, the first lamp layer 20 includes a top lamp panel 21 and a first LED lamp group 22 arranged around the lower arc surface of the top lamp panel 21. The top lamp panel 21 is detachably fixed under the mounting block 70. The top lamp panel 21 is in a circular ring shape, and the through hole in the middle is used to make way for the imaging device 10 to obtain the image Y of the object to be measured in the bottom lamp panel 50. Furthermore, the top lamp panel 21 is provided with a making way portion corresponding to the number and position of the projection head 60. After the projection head 60 is installed, the lower head end thereof just extends into the making way portion.

[0052] Please refer to Figure 2 and Figure 4 In the embodiment, the third lamp layer 40 includes a third LED lamp group 41 , and the third LED lamp group 41 is arranged around the lower arc surface of the bottom lamp panel 50 .

[0053] The second lamp layer 30 includes a plurality of lamp group fixing frames 31 and a plurality of second LED lamp groups 32 which are arranged one by one on the lamp group fixing frames 31; the lamp group fixing frames 31 are arranged above the bottom lamp panel 50, and the lamp group fixing frames 31 are provided with a mounting surface inclined toward the object to be measured Y for mounting the second LED lamp groups 32. Generally, the number of the lamp group fixing frames 31 is the same as that of the projection head 60 and they are staggered with the projection head 60 in the orthographic projection direction to avoid the projection route of the projection head 60.

[0054] In addition, the three-dimensional automatic optical inspection device further includes a fourth LED light group 80, which is arranged around the lower arc surface of the bottom light panel 50 and outside the third LED light group 41, and the fourth LED light group 80 includes red light, blue light and green light.

[0055] Four layers of LED light groups are used, each with different functions. The 2D light of the first LED light group 22 on the top layer has a larger angle, so the grayscale image collected after irradiation is mainly the plane area of ​​the upper surface of the object Y to be tested and the pad; while the second LED light group 32, the third LED light group 41, and the fourth LED light group 80 use different angles and different colors to target certain characteristic components and the different heights and shapes formed by the solder paste attached to the components and pads after dissolution, so as to reflect the color of the corresponding layer to judge whether there is any bad situation. For simple explanation, please refer to Figure 3 That is, the higher the lamp layer is, the smoother the plane the emitted colored light hits, and the easier it is for the reflected light to be captured by the imaging device 10. The lower the lamp layer is, the more steeply inclined the emitted colored light hits, and the easier it is for the reflected light to be captured by the imaging device 10.

[0056] Since 2D light is set according to the reflective properties of the object to be tested, in order to meet the requirements that the pictures taken by the camera after being illuminated by light sources at different heights can be combined into color pictures, at least three layers of lights of different colors are required for illumination, so at least the first LED light group 22, the second LED light group 32, and the third LED light group 41 are required. In this case, four layers are arranged from top to bottom, and the fourth LED light group 80 is added to meet more different complex detection situations, and the first LED light group 22, the second LED light group 32 and the third LED light group 41 all include at least red light, blue light and green light.

[0057] The first LED light group 22 and the fourth LED light group 80 further include white lights, which are mainly set for the reflective characteristics of a certain object to be tested on the circuit board X to be tested. Generally, when white light is irradiated on a white object to be tested, an image with clear black and white contrast can be obtained. For example, when it is necessary to test the capacitor on the circuit board X to be tested, since the capacitor has two polarity ends, if the first LED light group 22 uses white light to shoot, the two ends of the capacitor will show obvious white in the collected image, and the other solder parts will return to black, so that the two ends of the capacitor can be easily distinguished. If other colors of light are used to shoot the polarity ends, white will not be returned, and it is not easy to distinguish the two ends of the capacitor. The first layer is a high-position top light with a vertical irradiation angle and a good reflection effect, so the first layer needs to add white light. The second and third layers are side irradiation and do not have a vertical irradiation angle, so they are not set; similarly, the fourth layer is at the lowest position and can vertically irradiate the side of certain objects to be tested, so a group of white lights is also set.

[0058] The combination of red, green, blue and white lights is selected depending on the main adverse conditions of the detection element. Different types of adverse conditions are captured using different groups of red, green, blue and white lights to produce corresponding images. For example, when it is necessary to distinguish between the pad and the solder paste to detect the soldering condition, the first LED light group 22 and the second LED light group 32 use red light, the third LED light group 41 uses green light, and the fourth LED light group 80 uses blue light to form a red, green and blue area of ​​the welding area between the electrode and the pad, so that the pad and the solder paste can be quickly distinguished. For example, if there are printed or engraved characters on the surface of the component, if the printed characters are convex, the red, green and blue lights of the fourth layer of light should be used to illuminate them respectively for detection. If the engraved characters are concave, they should be illuminated with the high-position top, i.e. the first layer of white light at the top. In addition, there may be other situations for the electronic devices to be tested. For example, if the solder ball formation after the solder is dissolved is measured, the top first layer of red light, the second layer of green light, the third layer of green light and blue light, and the fourth layer of blue light will be used to distinguish the solder ball formation; the four types of red, green, blue and white light all have their suitable reflection scenarios. For example, red light is easily reflected by a flat surface but not easily reflected by a sharp slope. Therefore, it is generally selected to be used in a higher lamp layer to form a light source closer to the vertical surface to make it easier to identify the flat area. Therefore, each layer uses a multi-color LED lamp structure, which can effectively combine the reflection characteristics of different colors and the reflective characteristics of the object to be tested to select the corresponding light combination, so as to solve more complex detection of adverse conditions of the object to be tested.

[0059] Please refer to Figure 3 In the embodiment, according to the different reflective characteristics of the object to be tested, the entire area can be illuminated by a single color of light, or the characteristics of a certain position of the object to be tested that needs to be illuminated can be illuminated by light at different positions. Since the colors and angles of the four layers of light are different, the areas covered by different lights at different angles are also different. Therefore, after being photographed separately by different single-layer light illumination, images with multiple colors (generally red, green and blue images) can be synthesized. By analyzing the image, the defective conditions on the surface of the circuit board X to be tested can be obtained. The specific analysis method is a conventional method. For details, reference can be made to the working principle of AOI, that is, the image analysis technology is adopted. The image capturing element 10 cooperates with the multi-layer light to read the component and the solder foot image, and automatically analyzes and compares with the image of the good product, so as to detect various defective conditions. It will not be described in detail here.

[0060] In addition, the mounting block 70 is connected to the bottom lamp panel 50 by a connecting rod 90 to form a three-dimensional automatic optical detection device as a whole, and the connecting rod 90 is vertically arranged and away from the central axis of the image capturing element 10 to avoid the image capturing element 10 and other light sources. The first LED light group 22, the second LED light group 32, the third LED light group 41 and the fourth LED light group 80 are further provided with a light homogenizing plate.

[0061] The difficulty in designing each layer of the 2D light structure in this case lies in the need to consider multiple factors such as the appropriate height and angle requirements of each layer of LED lights, the avoidance between the LED light groups on each layer or between the LED light groups and other components after specifying the height and angle, and the compactness of the overall structure.

[0062] As in the present embodiment, the size of the image frame (FOV) of the board to be tested is generally between 20mm and 70mm in length and between 20mm and 70mm in width, and the angle between the first LED light group 22 and the vertical central axis is generally between 10° and 15°. In this case, through the calculation of angle and distance, in order to completely illuminate the entire board to be tested, the height of the first LED light group 22 is set to be at least 200mm away from the surface of the board to be tested. Therefore, at this time, it is best for the first light layer 20 to be set at the height of the projection head 60. Therefore, the top light panel 21 and the mounting block 70 are designed to cooperate with the fixing structure. At the same time, the top light panel 21 also needs to give way to avoid the projection light of the projection head 60, and a giving way portion is designed; and the height of the welding forming part on the circuit board X to be tested is basically between 0.5mm and 3mm. According to the above principle, it is calculated that the height of the third LED light group 41 is set at the bottom lampshade for the best; and in order to illuminate the character area with a height of 1mm to 5mm and at the same time enable the bottom lampshade to cover more 2D light sources to ensure The 2D light source has the best illumination effect. By calculating based on the above principle and combining the illumination effect, it is concluded that the fourth LED light group 80 is also set in the optimal structure in the bottom lampshade. Therefore, the third LED light group 41 and the fourth LED light group 80 are set together in the bottom lampshade, which ensures the illumination effect and makes the overall structure compact and reduces the cost. Regarding the surface color of electronic devices, such as the surface of electronic devices with black, yellow and other colors, for example, the surface of ceramic capacitors is yellow, and the yellow color of each batch of devices will be different. At this time, it is necessary to identify the difference in combination with the reflection characteristics of different colors of light. According to the above calculation principle, it is concluded that the second LED light group 32 is preferably set at a height of the connecting rod 90. At the same time, since the angle of the second LED light group 32 is relatively centered, most of the light sources can be directly irradiated on the object Y to be tested, and there is no need to design a separate lampshade to block the light. Therefore, the structure of the light group fixing frame 31 is designed to fix the second LED light group 32, which reduces the complexity of the overall structure and ensures the illumination intensity of the light source.

[0063] Through such an ingenious structural design, not only can the lighting requirements of most adverse conditions on the circuit board X to be tested be met, but also the compactness of the overall structure is ensured, effectively controlling the overall production cost.

[0064] In this embodiment, a control method of a three-dimensional automatic optical detection device includes the following steps:

[0065] S1: According to the common adverse conditions of the object to be tested X, at least one lighting scheme including the first LED light group 22, the second LED light group 32 and the third LED light group 41 of the same or different color light combination is preset. For example, according to different common adverse conditions, a red light, a blue light and a green light combination can be set from top to bottom, or any light combination of green light, red light, blue light, etc. can be set. For example, for the Mark point of the tin-spraying plate, four layers of red light will be used to illuminate at the same time for image capture.

[0066] S2: Turn on the image capturing element 10 and the projection head 60, and perform synchronous shooting and projection of gratings according to the lighting scheme of the light groups preset in step S1, that is, the image capturing element and the projection element perform shooting or projection at the same frequency of the lighting actions of the first LED light group 22, the second LED light group 32 and the third LED light group 41;

[0067] S3: combining images taken when different light groups in the same lighting scheme are illuminated to form a detection image with different color area distributions;

[0068] S4: Automatically compare the inspection image with the good product image or the defect image to obtain the good product and defective product status.

[0069] Based on a structure in which a plurality of colors can be selected in a layer of light groups, and in combination with the device control method, different color combinations of multi-layer 2D light layers can be effectively selected according to the reflective characteristics of different objects to be tested on the surface of the electronic device to realize the detection of various adverse conditions on the surface of the electronic device, which has a wide range of applications.

[0070] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A three-dimensional automatic optical inspection device, characterized in that: The invention comprises an image capturing element (10), a first lamp layer (20), a second lamp layer (30), a third lamp layer (40), a bottom lamp panel (50), and at least four projection heads (60) arranged around the image capturing element (10), wherein the bottom lamp panel (50) is arranged below the image capturing element (10), the first lamp layer (20) is arranged around the image capturing element (10), the third lamp layer (40) is arranged in the bottom lamp panel (50), and the second lamp layer (30) is arranged between the first lamp layer (20) and the third lamp layer (40). The structured grating projected by the projection head (60) passes through the bottom light panel (50) to form a collectible grating image on the circuit board (X) to be tested; the first light layer (20), the second light layer (30) and the third light layer (40) can all project lights of different colors; the first light layer (20), the second light layer (30) and the third light layer (40) respectively project lights of different heights and different colors through the bottom light panel (50) to form a collectible multi-grayscale image on the circuit board (X) to be tested; Wherein, a mounting block (70) is fixedly provided on the peripheral side of the image capturing element (10), and the projection head (60) is detachably fixed on the mounting block (70); The first lamp layer (20) comprises a top lamp panel (21) and a first LED lamp group (22) arranged around the lower arc surface of the top lamp panel (21), and the top lamp panel (21) is detachably fixed below the mounting block (70); Wherein, the third lamp layer (40) comprises a third LED lamp group (41), and the third LED lamp group (41) is arranged around the lower arc surface of the bottom lamp panel (50); The second lamp layer (30) comprises a plurality of lamp group fixing frames (31) and a plurality of second LED lamp groups (32) arranged on the lamp group fixing frames (31) in a one-to-one correspondence; the lamp group fixing frames (31) are arranged above the bottom lamp panel (50); The device further comprises a fourth LED light group (80), the fourth LED light group (80) being arranged around the lower arc surface of the bottom light panel (50) and arranged outside the third LED light group (41), the fourth LED light group (80) comprising a red light, a blue light and a green light; Wherein, the image capturing element (10) is an industrial camera.

2. The three-dimensional automatic optical inspection device according to claim 1, characterized in that: The first LED light group (22), the second LED light group (32) and the third LED light group (41) all comprise a red light, a blue light and a green light.

3. The three-dimensional automatic optical inspection device according to claim 1, characterized in that: The first LED light group (22) and the fourth LED light group (80) further include white lights.

4. The three-dimensional automatic optical inspection device according to claim 1, characterized in that: The mounting block (70) and the bottom lamp panel (50) are connected via a connecting rod (90), and the connecting rod (90) is vertically arranged and away from the central axis of the imaging component (10).

5. A control method for a three-dimensional automatic optical inspection device according to claim 2, characterized in that: The following steps are involved: S1: presetting at least one lighting scheme of a first LED light group (22), a second LED light group (32) and a third LED light group (41) including the same or different color light combinations according to common defective conditions of the object to be tested X; S2: turning on the imaging element (10) and the projection head (60), and synchronously photographing and projecting gratings according to the lighting scheme of the light groups preset in step S1; S3: combining images photographed respectively when illuminated by different light groups in the same lighting scheme to form a detection image with different color area distributions; S4: automatically comparing the detection image with a good product image or a defective image to obtain the good product and defective product conditions.